/* En tu archivo style.css */

* {
    margin: 0;
    padding: 0;
    cursor: none !important;
}

.cookie-banner {
    z-index: 9999;
    position: fixed;
    bottom: 70px;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    width: 750px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    font-family: acumin-regular, sans-serif;
    font-weight: 400;
}

.cookie-btns {
    margin: 20px 0;
    display: flex;
    justify-items: space-between;
}

.cookie-btns button {
    width: 200px;
    height: 40px;
    font-family: acumin-regular, sans-serif;
    font-weight: 600;
    border-radius: 20px;
    border: 2px solid black;
    background-color: white;
    padding-top: 5px;
    margin: 0 20px;
}

.cookie-btns button:hover {
    border: 2px solid #bc0d13;
    color: #bc0d13;
}

.cookie-banner.hidden {
    display: none;
}

.cursor {
    width: 20px;
    height: 20px;
    background-color: #ff1c23d0;
    border-radius: 50%;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 99999;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

@font-face {
    font-family: syne-extra;
    src: url(fonts/syne-extra-fixed.ttf);
}

@font-face {
    font-family: acumin-regular;
    src: url(fonts/acuminvariableconcept.ttf);
}


h4 {
    transition: color 0.5s ease-in-out;
    color: white;
}

/* Contenedor de videos */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -2;
    transform: scale(0.9) translateY(-40px);
}

/* Estilos base para todos los videos dentro del contenedor */
.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit:contain;
    transition: opacity 0.1s ease-in-out;
    display: none; /* Inicialmente todos los videos (excepto el principal) están ocultos */
    z-index: 1; /* Valor base. El principal y el de transición se ajustarán dinámicamente. */
}

/* El video principal siempre visible por defecto */
#main-loop-video {
    display: block;
    opacity: 1;
    z-index: 2; /* El video principal estará por encima de los de transición por defecto */
}

/*-------------------------------------------------------------------------*/

/*----------------------- TAMAÑO GRANDE (DESKTOP) -------------------------*/

/*-------------------------------------------------------------------------*/

body {
    background-color: #bc0d13;
    overflow: hidden;
    transition: background-color 0.3s ease-in-out, opacity 1s ease-in-out; /* Added opacity transition for page fade-in */
    opacity: 0; /* Hidden by default for fade-in effect */
}

#video {
    position: absolute;
}

.imgs {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    transform: translateY(-20px);
}

.bolas {
    position: fixed;
    width: 1100px;
}

.bola1, .bola2, .bola3 {
    position: absolute;
    transition: 0.2s ease-in-out;
}

.bola1{
    transform: translate(720px, -30px);
}

.bola2{
    transform: translate(180px, -20px) rotate(15deg);
}

.bola3{
    transform: translate(250px, -340px) rotate(120deg);
}

.logo {
    position: fixed;
    width: 1200px;
    transition: 0.3s ease-in-out;
}

.centrar, .centrar-cookie {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.botones {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 999;
    position: fixed;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 50vw;
    height: 50vh;
    bottom: -90px;
}

/* Updated button styles for border hover effect */
.botones .cv, .botones .proy, .botones .contact {
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-decoration: none;
    
    /* Box-sizing for consistent sizing */
    box-sizing: border-box; 
    /* Initial border and padding compensation */
    border: 2px solid white; 
    padding: 15px 15px 10px 15px; /* Adjust this padding as desired for the 2px border state */
    
    border-radius: 40px;
    transition: border-color 0.4s ease-in-out /* Smooth transition */
}

.cv:hover, .contact:hover {
    border-color: black;
    color: black;
}

.proy:hover {
    border-color: #bc0d13;
    color: #bc0d13;
}

.botones a h4 {
    display: inline;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    border: none;
    transform: none;
    font-family: acumin-regular, sans-serif;
    color: white; /* Ensure text color is white */
    margin: 0 20px; /* Keep this for spacing inside the button, will be affected by padding above */
}


/*------------------------------------------------------------------------*/

/*----------------------- TAMAÑO MEDIANO (TABLETS) -----------------------*/

/*------------------------------------------------------------------------*/


@media (max-width: 1600px) {
    .botones {
        width: 50%;
        align-self: center;
    }

    .botones a {
        display: flex;
        align-items: center;
        justify-content: space-between; /* This might override the previous space-evenly */
        border-radius: 40px;
        text-decoration: none;
    }

    .botones a h4 {
        display: inline;
        font-size: 16px;
        font-weight: 600;
        font-style: normal;
        border: none;
        transform: none;
        color: white;
        font-family: acumin-regular, sans-serif;
    }



    .imgs {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        height: 100vh;
    }

    body {
        background-color: #bc0d13;
        overflow: hidden;
    }

    .bolas {
        width: 800px;
        transform: translateX(-100px) scale(0.8);
        transition: 0.3s ease-in-out;
    }
    
    .logo {
        width: 70%;
        transition: 0.3s ease-in-out;
    }
}

/*------------------------------------------------------------------------*/

/*----------------------- TAMAÑO MEDIANO-PEQUEÑO (TABLET VERTICAL) -----------------------*/

/*------------------------------------------------------------------------*/

@media (max-width: 1000px) {
    .imgs {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        height: 100vh;
    }

    .botones {
        width: 70vh;
    }

    body {
        background-color: #bc0d13;
        overflow: hidden;
    }

    .bolas {
        width: 600px;
        transition: 0.3s ease-in-out;
        transform: translateX(-150px) scale(0.6);
    }

    .logo {
        width: 80%;
        transition: 0.3s ease-in-out;
    }

    .cookie-banner {
        width: 90%;
    }

    
    .video-background {
    transform: scale(1.7) translateY(-40px);

    }


}

/*------------------------------------------------------------------------*/

/*----------------------- TAMAÑO PEQUEÑO (MOVIL) -----------------------*/

/*------------------------------------------------------------------------*/

@media (max-width: 600px) {


    .cookie-banner {
        width: 80%;
        height: 180px;
    }

    .cookie-btns {
        flex-direction: column;
    }

    .cookie-btns button {
        margin-top: 10px;
    }






    .imgs {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        height: 100vh;
    }
    
    body {
        background-color: #bc0d13;
        overflow: hidden;
        height: 100vh;
    }

    .bolas {
        width: 600px;
        transition: 0.3s ease-in-out;
    }

    .bola1{
        width: 370px;
        transform: translate(370px, -510px);
        display: none;
    }
    
    .bola2{
        width: 350px;
        transform: translate(380px, -190px) rotate(15deg);
        display: none;
    }
    
    .bola3{
        width: 350px;
        transform: translate(380px, -370px) rotate(150deg) scale(1.4);
    }

    .logo {
        width: 90%;
        transition: 0.3s ease-in-out;
    }


    .video-background {
        transform: scale(5) translateY(-40px) translateX(-60px) rotate(180deg);

    }

    .botones {
        height: 200px;
        width: 100vw;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 150px;
    }

    .cv, .proy, .contact {
        margin-top: 10px;
    }
}