@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

:root {
    --main-background: #000426;
    --green:#19da7f;
    --black: #130f40;
    --light-color: #666;
    --box-shadow: 0 .5rem 1.5rem rgb(0,0,0.1);
    --border: 2rem solid rgba(0,0,0.1);
    --outline: .1rem solid rgba(0,0,0,1);
    --dark-green: #023020;
    --primary:#EEBF00;
    --secondary:#232B38;
    --ternary:#6C6C6C;
    --danger:#FE4545;
    --pure:#FEFEFE;
    --light:#F0F0F0;
    --heaven:#FFFFFF;
    --footer:#2D333F;


}

*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}
 body {
    /* background: var(--main-background); */
}
.container {
    width:100%;
    padding:o 15px;
    margin:0 auto;
}
.flex{
    display:flex;
  }
  .justify-between{
    justify-content: space-between;
  }
  .items-center{
      align-items: center;
  }

section {
    padding: 2rem 9%;
}

.heading {
    text-align: center;
    padding: 2rem 0;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    color: var(--black);
}
.heading span{
    background: var(--dark-green);
    color: white;
    display: inline-block;
    padding: .5rem 3rem;
    border-radius: .5rem;
    /* clip-path: polygon(100% 0, 93% 50%,100% 99%, 0% 100%, 7% 50%,0% 0%) ; */
}

.heading2 {
    text-align: center;
    padding: 2rem 0;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    color: white;
}
.heading2 span{
    background: white;
    color: var(--black);
    display: inline-block;
    padding: .5rem 3rem;
    border-radius: .5rem;
    /* clip-path: polygon(100% 0, 93% 50%,100% 99%, 0% 100%, 7% 50%,0% 0%) ; */
}
.btnContainer {
    display: flex;
    flex-direction: row;
    gap:2rem;
}
.btn {
/* border: .2rem solid var(--green); */
margin: 1rem;
margin-left: 0rem;
display: inline-block;
padding: 1.4rem 3rem;
font-size: 1.6rem;
border-radius: .5rem;
color: black;
cursor: pointer;
width:220px;
text-align: center;
background: var(--green);

}
.btn:hover{
    background: var(--black);
    color: white;
}
.header{
    /* border: 2px solid; */
    position: fixed;
    /* position: sticky; */
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 12%;
    background: var(--main-background);
    /* box-shadow: var(--box-shadow); */
    color: white;
}

.navbar>a{
    color: #6e7083;
    font-size: 1.5rem;
    margin: 0 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}


#menu-btn{
    display: none;
}
.header .navbar.active {
right: 2rem;
}

#particles-js {
    height: 700px;
}
.home {
    position: relative;
    display: flex;
    flex-direction: row;
    row-gap: 2rem;
    z-index: -1;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: var(--main-background);
    flex: 50%;
    height: 700px;
    /* justify-content: space-between; */
    /* background: url(../images/heroSection.png) no-repeat; */
    background-position: center;
    background-size: cover;
    padding: 15rem 12%;
    /* padding-top: 15rem;
    padding-bottom: 5rem; */
}
.home .content{
    width: 50%;
}
.home .content h3{
    color: white;
    font-size: 4.4rem;
    margin-bottom: 2rem;
}
.home .content span{
    color: white;
}
.home .content p{
    color: #6e7083;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Below is a trial code for footer animation */

.home:before {
    position: absolute;
    content: '';
    background: url(../images/wave-img.png) no-repeat;
    bottom: 0;
    left: 0;
    z-index: 999;
    background-size: cover;
    width: 100%;
    height: 57px;
    animation: animate 20s infinite;
    animation-delay: 0s;
}


@keyframes animate {
    0% {
        background-position-x: 0px;
    }
    100% {
        background-position-x: 1366px;
    }
}
.home:after {
    position: absolute;
    content: '';
    background: url(../images/wave-img.png) no-repeat;
    bottom: 0px;
    left: 0;
    z-index: 998;
    background-size: cover;
    width: 100%;
    height: 57px;
    opacity: 1;
    animation-delay: -2s;
    animation: wavetwo 30s linear infinite;
}
@keyframes wavetwo {
    0% {
        background-position-x: 100px;
    }
    100% {
        background-position-x: -1366px;
    }
}
.wave {
    position: absolute;
    content: '';
    background: url(../images/wave-img.png) no-repeat;
    bottom: 5px;
    left: 0;
    z-index: 997;
    background-size: cover;
    width: 100%;
    height:57px;
    opacity: 0.5;
    animation-delay: -5s;
    animation: animate 20s linear infinite;
}
.wave2{
    position: absolute;
    content: '';
    background: url(../images/wave-img.png) no-repeat;
    bottom: 0px;
    left: 0;
    z-index: 996;
    background-size: cover;
    width: 100%;
    height: 57px;
    opacity: 0.3;
    animation-delay: -10s;
    animation: wavetwo 15s linear infinite;
}

/* .home .wave {
    position: absolute;
    bottom: -400;
    left: 0;
    width: 100%;
    height: 57px;
    background: url(../images/wave-img.png) no-repeat;
    background-size: cover;
} */
/* .home .wave.wave1{
    animation: animate 30s linear infinite;
    z-index: 1000;
    opacity: 1;
    animation-delay: 0s;
    bottom: -400px;
} */
/* @keyframes animate {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1366px;
    
}
} */
/* .home .wave.wave2{
    animation: animate2 15s linear infinite;
    z-index: 999;
    opacity: 0.5;
    animation-delay: -5s;
    bottom: -390px;
} */
/* .home .wave.wave3{
    animation: animate 15s linear infinite;
    z-index: 998;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: -385px;
} */
/* .home .wave.wave4{
    animation: animate2 5s linear infinite;
    z-index: 997;
    opacity: 0.7;
    animation-delay: -5s;
    bottom: -380px;
} */
/* @keyframes animate {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1366px;
    
}
} */
/* @keyframes animate2 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -1366px;
    
}
} */


@media (max-width: 991px){
    html {
        font-size: 55%;
    }
    section{
        padding: 2rem;
    }
    .header{
        padding: 2rem;
    }
}

@media (max-width: 768px){

    #menu-btn{
        display: inline-block;
    }
    .header .search-form{
        width: 90%;
    }
    .header .navbar {
        position: absolute;
        top: 110%;
        right: -110%;
        width: 20rem;
        box-shadow: var(--box-shadow);
        border-radius: .5rem;
        background: white;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        align-items: center;
    }
    .header .navbar a{
        color: black;
        font-size: 2rem;
    }
    .features .box-container{
        /* width: 100%; */
        /* border: 2px solid; */
        /* display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30rem,1fr)); */
        display: flex;
        flex: 50%;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        gap: 3.5rem;
    }
}
@media (max-width: 450px){
    html {
        font-size: 50%;
    }
    .heading{
        font-size: 2.5rem;
    }
    
    
}
