@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

::-webkit-scrollbar{
    width: 16px;
}
::-webkit-scrollbar-track{
    background-color: rgb(219, 219, 219);
}
::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom, rgb(0, 157, 255),rgb(255, 0, 255));
}

/* HEADER */
header{
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background-color: rgb(0, 0, 0, .8);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 3rem;
    z-index: 1000;
}

.logo{
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
}
.logo:hover{
    transform: scale(1.1);
}

.nav-links{
    display: flex;
    gap: 2rem;
}

li a{
    position: relative;
    color: #fff;
    font-weight: 300;
}
li a::before{
    position: absolute;
    content: '';
    width: 0;
    left: 0;
    height: 5px;
    top: 25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(0, 157, 255), rgb(255, 0, 255));
}
li a:hover::before{
    width: 100%;
}

.visit-btn{
    padding: 0.5rem 1rem;
    border-radius: 3rem;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(0, 157, 255), rgb(255, 0, 255));
}
.visit-btn:hover{
    background: linear-gradient(to right,rgb(255, 0, 255), rgb(0, 157, 255)) ;
    transform: scale(1.03);
}

#menu-icon{
    font-size: 2rem;
    display: none;
}

/* SECTION 1 HOME*/
section{
    min-height: 100vh;
    padding: 2.1rem 12%;
    width: 100%;
    position: relative;
}

.section-title{
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .home-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.home img{
    width: 26vw;
    border-radius: 50%;
}

.info-box{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 1.5rem;
}
.info-box h3{
    font-size: 1.7rem;
    font-weight: 500;
    opacity: 0.8;
}
.info-box h1{
    font-size: 2.5rem;
    font-weight: 600;
}
.info-box span{
    background: linear-gradient(to right, rgb(0, 157, 255),rgb(255, 0, 255));
    background-clip: text;
    color: transparent;
    font-size: 1.6rem;
}

.btn-group{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn{
    color: #000;
    border-radius: 3rem;
    padding: .5rem 1.5rem;
    border: 2px solid black;
    cursor: pointer;
    font-weight: 500;
    text-wrap: nowrap;
    transition: .3s ease-in-out;
}
.btn:hover{
    background-color: #000;
    color: #fff;
}

.socials{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.socials i{
    font-size: 2.5rem;
    cursor: pointer;
    transition: .2s ease-in-out;
}
.socials i:hover{
    transform: scale(1.1);
}
.socials a{
    color: #000;
}

/* SECTION 2 ABOUT*/
.about-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border: 2px solid #000;
    border-radius: 3rem;
    margin-top: 3rem;
}

.about-me{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.about-me p{
    font-size: 1.2rem;
    display: flex;
    flex-flow: row wrap;
}

.about-image{
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image img{
    width: 20vw;
    height: 25vw;
    border-radius: 3rem;
}
/* SECTION 3 PROJECT */
.subtitle{
    text-align: center;
}

.card-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
    border: 2px solid #000;
    padding: 1.5rem 0;
    border-radius: 3rem;
}

.card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    cursor: pointer;
    transition: .3s ease-in-out;
}
.card a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
}
.card img{
    width: 12vw;
    border-radius: .7rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
.card h4{
    text-align: center;
}
.card p{
    text-align: center;
}
.card:hover{
    transform: scale(1.1);
}

/*SECTION 4 CONTACT */

.form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 3rem;
}
.form h2{
    margin-top: 2rem;
    font-size: 2.2;
}

form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}
form input{
    margin-bottom: .7rem;
    padding: 5px 10px;
    font-size: 1.1rem;
    border-radius: 1rem;
    border: none;
    border: 2px solid #000;
    outline: none;
    cursor: pointer;
}
form textarea{
    margin-bottom: .7rem;
    padding: 7px;
    font-size: 1.1rem;
    border: 2px solid #000;
    border-radius: 1rem;
    outline: none;
    cursor: pointer;
}

.send{
    padding: 10px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 1rem;
    outline: none;
    cursor: pointer;
    transition: .3s;
}
.send:hover{
    background-color: #000;
    color: #fff;
}


footer{
    bottom: 0;
    left: 0;
    height: 10rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

footer ul{
    display: flex;
    align-items: center;
    gap: 3rem;
}
footer ul li a{
    color: #000;
    font-weight: 600;
}

.copyright{
    font-size: 300;
    margin-top: 2rem;
}

@media screen and (max-width:900px) {
    header{
        padding: 1rem 2rem ;
        gap: 2rem;
    }

    section{
        min-height: 100vh;
        padding: 2rem 7%;
    }

    .section-title{
        margin-top: 5rem;
    }

    .home .home-container{
        gap: 3rem;
    }

    .form{
        padding: 1rem;

    }
    .form h2{
        margin-top: 2.2rem;
    }

    form{
        width: 100%;
    }
}

@media screen and (max-width:805px) {
    header{
        gap: 1rem;
        padding: 1rem 1rem;
    }
    header .logo{
        font-size: 1rem;
    }
    header .visit-btn{
        display: none;
    }

    section{
        padding: 1rem 3%;
    }

    .home-container{
        flex-direction: column;
    }

    .about-container{
        display: flex;
    }
    .about-me p{
        font-size: 1.8rem;
        line-height: 3.3rem;
    }

    .card-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .card{
        width: 70%;
    }
    .card img{
        width: 100%;
    }
}

@media screen and (max-width:610px) {
    header #menu-icon{
        display: block;
    }

    .nav-links{
        position: absolute;
        top: 100%;
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: rgb(0, 0, 0, .9);
        border-radius: 3rem;
        display: none;
    }
    .nav-links li{
        margin-top: 1rem;
        padding: 1rem;
    }
    .nav-links.active{
        display: block;
        text-align: center;
    }

    header{
        padding: .7rem 3.3rem;
    }
    header .logo{
        font-size: 1.5rem;
    }

    .home-container img{
        margin-top: 2rem;
        width: 50vw;
    }

    .info-box input{
        padding: 0.5rem 3rem;
        width: 80%;
        font-size: 1.5rem;
    }

    .about-image{
        display: none;
    }

    .subtitle{
        font-size: 1rem;
    }

    footer ul{
        gap: 1rem;
    }
}

@media screen and (max-width:390px){
    .copyright{
        text-align: center;
        font-size: .9rem;
    }
} 

@media screen and (max-width:370px){
    header .logo{
        font-size: 1.2rem;
    }
}