@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');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Poppins';
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

header{
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background-color:rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    z-index: 1000;
}

.logo{
    font-size: 1.5rem;
    color: white;
    font-weight: 800;
    opacity: 0.8;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
}

.logo:hover{
    opacity: 2;
}

.logo span{
    background: linear-gradient(to right,rgb(0, 157, 255), rgb(255, 0, 255));
    background-clip: text;
    color: transparent; 
}

.nav-links{
    display: flex;
    gap: 2rem;
}

li a{
    position: relative;
    color: white;
    font-weight: 300;
}

li a::before{
    position: absolute;
    content: '';
    width: 0;
    height: 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%;
}

.cv-btn{
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right,rgb(0, 157, 255), rgb(255, 0, 255));
}

.cv-btn:hover{
    background: linear-gradient(to right,rgb(255, 0, 255),rgb(0, 157, 255));
    transform: scale(1.03);
}

#menu-icon{
    font-size: 2rem;
    cursor: pointer;
    display: none;
}

section{
    min-height: 100vh;
    padding: 6rem 8%;
    width: 100%;
    position: relative;
}


/* ---------- Home ---------- */

.home{
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .home-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
}

.home img{
    width: 30vw;
    border-radius: 80%;
    border: solid 5px black;
}

.info-box{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.info-box h3{
    font-size: 2rem;
    font-weight: 500;
    opacity: 0.8;
}

.info-box h2{
    font-size: 2.5rem;
}

.info-box h1{
    font-size: 3rem;
    font-weight: 600;
}

.btn-group{
    display: flex;
    gap: 1rem;  
}

.btn{
    border-radius: 3rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid black;
    color: black;
    background-color: white;
    cursor: pointer;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
}

.btn:hover{
    background-color: black;
    color: white;
    transform: scale(1.05);
}

.socials{
    display: flex;
    gap: 2rem;
}

.socials i{
    font-size: 2.5rem;
    color: black;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.socials i:hover{
    transform: scale(1.2);
}

.section-tittle{
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

p{
    text-align: justify;
}

li{
    text-align: justify;
}

.text-animation{
    display: inline-block;
    font-family: monospace;
    background: linear-gradient(to right,rgb(0, 157, 255), rgb(255, 0, 255));
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    white-space: nowrap;
    border-right: .3rem solid rgb(255, 0, 255);
    width: 17ch;
    white-space: nowrap;
    overflow: hidden;
    animation: 
        typing 2s steps(18),
        blink .4s step-end infinite alternate;
}

@keyframes blink{
    50% {border-color: transparent}
}
@keyframes typing {
    from{width: 0}
}

/* ---------- ABOUT ---------- */

.about-row{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}
.about-column{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 2rem 2rem;
    padding-inline: 2rem;
    box-shadow: 1px 8px 10px 5px rgba(0, 0, 0, 0.1);
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.about-column:hover{
    transform: scale(1.02);
}

.about-header{
    margin-bottom: 1rem;
}
.about-column p{
    font-size: 1rem;
    color: #000000;
}


/* ----- SKILLS BOX ----- */
.Knowledge-column{
    display: flex;
}

.Knowledge-header{
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.Knowledge-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.Knowledge-list .Knowledge{
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: .5rem;
    width: auto-fit;
    border: 2px solid rgba(50, 51, 50, 0.223);
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.Knowledge-list .Knowledge:hover{
    transform: scale(1.10);
}

.Knowledge img{
    width: 2rem;
    height: 2rem;
}

.Knowledge span{
    font-size: 1rem;
}



/* ----- EXPERIENCE ----- */
.experience-info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.experience .grid{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 2rem;
}

.grid-card{
    border: 2px solid black;
    border-radius: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: left;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.grid-card:hover{
    transform: scale(1.02);
    background-color: black;
    color: white;
}

.grid-card i{
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.grid-card span{
    font-size: 1.5rem;
    font-weight: 500;
    background:linear-gradient(to right, #009dff, #ff00ff);
    background-clip: text;
    color: transparent;
}

::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-track{
    background-color: rgba(219, 219, 219);
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(to bottom, #009dff, #ff00ff);
}

/* ---------Projects ---------*/

.projects-info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.projects-info .grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}


/* ---------Certifications ---------*/

.certifications-info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.certifications .grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}

.certifications .grid-card{
    padding: 1rem;
    border-radius: 2rem;
}

/* ----- CONTACT FORM ----- */

.contact-box{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 2rem;
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
    gap: 1rem;
    min-width: 30rem;
}

.form-inputs{
    display: flex;
    gap: .5rem;
    width: 100%;
}

.input-field{
    width: 100%;
    height: 3rem;
    background: transparent;
    border: 2px solid rgba(50, 51, 50, 0.223);
    border-radius: 1rem;
    padding-inline: 20px;
    outline: none;
}

textarea{
    width: 100%;
    height: 250px;
    background: transparent;
    border: 2px solid rgba(50, 51, 50, 0.223);
    border-radius: 1rem;
    padding: 15px 20px;
    outline: none;
    resize: none;
}

button{
    width: 50%
}

/* --------- Footer ---------*/

footer{

    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background-color:rgba(0, 0, 0, 0.8);
    justify-content: space-between;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    align-items: 1rem;
    align-items: center;
    justify-content: center;
}

footer ul{
    display: flex;
    align-items: center;
    gap: 3rem;
}

footer ul li a{
    color: white;
    font-weight: 600;
}

.footer .footer-bottom{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding:  1rem 9%;
}

.copyright{
    color: white;
    font-size: 400;
    margin-bottom: 1rem;
}

.footer-toUp a {
    display: inline-block;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    background: linear-gradient(to right,rgb(0, 157, 255), rgb(255, 0, 255));
    border-radius: .5rem;
    transition: .5s ease;
}

.footer-toUp a:hover {
    background: linear-gradient(to right,rgb(255, 0, 255),rgb(0, 157, 255));
    transform: scale(1.03);
}

.footer-toUp a i {
    font-size: 1.5rem;
    color: white;
}

@media(max-width:1280px){

    section{
        padding: 6rem 10%;
    }

    .home .home-container{
        gap: 3rem;
    }

    .info-box h3{
        font-size: 1.9rem;
    }

    .info-box h2{
        font-size: 2.4rem;
    }
    
    .info-box h1{
        font-size: 2.9rem;
    }

    .projects-info .grid{
        grid-template-columns: repeat(1,1fr);
    }

    .certifications .grid{
        gap: 1rem;
    }
    .certifications .grid-card{
        padding: 1rem;
        border-radius: 2rem;
    }
    
    .certifications .grid-card span{
        font-size: 1.2rem;
    }

    .certifications .grid-card h3{
        font-size: 1rem;
    }

}

@media(max-width:1024px){
    header{
        padding: 0.5rem 1.5rem;
        gap: 1.4rem;
    }

    section{
        padding: 6rem 8%;
    }

    .home .home-container{
        gap: 2rem;
    }

    .info-box h3{
        font-size: 1.8rem;
    }

    .info-box h2{
        font-size: 2.3rem;
    }
    
    .info-box h1{
        font-size: 2.8rem;
    }
}


@media(max-width:900px){
    
    header .cv-btn{
        display: none;
    }
   
    .about-row{
        flex-direction: column;
    }
    form{
        min-width: 28rem;
    }
    .info-box h3{
        font-size: 1.6rem;
    }

    .info-box h2{
        font-size: 2.1rem;
    }
    
    .info-box h1{
        font-size: 2.5rem;
    }
}


@media(max-width:768px){

    header{
        padding: 0.5rem 1rem;
    }

    header #menu-icon{
        display: block;
    }

    .nav-links{
        position: absolute;
        top: 100%;
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        color: white;
        display: flex;
        flex-direction: column;
        text-align: center;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 3rem;
        display: none;
    }

    .nav-links li{
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active{
        display: block;
    }

    header{
        padding: .5rem 2rem;
        gap: 4rem;
    }

    header .logo{
        font-size: 1.5rem;
    }

    header .logo{
        font-size: 1.5rem;
    }

    header .cv-btn{
        display: none;
    }
    .home-container{
        flex-direction: column;
    }

    .home img{
        width: 40vw;
    }

    .about-column{
        padding: 1rem;
        min-width: 100%;
    }

    .footer-links{
        display: none;
    }
}

@media(max-width:600px){
    .about-row{
        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    }
    .certifications .grid{
        grid-template-columns: repeat(1,1fr);
    }

    form{
        min-width: 25rem;
    }
}

@media(max-width:500px){

    section{
        min-height: 100vh;
        padding: 2rem 4%;
        width: 100%;
    }

    .home-container{
        margin-top: 3rem;
    }
    
    .info-box h3{
        font-size: 1.5rem;
    }

    .info-box h2{
        font-size: 2rem;
    }
    
    .info-box h1{
        font-size: 2.2rem;
    }

    .about-row{
        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    }

    .home img{
        width: 50vw;
    }

    .about-column{
        padding: 1rem;
        min-width: 100%;
    }

    .grid-card{
        padding: 1rem;
        border-radius: 2rem;
    }

    form{
        min-width: 22rem;
    }
}