* {
  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 ;
  /* background-repeat: no-repeat;
  background-size: cover; */
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.fullImg img {
  display: block;
  width: 100%;
}
#form1 {
  max-width: 100%;
  margin: 0 auto;
  background: url("./../images/bg.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-repeat: no-repeat;*/
  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;
}
/* .btn2{
   bottom:-60px;
} */
.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;
}

.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-color: #fff;
  background-repeat: no-repeat; */
  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;
}
.screen-1-text-1, .screen-1-text-1 img:first-child {
  height: 92%;
  
}

/* ======= */
.box_sec1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    height: auto;
}
.screen1_box_sec {
  position: relative;
  display:flex;
  justify-content: center;
}
.screen1_box_sec img {
  width: 440px;
}
/* ====== */
.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 .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 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;
}

.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;
}
#section7 form {
  display: flex;
  flex-direction: column;
  width: 300px;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  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 label{
  font-weight: 500;
  display: block;
  font-size: 18px;
  /* padding-bottom: 15px; */
  color: #2e72b9;
}

#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: #2e72b9;
/* padding-bottom: 5px; */
}
.form-control {
  display: flex;
  flex-direction: column;
  /* padding-bottom: 10px; */
  /* width: 100%; */
}
.form-control input, .form-control select {
  background: #4ea3ce;
  color: #fff;
  border: 2px solid #2a377e;
  padding: 5px 5px;
  height: 31px;
  border-radius: 7px;
  /* font-size: 13px;
  width: 100%; */
}


::-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 {
  width: 90%;
  position: absolute;
  top:65px;
  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);
}



.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;

} 

#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;
}
  .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 48px;
    /* padding-left: 49px; */
}
.container_fr {
  width: 100%;
  display: flex;
  gap:1px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 48px;
  /* padding-left: 49px; */
}
.container_fr_ad{
  width: 72%;
  display: flex;
  gap:1px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 48px;
  /* padding-left: 49px; */
}

.game-screen22 {
  position: absolute;
  top: 51px;
  /* padding-left: 61px; */
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
}

.game-screen22 .letter {
  margin: 0;
  margin-right: 3.5px;
  width: auto;
}
.game-screen22 .letter img {width: 27px;}
.game-screen22 .timer-box {
  position: absolute;
  top: -66px;
  right: 21px;
  width: auto;
}

.game-screen22 .timer {
  right: 22px;
}
.letter {
  margin-right: 0;
  cursor: pointer;
  user-select: none;
  width: 42px;
}
.letter img{
  width: 32px;
  height: auto !important;
}


.letter.dragging {
    opacity: 0.5;
    border: 2px dashed #000;
}
/* .timer img {
  position: absolute;
  top: -172px;
  right: -145px;
} */
.timer-box {
  position: absolute;
  top: -59px;
  right: 21px;
  width: auto;
}
.timer-box img{
  width: 70px;
}
.timer{
  position: absolute;
  top: 8px;
  right: 22px;
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.timer-box3 {
  /* right: -86px !important; */
  right: -36px !important;
  width: auto!important;
}

/* #screen2 {
  left: 10%;
}
@media screen and (max-height: 315px){
  .form-control input, .form-control select {
    height: 26px;
  }

  .screen-1-text-1, .screen-1-text-1 img:first-child {
    height:100%;
    
  }
} */

@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;
    }
   
  /* .form-control input, .form-control select {
    height: 26px;
  }

  .screen-1-text-1, .screen-1-text-1 img:first-child {
    height:100%;
    
  } */
}
/* 
@media (max-width:1440px){
  .home1 img {
    height: 100% !important;
}
} */

@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;
  }
  .container {
    top: 47px;
  }
  #form1 {
    font-size: 18px;
  }
  .btn-new{
    padding:12px 0px; 
  }
}

@media screen and (min-width:1300px){

  #form1 {
    font-size: 20px;
  }
  .container {
    top: 52px;
  }
}

@media (max-width:1024px){
  /* #section2 {
    height: 40px !important;
} */
#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: 47px;
  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;
} */

}


@media (min-width:1025px){



#section1 .screen-1 .btn, #start img, #section4 .btn, #section5 .btn {
  bottom: 90px;
  height: auto!important;
}
.btn{
   width:110px
}
}


.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 label {
  font-weight: 500;
  display: block;
  font-size: 18px;
  padding-bottom: 10px;
  color: #2e72b9;
  font-family: "Roboto", sans-serif;
}

#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;
}

}
}