@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root{
    --main-color:#ff9aa2;
    --black:#4a4a4a;
    --bg: #b4d9f9;
    --border:.1rem solid rgba(255,255,255,.3);
}

*{
    font-family: 'Roboto', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline:none; border:none;
    text-decoration: none;
    text-transform: none;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: #fff;
    border-radius: 5rem;
}

.bg {
    animation:slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #6c3 50%, #09f 50%);
    bottom:0;
    left:-50%;
    opacity:.5;
    position:fixed;
    right:-50%;
    top:0;
    z-index:-1;
}
  
.bg2 {
    animation-direction:alternate-reverse;
    animation-duration:4s;
}
  
.bg3 {
    animation-duration:5s;
}

section{
    padding: 2rem 7%;
}

.heading{
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.heading span{
    color:var(--main-color);
    text-transform: uppercase;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .9rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background: var(--main-color);
    cursor: pointer; 
}

.btn:hover{
    letter-spacing: .2rem;
}

.header{
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    border-bottom: var(--border);
    position: fixed;
    top: 0;left: 0;right: 0;
    z-index: 1000;
}

.header .logo img{
    height: 8rem;
}

.header ul{
    list-style: none; 
    display: flex;  
}    

.header .navbar a{
    margin: 0 1rem;
    font-size: 2rem;
    color: #fff;
}

.header .navbar a:hover{
    color: var(--main-color);
    border-bottom: .1rem solid var(--main-color);
    padding-bottom: .5rem;
}

.header .icons div{
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons div:hover{
    color: var(--main-color);
}

#menu-btn{
    display: none;
}

.header .search-form{
    position: absolute;
    top: 115%; right: 7%;
    background: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
}

.header .search-form.active{
    transform: scaleY(1);
}

.header .search-form input{
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color: var(--black);
    padding: 1rem;
    text-transform: none;
}

.header .search-form label{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black);
}

.header .search-form label:hover{
    color: var(--main-color);
}

.home{
    min-height: 120vh;
    display: flex;
    align-items: center;
    background: url(../images/main.png) no-repeat;
    background-size: contain;
    background-position: center;
}

.home .content{
    max-width: 60rem;
    margin-top: 0px;
    padding-top: 0;
}

.home .content h3{
    padding-top: 0;
    margin-top: 0px;
    font-size: 6rem;
    text-transform: uppercase;
    color: #fff;
}

.home .content p{
    font-size: 2rem;
    font-weight: lighter;
    line-height: 1.8;
    padding: 1rem;
    color: #fff;
}

.about .row{
    display: flex;
    align-items: center;
    background: #2d97f4;
    flex-wrap: wrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.about .row .image{
    flex: 1 1 45rem;
}

.about .row .image img{
    width: 80%;
    margin: 5rem;
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about .row .content{
    flex: 1 1 45rem;
    padding: 2rem;
}

.about .row .content p{
    font-size: 1.8rem;
    color: #fff;
    padding: 1rem 0;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word; 
}

.aa .row{
    display: flex;
    align-items: center;
    background: #2d97f4;
    flex-wrap: wrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.aa .row .image{
    flex: 1 1 45rem;
}

.aa .row .image img{
    width: 80%;
    margin: 5rem;
    border-radius: 8px; 
}

.aa .row .content{
    flex: 1 1 45rem;
    padding: 2rem;
}

.aa .row .content h3{
    font-size: 3rem;
    color: #fff;
}

.aa .row .content p{
    font-size: 1.6rem;
    color: #fff;
    padding: 1rem 0;
    line-height: 1.8;
}

.footer .ack h3{
    font-size: 2rem;
    text-align: center;
    color: var(--main-color);
    text-transform: uppercase;
}

.footer .ack p{
    font-size: 1.5rem;
    text-align: center;
    color: #fff;
}

.footer{
    background: #2d97f4;
    text-align: center;
}

.footer .credit{
    font-size: 1.5rem;
    color: #fff;
    font-weight: lighter;
    padding: 1rem;
}

.footer .credit span{
    color: var(--main-color);
    font-weight: bolder;
}





@keyframes slide {
    0% {
      transform:translateX(-25%);
    }
    100% {
      transform:translateX(25%);
    }
  }

/* media queries */
@media (max-width:991px){
    html{
        font-size: 55%;
    }

    .header{
        padding: 1.5rem 2rem;
    }

    section{
        padding: 2rem;
    }
}

@media (max-width:768px){
   #menu-btn{
        display: inline-block;
   }
   .header ul{
        flex-direction: column;
   }

   .header .navbar{
        position: absolute;
        top: 100%; right: -100%;
        background: #b5ead7;
        width: 30rem;
        height: calc(100vh - 9.5rem);
   }

   .header .navbar.active{
        right:0;
   }

   .header .navbar a{
        color: #fff;
        display: block;
        margin: 1.5rem;
        padding: 3rem;
        font-size: 2rem ;
   }

   .header .search-form{
    width: 50%;
    right: 2rem;
   }

   .home{
        background-position: left;
        justify-content: center;
        text-align: center;
   }

   .home .content h3{
        font-size: 4.5rem;
   }

   .home .content p{
        font-size: 1.5rem;
   }
}

@media (max-width:450px){
    html{
        font-size: 50%;
    }
}