* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
  }
  body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
    position: relative;
    align-items: center;
    justify-content: center;
  }
  .screen {
    width: 100%;
    height:100%;
    position: relative;
    overflow: hidden;
    background: url("./../images/bg.png") no-repeat center;
   
  }
  
  .img-fluid {
    max-width: 100%;
    height: auto;
  }
  
  
  
  .fullImg img {
    display: block;
    width: 100%;
  }
  #form1 {
    max-width: 100%;
    margin: 0 auto;
    background: url("./../images/bg_mobile.png") no-repeat;
    background-position: center center;
    display: flex;
    background-size: cover;
    height: 100vh;
    
  }
  .screen-1 {
    overflow: hidden;
    background: url("./../images/bg.png") no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .screen-1-text-1 {
    position: relative;
  }
  .screen-1-timer {
    position: relative;
  }
  
  
  .btn  {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    cursor: pointer;
  }
  
  .btn33 {
    bottom: 0;
    top:42%;
  }
  
  .btn44 {
    bottom: 0;
    top: 62%;
    left: 78%;
    width: 55px !important;
  }
  
  .btn2 {
    bottom: -60px;
    position: absolute;
    left: 41%;
    transform: translateX(-42%);
  }
  .btn23 {
    position: absolute;
    bottom: -20px;
    left: 55%;
    transform: translateX(-55%);
  }
  .screen-3 {
    align-items: center;
  }
  .screen-3-text-1 ul {
    list-style: none;
    padding: 60px 40px 0px 0px;
  
  }
  
  .screen-3-text-1 ul li{
   padding: 15px 0px;
  }
  
  .screen-3-text-1 ul li img {
    height: 150px;
    cursor: pointer;
  }
  
  .screen-3-text-2 {
    position: relative;
  }
  
  .small_icon1 {
  position: absolute;
  left: 44%;
  bottom: 20%;
  width: 85px;
  opacity: 0;
  cursor: pointer;
  }
  
  .small_icon2 {
  position: absolute;
  right: 15.5%;
  bottom: 28.5%;
  width: 70px;
  transform: rotate(32deg);
  opacity: 0;
  cursor: pointer;
  }
  
  .small_icon3 {
  position: absolute;
  left: 35%;
  bottom: 9%;
  width: 46px;
  opacity: 0;
  cursor: pointer;
  }
  
  #timer, #timer2, .timer {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  position: absolute;
          color: #fff;
          top: 21px;
          right: 24px;
          font-weight: 700;
  }
  
  .overlay {
  width: 96%;
  height: 81%;
  position: fixed;
  left: 23px;
  right: 23px;
  bottom: 27px;
  background: #cf3f25;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: all cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
  border-radius: 40px;
  }
  
  .overlay2 {
  height: 82%!important;
  bottom: 8px!important;
  
  }
  
  .overlay.active {
  opacity: 0.7;
  pointer-events: all;
  }
  
  
  .modal {
  position: fixed;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 90%;
  border-radius: 30px;
  z-index: 10;
  transition: all cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
  opacity: 0;
  pointer-events: none;
  padding:0px 0 50px;
  }
  .modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
  }
  .modal .modal-head {
  padding: 0 0 0 0;
  }
  .modal .modal-body {
  padding: 30px 0 0 0;
  overflow: auto;
  position: relative;
  overflow: hidden;
  }
  .modal .modal-body img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
  }
  .modal .modalBtn-leaf,
  .modal .modalBtn-Tablet {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  position: absolute;
  left: -16px;
  bottom: -16px;
  z-index: 1;
  border: 0;
  box-shadow: 5px -5px 10px -5px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  }
  .modal .modalBtn-leaf {
  background: url("../images/btnLeaf.png");
  }
  .modal .modalBtn-Tablet {
  background: url("../images/btnTablet.png");
  }
  .modal-close {
  width: 62px;
  height: 62px;
  background: url("../images/closeBtn.png") no-repeat;
  background-size: cover;
  position: absolute;
  right: 0px;
  top: 15px;
  z-index: 1;
  border: 0;
  cursor: pointer;
  }
  
  .modal-head {
  position: relative;
  top: -2px;
  left: -18px;
  }
  
  .last_img {
  position: relative;
  left: -10px;
  }
  
  
  
  /* responsive start  */
  @media (orientation:portrait){ 
  .rotateDevice {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    background: url("./../images/bg.png") no-repeat center, #fff;
    background-size: cover;
  }
  .rotateDevice img {
  width: 250px;
  }
  .rotateDevice p {
  text-align: center;
          font-size: 17px;
          line-height: 28px;
  }
  .screen {
  display: none;
  }
  .alertButton {display: none;}
  }
  @media (orientation:landscape){
  .rotateDevice {
    display: none;
  }
  
  .btn {
    width: 65px;
    bottom: 0px;
    height: auto!important;
    background: transparent;
    border: 0;
    outline: none;
  }
  
  .btn2 {
    width: 60px;
    bottom: 0px;
    height: auto;
  }
  
  .btn23 {
    width: 60px;
    bottom: 0px;
    height: auto;
  }
  
  .screen-3 {
  padding: 0 50px;
  }
  .screen-3-text-1 {
  width: 13%;
  }
  .screen-3-text-2 {
  width: 87%;
  }
  
  .screen-3-text-1 ul li img {
  height: 60px;
  object-fit: contain;
  }
  
  .screen-3-text-2 {
  height: 285px;
  position: relative;
  }
  
  .screen-3-text-2 .big_img {
  height: 100%;
  width: 100%;
  }
  
  .screen-3-text-1 ul {
  list-style: none;
  padding: 30px 20px 0px 0px;
  }
  
  .screen-3-text-1 ul li {
  padding: 8px 0px;
  }
  
  #timer , #timer2, #timerDisplay, .timer {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    position: absolute;
    color: #fff;
    top: 37px;
    right: 44px;
    font-weight: 700;
    z-index: 9;
    text-align: center;
    font-size: 18px;
  }
  
  
    #timer::before {
        content: "";
        position: absolute;
        top: -10px;
        right: -9px;
        width: 40px;
        height: 45px;
        background: url(../images//timer.png) no-repeat;
        z-index: -9;
       
    }
  .modal-close {
  width: 42px;
  height: 42px;
  }
  
  .modal {
  position: fixed;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 71%;
  border-radius: 18px;
  z-index: 10;
  transition: all cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
  opacity: 0;
  pointer-events: none;
  padding: 0;
  }
  
  .modal .modal-body {
  padding: 20px 0 0 0;
  }
  
  .overlay {
  width: 96%;
  height: 72%;
  position: fixed;
  left: 13px;
  right: 23px;
  bottom: 35px;
  background: #cf3f25;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: all cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
  border-radius: 18px;
  }
  .overlay2 {
  height: 100%;
  }
  .newClass {
  -webkit-filter: grayscale(100%);
  }
  
  .small_icon4 {
  position: absolute;
  left: 51px;
  top: 52px;
  width: 19px;
  cursor: pointer;
  opacity: 0;
  }
  
  .small_icon5 {
  position: absolute;
  left: 40%;
  top: 52.5%;
  width: 23px;
  cursor: pointer;
  opacity: 0;
  }
  
  .small_icon6 {
  position: absolute;
  right: 10%;
  bottom: 35%;
  width: 46px;
  cursor: pointer;
  opacity: 0;
  }
  
  .screen-6 .screen-1-text-1, .screen-6  .screen-1-text-1 img:first-child{
  height: 96%;
  }
  
  
  .element:-webkit-full-screen {
  background-color: #e4708a;
  width: 100vw;
  height: 100vh;
  }
  
  .element:-webkit-full-screen p {
  visibility: visible;
  }
  
  .element:-moz-full-screen {
  background-color: #e4708a;
  width: 100vw;
  height: 100vh;
  }
  
  .element:-moz-full-screen p {
  visibility: visible;
  }
  
  .element:-ms-fullscreen {
  background-color: #e4708a;
  width: 100vw;
  height: 100vh;
  }
  
  .element:-ms-fullscreen p {
  visibility: visible;
  }
  
  .element:fullscreen {
  background-color: #e4708a;
  width: 100vw;
  height: 100vh;
  }
  
  .screen {
  height: 100%;
  }
  
  .section {
  display: none; /* Hide all sections by default */
  }
  .visible {
  display: flex; /* Display the section with this class */
  }
  
  #addClassButton {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(46, 114, 185, 0.9);
  top: 0;
  justify-content: center;
  align-items: center;
  }
  
  #addClassButton button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
  border: 0;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  background: #2e72b9;
  border: 5px solid #459fcc;
  }
  .highlight {
  display: none!important;
  }
  
  .btnLeaf_active img {
  display: none;
  }
  
  #section7 form {
    display: flex;
    flex-direction: column;
    width: 300px;
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-family: "Roboto", sans-serif;
  } 
  
  /* #formdata1 form {
    display: flex;
    flex-direction: column;
    gap:4px;
    font-family: "Roboto", sans-serif;
  }  */
  /* #formdata2 form {
    display: flex;
    flex-direction: column;
    gap:2px;
    font-family: "Roboto", sans-serif;
  }  */
  #form1 input{
    width: 100%;
    margin: 0 auto;
    display: block;
    height: 22px;
    padding: 0 5PX;
    font-size: 12px;
    border:2px solid white;
  }
  #form1 select{
    width: 100%;
    margin: 0 auto;
    display: block;
    height: 22px;
    padding: 0 5PX;
    font-size: 12px;
    border:2px solid white;
  }
  
  
  
  #form1 {
    font-size: 12px;
  }
  
  .btn3 {
  position: relative;
  bottom:8px;
  display: block;
  cursor: pointer;
  width: 25%;
  height:65px !important;
  /* height: auto!important; */
  background: transparent;
  border: 0;
  outline: none;
  margin: 0 auto;
  }
  
  .btn3 img {
  height: auto!important;  
  }
  
  .btn4 {
      width: 45px;
      bottom: 14px;
      left: 60%;
      transform: translateX(-50%);
  }
  
  
  .form-control label {
  font-size: 16px;
  color: #fff;
  /* padding-bottom: 5px; */
  }
  .form-control {
  display: flex;
  flex-direction: column;
  /* padding-bottom: 10px; */
  }
  .form-control input, .form-control select {
  background: #4ea3ce;
  color: #fff;
  border: 2px solid #2e72b9;
  padding:5px 5px;
  height: 31px;
  border-radius: 7px;
  
  }
  
  ::-webkit-input-placeholder, ::-webkit-select-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
  }
  ::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
  }
  :-ms-input-placeholder { /* IE 10+ */
  color: #fff;
  }
  :-moz-placeholder { /* Firefox 18- */
  color: #fff;
  }
  
  .box {
    width: 90%;
    position: absolute;
    top: 29%;
    left: 50%;
    transform: translateX(-50%);
  }
  .box ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
  }
  .box ul li {
    width: 31.8%;
  }
  
  /* .memory-card:nth-child(2), .memory-card:nth-child(5), .memory-card:nth-child(8), .memory-card:nth-child(11) {
    margin: 0 10px;
  } */
  
  .memory-game {
    display: flex;
    flex-wrap: wrap;
    perspective: 1000px;
    gap: 5px;
  }
  
  .memory-card {
    width: calc(50% - 4px);
    height: 55px;
    position: relative;
    transform: scale(1);
    transform-style: preserve-3d;
    transition: transform .5s;
  }
  
  .memory-card:active {
    transform: scale(.97);
    transition: transform .2s;
  }
  
  .memory-card.flip {
    transform: rotateY(180deg);
  }
  
  .front-face,
  .back-face {
    width: 100%;
    height: 55px!important;;
    position: absolute;
    backface-visibility: hidden;
    padding: 0 5px;
  }
  
  .front-face {
    transform: rotateY(180deg);
  }
  
  .modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  }
  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #B2B0ED;
    padding: 1rem 1.5rem;
    width: 70%;
    border-radius: 0.5rem;
  }
  
  .modal-content h1 {
    font-size: 3em;
    font-family: 'Shadows Into Light', cursive;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
  }
  
  .modal-content .modal-reset {
    text-align: center;
    padding: 1rem 0;
  }
  
  .close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    border: 1px solid darkgray;
    background-color: lightgray;
  }
  .close-button:hover {
    background-color: darkgray;
  }
  .show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
  }
  
  .box-modal {
    color: rgb(107, 107, 107);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 1em;
    
  }
  .time {
    position: absolute;
      color: #fff;
      top: 23px;
      right: 26px;
      font-weight: 700;
  }
  .memory-card.match, .fade-out {
    opacity: 0;
    animation: fadeOut 1s ease-in-out forwards;
  } 
  
  @keyframes fadeOut {
    /* 0% {
      opacity: 1;
    } */
    50% {
      opacity: 1; 
      transform: scale(1.1); 
    }
    100% {
      opacity: 0; /* Fully fade out */
      transform: scale(1); /* Return to original size */
    }
  }
  
  #section1 ul {
    position: absolute;
    top: 120px;
    left: 30px;
    width: 90%;
  }
  
  #section1 ul li {
    color: #fff;
    font-size: 13px;
    padding-bottom: 6px;
  }
  
  .error {
    font-size: 12px;
    color: red;
    display: none;
  }
  }
  
  
  
  .btn-new{
    width: 100%;
    background-color: #fff;
    padding:4px 2px; 
    color:#165b8f;
    border:1px solid #165b8f;
    border-radius: 5px;
    font-weight: 700;
    font-size: 17px;
    font-family: "Roboto", sans-serif;
  }
  ::placeholder {
    color: gray;
    opacity: 1; /* Firefox */
  }
  select.placeholder {
    color: gray;
  }
  
  
  @media screen and (max-height: 275px){
    #section7 form {
      width: 240px;
    }
    .form-control input, .form-control select {
        padding:1px 1px;
        height: auto;
      }
  
      .form-control{
        padding-bottom: 5px;
      }
  
      .screen-3-text-2{
        height:215px;
      }
      #form1 input{
        width: 100%;
        margin: 0 auto;
        display: block;
        height: 35px;
        padding: 0 5PX;
        font-size: 10px;
      }
      #form1 {
        font-size: 10px;
      }
     
  }
  
  
  
  @media screen and (min-width:1000px){
    #form1 input{
      width: 100%;
      margin: 0 auto;
      display: block;
      height: 35px;
      padding: 0 5PX;
      font-size: 12px;
    }
    #form1 select{
      width: 100%;
      margin: 0 auto;
      display: block;
      height: 35px;
      padding: 0 5PX;
      font-size: 12px;
    }
    
    #form1 {
      font-size: 18px;
    }
    .btn-new{
      padding:12px 0px; 
    }
  }
  @media screen and (min-width:1300px){
  
    #form1 {
      font-size: 20px;
    }
  }
  
  @media (max-width:1024px){
    .memory-card {height: 40px;}
    #section2 .front-face, .back-face {
      height: 40px !important;
  }
  .memory-game {gap:5px;}
  #timer, #timer2, #timerDisplay, .timer {top:27px}
  #section4 .screen-1-text-1, #section1 .screen-1-text-1, #section5 .screen-1-text-1 {
    display: flex;
    align-items: center;
  }
  
  #section1 .screen-1 .btn, #start img, #section4 .btn, #section5 .btn {
    bottom: -10px;
    height: auto!important;
  }
  
  #section2 .screen-1-text-1 {height: 300px;}
  #section1 .screen-1-text-1, #section5 .screen-1-text-1   {
    height: calc(100% - 40px)!important;
  }
  .screen-1-text-1, .screen-1-text-1 img:first-child {
    height: calc(100% - 20px)!important;
  }
  
  }
  
  
  .form_main_sec{
    position: absolute;
    top: 12%;
    left: 5px;
    width: 340px;
    padding: 0 30px;
    margin: 0 auto;
    text-align: center;
  
  }
  .home1 {
  position: relative;
  width: 350px;
  margin: 1% auto 0 auto;
  }
  .home1 img {
    width: 350px;
    margin: 0 auto;
    display: block;
    position: relative;
    left: 4px;
    height: 779px!important;
    /* height: 100vh!important; */
  }
  .home1 {
  height: auto!important;
  }
  #section2 .screen-1-text-1 {
    display: flex;
    align-items: center;
  }
  .screen-1-text-1, .screen-1-text-1 img:first-child {
  height: calc(100% - 40px);
  }
  .label_sec {
    padding-bottom: 15px;
  }
  #formdata2 {
    padding-top: 30px;
  }

  
  #form1 input{
    width: 100%;
    margin: 0 auto;
    display: block;
    height: 35px;
    padding: 0 5PX;
    font-size: 12px;
  }
  #form1 select{
    width: 100%;
    margin: 0 auto;
    display: block;
    height: 35px;
    padding: 0 5PX;
    font-size: 12px;
  }
  
  #formdata2 form {
    gap: 16px;
  }
  #form1 {
    font-size: 18px;
  }
  .btn-new{
    padding: 8px 0px;
  }
  
  .error {
    color: red;
    font-size: 14px;
  }
  
  
  #form1 input {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    background-color: #45a2cf;
    border:1px solid #165b8f;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 12px 10px;
  }
  
  #form1 select {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    background-color: #45a2cf;
    border:1px solid #165b8f;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  #submitButton1 {
    
  }
  
  ::-webkit-input-placeholder { color:#fff; }
  ::-moz-placeholder { color:#fff; } /* firefox 19+ */
  :-ms-input-placeholder { color:#fff; } /* ie */
  input:-moz-placeholder { color:#fff; }
  
  
  @media (max-width:1440px){
    .home1 img {
      height: 100% !important;
  }
  }
  
  @media (max-width:639px){
    .home_section {
      overflow: auto;
    }
    .home1 img {
      width: 350px;
  }
  #form1, body {
    overflow: auto;
  }
  .home1 {
    padding-top: 20px;
  }
  }