*{
  box-sizing: border-box;
}

.body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.trainhard h1{
  font-family: "Anek Tamil", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800px;
  font-size: 120px;
  letter-spacing: -0.05em;
  font-style: normal;
}




.header{
  display: flex;
  background-color: hsl(230, 100%, 95%);
  height:81px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index:1000;
  border-bottom: 1px solid black;
}



.topprime{
font-family: "Figtree", sans-serif;
font-style: normal;
font-size: 26px;
font-weight: 700;
line-height: 91%;
margin: 0;
padding-top: 20px;
}

.toplogo{
  width:100%;
  height:100%;
  max-height: 45px;
  max-width: 100px;
  padding-left: 20px;
  padding-top: 20px;
}

.navsbox{
  display:flex;
  flex-direction: row;
  margin-left: auto;
  align-items: center;
  padding-right: 20px;
  gap: 50px;

}

.navi1{
  font-family: 'figtree', sans-serif;
  font-weight: 400;
  font-size:15px;
  color: black;
  text-decoration: none;
  line-height: 150%;
  font-style: normal;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.navi2{
  font-family: 'figtree', sans-serif;
  font-weight: 400;
  font-size:15px;
  color: black;
  text-decoration: none;
  line-height: 150%;
  font-style: normal;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.navi1:hover{
  opacity: 0.5;
}

.navi2:hover{
  opacity: 0.5;
}



.nav3{
  
  font-family: "Geist Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  color:black;
  width: 200px;
  height: 25px;
  padding: 5px;
  line-height: 150%;
  justify-self: center;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background-color: hsl(230, 96%, 73%);
  transition: background-color 0.3s ease,color 0.3s ease;
}

.nav3:hover{
  background-color: black;
  color: white;
}


.trainhard{
  display: grid;
  grid-template-columns: 1fr auto;
  background-color:hsl(0, 0%, 100%);
  max-height:250px;
  align-self: center; 
  align-items: center;
  justify-items: center;
  max-width: 100%;
  height: 100%;
}


.about{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  background-color: hsl(230, 100%, 95%);
  height:100%;
  border: 1px solid black;
}

.about1{
  grid-column: 1/2;
  grid-row: 1 ;
  max-height:480px;
}

.squatimg{
width: 200%;
height: 100%;
}

.about2{
  grid-column: 3;
  grid-row: 1;
  padding: 10px;
  max-height:480px;
}

.about2 h2{
font-family: 'Anek Tamil';
font-style: normal;
font-weight: 700;
font-size: 45px;
line-height: 91%;
max-width: 200px;
padding-bottom: 140px;
} 

.about2 p{
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 120%;
  max-width: 350px;
  padding-bottom: 10px;
}

.abtbut{
  padding-left: 30px;
  width:105px;
  height: 41px;
}

.abtlink{
  font-family: "Geist Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  color:black;
  width: 120px;
  height: 25px;
  padding: 5px;
  line-height: 150%;
  justify-self: center;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background-color:hsl(230, 100%, 95%);
  transition: background-color 0.3s ease,color 0.3s ease;
}

.abtlink:hover{
  background-color: black;
  color: white;
}


.about3{
  grid-column: 1;
  grid-row: 2;
  padding: 10px;
  max-height:480px;
  border-right: 1px solid black;
}

.about3 h2{
font-family: 'Anek Tamil';
font-style: normal;
font-weight: 700;
font-size: 45px;
line-height: 91%;
max-width: 250px;
padding-bottom: 130px;
}

.about3 p{
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 120%;
  max-width: 350px;
}

.about4{
  grid-column: 2;
  grid-row: 2;
  max-height:480px;
  padding: 10px;
}

.about4 h2{
font-family: 'Anek Tamil';
font-style: normal;
font-weight: 700;
font-size: 45px;
line-height: 91%;
max-width: 350px;
padding-bottom: 130px;
}

.about4 p{
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 120%;
  max-width: 350px;
}


.about5{
  grid-column: 3;
  grid-row: 2;
  max-height:480px;
}

.ladyrope{
  width:100%;
  height: 100%;
  display:block;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ladyrope.show {
  opacity: 1;
}


.community{
  display: grid;
  grid-template-columns: 1fr auto;
  background-color:hsl(0, 0%, 100%);
  height: 188px;
  align-self: center; 
  align-items: center;
  justify-items: center;
  max-width: 100%;
  border-bottom: 1px solid black;
}

.community h1{
  font-family: "Anek Tamil", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800px;
  font-size: 120px;
  letter-spacing: -0.05em;
  font-style: normal;
  line-height: 1px;
}

.potential{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 1fr);
  background-color: white;
  height: 100%;
  height: 600px;
}

.potentialimg{
  grid-row: 1/5;
  grid-column: 2;
  width:854px;
}

.weight{
  width: 100%;
  height: 600px;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.weight.show {
  opacity: 1;
}

.discover{
  grid-row: 1;
  grid-column: 1;
  border-bottom: 1px solid black;
  padding-left: 20px;
}

.discover h2{
  font-family: 'Anek Tamil';
font-style: normal;
font-weight: 700;
font-size: 45px;
line-height: 91%;
max-width: 350px;
}

.coaching{
  grid-column: 1;
  grid-row: 2;
  border-bottom: 1px solid black;
  padding-left: 20px;
}

.coaching h3{
  font-family: 'Anek Tamil';
font-style: normal;
font-weight: 700;
font-size: 30px;
line-height: 91%;
}

.coaching p{
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
}

.programs{
  grid-column: 1;
  grid-row: 3;
  border-bottom: 1px solid black;
  padding-left: 20px;
}

.programs h3{
font-family: 'Anek Tamil';
font-style: normal;
font-weight: 700;
font-size: 30px;
line-height: 91%;
}

.programs p{
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
}

.tribe{
  grid-column: 1;
  grid-row: 4;
  border-bottom: 1px solid black;
  padding-left: 20px;
}

.tribe h3{
font-family: 'Anek Tamil';
font-style: normal;
font-weight: 700;
font-size: 30px;
line-height: 91%;
}

.tribe p{
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
}

.classes{
  grid-column: 1;
  grid-row: 5;
  margin-top: 10px;
  max-height: 500px;
  padding-left: 20px;
  font-family: "Geist Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  color:black;
  width: 200px;
  height: 30px;
  padding: 5px;
  line-height: 150%;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background-color: white;
  transition: background-color 0.3s ease,color 0.3s ease;
}

.classes:hover{
  background-color: black;
  color: white;
}

.join{
  display: grid;
  grid-template-rows: 1fr,auto;
  background-color: hsl(231, 96%, 73%);
  height: 480px;
  border-bottom: 1px solid black;
}

.join p{
font-family:"Figtree", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 120%;
justify-self: center;
padding-top: 150px;
} 

.join h1{
  font-family: "Anek Tamil", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800px;
  font-size: 50px;
  letter-spacing: -0.05em;
  font-style: normal;
  line-height: 1px;
  justify-self: center;
}



.reserve{
  font-family: "Geist Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  color:black;
  width: 200px;
  height: 25px;
  padding: 5px;
  line-height: 150%;
  justify-self: center;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background-color: white;
  transition: background-color 0.3s ease,color 0.3s ease;
}

.reserve:hover{
  background-color: black;
  color: white;
}

.footer{
  height: 250px;
  padding: 20px;
  background-color: hsl(230, 100%, 95%);
}

.upfoot{
  display: grid;
  grid-template-rows: 1;
  grid-template-columns: 3;
  height:136.17px;
}

.footerlogo{
  grid-column: 1;
  grid-row: 1;
  padding-top: 20px;
}

.brandname{
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  height:58px;
}

.brandname h2{
  
font-family: 'Anek Tamil';
font-style: normal;
font-size: 58px;
font-weight: 700;
font-size: 45px;
line-height: 91%;
}

.downfoot{
  display: grid;
  grid-template-rows: 1;
  grid-template-columns: 3;
  height:116px;
  padding-top: 150px;
  padding-bottom: 50px;
  background-color: hsl(230, 100%, 95%)
}

.contact{
  grid-column: 1;
  grid-row: 1;
}

.contact h3{
font-family: 'Anek Tamil';
font-style: normal;
font-size: 22px;
font-weight: 700;
font-size: 30px;
line-height: 91%;
}

.contact p{
  font-family: 'figtree', sans-serif;
  font-weight: 400;
  font-size:15px;
  color: black;
  font-style: normal;
}

.opening{
grid-column: 2;
grid-row: 1;
justify-self: center;
}

.opening h3{
font-family: 'Anek Tamil';
font-style: normal;
font-size: 22px;
font-weight: 700;
font-size: 30px;
line-height: 91%;
}

.time{
  font-family: 'figtree', sans-serif;
  font-weight: 400;
  font-size:15px;
  color: black;
  font-style: normal;
}

.social{
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.social h3{
font-family: 'Anek Tamil';
font-style: normal;
font-size: 22px;
font-weight: 700;
font-size: 30px;
line-height: 91%;
}

.soclink{
  font-family: 'figtree', sans-serif;
  font-weight: 400;
  font-size:15px;
  color: black;
  font-style: normal;
  transition: opacity 0.3s ease;
}

.soclink:hover{
  opacity: 0.5;
}


  .mobile-menu-btn {
  display: none;
}




/* =====================================================
   TABLET RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {

  /* ---------- HEADER ---------- */

  .header {
    height: 70px;
  }

  .toplogo {
    max-width: 40px;
    max-height: 24px;
    padding-left: 15px;
    padding-top: 18px;
  }

  .topprime {
    font-size: 21px;
    padding-top: 18px;
  }

  .navsbox {
    gap: 25px;
    padding-right: 15px;
  }

  .navi1,
  .navi2,
  .nav3 {
    font-size: 12px;
  }

  .nav3 {
    width: 200px;
    height: 25px;
  }


  /* ---------- TRAIN HARD ---------- */

  .trainhard {
    min-height: 120px;
    height: auto;
    max-height: none;
  }

  .trainhard h1 {
    font-size: clamp(55px, 8vw, 90px);
    line-height: 0.9;
    text-align: center;
    margin: 20px 0;
  }


  /* ---------- ABOUT SECTION ---------- */

  .about {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
  }

  .about1 {
    grid-column: 1 / 2;
    grid-row: 1;
    height: 360px;
    max-height: none;
  }

  .squatimg {
    width: 200%;
    height: 100%;
    object-fit: cover;
  }

  .about2 {
    grid-column: 2;
    grid-row: 1;
    height: 360px;
    max-height: none;
    padding: 15px;
  }

  .about2 h2,
  .about3 h2,
  .about4 h2 {
    font-size: 35px;
  }

  .about2 h2 {
    padding-bottom: 80px;
  }

  .about2 p,
  .about3 p,
  .about4 p {
    font-size: 15px;
  }

  .about3 {
    grid-column: 1;
    grid-row: 2;
    height: 350px;
    max-height: none;
  }

  .about3 h2 {
    padding-bottom: 70px;
  }

  .about4 {
    grid-column: 2;
    grid-row: 2;
    height: 350px;
    max-height: none;
  }

  .about4 h2 {
    padding-bottom: 70px;
  }

  .about5 {
    grid-column: 1 / 3;
    grid-row: 3;
    height: 350px;
    max-height: none;
  }

  .ladyrope {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  /* ---------- COMMUNITY ---------- */

  .community {
    height: 120px;
  }

  .community h1 {
    font-size: clamp(55px, 8vw, 90px);
    line-height: 0.9;
    text-align: center;
  }


  /* ---------- POTENTIAL ---------- */

  .potential {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    height: 550px;
  }

  .potentialimg {
    width: 100%;
    height: 550px;
  }

  .weight {
    width: 100%;
    height: 550px;
    object-fit: cover;
  }

  .discover,
  .coaching,
  .programs,
  .tribe {
    padding-left: 15px;
  }

  .discover h2 {
    font-size: 35px;
  }

  .coaching h3,
  .programs h3,
  .tribe h3 {
    font-size: 25px;
  }

  .coaching p,
  .programs p,
  .tribe p {
    font-size: 15px;
  }

  .classes {
    font-size: 12px;
    width: 160px;
  }


  /* ---------- JOIN ---------- */

  .join {
    height: 400px;
  }

  .join p {
    font-size: 16px;
    padding-top: 110px;
    text-align: center;
  }

  .join h1 {
    font-size: 40px;
    line-height: 0.95;
    text-align: center;
  }


  /* ---------- FOOTER ---------- */

  .footer {
    height: auto;
    min-height: 450px;
    padding: 20px;
  }

  .upfoot {
    height: 120px;
  }

  .brandname h2 {
    font-size: 40px;
  }

  .downfoot {
    height: auto;
    padding-top: 100px;
    padding-bottom: 30px;
  }

  .contact h3,
  .opening h3,
  .social h3 {
    font-size: 24px;
  }

  .contact p,
  .time,
  .soclink {
    font-size: 13px;
  }
}



/* =====================================================
   MOBILE RESPONSIVE
   ===================================================== */

@media (max-width: 600px) {

  /* ---------- HEADER ---------- */

  .header {
    height: 43px;
    align-items: center;
  }

  .toplogo {
    width: 32px;
    height: 20px;
    max-width: 32px;
    max-height: 20px;
    padding: 0;
    margin-left: 12px;
  }

  .topprime {
    font-size: 17px;
    padding: 0;
    margin-left: 3px;
  }

  /*
    Hide desktop navigation.
    The + is created with CSS to match
    the mobile reference design.
  */

  .navsbox {
    display: none;
  }



@media (max-width: 600px) {

  .mobile-menu-btn {
    display: block;
    margin-left: auto;
    margin-right: 12px;
    background: none;
    border: none;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }

}


.navsbox.mobile-open {
  display: flex;
  position: absolute;
  top: 43px;
  left: 0;
  width: 100%;
  background-color: hsl(230, 100%, 95%);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid black;
}

  /* ---------- TRAIN HARD ---------- */

  .trainhard {
    min-height: 63px;
    height: auto;
    display: block;
    padding: 0 12px;
    margin-top: 43px;
  }

  .trainhard h1 {
    font-size: 31px;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-align: left;
    margin: 0;
    padding-top: 13px;
    padding-bottom: 10px;
  }


  /* ---------- ABOUT ---------- */

  .about {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    border: 1px solid black;
  }


  /* SQUAT IMAGE */

  .about1 {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 138px;
    max-height: none;
    overflow: hidden;
  }

  .squatimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  /* FOR THE COMMITTED */

  .about2 {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 137px;
    max-height: none;
    padding: 12px;
  }

  .about2 h2 {
    font-size: 22px;
    line-height: 0.9;
    max-width: 250px;
    padding: 0;
    margin: 0 0 8px 0;
  }

  .about2 p {
    font-size: 11px;
    line-height: 1.15;
    max-width: 100%;
    padding: 0;
    margin: 0 0 8px 0;
  }

  .abtbut {
    padding-left: 0;
    width: auto;
    height: auto;
  }

  .abtlink {
    font-size: 9px;
    width: 75px;
    height: 20px;
    padding: 3px;
    line-height: 150%;
  }


  /* LADY IMAGE */

  .about5 {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    height: 294px;
    max-height: none;
    overflow: hidden;
  }

  .ladyrope {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  /* GUIDED BY EXPERTS */

  .about3 {
    grid-column: 1;
    grid-row: 4;
    width: 100%;
    height: 92px;
    max-height: none;
    padding: 10px 12px;
    border-right: none;
    border-bottom: 1px solid black;
  }

  .about3 h2 {
    font-size: 17px;
    line-height: 0.9;
    max-width: 100%;
    padding: 0;
    margin: 0 0 5px 0;
  }

  .about3 p {
    font-size: 10px;
    line-height: 1.15;
    max-width: 100%;
    margin: 0;
  }


  /* DYNAMIC OPEN GYM */

  .about4 {
    grid-column: 1;
    grid-row: 5;
    width: 100%;
    height: 105px;
    max-height: none;
    padding: 10px 12px;
  }

  .about4 h2 {
    font-size: 17px;
    line-height: 0.9;
    max-width: 100%;
    padding: 0;
    margin: 0 0 5px 0;
  }

  .about4 p {
    font-size: 10px;
    line-height: 1.15;
    max-width: 100%;
    margin: 0;
  }


  /* ---------- COMMUNITY ---------- */

  .community {
    display: block;
    height: 43px;
    padding: 0 12px;
    border-bottom: 1px solid black;
  }

  .community h1 {
    font-size: 21px;
    line-height: 43px;
    letter-spacing: -0.05em;
    text-align: left;
    margin: 0;
    white-space: nowrap;
  }


  /* ---------- POTENTIAL ---------- */

  .potential {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }


  /* WEIGHT IMAGE */

  .potentialimg {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 147px;
    overflow: hidden;
  }

  .weight {
    width: 100%;
    height: 147px;
    object-fit: cover;
  }


  /* DISCOVER */

  .discover {
    grid-column: 1;
    grid-row: 2;
    height: 76px;
    padding: 10px 12px;
    border-bottom: 1px solid black;
  }

  .discover h2 {
    font-size: 19px;
    line-height: 0.9;
    max-width: 250px;
    margin: 0;
  }


  /* COACHING */

  .coaching {
    grid-column: 1;
    grid-row: 3;
    height: 68px;
    padding: 9px 12px;
    border-bottom: 1px solid black;
  }

  .coaching h3 {
    font-size: 15px;
    line-height: 0.9;
    margin: 0 0 5px 0;
  }

  .coaching p {
    font-size: 9px;
    line-height: 1.1;
    margin: 0;
  }


  /* PROGRAMS */

  .programs {
    grid-column: 1;
    grid-row: 4;
    height: 66px;
    padding: 9px 12px;
    border-bottom: 1px solid black;
  }

  .programs h3 {
    font-size: 15px;
    line-height: 0.9;
    margin: 0 0 5px 0;
  }

  .programs p {
    font-size: 9px;
    line-height: 1.1;
    margin: 0;
  }


  /* TRIBE */

  .tribe {
    grid-column: 1;
    grid-row: 5;
    height: 67px;
    padding: 9px 12px;
    border-bottom: 1px solid black;
  }

  .tribe h3 {
    font-size: 15px;
    line-height: 0.9;
    margin: 0 0 5px 0;
  }

  .tribe p {
    font-size: 9px;
    line-height: 1.1;
    margin: 0;
  }


  /* VIEW CLASSES */

  .classes {
  grid-column: 1;
  grid-row: 6;
  width: 120px;
  height: 35px;
  margin: 10px 12px;
  padding: 8px 5px;
  font-size: 9px;
  text-align: center;
  background-color: white;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
}

.clase{
  display: flex;
  justify-content: center;
  align-items: center;
}


  /* ---------- JOIN CTA ---------- */

  .join {
    height: 232px;
    display: block;
    padding: 0 12px;
    text-align: center;
  }

  .join p {
    font-size: 10px;
    padding-top: 55px;
    margin: 0;
  }

  .join h1 {
    font-size: 25px;
    line-height: 0.95;
    margin: 12px auto 15px auto;
    max-width: 330px;
  }

  .reserve {
    font-size: 9px;
    width: 200px;
    height: 24px;
    padding: 5px;                 
  }


  /* ---------- FOOTER ---------- */

  .footer {
    height: auto;
    min-height: 500px;
    padding: 12px;
  }

  .upfoot {
    display: block;
    height: 185px;
  }

  .footerlogo {
    padding-top: 8px;
  }

  .footerlogo img {
    width: 92px;
    height: auto;
  }

  .brandname {
    height: auto;
    margin-top: 10px;
  }

  .brandname h2 {
    font-size: 31px;
    margin: 0;
  }


  /* FOOTER CONTENT */

  .downfoot {
    display: block;
    height: auto;
    padding: 0;
    background-color: hsl(230, 100%, 95%);
  }

  .contact,
  .opening,
  .social {
    display: block;
    margin-bottom: 30px;
  }

  .contact h3,
  .opening h3,
  .social h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .contact p,
  .time,
  .soclink {
    font-size: 9px;
    line-height: 1.2;
  }

  .opening {
    justify-self: auto;
  }

  .social {
    justify-self: auto;
  }

}