
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    
   
}

:root{
    --main-bg:#0f0e17;
    --navIcons:#fffffe;
    --navSpecial:#fe4567;
    --card-color:#222525;
    --card-color-hover:#272343;
    --bmi_cal_bg:#531705;
    --dark-icon-f:#fff3ec;
}


body{
    background-color: var(--main-bg);

}

@media screen  and (max-width:985px) {
    nav,section,footer{
        width: 100%;
    }
    #Home{
        align-self: center;
        width: 100%;
        text-align: center;
        margin-top: 10vh;
        flex-direction: column;
    }
    .c-container{
        width: 100%;
        text-align: center;
        flex-direction: column-reverse;
        align-items: center;

    }
    .c-item{
        margin: 10px 0;
    }
    .ch-container{
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    #Pricing{
        flex-direction: column;
        align-items: center;
    }
    .pr-container{
        width: 100vw;
        flex-direction: column;
        align-items: center;
    }
    .pr-contain{
        flex-wrap: wrap;
    }
    .pr-bx{
        margin: 20px 20px;
    }
  
    .bmi-container{
        width: 100vw;
        flex-direction: column;
        align-items: center;
     
    }

    .inputs{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
    }
    .inputs .hBmi{
        margin: 10px 0;
    }
    #contact{
        flex-direction: column;

    }
    .ct-left{
        margin: 20px 0;
    }
    .ct-right{
        flex-wrap: wrap;
    }
    footer{
        flex-direction: column;
        align-items: center;
    }
    footer p{
        margin: 20px 0;
    }
    footer .f-icon{
        width: 25vw;
    }
    .navbar{
        position: relative;
    }
    .navIcons::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background: var(--card-color);
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 0.6;
    }
    .navIcons{
        border-left: .1px solid white;
        position: absolute;
        top: 6vh;
        right: -70%;
        flex-direction: column;
        width: 55vw;
        min-height: 94vh;
        transition: all 0.8s;
    }
    .navIcons .icons{
        width: 100%;
        height: 40vh;
        flex-direction: column;
        justify-content: space-evenly;
    }
    .resp-show{
        display: block;
        cursor: pointer;
    }
    .add-resp{
        right: 0;
        
    }
 
   #bmitext{
    text-align: right;
    margin: 10px 0;
   }
}


@media screen and ( max-width: 540px) {

    #Home{
        margin-left: 75px;
        width: 100vw;
    }
    .h-container{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .h-container h1{
        font-size: 2rem;
    }
    .h-container h2{
        font-size: 2.7rem;
    }
    .h-container p{
        width: 90%;
        margin: auto;
        font-size: .7rem;
    }
    .p-container>h1{
        width: 100%;
        text-align: center;
        font-size: 2.5rem;
    }
    #company{
        margin-left: 75px;
        width: 100vw;
    }
    .c-container{
        width: 100%;
    }
    #Program{

        margin-left: 75px;
        width: 100vw;
    }

    #ChooseUs{
        margin-left: 75px;
        width: 100vw;
    }
    #Pricing{
        margin-left: 75px;
        width: 100%;
    }
    .ch-contain{
        width: 100%;
    }
    #BMI_calculator{
        margin-left: 75px;
        width: 100vw;
    }
    .bmi-contain h1{
        font-size: 2rem;
    }
    .bmi_cal .bmiBtn button{
        margin-top: 10px;
        width: 120%;
    }
    .ct-right{
        display: flex;
        flex-direction: column;
    }
    #contact{
        margin-left: 75px;
        width: 100vw;
    }
    footer{
        margin-left: 75px;
        width: 100%;
    }
}