/* shared */
.color{
    color: #E6533C;
}
.bg-black{
    background-color: black;
    color: white;
}
.bg-white{
    color: white;
}
.bg-color{
    background-color: #E6533C;
    color: white;
    padding:10px;
    border-radius: 30px;
    border: none;
}
.bg-color-black{
    background-color: black;
    color: white;
    padding: 10px;
    border-radius: 30px;
    border: 1px solid white;
}

.size{
    padding: 16px 40px;
    font-size: 16px;
}

.bg-blur{
    background-color: rgba(48, 48, 48, 0.54);
}

.flex{
    display: flex;
}

.dark-1{
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 400;
}

/* nav */

.container{
    display: flex;
    justify-content: space-between;
    margin: 57px 190px;
}

.navbar a{
    text-decoration: none;
}

.navbar{
    display: flex;
    gap: 30px;
    list-style: none;
    margin-top: 3rem;
    font-size: 18px;
    
}
.logo h2{
    font-size: 36px;
    font-weight: 900;
}

/* main part */
 /* section-1 */

 .sec-1{
    display: flex;
    justify-content: space-between;
    max-width: 80%;
    margin: 0 auto;
 }

.body-shape{
    font-size: 78px;
    font-family: "inter";
    max-width: 520px;
    max-height: 281px;
}
.shape{
font-family: "Dancing Script", cursive;
font-weight: lighter;

}

.sec-1 p{
    max-width: 520px;
    max-height: 48px;
    font-size: 14px;
}

.flex .circle{
    background-color: #E6533C;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.mother{
    gap: 52px;
}

.video-tutorial{
    gap: 10px;
    justify-content: center;
    text-align: center;
    align-items: center;
    border-radius: 5px;
    padding: 20px;
    stroke: rgba(255, 255, 255, 0.1);
    margin-top: -190px;
    margin-bottom: 250px;
    margin-left: -100px;
    
}
.video-tutorial strong{
    font-size: 24px;
}

.free-workout{
    justify-content: center;
    text-align: center;
    align-items: center;
    border-radius: 5px;
    padding: 20px;
    stroke: rgba(255, 255, 255, 0.1);
    margin-top: -450px;
    margin-bottom: 500px;
    margin-left: 80px;
    
}
.free-workout strong{
    font-size: 40px;
}
/* section-2 */

.sec-2{
    margin-top: 100px;
}

.habit{
    font-size: 48px;
}

.change-your{
    align-items: center;
    text-align: center;
}

.others{
    max-width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 58px;
}

.other img{
    border-radius: 50%;
}

/* sec-3 */

.sec-3{
    display: flex;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 101px;
    justify-content: space-between;
    background-color: #b9b9b924;
    border-radius: 20px;
    padding: 20px 50px;
    align-items: center;
}

.extra-mile h1{
    font-size: 48px;
}

.extra-mile button{
    padding: 16px 40px;
}

.run img{
    max-width: 366px;
    max-height: 312px;
    border-radius: 20px;

}

/* section four start */

.sec-4{
    width: 85%;
    margin: 0 auto;
    top: 50px;
}

.exercises img{
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.img-1{
    max-width: 323px;
    height: 280px;
}
.img-2{
    max-width: 539px;
    height: 280px;
}
.img-3{
    max-width: 388px;
    height: 280px;
}

.img-4{
    max-width: 435px;
    height: 280px;
}

.img-5{
    max-width: 408px;
    height: 280px;
}

.img-6{
    max-width: 405px;
    height: 280px;
}

/* section five start */

.sec-5{
    padding: 88px 384.5px ;
}

/* section six start */

.sec-6 h1{
    font-size: 28px;
    margin-bottom: 50px;
}

table,td,th,tr{
    border: 1px solid rgba(255, 255, 255, .5);
    border-collapse: collapse;
    padding: 12px 18px;
}

.sec-6{
    padding: 50px 250px;
    display: flex;
    gap: 200px;
    justify-content: space-between;
}
.calculate h1{
    font-size: 28px;
    margin-bottom: 0;
}
.calculate p{
    margin-bottom: 30px;
}
.calculate form .form{
    gap: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 30px;
}
.calculate form input{
    border-radius: 10px;
    padding: 15px 25px;
}
.calculate form button{
    padding: 15px 45px;
    margin-top: 20px;
}
.activity-input{
    margin-top: -15px;
}
.calculate .activity-input{
    width: 88%;
}
/* section-7 start */
.sec-7{
    padding: 88px 190px;
}
.sec-7-headings {
    justify-content: center;
    text-align: center;

}
.sec-7-headings h1{
    font-size: 48px;
    margin-bottom: 20px;
}
.sec-7-headings p{
    width: 50%;
    margin: 0 auto;
}
.trainers{
    margin-top: 58px;
    border-radius: 20px;
    padding: 20px;
    gap: 30px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.trainer img {
    width: 326px;
    height: 272px;
    border-radius: 20px;

}
.trainer{
    position: relative;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
.trainer h4, .trainer p{
    position: absolute;
}
.trainer h4{
    top: 210px;
    left: 30px;
}
.trainer p{
    top: 235px;
    left: 30px;
}

/* footer start */
.footer-logo{
    display: flex;
    padding: 66px 190px;
    justify-content: space-between;
    align-items: center;
}

.reserved{
    text-align: center;
}







@media screen and (max-width:576px) {
    .container{
        flex-direction:column;
        width:80%;
        margin: 0 auto;
    }

    .sec-1{
        flex-direction: column;
        gap: 50px;
    }
    .advice{
        margin-top: 240px;
    }
    .button{
        display: flex;
        gap: 15px;
        margin-top: 50px;
    }
    .others{
        grid-template-columns: repeat(1, 1fr);
    }
    .sec-3{
        flex-direction: column;
    }
    .run img{
        margin-top: 30px;
    }
    .img-1, .img-2, .img-3, .img-4, .img-5, .img-6{
        width: 80%;
    }
    .sec-4{
        width: 100%;
    }
    .sec-5{
        padding: 0;
        margin-top: 50px;
    }
    .sec-6{
        flex-direction: column;
        padding: 0;
        justify-content: center;
    }
    .chart h1{
        margin-left:20px;
    }
    .bmi-table{
        margin-left: 20px;
    }
    table,td,th,tr{
        padding: 20px 30px;
    }
    .calculate{
        margin-top: -180px;
        padding: 42px 20px;
    }
    .calculate p{
        width: 70%;
    }
    .calculate form .form {
        grid-template-columns: repeat(2, 1fr);
    }
    .calculate form input{
        width: 130px;
    }
    .activity-input {
        margin-top: -20px;
        
    }
    .activity-factor input{
        width: 400px;
    }
    .sec-7{
        padding: 0;
    }
    .trainers{
        grid-template-columns: repeat(1, 1fr);
    }
    .sec-7-headings h1{
        font-size: 32px;
        margin-top: 66px;
    }

    .footer-logo{
        padding: 0;
        flex-direction: column;
    }





}