@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
}

.container {
  max-width: 1050px;
  width: 90%;
  margin: auto;
}

.navbar {
  width: 100%;
  /* background-color: rgba(255, 255, 255, 0.551);
  box-shadow: 0 1px 4px rgb(146 161 176 / 15%); */
} 

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
}

.navbar .menu-items {
  display: flex;
}

.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a {
  text-decoration: none;
  color:   red ;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.7rem;
}

.navbar .nav-container a:hover{
    font-weight: bolder;
}

.nav-container {
  display: block;
  position: relative;
  height: 60px;
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background-image: radial-gradient( circle 597px at 93% 9.8%,  rgba(255,61,89,1) 1.7%, rgba(252,251,44,1) 97% );
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
  padding-top: 120px;
  box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
  height: 100vh;
  width: 100%;
  transform: translate(-150%);
  display: flex;
  flex-direction: column;
  margin-left: -40px;
  padding-left: 50px;
  transition: transform 0.5s ease-in-out;
  text-align: center;
}

.navbar .menu-items li {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
  z-index: 1;
}

.logo {
  padding: 5px 15px;
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 1.2rem;
  color: red;
  border-radius: 15px;
  
  text-shadow: -1px 0 black,0 1px black ,1px 0 black ,0 -1px black ;
  
}
.logo h1{
  text-shadow: -1px 0 black,0 1px black ,1px 0 black ,0 -1px black ;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}
nav{
    
}
.section-1{
    background-image: url(./img/pexels-victor-freitas-841130.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 97vh;
    width: 99vw;

}

 .info h1{
font-size: 70px;
color: orangered;
background-color: rgba(255, 255, 255, 0.882);
border-radius: 20px;
padding: 10px 10px;

}
.info h2{
    font-size: 45px;
    color: white;
    }
.section-1{
    position: relative;
}
.content{
    position: absolute;
    text-align: center;
    transform: translate(60%,72%);
    
}

.btn-grad {background-image: linear-gradient(to right, #EB3349 0%, #F45C43  51%, #EB3349  100%)}
.btn-grad {
   margin: 10px;
   padding: 15px 30px;
   text-align: center;
   text-transform: uppercase;
   transition: 0.5s;
   background-size: 50% 50%;
   color: white;            
   border-radius: 10px;
   display: inline-block;
 }

 .btn-grad:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
 }
 .btn-grad a{
     font-size: 17px;
     text-decoration: none;
     color: white;
 }
 .video-info video{
     width: 98vw;
     height: 98vh;
     padding: 30px 30px;
     position: center;
     
 }
 .section-2{
  background-color:rgb(199, 199, 199);
 }
 .card1,.card2,.card3{
   display: grid;
   grid-template-columns: 1fr 1fr;
   margin: 30px auto;
   background-color:#333;
   color:orangered;
   height: 396px;
   border-radius: 20px;
   box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
  }
 .card3{
   height: 500px;
 }
.envelope{
  max-width: 1050px;
  width: 90%;
  margin: auto;
}
.card-img1{
  width: 525px;
  height: 525px;
  background-image: url(./img/gympic2.jpeg);
  background-repeat: no-repeat;
  background-size: contain;
  border-top-right-radius: 20px;
  /* border-bottom-right-radius: 20px; */
}
.card-img2{
  width: 525px;
  height: 525px;
  background-image: url(./img/gympic3.jpeg);
  background-repeat: no-repeat;
  background-size: contain;
}
.card-img3{
  width: 525px;
  height: 500px;
  background-image: url(./Img/gympic1.jpg);
  background-repeat: no-repeat;
  background-size: contain;
}
.card-info{
  text-align: center;
  transform: translateY(30%);
}
 .card2 .card-info{
  transform: translateY(20%);
} 
#slider{
  overflow: hidden;
}
#slider figure {
  display: grid;
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  animation: 20s slider infinite;
}
#slider figure img{
  width: 20%;
  float: left;
}
@keyframes slider{
  0%{
    left: 0;

  }
  20%{
    left: 0;
  }
  25%{
    left: -100%;
  }
  45%{
    left: -100%;
  }
  50%{
    left: -200%;
  }
  70%{
    left: -200%;
  }
  75%{
    left: -300%;
  }
  95%{
    left: -300%;
  }
  100%{
    left: -400%;
  }

}
.slider {
  width: 95%;
  height: 72vh;
  border-radius: 2%;
  background-image: url(img/img1.jpg);
  background-size: cover;
  background-position: center;
  margin: 100px auto;
  animation: slide 10s infinite;
}

