/* main css */
body {
  background-color: black;
  font-family: "Open Sans", sans-serif;
}
:root {
  --text-color: white;
  --main-color:#ff7800;
  --bg-color: #0c3d72;
  /* --second-bg-color: #101010; */

}
/* applying absolute position to all the assigned elements */
main,
section,
div,
img,
button {
  position: absolute;
  font-family: "auster", sans-serif;
  /* font-weight: 500;
  font-style: normal; */
}


/* styling main body */
main {
  /* border: 2px solid red; */
  background-color: white;
  width: 1920px;
  height: 1080px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

section {
  width: 100%;
  height: 100%;
  display: none;
  /* border: 5px solid green; */
}

#screen1 {
  display: block;

}

/* styling the frame class with required dimensions */
.frame {
  
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#frame1 {
  display: block;
}

/* styling introduction with required dimensions and positioning it */
/* .intro_container { */
  /* left: 530px;
  top: 190px; */
  /* width: 1920px;
  height: 1080px; */
  /* padding: 30px 20px; */
  /* padding: 40px; */
  /* background-color: aliceblue; */
  /* border: 1px solid yellow; */
/* } */

/* .intro_container div,
.intro_container button {
  position: static;
} */

/* adding "LEARN MORE ABOUT:" text to the panel */
.learn_more_text {
  font-size:80px;
  text-align: center;
  font-weight: 800;
  color: #77ff13;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* margin-top: 100px;
  margin-bottom: 8px; */
  /* width: 100%; */
  /* border: 1px solid white; */
}

/* styling the buttons with required dimensions and color */
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  padding: 0px;
}
/* .s1-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 140px;
  padding: 25px;
}
.to-screen-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px;  
  height: auto;
  cursor: pointer;
} */
 .btn1{
  width: 350px;
  top: 450px;
  left: 420px;
  cursor: pointer;
  position: absolute;
 }
 .btn2{
  width: 350px;
  top: 450px;
  right: 460px;
  cursor: pointer;
  position: absolute;
 }
 .btn3{
  width: 350px;
  top: 660px;
  left: 420px;
  cursor: pointer;
  position: absolute;
 }
 .btn4{
  width: 350px;
  top: 660px;
  right: 460px;
  cursor: pointer;
  position: absolute; 
 }




#start-btn {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding: 100px;
}

/* .screen p {
  position: absolute;
  left: 910px;
  top: 300px;
  font-size: 35px;
  font-weight: 700;
  color: #0075bf;
} */

.screen img {
  display: block;
}

/* styling the back button */
#back-btn {
  width: 60px;
  height: 100px;
  background-color: #0075bf;
  border-radius: 0 4px 4px 0;
  color: white;
  font-size: 74px;
  opacity: 0.75;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

/***** Screen 2 styling *****/

#screen2 h1 {
  position: absolute;
  font-family: "auster", sans-serif;
  font-weight: 800;
  top:105px;
  left: 50px;
  /* top: 50px; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  /* color: var(--main-color); */
  color: #CDDC39;
  font-size: 90px;
}
#screen2 h2 {
  position: absolute;
  font-size: 65px ;
  font-weight: 500;
  top: 25px;
  left: 50px;
  color: #FFFFFF;
  /* color: var(--text-color); */
}

#screen2 h3 {
  position: absolute;
  top: 37px;
  left: 300px;
  font-size: 50px ;
  font-weight: 500;

  color: #FFFFFF;
  /* color: var(--text-color); */
}



#s2-line1{
  position: absolute;
  width:500px;
  left: 430px;
  top: 70px;
}
#s2-line2{
  position: absolute;
  width:320px;
  right: 554px;
  top: 285px;
}
#s2-line3{
  position: absolute;
  width: 200px;
  left: 630px;
  top: 530px;
}
#s2-line4{
  position: absolute;
  width: 280px;
  left: 150px;
  top: 530px;
}
#s2-line5{
  position: absolute;
  width: 250px;
  left: 650px;
  bottom: 240px;
}
#s2-line6{
  position: absolute;
  width:170px;
  right: 680px;
  bottom: 245px;
}

#s2-1967-text {
  position: absolute;
  font-size: 25px;
  color: var(--text-color);
  width: 350px;
  right: 470px;
  top:60px;
  cursor: pointer;
}

