@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;700&display=swap');



img {
    height: 70px;
    width: 70px;

}

.background-animation {
    position: absolute;
    /* Permanece detrás de todo, incluso al desplazarse */
    width: 200%;

    height: auto;
    max-height: 100vh;




    top: 0;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);

    pointer-events: none;


}

.background-container {
    position: absolute;
    /* Contenedor para la animación */
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    /* Tamaño del viewport */
    overflow: hidden;
    /* Oculta la parte que sobresale */
}

.about {
    position: relative;
    width: 100vw;

    overflow: hidden;

}

.background-animation2 {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 2;
    /* Envía el player al fondo */
    object-fit: cover;

    /* Asegura que cubra todo el espacio sin deformarse */


}





.about__background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Fondo oscuro */
    z-index: 1;
    /* Detrás de la animación */
}



.svg-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
    transform: translateY();
    z-index: 3;
}


@media (max-width: 1200px) {
    .background-animation {
        width: 2300px;

    }

}








body {
    background-color: rgb(51, 51, 51);
    color: white;
    text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.712);
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    position: relative;
    width: 100vw;
    overflow-x: hidden;


}






.header__title {


    font-size: 40px;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

.header__description {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}



.images__title {



    flex-basis: 400px;
    text-align: center;
    font-size: 20px;
    padding: 0;
    margin: 0;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;


}






/* .background {
    background: radial-gradient(circle, #027746, rgb(15, 52, 67));
    width: 100vw;
    height: 100vh;
    position: absolute;

    z-index: -3;


} */

.background {
    background: radial-gradient(circle, #4e4e4e, rgb(20, 20, 20));
    width: 100vw;
    height: 100vh;
    position: absolute;

    z-index: -3;


}



.second-background {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 204, 255, 0.0));

}

.about__second-background {
    position: absolute;
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.781), rgba(0, 204, 255, 0));

}

.navbar {
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.336);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar__nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar__ul {
    list-style: none;
    display: flex;

    margin: 0;

}

.navbar__li {
    display: inline;

}

.navbar__a {
    color: white;
    text-decoration: none;

    font-size: 18px;
    padding: 10px 30px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar__a:hover,
.navbar__active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #00ccff;

}


.images {
    display: flex;
    width: 400px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;

}

.image {
    transition: .3s;
}

.image:hover {
    scale: 1.2;

}

.image-container {
    position: relative;

}

.image-container::before {
    content: "";
    opacity: 0;
    transition: opacity 0.3s;
}

.image-container:hover::before {

    opacity: 1;
    position: absolute;
    margin: auto;
    bottom: -35px;

    content: "Java";
    font-size: 20px;
    color: white;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);



}

.uno:hover::before {
    content: "HTML";
}

.dos:hover::before {
    content: "CSS";
}

.tres:hover::before {
    content: "JavaScript";
}

.cuatro:hover::before {
    content: "Java";
}

.cinco:hover::before {
    content: "PHP";
}

.seis:hover::before {
    content: "Git";
}

.siete:hover::before {
    content: "Github";
}

.ocho:hover::before {
    content: "SQL";
}

.nueve:hover::before {
    content: "Angular";

}

.diez:hover::before {

    content: "Spring framework";
    bottom: -70px;
    text-align: center;
}







header {
    box-sizing: border-box;
    padding: 10% 0%;
    margin: 0px 10%;
    height: 100vh;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10%;


}








@keyframes dynamicShadow {
    0% {
        box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2), -5px -5px 20px rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 20px 20px 25px rgba(0, 0, 0, 0.3), -20px -20px 25px rgba(255, 255, 255, 0.3);
    }

    100% {
        box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2), -5px -5px 20px rgba(255, 255, 255, 0.2);
    }
}

.about__box {
    box-shadow: 0 0 20px 4px #ff0000;
    animation: dynamicShadow 3s ease-in-out infinite;
}

.fit-width {
    width: 100vw;
    height: auto;
    /* Ajusta la altura automáticamente */
}

.fit-height {
    height: 100vh;
    width: auto;
    /* Ajusta el ancho automáticamente */

}

.self-photo {
    width: 200px;
    height: 200px;
}

.projects__body {
    background-color: #202020;
}