@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;500&display=swap');
:root{
    --blue:#3c6382;
    --red: salmon;
}

*{
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all .3s cubic-bezier(.38,1.15,.7.1.12);

}
*::selection{
    background:var(--red);
    color: #fff;


}
html{
    font-size:62.5%;
    overflow-x: hidden;
}
section{
    min-height: 100vh;
    padding: 1rem 9%;
    padding-top: 8rem;
}

.heading{
    text-align: center;
    color: var(--blue);
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: normal ;
    padding: 1rem;

}
header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between ;
    position: fixed;
    top: 0;left: 0;
    z-index: 1000 ;
    padding: 2rem;
    


}
header .logo{
    font-size: 2.5rem;
    color: var(--red);
}
header .logo span{
    color: var(--blue);
}


header .navbar a{
    font-size: 1.7rem;
    margin-left: .7rem;
    padding: .5rem 2rem;
    border-radius: .5rem;
    color: var(--red);




}
header .navbar a.active,
header .navbar a:hover{
    background: var(--blue);
    color: #fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);

}
header.sticky{
    background: #fff;
    box-shadow: 0 .5rem rgba(0, 0, 0, .1);

}
#menu{
    font-size: 3rem;
    color: var(--blue);
    cursor: pointer;
    display: none;

}
.home{
    background: url(Hm.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.home .content{
    text-align: center;
    padding-top: 3rem ;

}
.home .content h1 {
    font-size: 4rem;
    color: var(--blue);

}
.home .content h3{
    font-size: 4rem;
    color: var(--blue);
    font-weight: normal;
}
.home .content .btn{
    display: inline-block;
    padding: .7rem 3rem;
    color: #fff;
    background: var(--blue);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    margin-top: 1rem;
    font-size: 1.7rem;



}


.home .content .btn:hover{
    background: var(--red);
}
.fade-in{
    opacity: 0;
    transition: opacity 250ms ease-in;
}
.fade-in.appear {
    opacity: 1;
    
}
.Allyouneedtoknow{
    background: url(homeBG.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.Allyouneedtoknow .box-container{
    
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

}
.Allyouneedtoknow .box-container .box{
    flex:1 1 30rem;
    border-radius: .5rem;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;



}
.Allyouneedtoknow .box-container .box img{
    height: 500px;
    padding:1rem;



}
.Allyouneedtoknow .box-container .box h3{
    color: var(--blue);
    font-size: 2rem ;
}
.Allyouneedtoknow .box-container .box p{
    color: var(--red);
    font-size: 1.4rem ;
    padding: 1rem;
}
.Allyouneedtoknow .box-container .box:hover{
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1) ;


    }


.About {
    background: url(homeBG.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.About .box-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

}
.About .box-container .box{
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    padding: 1rem;
    margin: 1.5rem;
    text-align: center;
    background: #fff;
    border: .1rem solid rgba(0, 0, 0, .1);
    width: 33rem;




}
.About .box-container .box img{
    margin: 1rem;
    height: 30rem;
    width: 30rem;
    object-fit: fill;
    background: var(--blue);





}
.About .box-container .box h3{
    font-size: 1.5rem;
    color: var(--blue);


}
.About .box-container .box span{
    font-size: 1rem;
    color: var(--red);


}
.About .box-container .box .readmore a {
    height: 4.5rem;
    width: 4.5rem ;
    line-height: 4.5rem;
    font-size: 2rem;
    margin: .4rem;
    background: #eee;
    color: var(--blue);





}
.About .box-container .box .readmore a:hover {
    background: var(--blue);
    color: #fff;
    transform: rotate(360deg);
}
.footer{
    background: url(footer.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

}
.footer .box-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;



}
.footer .box-container .box{
    flex: 1 1 25rem;
    margin: 2rem;

}
.footer .box-container .box h3{
    font-size: 2.5rem;
    color: var(--blue);
    padding: 0.5rem 0;


}
.footer .box-container .box a{
    font-size: 1.5rem;
    color: var(--red);
    padding: 0.2rem 0;
    display: block;


    
}
.footer a:hover{
    text-decoration: underline;

}
.footer .credit{
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    border-top: .1rem solid rgba(0, 0, 0, .1);
    padding: 2.5rem 1rem;
    color: var(--red);

}
.scroll-top{
    position: fixed;
    bottom:7.5rem ;
    right: 1.5rem;
    z-index: 1000;
}
.scroll-top img{
    width: 8rem;
    animation: float 3s linear infinite ;


}
@keyframes float {
    100%, 0%{
        transform: translateY(0rem);
    }
    50%{
        transform: translateY(-3rem);
    }

    
}















@media (max-width:1200px){
    html{
        font-size:55%;

    }

}
@media (max-width:991px){
    section{
        padding: 1rem 3%;
        padding-top: 8rem;;
    }
    #menu{
        display: block;
    }

    header .navbar{
        position: absolute;
        top: 100%; left:0 ;
        width: 100%;
        background: #fff;
        padding: 2rem;
        border-top: .1rem solid rgba(0, 0, 0, .1);
        transform-origin: top;
        transform:scaleY(0);
        opacity: 0;
        
    }

    header .navbar.nav-toggle {
        transform: scaleY(1);
        opacity: 1;
    }
    
    header .navbar .nav-list a{
        display:block;
        margin:1.5rem 0;
        font-size: 2rem;

    }
    .fa-times{
        transform: rotate (180deg);
    }

    
}
@media (max-width:768px){
    html{
        font-size:50%;

    }

    .home .content h1{
        font-size: 4rem;
    }
    .home .content h3{
        font-size: 3.5rem;
    }
}
@media (max-width:450px){

    .home .content h1{
        font-size: 3.5rem;
    }
    .home .content h3{
        font-size: 2.5rem;
    }
    .About .box-container .box{
        width: 100%;

    }

}