#s2-1972-text {
  position: absolute;
  font-size: 25px;
  color: var(--text-color);
  width: 340px;
  right: 190px;
  top: 325px;
  cursor: pointer;
}
#s2-1984-text{
  position: absolute;
  font-size: 25px;
  color: var(--text-color);
  width: 400px;
  left: 750px;
  top: 590px;
  cursor: pointer;
}
#s2-1990-text{
  position: absolute;
  font-size: 25px;
  color: var(--text-color);
  width: 220px;
  left: 280px;
  top: 512px;
  cursor: pointer;
}
#s2-1999-text{
  position: absolute;
  font-size: 25px;
  color: var(--text-color);
  width: 270px;
  left: 440px;
  top: 740px;
  cursor: pointer;
}
#s2-2005-text{
  position: absolute;
  font-size: 25px;
  color: var(--text-color);
  width: 260px;
  left: 910px;
  bottom: 125px;
}
#s2-2009-text{
  position: absolute;
  font-size: 25px;
  color: var(--text-color);
  width: 220px;
  right: 430px;
  bottom: 150px;
}
#s2-main-text{
  font-size: 25px;
  position: absolute;
  top: 235px;
  width: 260px;
  left: 500px;
  color: var(--text-color);
}

.year-1967{
  color:var(--main-color);
  font-size: 70px;
  font-family: "auster", sans-serif;
  font-weight: 900;
  font-style: normal;
  position: absolute;
  top: 240px;
  left: 950px;
}
.year-1972{
  color:var(--main-color);
  font-size: 70px;
  font-family: "auster", sans-serif;
  font-weight: 900;
  font-style: normal;
  position: absolute;
  top: 240px;
  right: 322px;
}
.year-1984{
  color:var(--main-color);
  font-size: 70px;
  font-family: "auster", sans-serif;
  font-weight: 900;
  font-style: normal;
  position: absolute;
  top: 490px;
  left: 870px;
}
.year-1990{
  color:var(--main-color);
  font-size: 70px;
  font-family: "auster", sans-serif;
  font-weight: 900;
  font-style: normal;
  position: absolute;
  top: 490px;
  left: 480px;
}
.year-1999{
  color:var(--main-color);
  font-size: 70px;
  font-family: "auster", sans-serif;
  font-weight: 900;
  font-style: normal;
  position: absolute;
  top: 660px;
  left: 435px;
}
.year-2005{
  color:var(--main-color);
  font-size: 70px;
  font-family: "auster", sans-serif;
  font-weight: 900;
  font-style: normal;
  position: absolute;
  bottom: 205px;
  left: 910px;
}
.year-2009{
  color:var(--main-color);
  font-size: 70px;
  font-family: "auster", sans-serif;
  font-weight: 900;
  font-style: normal;
  position: absolute;
  bottom: 205px;
  right: 500px;
}

#s2-firstcourt{
  position: absolute;
  width: 220px;
  top:55px;
  left: 865px;
}
#s2-honeycomb{
  position: absolute;
  width: 200px;
  left: 780px;
  top: 350px;
}
#s2-founder1{
  position: absolute;
  width: 90px;
  top: 250px;
  left: 80px;
}
#s2-founder2{
  position: absolute;
  top: 280px;
  width: 65px;
  left: 180px;
}
#s2-founder3{
  position: absolute;
  width: 65px;
  top: 250px;
  left: 270px;
}
#s2-name1{
  position: absolute;
  top: 325px;
  left: 75px;
  width: 85px;
}
#s2-name2{
  position: absolute;
  top: 355px;
  left: 175px;
  width: 90px;
}
#s2-name3{
  position: absolute;
  top: 290px;
  left: 260px;
  width: 90px;

}
#s2-webicon{
  position: absolute;
  width: 65px;
  bottom: 220px;
  left: 310px;
  rotate: 45deg;
  animation: pointing 2s infinite ease-in-out;
}
@keyframes pointing {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(10px); /* Moves to the right */
  }
  100% {
      transform: translateY(0); /* Back to the starting position */
  }
}


/************ screen 3  *********/

