/* new header */
    header {
      background: linear-gradient(to left, #4facfe, #00f2fe);
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      color: white;
    }
    .logo span:first-child {
      font-size: 26px;
      font-weight: bold;
    }
    .logo span:last-child {
      font-size: 40px;
    }
    nav a {
      text-decoration: none;
      color: white;
      background-color: rgba(255, 255, 255, 0.2);
      padding: 10px 20px;
      border-radius: 30px;
      transition: background-color 0.3s, color 0.3s;
      font-weight: bold;
    }
    nav a:hover {
      background-color: white;
      color: #00c6ff;
    }
    body {
    font: bold 20px 'Cairo';
    margin: 0;
    padding: 0;
    line-height: 2em;
    background-color: #e2c4e2;
    font-size: 18px;
}
h1 {
    font: bold 20px 'Cairo';
}
h4 {
    font: bold 16px 'Cairo';
}

/*drobdown list*/
.dropbtn {
  background-color: #a24173;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: fixed;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 999;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #a24173}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #a24173;
}


input {
    height: 30px;
	width: 120px;
	text-align: center;
	box-shadow: inset 1px 1px 1px #1a1a1a;
    border-radius: 5px;
}
#res1 {
    width: 1000px;
}
fieldset {
	border-radius: 10px;
	border: 2px solid black;
}
legend {
	color: black;
}
.main {
    border: 1px solid #999;
    border-radius: 20px;
}
.main h3 {
    background-color: #FFFFFF;
    padding: 10px;
    margin-top: auto;
    border-radius: 20px 20px 0px 0px;
}
h4 {
    margin-top: 10px;
}
 .button {
  display: inline-block;
  border-radius: 4px;
  background-color: #a24173;
  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;
}
button.t1 {
    font-family: 'Cairo';
    display: inline-block;
    border-radius: 4px;
    background-color: #a24173;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 20%;
    transition: all 0.5s;
    margin: 0 0 0 10px;
}
button.t2 {
    display: inline-block;
    border-radius: 4px;
    background-color: #a24173;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 20%;
    transition: all 0.5s;
    margin: 0 0 0 10px;
}
button.t3 {
    font-family: 'Cairo';
    border-radius: 4px;
    background-color: #2ad92a;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 20%;
    transition: all 0.5s;
    margin: 0;
}
.title {
    background-color: yellow;
    padding: 1px 5px;
    border-radius: 10px;
    color: #F00;
    font-size: 18px;
    margin: 0 35%;
}
 select {
  width: 125px;
  height: 35px;
  text-align: center;
  box-shadow: inset 1px 1px 1px #1a1a1a;
  border-radius: 5px;
 }
 option, select {
  font-family: 'Cairo';
  font-size: 14pt;   
 }
 p span {
    font-size: 2rem;
    color: #a24173;
    text-shadow: 1px 2px #FFF;
 }
 .new {
     width: 50%;
 }
 .new2 {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
 }
 #form1 {
     display: none;
 }

/*drobdown list*/
.dropbtn {
  background-color: #a24173;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: fixed;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #a24173}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #a24173;
}

.world {
    float: left;
    left: 1px;
    margin: -14px 0px 0px 10px;
    color: #FFFFFF;
}

 /* time */
 .time {
    /*position: fixed;*/
    /*overflow: hidden;*/
    font-size: 16px;
    top: 20px;
    left: 0px;
    right: 0px;
}
.dropdowntime {
    position: relative;
    display: inline-block;
}
.timeleft {
    float: left;
}

.tooltip {
  position: relative;
  /*display: inline-block;*/
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 5px;
  right: 70%;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent black;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}

@media screen and (max-width: 400px) {
   .tooltip {
  position: relative;
  /*display: inline-block;*/
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 65%;
  right: 51%;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
button.t2 {
    display: inline-block;
    border-radius: 4px;
    background-color: #a24173;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 40%;
    transition: all 0.5s;
    margin: 0 0 0 10px;
}
button.t3 {
    font-family: 'Cairo';
    border-radius: 4px;
    background-color: #2ad92a;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 40%;
    transition: all 0.5s;
    margin: 0;
}
.title {
    background-color: yellow;
    padding: 1px 5px;
    border-radius: 10px;
    color: #F00;
    font-size: 11px;
    margin: 0 10%;
}
}

@media screen and (max-width: 700px) {
 button.t1 {
    display: inline-block;
    border-radius: 4px;
    background-color: #a24173;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 25%;
    transition: all 0.5s;
    margin: 0 0 0 10px;
}   
}