/* @import url('https://font.googleapis.com/family?='); */

:root{
    --body-font: Arial, Helvetica, sans-serif;
    --primary-green: #10ac84;
    --primary-blur-blue: blue;
    --primary-blue: #2e86de;
    --primary-black: #24252a;
    --main-black: #121212;
    --primary-white: aliceblue;
    --primary-h2-color: #063146;
    --background: #042331;
}
*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Poppins', sans-serif; */
}
html{
    font-family: var(--body-font);
    font-size: 14px;
    /* color: var(--body-font-color); */
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
}
section{
    padding: 100px;
}
section h2{
    font-size: 3em;
    color: var(--primary-h2-color);
    margin-bottom: 10px;
}
section h2 span{
    display: block;
    font-size: 0.5em;
    color: #ff4983;
    margin-top: 10px;
}
section p{
    margin-top: 20px;
    font-size: 1.2em;
}
.preloader{
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: #070707;
    z-index: 1000000;
}
.preloader::before{
    content: 'Loading';
    position: absolute;
    font-size: 12em;
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .03);
}
.preloader.active{
    transform: translateY(-100vh);
    transition: ease-in-out 2s;
    transition-delay: 1s;
}
.counter{
    position: relative;
    color: #fff;
    font-size: 16em;
    font-weight: 700;
    z-index: 1;
}
.counter::after{
    content: '%';
    font-size: 0.5em;
}
.hide{
    opacity: 0;
    transition: 1s;
    pointer-events: none;
}
.text{
    text-align: justify;
    text-indent: 5%;
    letter-spacing: 1.5px;
}

/* footer starts here */
footer{
    padding: 4rem 0;
    background-color: var(--background);
    color: #fff;
    text-align: center;
    position: relative;
}
.back-to-top{
    width: 4rem;
    height: 4rem;
    background-color: var(--background);
    position: absolute;
    top: -1.7rem;
    left: 50%;
    transform: translate(-50%);
    border-radius: 50%;
}
.back-to-top i{
    display: block;
    color: #fff;
    font-size: 2rem;
    padding: 1rem;
    animation: up 2s infinite;
}
.footer-content{
    overflow: hidden;
}
.footer-content h4{
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}
.footer-content .asterisk{
    margin: 2rem 0;
}
.footer-content-about{
    margin-bottom: 2rem;
}
.footer-content-about p{
    line-height: 2;
    padding: 0 20rem;
}
/* Portfolio*/
.portfolio a{
    color: #eee;
    transition: all 0.4s;
}
.portfolio a:hover{
    color: var(--primary-h2-color);
    background-color: var(--primary-white);
    padding: 5px;
    border-radius: 7px;
}
.social-icons{
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}
.social-icons li{
    /* pointer-events: none; */
    padding: 0;
    margin: 0;
}
.social-icons i{
    font-size: 2rem;
    color: #fff;
    padding: .8rem 1.5rem;
    opacity: 0.5;
    transition: color 0.5s;
}
.social-icons i:hover{
    color: var(--primary-blue);
}
.newsletter-form{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}
.newsletter-input{
    width: 80%;
    max-width: 23rem;
    padding: 1rem;
    padding-right: 4rem;
    border-radius: .4rem;
}
.newsletter-btn{
    background-color: transparent;
    border: none;
    color: var(--primary-black);
    cursor: pointer;
    font-size: 1.6rem;
    padding: 1px .3rem;
    position: absolute;
    top: 50%;
    transform: translate(500%, -50%);
    right: 50%;
    margin-left: 0;
}


/* Animations */
/* @keyframes fadeUp{
    0%{
        transform: translateY(4rem);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scale{
    0%{
        transform: scale(2);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes grow{
    0%{
        width: 0;
    }
    100%{
        opacity: 1;
        width: 100%;
    }
}
@keyframes spin{
    0%{
        transform: rotate(0);
    }
    100%{
        opacity: 1;
        transform: rotate(-360%);
    }
}
@keyframes fadeDown{
    0%{
        transform: translateY(-1rem);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
} */
@keyframes up{
    0%{
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: translateY(-1rem);
    }
}
/* media qureies start here */
/* @media screen and (min-width: 767px){
   
} */


/* Footer ends here */

@media (max-width: 767px){
    section{
        padding: 80px 40px;
    }
    section h2{
        font-size: 1.5em;
    }
    section h2 span{
        font-size: 0.5em;
        margin-top: 5px;
    }
    section p{
        margin-top: 10px;
        font-size: 1em;
    }
    .preloader::before{
        font-size: 5em;
        font-weight: 700;
    }
    .preloader.active{
        transform: translateY(-200vh);
    }
    .counter{
        font-size: 10em;
        font-weight: 700;
    }
    .counter::after{
        font-size: 0.3em;
    }
    /* footer media query */
    footer{
        padding: 3rem 0 1rem 0;
    }
    .footer-content{
        max-width: 77.5rem;
        margin: auto;
    }
    .footer-content-about{
        max-width: 51.3rem;
        margin: 0 auto 3rem;
    }
    .footer-content-about p{
        padding: 0 5rem;
    }
    .footer-content-divider{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        padding: 0.7rem;
    }
    .social-media,
    .newsletter-form{
        width: 100%;
        max-width: 25rem;
        margin: 0 2rem;
    }
    .social-icons i{
        opacity: 1;
    }
    .newsletter-btn{
        padding: 1px .3rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 12%;
        margin-left: 6rem;
    }
}