.s3-title {
  /* color: #6ec7b0; */
  color: #CDDC39;
  font-size: 90px;
  position: absolute;
  font-family: "auster", sans-serif;
  font-weight: 800;
  top:60px;
  left: 100px;
}
.s3-subtitle {
  color: #FFFFFF;
  font-size: 25px;
  position: absolute;
  font-family: "auster", sans-serif;
  font-weight: 600;
  top:160px;
  left: 110px;
}

.s3-display {
  position: absolute;
  width: 450px;
  top: 400px;
  left: 500px;
}
.s3-infoscreen {
  position: absolute;
  width: 450px;
  top: 400px;
  right: 200px;
}
.s3-beginnerpaddle {
  position: absolute;
  top: 450px;
  left: 625px;
  width: 200px;
}
.s3-interpaddle {
  position: absolute;
  top: 450px;
  left: 625px;
  width: 200px;
}
.s3-propaddle {
  position: absolute;
  top: 450px;
  left: 625px;
  width: 200px;
}
.s3-begibtn{
  position: absolute;
  top: 480px;
  left: 360px;
  width: 200px;
  cursor: pointer;
}
.s3-ballbtn{
  position: absolute;
  top: 680px;
  left: 360px;
  width: 200px;
  cursor: pointer;
}
.s3-interbtn{
  position: absolute;
  top: 480px;
  right: 845px;
  width: 200px;
  cursor: pointer;
}
.s3-probtn{
  position: absolute;
  top: 680px;
  right: 845px;
  width: 200px;
  cursor: pointer;
}
span {
  color: var(--main-color)
}
.beginner_text{
  position: absolute;
  line-height: 4rem;
  color: #6cbe45;
  font-size: 18px;
  right: 275px;
  top: 440px;
  font-weight: 800;
}
.inter_text{
  position: absolute;
  line-height: 4rem;
  color: #6cbe45;
  font-size: 18px;
  right: 288px;
  top: 440px;
  font-weight: 800;
}
.pro_text{
  position: absolute;
  line-height: 4rem;
  color: #6cbe45;
  font-size: 18px;
  right: 288px;
  top: 440px;
  font-weight: 800;
}
.ball_text{
  position: absolute;
  line-height: 2rem;
  color: #6cbe45;
  font-size: 18px;
  right: 320px;
  top: 460px;
  font-weight: 800;
}

#outdoorball{
  position: absolute;
  top: 650px;
  left: 655px;
  width: 150px;
}
#indoorball{
  position: absolute;
  top: 450px;
  left: 655px;
  width: 150px;
}

/* #man1{
  width: 270px;
  position: absolute; 
  left: 100px;
  bottom: 20px;
}

#man2{
  width: 400px;
  position: absolute;
  right: 0px;
  top: 30px;
} */

