/* start variables */
:root{
    --main-color: #ff7f27;
    --second-color: #795548f5;
    --second-color-light : #79554836;
    --section-padding : 80px;
}
/* end variables */
/* start global rules */
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  html{
      scroll-behavior: smooth;
  }
  body{
    font-family: 'Open Sans', sans-serif;
    /* background-color: #151515; */
  }
  .container{
    padding: 0 15px;
    margin: 0px auto;
  }
  /* small */
  @media(min-width: 768px) {
    .container{
       width: 750px;
    }
  }
  /* medium */
  @media(min-width:992px){
    .container{
       width: 970px;
    }
  }
  /* large */
  @media(min-width:1200px){
    .container{
       width: 1170px;
    }
  }
/* end global rules */
/* start component */
.main-heading{
    text-align: center;
    
}
.main-heading h2{
    font-size: 100px;
    color: #79554836;
    letter-spacing: -5px;
    position: relative;
}
.main-heading  h2 + p{
    color: #795548f5;
    margin-top: -25px;
    font-size: 20px;
}
/* end component */
/* start header  */
    header{
        position: relative;
        z-index: 2;
    }
    header .container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    @media(max-width: 767px){
        header .container{
            width: 100%;
        }
    }
    header .container::after{
        content: "";
        position: absolute;
        height: 1px;
        background-color: #ccc;
        width: calc(100% - 50px);
        bottom: 0;
    }
    header .container img{
        width: 145px;
        height: 40px;
    }
    @media(max-width:767px){
        header .container img{
            width: 100px;
            height: 30px;
        }
    }
    header .container nav ul {
        display: flex;
        list-style: none;
    }
    @media(max-width:767px){
        header .container nav ul{
            display: none;
        }
        header .container nav .bars i{
            color: white;
            font-size: 30px;
        }
        header nav .bars:hover + ul{
            display: flex;
            position: absolute;
            left: 0;
            top: 100%;
            flex-direction: column;
            width: 100%;
            background-color: rgb(0 0 0 / 50%);
        }
        header nav .bars:hover + ul a{
            display: block;
            padding: 15px;
        }
    }
    header .container nav ul li a{
        color: white;
        text-decoration: none;
        font-size: 20px;
        font-weight: bold;
        position: relative;
        padding: 32px 15px;
        transition: 0.3s;
    }
    header .container nav ul li a:hover{
        color: #ff7f27;
    }
    header .container nav ul li .active{
        color: #ff7f27;
    }
    header .container nav ul li a:hover,
    header .container nav ul li .active{
        border-bottom: 1px solid #ff7f27;
        position: relative;
        z-index: 2;
    }
    @media(min-width: 768px){
        header nav .bars{
            display: none;
        }
    }
