*{
    box-sizing: border-box;
    margin: 0; padding: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    color: black;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

.header{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: block;
    margin-top: 2rem;
    color: rgba(143,12,18,255);
}
/*Navigation Bar*/

nav{
    position: relative;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgb(219, 219, 219);
    height: 7rem;
    border-bottom: solid 2px rgba(143,12,18,255);
}


nav .flex{
    display: flex;
    justify-content: space-between;
    position: relative;
}

nav .flex .logo{
    max-width: 20rem;
    max-height: 6.5rem;
}

nav .flex .logo h1{
    font-size: 2.5rem;
}

nav .flex .logo #logo{
    float: left;
    height: 100%;
    margin-right: 1rem;
}

nav .flex .logo span{
    color:rgba(143,12,18,255);
}

nav .flex .navlinks{
    font-size: 2.5rem;
    max-height: 6rem;
    margin: 1.5rem 0;
}

nav .flex .navlinks a{
    margin: 0 2rem;
}

nav .flex .navlinks a:hover{
    color: rgba(143,12,18,255);
}

#menu-btn{
    display: none;
    font-size: 2.5rem;
    cursor: pointer;
    margin: 1.5rem 0;
}

/*Navigation Bar Ends*/

.home{
    position: relative;
    height: 80rem;
}

.home .openingwords{
    position: absolute;
    font-size: 2.5rem;
    text-align: center;
    width: 35%;
    line-height: 1.3;
    top: 50%;
    transform: translateY(-50%);
}

.home .openingwords h2 span{
    color: rgba(143,12,18,255);
}

.home .openingwords button{
    display: block;
    border-radius: .5rem;
    font-size: 2rem;
    padding: 1rem;
    margin: .9rem auto;
}

.home .openingwords button:hover{
    cursor: pointer;
    color: white;    
}

.home .workoutvid {
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}​

/*Information Section*/

.about{
    margin: 0 auto;
}

.about .info{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.about .info *{
    text-transform: none;
}

.about .information{
    background: rgb(219, 219, 219);
    width: 25rem;
    height: 26rem;
    padding: 1.5rem 3rem;
    text-align: center;
    font-size: 1.7rem;
    border-radius: 1rem;
}

.information:hover{
    background: rgb(203, 228, 245);
}

.about .info i{
    font-size: 7rem;
    margin-bottom: 2rem;
}

/*Information Section Ends*/

/*Courses Section Starts*/

.courses{
    background: gray;
    margin: 0 auto;
}

.courses .allcourses{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    padding-bottom: 5rem;
}

.courses .allcourses .class{
    height: 60rem;
    width: 40rem;
    padding: 3rem;
    font-size: 1.7rem;
    text-decoration: none;
    background: rgb(219, 219, 219);
    gap: 2rem;
}

.courses .allcourses .class strong{
    font-size: 2rem;
    
}

.courses .allcourses .class p{
    text-transform: none;
    font-size: 1.5rem;
}

.courses .allcourses .class button{
    width: 7rem;
    margin: 0 auto;
}

.courses .allcourses img{
    height: 70%;
    width: 70%;
    margin: 2rem 0;
    object-fit: cover;
    border-radius: 1rem;
}

/*Courses Section Ends*/

/*Testimonials Start*/

.testimonials .swiper .swiper-wrapper{
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.testimonials .swiper .swiper-wrapper .slide{
    height: 50rem;
    width: 40rem;
    padding: 2rem 2rem;
    background: gray;
}

.testimonials .swiper .swiper-wrapper .slide .profilepic{
    object-fit: cover;
    height: 40%;
    width: 50%;
    border-radius: 5rem;
    float: left;
    margin-bottom: 3rem;
}

.testimonials .swiper .swiper-wrapper .slide .reviewerinfo{
    font-size: 2.5rem;
    float: right;
}

.testimonials .swiper .swiper-wrapper .slide .reviewerinfo .stars i{
    color: rgb(189, 189, 8);
}

.testimonials .swiper .swiper-wrapper .slide p{
    clear: both;
    font-size: 2rem;
    text-align: center;
    text-transform: none;
}
/*Testimonials End*/

footer{
    height: 10rem;
    background: black;
    position: relative;
}

footer *{
    color: white;
}

footer .socmediacontent{
    position: absolute;
    font-size: 2rem;
    text-align: left;
    top: 50%;
    transform: translateY(-50%);
}

footer .socmediacontent .socialmedia i:hover{
    color: green;
}

/*Media Screen*/

@media (max-width: 991px){
    html{
        font-size: 55%;
    }
}

@media (max-width: 768px){
    #menu-btn{
        display: inline-block;
    }

    #menu-btn.fa-times{
        transform: rotate(180deg);
    }

    .navlinks{
        position: absolute;
        top: 99%; right: 0; left: 0;
        background: rgba(210, 41, 41, 0.9);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .navlinks.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .navlinks a{
        display: block;
        margin: 2rem;
    }
}

@media (max-width: 450px){
    html{
        font-size: 50%;
    }
}

/*Media Screen Ends*/
