
@font-face {
                font-family: "pp-neue-montreal";
                src: url("https://portfolio.alexcarnicero.com/fonts/pp-neue.woff2") format("woff2"),
                     url("https://portfolio.alexcarnicero.com/fonts/pp-neue.woff") format("woff"),
                     url("https://portfolio.alexcarnicero.com/fonts/pp-neue.otf") format("opentype"),
                     url("https://portfolio.alexcarnicero.com/fonts/pp-neue.ttf") format("truetype");
                
            }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection{
    color: rgba(255, 255, 255, 0.6);
    
}

body, html {
    height: 100%;
    font-family: 'pp-neue-montreal', sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    transition: background-image 0.5s ease;
    background-size: cover;
    background-position: center;
}

p {
    max-width: 20vw;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: .5s;
}

a:hover {
    filter: blur(2px);
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(100px);
    backdrop-filter: blur(100px);
    flex-direction: row;
}

.column {
    padding: 32px;
    height: 100%;
    position: relative;
}

.bio-column {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    margin-top: 16px;
    color: rgba(255, 255, 255, .5);
    font-size: 1em;
}

.title-h1 {
    display: none;
    font-weight: normal !important;
}

.projects-column {
    width: 40%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-column::-webkit-scrollbar {
    display: none;
}

.project {
    width: 80%;
    min-height: 70vh;
    background-color: #222;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    transition: opacity 0.5s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer; /* Hacemos que los divs sean clicables */
    border-radius: 4px;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    pointer-events: none; /* Evita que la imagen bloquee el clic en el div */
}

.titles-column {
    width: 30%;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    margin-bottom: 8px;
    font-size: 2em;
    color: rgba(255,255, 255, 0.4);
    transition: opacity 0.5s ease, color 0.5s ease;
    cursor: pointer;
    font-family: 'pp-neue-montreal', sans-serif;
    transition: .3s;
}

.project-title:hover {
    filter: blur(2px);
}

.active {
    opacity: 1;
}

.highlight {
    color: #fff;
}

/* Estilos para las etiquetas */
.tags {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.tag {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 50px;
    color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    font-size: 0.5em;
}

#link-project{
    height: 100%;
    width: 100%;
    
    transition:.5s;
    
}
#link-project:hover{
    filter: brightness(0.7);
    cursor: url("../image/icono-hover.png"), auto;
    
}

/* Estilos para el menú hamburguesa */
.menu-hamburguesa {
            display: none; /* Ocultamos por defecto */
            flex-direction: column;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            padding:70px 20px;
            z-index: 1000;
            overflow-y: auto; /* Habilitamos el scroll si el contenido es largo */

        }

        

        .hamburguesa-btn {
            cursor: pointer;
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 2000; /* Asegura que el botón esté por encima de otros elementos */
            background: none;
            border: none;
            color: white;
            font-size: 2em;
            display: none;
        }




/* Responsive */
@media (max-width: 1000px) {

    p {
        max-width: 70vw;
    }
    .projects-column {
        padding: 0;
    }


    .title-h1 {
        margin-top: 0px;
        color: #ffffff;
        font-size: 1em;
        display: flex;
    }

    .container {
        flex-direction: column;
        background-color: rgba(0, 0, 0, .7);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }

    .bio-column {
        display: none;
    }

    .titles-column {
        display: none;
    }

    .menu-hamburguesa {
        display: none;
        background-color: #1a1a1a;
        padding: 70px 32px;
    }

    .projects-column {
        width: 100vw;
    }

    .project {
        width: 90vw;
    }

    .hamburguesa-container {
                display: flex;
                justify-content: space-between; /* Espacia los elementos */
                align-items: center; /* Centra verticalmente */
                background-color: #1a1a1a;

                padding: 20px 32px;
            }

            .hamburguesa-btn {
                cursor: pointer;
                display: flex;
                flex-direction: column;
                justify-content: space-between; /* Espacia las líneas */
                width: 25px; /* Ajusta el ancho según tus necesidades */
                height: 15px; /* Ajusta la altura según tus necesidades */
                position: relative;
                top: 0;
                left: 0;
            }

            .line {
                background-color: #ffffff; /* Color de las líneas */
                height: 2px; /* Altura de las líneas */
                width: 100%; /* Ancho completo */
                transition: all 0.3s ease; /* Transición suave */
            }

            /* Estilos cuando el menú está activo */
            .hamburguesa-btn.active .line:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px); /* Primera línea se cruza */
            }

            .hamburguesa-btn.active .line:nth-child(2) {
                transform: rotate(-45deg) translate(4px, -4px); /* Segunda línea se cruza */
            }
            .menu-hamburguesa {
    display: none; /* Oculto por defecto */
    /* Otros estilos */
}

.menu-hamburguesa.active {
    display: flex; /* Mostrado cuando está activo */
}

}