/* end header  */
/* start landing */
.landing{
    position: relative;
    background-image: url(../images/landing-3.jpg);
    background-size: cover;
    height: 100vh;
}
.landing::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 0%, 75%);
}
.landing .head-cont{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 500px;
    max-width: 100%;
}
.landing h1{
    color: var(--main-color);
    text-transform: uppercase;
    font-size: 60px;
    margin-bottom: 20px;
    /* letter-spacing: -5px; */
}
.landing p{
    color: white;
    font-size: 20px;
    text-transform: capitalize;
    line-height: 1.8;
}
@media(max-width:767px){
    .landing h1{
        font-size: 50px;
    }
    .landing h2{
        font-size: 30px;
    }
}
/* end landing */
/* stat about  */
.about{
    padding-top: var(--section-padding);
}
.about .about-cont  {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    margin: 100px auto 100px;
}
.about .about-cont img{
    width: 500px;
}
@media(max-width:992px){
    .about .about-cont {
        flex-direction: column;
        align-items: center;
    }
    .about .about-cont img{
        margin-bottom: 50px;
    }
}
@media(max-width:1199px){
    .about .about-cont img{
        width: 400px;
        max-width: 100%;

    }
}
.about .about-cont .imag{
    position: relative;
}
.about .about-cont .imag::before{
    content: "";
    position: absolute;
    height: calc(100% + 80px);
    width: 80px;
    background-color: #79554836;
    top: -40px;
    left: -40px;
    z-index: -1;
}
@media(max-width:1199px){
    .about .about-cont .imag::before{
        height: 480px;
    }
}
.about .about-cont .text{
    width: 500px;
}
@media(max-width:1199px){
    .about .about-cont .text{
        width: 400px;
        max-width: 100%;

    }
    .about .about-cont .text h3{
        font-size: 40px;
        margin-bottom: 20px;
    }
    .about .about-cont .text hr{
        margin: 25px 0 25px;
    }
    .about .about-cont .text p:nth-of-type(2),
    .about .about-cont .text p:nth-of-type(1){
        font-size: 15px;
    }
}
.about .about-cont .text h3{
    text-align: center;
    font-size: 50px;
    color: #795548f5;
    margin-bottom: 30px;
}
.about .about-cont .text p:nth-of-type(1){
    line-height: 1.8;
}
.about .about-cont .text hr{
    margin: 30px 0 30px;
    border-color: #ff7f27;
    width: 35%;
}
.about .about-cont .text p:nth-of-type(2){
    color: #795548f5;
    line-height: 1.8;
}
.about .trainers .trainers-imgs{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(500px , 1fr));
    gap: 50px 20px;
}
@media(max-width: 768px){
    .about .trainers .trainers-imgs{
        grid-template-columns: repeat(auto-fill,minmax(350px , 1fr));
        gap: 30px 0px;

    }
}
@media(max-width:992px){
    .about .trainers .trainers-imgs .box img{
        /* grid-template-columns: repeat(auto-fill,minmax(300px , 1fr)); */
        margin: auto;
        margin-left: auto;
    }
    .about .trainers .trainers-imgs .box{
        width: 350px;
        margin-bottom: 25px;
        margin-left: -20px;
    }
}
@media(max-width: 768px){
    .about .trainers .trainers-imgs .box{
        width: 350px;
        max-width: 100%;
    }
}
.about .trainers h3{
    text-align: center;
    font-size: 55px;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: var(--main-color);
    letter-spacing: -3px;
}
@media(max-width: 768px){
    .about .trainers h3{
        font-size: 45px;
    }
}
 .trainers{
    background-color: #222429;
    padding: 50px;
}
.about .trainers .trainers-imgs .box{
    width: 550px;
    position: relative;
    overflow: hidden;
}
@media(max-width:992px){
}
.about .trainers .trainers-imgs .box img{
    width: 100%;
    height: 350px;
    transition: 0.3s;
    max-width: 100%;
}
.about .trainers .trainers-imgs img:hover{
    transform: scale(1.1) ;
}
.about .trainers .trainers-imgs .box .text{
    position: absolute;
    background-color: var(--second-color-light);
    bottom: -100%;
    width: 100%;
    /* transition: 0.3s; */
}
.about .trainers .trainers-imgs .box .text h4{
    font-size: 20px;
    text-transform: capitalize;
    color: var(--main-color);
    margin-bottom: 5px;
}
.about .trainers .trainers-imgs .box .text p{
    color: white;
}
.about .trainers .trainers-imgs .box:hover .text {
    bottom: 0px;
    padding: 5px;
}
.about .trainers .info{
    color: white;
    text-align: center;
    margin-top: 60px;
}
.about .trainers .info p{
    color: white;
    font-size: 35px;
    margin: 80px auto 40px;
}
.about .trainers .info a{
    width: fit-content;
    display: block;
    margin: auto;
    background-color: var(--main-color);
    padding: 20px 40px;
    color: white;
    text-decoration: none;
    font-size: 25px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: 0.3s;
}
.about .trainers .info a:hover{
    box-shadow: 0 0 30px 0 var(--main-color);
}
/* .trainers-imgs{
    background-color: #222429;
} */
/* end about  */
/* start class  */
.class{
    padding-top: var(--section-padding);
}
.class  .boxes{
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(500px , 1fr));
    gap: 30px;
    text-align: center;
    padding: 0 50px 0;
}
@media(max-width:768px){
    .class  .boxes{
        grid-template-columns: repeat(auto-fill,minmax(300px , 1fr));
        padding: 0 20px 0;
    }
}
.class .boxes img{
    width: 55px;
    height: 55px;
}
.class  .boxes .box{
    background-color: #222429;
    color: white;
        padding: 40px;
}
.class  .boxes .box p{
    margin: 25px 0 25px;
    font-size: 40px;
}
.class .boxes .box h4{
    font-size: 25px;
    text-transform: capitalize;
    color: var(--main-color);
}
/* end class  */
/* start pricing  */
.pricing {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
/* .pricing .container h3{
    text-align: center;
    margin: 60px 0 25px;
    font-size: 55px;
    color: var(--second-color);
} */
.pricing .container h3 + p{
    margin: 40px auto 30px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: var(--second-color);
}
.pricing .container .pric-boxes{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px , 1fr));
    gap: 25px;
    text-align: center;
    /* margin: auto; */
}
.pricing .container .pric-boxes .box{
    background-color: #79554812;
    transition: 0.3s;
}
.pricing .container .pric-boxes .box.box:hover{
    box-shadow: 0 0 15px 0 var(--second-color);

}
.pricing .container .pric-boxes .box .header{
    padding: 20px;
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
.pricing .container .pric-boxes .box .header p{
    font-size: 25px;
    text-transform: capitalize;
    position: relative;
}
.pricing .container .pric-boxes .box .header span{
    margin: 25px 0 25px;
    display: block;
    font-size: 50px;
    font-weight: bolder;
    position: relative;
}
.pricing .container .pric-boxes .box .header span::before{
    content: '$';
    position: absolute;
    left: 20px;
    top: -25px;
    font-weight: normal;
    font-size: 30px;
}
.pricing .container .pric-boxes .box .header span::after{
    content: "/MO";
    position: absolute;
    right: -5px;
    bottom: -20px;
    font-weight: normal;
    font-size: 30px;
}
.pricing .container .pric-boxes   .box div:nth-child(2){
    border-bottom: 1px solid var(--main-color);
}
.pricing .container .pric-boxes   .box div:nth-child(2) p{
    padding: 20px;
    font-size: 15px;
    position: relative;
}
.pricing .container .pric-boxes .box div:nth-child(2) p:not(:last-child)::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translatex(-50%);
    height: 1px;
    width: 120px;
    background-color: var(--main-color);
}

