body {
    margin: 0;
    background-color: #eee;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .50) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .50) 50%, rgba(255, 255, 255, .50) 75%, transparent 75%, transparent);
    background-size: 200px 200px;
    font: bold 16px 'El Messiri';
}
h1 {
    font-family: 'El Messiri';
    text-align: center;
}

.main h2 {
    background-color: #dea459;
    color: #000;
    border-radius: 20px 20px 0px 0px;
    padding: 10px;
    margin-top: auto;
}
button, input {
	font-family: 'El Messiri';
	font-size: 14pt;
	line-height: 1.75em;
}
input {
	width: 85%;
	text-align: center;
}

.main {
    background: #fff;
    text-align: center;
    border: 1px solid #999;
    border-radius: 20px;
    width: 90%;
    margin: 0 auto;
}
.main h1 {
    background-color: #dea459;
    padding: 10px;
    margin-top: auto;
    border-radius: 20px 20px 0px 0px;
}

h4 {
    margin-top: 10px;
    font: bold 16px 'El Messiri';
}
 .button {
  display: inline-block;
  border-radius: 4px;
  background-color: #dea459;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 28px;
  padding: 10px;
  width: 90%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: sticky;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  left: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-left: 100px;
}

.button:hover span:after {
  opacity: 1;
  left: 0;
}
 select {
  width: 125px;
  height: 35px;
  text-align: center;
 }
 option, select {
  font-family: 'El Messiri';
  font-size: 14pt;   
 }
 p span {
     /*font-size: 2.5rem;*/
 }
 #form1 {
     display: none;
 }

    button.t1 {
    display: inline-block;
    border-radius: 4px;
    background-color: #dea459;
    border: none;
    color: #000;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 35%;
    transition: all 0.5s;
    margin: 0 0 0 10px;
}

/* تلوين المتغيرات */
.days-difference, .months-difference, .years-difference {
    color: #FF0000;
    font-weight: bold;
    font-size: 1.5rem;
}
.total-difference {
    color: #008800;
    font-weight: bold;
    font-size: 1.5rem;
}
/* روابط الأدوات ذات الصلة */
.dc-related {
	font-family: 'El Messiri';
    text-align: center;
    margin-bottom: 20px;
    font-size: 15px;
}

.dc-related p {
    margin-bottom: 8px;
    color: #444;
}

.dc-related-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.dc-btn-outline {
    border-radius: 999px;
    border: 1px solid #0c3465;
    color: #0c3465;
    background: #fff;
    padding: 7px 16px;
    font-size: 14px;
    text-decoration: none;
}

.dc-btn-outline:hover {
    background: #0c3465;
    color: #fff;
}

/* footer */
p.footer2 {
    font-family: 'El Messiri';
    font-size: small;
    margin: 0px 10px 10px 0px;
    color: #000;
}
/* التاريخ الهجري والميلادي */
.circle {
	position: absolute;
	right: 0;
	left: 0;
	background-color: #007bff;
	padding: 10px;
	font-family: 'El Messiri';
}

.dates {
	font-family: 'El Messiri';
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: white;
	gap: 50px;
	margin: 0 10px;
}

.dates p {
	font-family: 'El Messiri';
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #FFF;
}
