@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@font-face {
            font-family: 'GothamBlack';
            src: url('gotham/Gotham-Black-Regular.ttf') format('truetype'),
                 url('gotham/Gotham-BlackItalic.otf') format('opentype');
            font-weight: 900; /* Pesado para Gotham Black Regular */
            font-style: normal;
        }

        @font-face {
            font-family: 'GothamRegular';
            src: url('gotham/Gotham-Book.otf') format('opentype'),
                 url('gotham/Gotham-Medium.ttf') format('truetype'),
                 url('gotham/Gotham-MediumItalic.otf') format('opentype');
            font-weight: 400; /* Peso normal para Gotham Regular */
            font-style: normal;
        }

/**** END FONTS ****/

:root {
    --neon: #ff4a4a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    box-sizing: border-box;
    margin: 0; padding: 0;
    font-family: 'GothamRegular', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
}
/*** HEADER ***/
#header {
    background: #000;
    height: 10px;
    position: relative;
    transition: top 0.3s ease, box-shadow 0.3s ease;
}
#firma {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    z-index: 2;
    transition: .5s ease;
}
#header.fixed #firma {
    width: 150px;
}
/** MENU **/
.menu-container {
    position: absolute;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
}

.hamburger-menu {
    position: absolute;
    right: 0;
    z-index: 2;
    top: 50px;
    width: 65px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 8px 10px;
    background: #fff;
    border-radius: 15px 0 0 15px;
    transition: top .3s ease;
}
.hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: -80px;
    width: 0;
    height: 100vh;
    background-color: #2a1e1e;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    transition: width 0.5s ease;
}
.menu-overlay > img {
    max-width: 150px;
}

.menu-content {
    transform: translateX(100%);
    transition: transform 0.5s ease;
    width: 100%;
}

.menu-content h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: #fff;
}

.menu-content p {
    margin-bottom: 0;
    font-size: 1.6rem;
    color: #fff;
}

.menu-content .highlight {
    color: var(--neon);
    font-size: 1.6rem;
}

.menu-content .highlight_one {
    margin-top: 30px;
}
.menu-links {
    margin-top: 40px;
}

.menu-links p {
    font-size: 14px;
    color: #b3b3b3;
}

/* Animación al abrir el menú */
.menu-overlay.active {
    right: 0;
    width: 40%;
    max-width: 600px;
}

.menu-content.active {
    transform: translateX(0);
}

/* Efecto en el icono de menú cuando está activo */
.hamburger-menu.active {
    position: absolute;
    right: 0;
    z-index: 4;
}
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Fixed HEADER */
#header.fixed {
    position: fixed;
    height: 60px;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra suave */
}

#header.fixed .hamburger-menu {top: 16px;}
/*** END HEADER ***/
/*** SECTION VIDEO COR ***/
#heart-anim {height: 100vh;}
        #video-container {
            position: relative;
            width: 100%;
            max-width: 100%;
            margin: auto;
            height: 100%;
            background-color: #000;
        }
        video {
            width: 100%;
            display: block;
            height: 100vh;
            /* transform: scale(1.5); */
            /* object-fit: cover; */
        }
        #interaction-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            display: none;
        }
        .interaction-point {
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: var(--neon);
            border-radius: 50%;
            cursor: pointer;
            animation: blink 1s infinite;
            display: none;
        }
        .interaction-point.three{
            top: 60%; left: 45%;
        } 
        .interaction-point.five {
            top: 65%; left: 57%;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.1; }
        }
        #popup {
            display: none;
            max-width: 300px;
            position: absolute;
            padding: 0rem;
            /* background: white; */
            /* border: 3px solid black; */
            z-index: 1000;
            opacity: 0;
            animation: fadeIn 0.5s forwards;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .anim_popup_titles {
            position: relative;
            overflow: hidden;
            height: 1.5rem; /* Ajustar la altura al tamaño de un título */
            font-weight: 500;
            margin-bottom: 1rem;
        }
        .anim_popup_titles h2 {
            position: absolute;
            font-size: 1.5rem;
            line-height: 1.5rem;
            font-weight: 600;
            color: var(--neon);
            /* -webkit-text-stroke: 1px black; */
            width: 100%;
            transform: translateY(100%);
            opacity: 0;
            animation: slideUp 6s infinite linear;
        }
        @keyframes slideUp {
            0%, 20% { transform: translateY(100%); opacity: 0; }
            25%, 45% { transform: translateY(0); opacity: 1; }
            50%, 70% { transform: translateY(-100%); opacity: 0; } 
            75%, 100% { transform: translateY(-100%); opacity: 0; }
            
        }
        .anim_popup_titles + p {
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.2;
            transform: translateY(0%); opacity: 0; 
            animation: slideUP2 .8s 1 linear 1.5s forwards;
            display: block;
            color: #fff;
        }
        @keyframes slideUP2 {
            0% { transform: translateY(50%); opacity: 0; }
            100% { transform: translateY(0); opacity: 1;}
        }

         /* Estilos del botón */
         #unmute-button {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background-color: var(--neon);
            color: white;
            border: none;
            padding: 8px 16px;
            /* font-size: 16px; */
            cursor: pointer;
            border-radius: 5px;
            z-index: 1;
            line-height: 1em;
        }
        

        #unmute-button.muted {
            background-color: #555; /* Cambia el color cuando está en mute */
        }

        /* Media query para pantallas móviles (max-width: 768px) */
        @media (max-width: 768px) {
            #unmute-button {
            
            }
            .interaction-point.three{
                top: 50%; left: 38%;
            } 
            .interaction-point.five {
                top: 50%; left: 65%;
            }
            #popup {
                padding-top: 30px;
            }

            video {transform: scale(1); min-height: 100vh;}
        }

#portfolio, #portfolio2 {
    height: 100vh;
}