*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
html{
    font-size: 18px;
}
.container{
    background-image: linear-gradient(rgba(55,45,65,0.6), transparent), url(./images/pexels-mati-mango-6330644.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    position: relative;
    width: 100%;
}
.container::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right bottom, #0000008f, #3e34334f, #7a695e52, #b1a68c08, #dfebc530);
    z-index: -1;
}
.header{
    display: flex;
    padding: 0 10%;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    color: white;
}
.logo{
    font-size: 1.2rem;
    color: rgb(85, 197, 109);
    z-index: 2;
}

.nav ul li{
    display: inline-block;
    list-style: none;
    /* padding: 0 20px; */
}
.nav-links{
    position: relative;
    text-decoration: none;
    color: white;
    padding: 5px 20px;
    z-index: 2;
}
.nav-links::before{
    content: '';
    border-top: 1px solid rgb(85, 197, 109);
    border-bottom: 1px solid rgb(85, 197, 109);
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: scaleY(2);
    transition: .5s;
    width: 100%;
    z-index: -1;
}
.nav-links:hover:before{
    opacity: 1;
    transform: scaleY(1.2);
}
.nav-links::after{
    background: rgb(85, 197, 109);
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 1px;
    transform: scale(0);
    transition: .5s;
    width: 100%;
    z-index: -1;
}
.nav-links:hover:after{
    transform: scale(1);
}
.nav-links:hover{
    color: #fff;
}

#about{
    position: absolute;
    bottom: 8%;
    left: 10%;
    color: #fff;
    z-index: 2;
    width: 80%;
}
#about p, #about h1, #about h3{
    text-transform: uppercase;
}
#about p{
    font-size: 2rem;
    font-weight: 600;
}
#about h1{
    font-size: 4.5rem;
    line-height: 4.5rem;
    margin-left: -5px;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    background-image: url(./images/back.png);
    background-clip: text;
    -webkit-background-clip: text;
    background-position: 0 0;
    animation: spiral 20s linear infinite;
}

@keyframes spiral{
    100%{
        background-position: 2000px 0;
    }
}
#about h3{
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-div{
    margin-top: 20px;
    display: flex;
    column-gap: 10px;
    
}
.btn-div a{
    padding: 10px 15px;
    border: 1px solid;
    text-decoration: none;
    color: #fff;
}
.btn-div span{
    font-size: 0.8rem;
}

#contact{
    position: absolute;
    right: 5%;
    bottom: 10%;
}
#contact a{
    text-decoration: none;
    color: white;
    display: block;
}
.icon{
    font-size: 1.3rem;
    padding: 10px 3px;
}

@media screen and (max-width: 768px) {
    html{
        font-size: 14px;
    }
}
@media screen and (max-width: 480px) {
    html{
        font-size: 10px;
    }
    #about{
    bottom: 30%;

    }

    #about p{
        font-size: 1.7rem;
    }


    .btn-div{
        display: flex;
        flex-direction: column;
        text-align: center;
        row-gap: 10px;
        
    }
    .btn-div a{
        border-radius: 2px;
        background: rgb(85, 197, 109);
        font-size: 1.3rem;
    }
    .btn-div a:nth-child(2){
        background: rgb(85, 87, 197);
    }
    .btn-div span{
        font-size: 1.2rem;
    }

    #contact{
        position: absolute;

        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0 auto;
        text-align: center;
    }
    #contact a{
        display: inline;
    }
    .icon{
        font-size: 1.8rem;
        padding: 3px 10px;
    }
}