/********* Screen 4 styling *******/
.s4-title {
  color: #CDDC39;
  font-size: 90px;
  position: absolute;
  font-family: "auster", sans-serif;
  font-weight: 800;
  top:60px;
  left: 100px;
}
.s4-subtitle {
  /* color: #6ec7b0; */
  color: #FFFFFF;
  font-size: 30px;
  position: absolute;
  font-family: "auster", sans-serif;
  font-weight: 600;
  top:160px;
  left: 110px;
}
/* #s4-bg{
  position: absolute;
  width: 1350px;
  top: 210px;
  right: 10px;
} */
#s4-court {
  position: absolute;
  width: 1050px;
  top: 310px;
  right: 150px;
}
.click-here{
  position: absolute;
  bottom: 350px;
  left: 300px;
  width: 100px;
  cursor: pointer;
  animation: pulseEffect 2s infinite ease-in-out;
}
@keyframes pulseEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2); /* Scale up to 120% */
  }
  100% {
    transform: scale(1); /* Return to original size */
  }
}
.volleying{
  color: var(--main-color);
  position: absolute;
  bottom: 75px;
  left: 50px;
  font-size: 38px;
  font-family: "auster", sans-serif;
  font-weight: 500;
  width: 390px;
  display:none;
}
.serv-line{
  transform: rotate(90deg);
  position: absolute;
  /* width: 170px; */
  top: 320px;
  left: 800px;
  transform-origin: bottom ;
}
.service-text{
  position: absolute;
  top: 225px;
  left: 780px;
  font-size: 30px;
  font-family: "auster", sans-serif;
  font-weight: 500;
  color: white;
}
.net{
  position: absolute;
  transform: rotate(90deg);
  top: 266px;
  /* width: 80PX; */
  left: 1210px;
}
.base-line{
  position: absolute;
  transform: rotate(90deg);
  top: 270px;
  /* width: 80PX; */
  left: 1550px;
}
.net-text {
  position: absolute;
  top: 210px;
  left: 1222px;
  font-size: 30px;
  font-family: "auster", sans-serif;
  font-weight: 500;
  color: white;
}
.side-text {
  position: absolute;
  bottom: 110px;
  left: 755px;
  font-size: 30px;
  font-family: "auster", sans-serif;
  font-weight: 500;
  color: white;
}
.side-line{
  position: absolute;
  transform: rotate(90deg);
  bottom: 175px;
  /* width: 70px; */
  left: 760px;
}
.center-line{
  position: absolute;
  transform: rotate(90deg);
  bottom: 310px;
  left: 840px;
}
.center-text{
  position: absolute;
  bottom: 120px;
  left: 950px;
  font-size: 30px;
  font-family: "auster", sans-serif;
  font-weight: 500;
  color: white;
}
.base-text {
  position: absolute;
  top: 210px;
  right: 290px;
  font-size: 30px;
  font-family: "auster", sans-serif;
  font-weight: 500;
  color: white;
}
.the-kitchen{
  position: absolute;
  transform: rotate(-90deg);
  left: 1070px;
  bottom: 460px;
}
.non{
  position: absolute;
  transform: rotate(90deg);
  left: 1150px;
  bottom: 460px;
}
.non-text{
  position: absolute;
  font-size: 25px;
  width: 400px;
  font-family: "auster", sans-serif;
  font-weight: 500;
  color: white;
  bottom: 60px;
  right: 220px;
}
.kitchen-line{
  transform: rotate(90deg);
  position: absolute;
  width: 80px;
  bottom: 220px;
  right: 550px;
}



/* screeen5 */
.play-court{
  position: absolute;
  width: 700px;
  right: 150px;
  top: 100px;
}
.yellowball {
  position: absolute;
  width: 30px;
  right: 690px;
  top: 300px;
}
.playbtn {
  position: absolute;
  top: 520px;
  right: 700px;
  cursor: pointer;
}
.rallybtn {
  position: absolute;
  top: 520px;
  right: 595px;
  cursor: pointer;
}
.faultbtn {
  position: absolute;
  top: 520px;
  right: 490px;
  cursor: pointer;
}
.doublebouncebtn {
  position: absolute;
  top: 520px;
  right: 300px;
  cursor: pointer;
}
.scorebtn {
  position: absolute;
  top: 520px;
  right: 150px;
  cursor: pointer;
}
.game-rule {
  position: absolute;
  background: white;
  color: #4CAF50;
            padding: 20px;
            border-radius: 8px;
            width: 700px;
            top: 600px;
            right: 150px;
            display: none;
            font-size: 20px;
            font-family: "auster", sans-serif;
            font-weight: 600;
}
.boy-s5{
  position: absolute;
  bottom: 50px;
  right: 700px;
  width: 400px;
}
.trophy{
  position: absolute;
  bottom: 250px;
  left: 500px;
  width: 200px;
}
.ballnet{
  position: absolute;
  bottom: 500px;
  left: 270px;
  width: 250px;
}
.ballpaddle{
  position: absolute;
  bottom: 150px;
  left: 150px;
  width: 200px;
}
.hat{
  position: absolute;
  top: 350px;
  left: 650px;
  width: 180px;
}
.fading {
  position: absolute;
  opacity: 0;
}

.s5-title {
  color: white;
  font-size: 30px;
  position: absolute;
  font-family: "auster", sans-serif;
  font-weight: 500;
  top:60px;
  left: 110px;
}
.s5-subtitle {
  /* color: #6ec7b0; */
  color:#7AC142;
  font-size: 90px;
  position: absolute;
  font-family: "auster", sans-serif;
  font-weight: 800;
  top:100px;
  left: 100px;
}