/* Estilo base */
@font-face {
    font-family: 'Built Titling';
    src: url('resources/fonts/BuiltTitlingRG.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    font-family: 'Built Titling', sans-serif;
    position: relative;
    letter-spacing: 2px;
}

/* Contenedor del glitch */
.glitch-wrap {
    position: relative;
    display: inline-block;
    width: 90%;
    max-width: 750px;
    overflow: hidden;
}

.glitch-img{
    width: 100%;
    height: auto;
    display: block;
}

.glitch-layer {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
}

.glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.85;
    pointer-events: none;
    mix-blend-mode: lighten;
}

/* Estilo hero */
.hero {
    display: flex;
    flex-direction: column-reverse;
}

.language-selector {
    position: absolute;
    top: 10px;
    right: 10px;
}

select {
    font-family: 'Built Titling', sans-serif;
    font-size: 1.2rem;
    background: black;
    color: white;
    border: 1px solid white;
    padding: 5px;
    letter-spacing: 2px;
    width: auto;
    min-width: 100px;
}

h1 {
    font-size: 2rem;
    margin-top: 20px;
    letter-spacing: 2px;
}

.attend-message {
    margin-top: 30px;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.attend-link {
    color: #1da1f2;
    text-decoration: none;
    font-weight: bold;
}

.footer {
    position: absolute;
    bottom: 10px;
    font-size: 1.3rem;
    color: white;
    letter-spacing: 2px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.5rem;
    z-index: 1000;
    letter-spacing: 2px;
}

.cookie-banner a {
    color: #1da1f2;
    text-decoration: none;
}

.cookie-banner button {
    background-color: #1da1f2;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 20px;
}

.cookie-banner button:hover {
    background-color: #0d8ecf;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .attend-message {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .cookie-banner {
        font-size: 1.1rem;
    }

    .footer {
        font-size: 1.2rem;
        padding: 0 15px;
    }
}