@keyframes slide {
  25% {
    background-image: url(./img/gym1.jpeg);
  }
  50% {
    background-image: url(./img/gym2.jpeg);
  }
  100% {
    background-image: url(./img/gym3.jpeg);
  }
}
.section-3{
  background-color:whitesmoke;
}
.section-3 h2{
  font-size: 40px;
}
.section-3 h2{
  color: white;
  line-height: 45px;
}
.section-3 span{
  color: orangered;
}
.section-4{
  height: 95vh;
  width: 100vw;
  background-image: url(./img/video-img.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.t-img img{
  height: 300px;
  clip-path: circle();
  transform: translateX(120%);
}
.card4{
  align-self: center;
  /* transform: translateY(40%); */
  background-color: rgb(183, 182, 182);
  display: grid;
  grid-template-rows: 1fr 400px;
  border-radius: 20px;
  margin-top: 100px;
}
.t-info{
  color: white;
  background-color:#333;
  border-bottom-left-radius:  20px;
  border-bottom-right-radius: 20px;
  text-align: center;

}
.t-info h1{
  font-size: 60px;
  color: orangered;
}
.t-info h2{
  font-size:30px;
}
.t-info{
  font-size: 20px;
}
.t-info span{
  color: orangered;
}
.links a{
  height: 70px;
  color: orangered;
  transition: all 0.1s ease-in-out;
}
.links a:hover{
  color: white;
}
.footer1{
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-bottom: 4px solid black;
}
.section-5{
  background-color: lightgray;
}
.section-5 a{
  text-decoration: none;
  color: black;
  transition: all 0.1s ease-in-out;
}
.section-5 a:hover{
  border-bottom: 1px solid orangered;
  color:orangered;
}
.creator h1{
  font-size: 22px;
}
.creator h2{
  font-size: 17px;
}
@media(max-width:400px){
  .section-1 h1{
       font-size: 40px;
  }
  
  .section-1 .content{
    transform: translateX(-10%);
    transform: translateY(45%);
}
  .card-info h2{
    font-size: 20px;
  }
  .card-img1{
    width: 300px;
    height: 300px;
    background-image: url(./img/gympic2.jpeg);
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 20px;
  }
  .card-img2{
    width: 300px;
    height: 300px;
    background-image: url(./img/gympic3.jpeg);
    background-repeat: no-repeat;
    background-size: contain;
  }
  .card-img3{
    width: 300px;
    height: 275px;
    background-image: url(./Img/gympic1.jpg);
    background-repeat: no-repeat;
    background-size: contain;
  }
  .card1,.card2{
    height:227px ;
  }
  .card3{
    height: 275px;
  }
  .section-3 h2{
    line-height: 30px;
  }
  .t-img img{
    transform: translateX(10%);
  }
  .t-info h1{
      font-size: 39px;
  }
  .nav-container input[type="checkbox"]:checked ~.content.info{
    display: none;
  }
  .section-5 h1{
    font-size: 27px;

  }
  .section-5 h2{
     font-size: 17px;
  }
  .contact-links{
    padding-left: 10px;
  }
  .card-info{
    transform: translateY(25%);
  }
  .card4{
    transform: translateX(0%);
  }
  .logo{
    margin-left: 50px;
    margin-bottom: 50px;
  }
}