.pricing .container .pric-boxes .box .footer{
    padding: 30px 15px;
}
.pricing .container .pric-boxes .box .footer a {
    text-decoration: none;
    border: 1px solid var(--main-color);
    padding: 15px 25px;
    display: block;
    width: fit-content;
    margin: 10px auto 10px;
    color: black;
}
/* Start Contact */
.contact .text{
    padding: 25px;
    background-image:linear-gradient(50deg,var(--main-color) 50%,#222429ec 50%);
    /* background-size: cover; */
    height: 400px;
    margin-top: 50px;
    /* color: white; */
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 20px;
}
@media(max-width:768px){
    .contact .text{
        flex-direction: column;
        width: 100%;
    background-image:linear-gradient(to bottom,var(--main-color) 50%,#222429ec 50%);

    }
}
.contact .text::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgb(0 0 0 / 70%); */
}
.contact  .text p{
    position: relative;
    width: 70%;
    line-height: 2;
}
@media(max-width:768px){
    .contact  .text p{
        font-size: 15px;
        line-height: 1.7;
        width: 100%;
        margin-bottom: 20px;
    }
}
.contact  .text a{
    background-color: var(--main-color);
    color: white;
    padding: 25px 10px;
    display: block;
    position: relative;
    width: fit-content;
    text-decoration: none;
    transition: 0.3s;
}
.contact  .text a:hover{
    box-shadow: 0 0 20px 0 var(--main-color);
}
.contact  .text a:hover{
    border-radius: 5px;

}
/* end Contact */
/* start footer  */
.foooter{
    margin-top: 80px;
    height: 350px;
    background-color: #222429;
    position: relative;
}
.foooter .container {
    position: relative;
    color: white;
    text-align: center;
}
.foooter .container .info img {
    margin-top: 80px;
}
.foooter .container .info a {
    color: white;
    margin: 0 5px;
    font-size: 20px ;
}
.foooter .container .info p:nth-last-of-type(2){
    font-size: 20px;
    margin: 25px auto;
    text-transform: uppercase;
    padding: 20px;
    width: fit-content;
    border-bottom: 1px solid white;
}
.foooter .container .info p:nth-last-of-type(1){
    margin: 25px 0 50px;
}
.foooter .container .info p:nth-last-of-type(1) span{
    color: var(--main-color);
    font-weight: bold;
}
/* end footer  */

 /* ======== start classes page ========== */
  .caption{
    text-align: center;
    font-size: 50px;
    margin-top: 80px;
    font-weight: bold;
    letter-spacing: -5px;
 }
 .class .toggle{
    margin: 60px 15px;
    list-style-type: none;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
 }
 .class .toggle li button{
    border: none;
    color: var(--main-color);
    padding: 10px 20px;
    background-color: white;
    cursor: pointer;
    font-size: 15px;
 }
 .class table {
    margin: 0 auto 80px;
    background-color: #ccc;
    text-align: center;
 }
 .class table  th,
 .class table  td{
    padding: 30px 15px;
 }
.class table td h5{
    font-size: 20px;
    margin-bottom: 10px;
}
 .class table  td{
    background-color: white;
    transition: 1s;
 }
 .class table th,
 .class table .tim-col{
    background-color: #222429;
    color: white;
 }
 @media(max-width:992px){
    .table-holder{
        margin: auto;
        overflow-x: auto;
        width:100%;
     }
     table{
        width: 100%;
     }
     .class table  th,
     .class table  td{
        padding: 25px 10px;
     }
    .class table td h5{
        font-size: 15px;
        margin-bottom: 10px;
    }
 }
 @media(max-width:768px){
    .toggle li{
        flex-basis: 30%;
    }
 }
 .BMI{
    padding: 50px 0px 50px 150px;
    background-color: var(--second-color-light);
    width: 70%;
    display: flex;
    justify-content: space-between;
 }
 @media(max-width:992px){
    .BMI{
        width: 100%;
    }
 }
 @media(max-width:768px){
    .BMI{
        padding:10px;
    }
 }
 .BMI .info{
    width: 45%;
 }
 .BMI .info h3{
    font-size: 50px;
    margin-bottom: 30px;
}
 .BMI .info p{
    line-height: 2;
    color: var(--second-color);
 }
 @media(max-width:768px){
    .BMI .info h3{
        font-size: 40px;
    }
    .BMI .info p{
        line-height: 1.6;
    }
 }
 .BMI .calc{
    padding: 10px;
    width: 50%;
 }
 @media(max-width:768px){
    .BMI .calc{
        width: 45%;
    }
 }
 .BMI .calc p{
    margin-bottom: 30px;
    font-size: 35px;
 }
 .BMI .calc form{
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px , 1fr));
    gap: 20px 15px;
 }
 @media(max-width:768px){
    .BMI .calc form{
        grid-template-columns: repeat(auto-fill,minmax(100px , 1fr));
    }
 }
 .BMI .calc input{
    padding: 15px;
    border: none;
    /* max-width: 100%; */
 }
 .BMI .calc input:focus{
    outline: 1px solid var(--second-color);
 }
 .BMI .calc button{
    transform: translateX(50%);
    display: block;
    padding: 15px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
 }
 @media(max-width:1500px){
    .BMI .calc button{
        transform: translateX(0);
    }
 }
 select{
    border: none;
    color: rgb(0 0 0 / 60%);
 }
 select:focus{
    outline: none;
 }
 select option{
    padding: 50px;
 }
 .BMI .calc button:hover{
    background-color: var(--second-color);
    color: white;
 }
 /* ======== end classes page ========== */
 /* ==========start contact page ====== */
 .contact-con{
    padding: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    /* background-color: rgb(0 0 0 / 50%); */
    background-color: var(--second-color-light);
    /* background-image: linear-gradient(to top , #ff7f27,#79554836 ,#79554836 ,#79554836 ,#79554836,#79554836, #79554836,#79554836, black) ; */
    width: 700px;
    height: 800px;
    color: white;
    border-radius: 50px;
 }
 @media(max-width: 768px){
    .contact-con{
        width: 500px;
        height: 750px;
    }
 }
 .contact-con img{
    width: 80px ;
 }
 .contact-con h2{
    text-align: center;
    font-size: 35px;
    margin: 85px 0px 20px;
    color: var(--main-color);
 }
 @media(max-width:768px){
    .contact-con h2{
        font-size: 30px;
    }
 }
 /* .contact-con p{
    text-align: center;
    font-size: 20px;
    text-transform: capitalize;
 } */
 .contact-con .form{
    width: 50%;
    margin: 80px  0px;
 }
 .contact-con form .right{
    position: absolute;
    left: 56%;
    top: 283px;
 }
 .contact-con form .right textarea{
    height: 230px;
    padding: 10px;
    border-radius: 5px;
    background-color: transparent;
    border: 1px solid var(--second-color);
    color: white;
 }
 .contact-con form .right textarea:focus{
    outline: none;
 }
 .contact-con form label{
    font-size: 20px;
 }
 .contact-con form input{
    padding: 10px 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 18px;
    border: none;
    caret-color: var(--main-color);
    transition: 0.3s;
    border-radius: 5px;
    position: relative;
    width: 100%;
    color: white;
 }
 .contact-con form input{
    background-color: transparent;
    border: 1px solid var(--second-color);
    position: relative;
 }
 .contact-con form .left input:last-child{
    color: white;
    margin-top: auto;
 }
 .contact-con form .left input:last-child:hover{
    background-color: var(--second-color);
 }
 .contact-con form input:focus{
    outline: none;
 }
 .contact-con p:last-child a{
    padding: 10px 15px;
    color: white;
    width: fit-content;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
 }
 .contact-con p:last-child a:hover{
    font-size: 25px;

 }
.fixed{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 1000%;
    background-color: rgb(0 0 0 / 30%);
}
 /* ==========end contact page ====== */
 /* 222429 */
 /* start arrow  */
 #arrow{
    padding: 10px ;
    font-size: 20px;
    position: fixed;
    right: 50px;
    bottom: 50px;
    background-color: #222429;
    color: var(--main-color);
    z-index: 9999999999;
    cursor: pointer;
    animation-name: move;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    /* animation-fill-mode: both; */
    animation-direction: alternate;

 }
 @keyframes move{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(20px);
    }
    100%{
        transform: translateY(0px);
    }
 }
 /* end arrow  */
 