@font-face {
  font-family: 'Posterama 2001';
  src: url('/assets/fonts/Posterama-2001-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* 1. Resetear márgenes y asegurar que ocupe todo el navegador */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
}

/* 2. El truco de escalado nativo (Funciona igual que object-fit: cover) */
    .video-container video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        object-fit: cover; /* Evita que el video se deforme */
}

/* 3. Capa oscura opcional para que el texto resalte más */
    .overlay-oscuro {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); /* 40% de opacidad negra */
        z-index: -99;
}

/* 4. Contenido de la página web */
    .content-overlay {
        position: relative;
        z-index: 1;
        color: #ffffff;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        text-align: center;
        padding-top: 35vh;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

    .content-overlay h1 {
        font-size: 3.5rem;
        margin-bottom: 10px;
        letter-spacing: 2px;
}

    .content-overlay p {
        font-size: 1.5rem;
        opacity: 0.8;
        font-family: 'Posterama 2001', sans-serif;
}

/* 5. Responsive image */
    .responsive-img {
        /* Responsiveness */
        max-width: 100%;    /* Prevents the image from scaling past its original size */
        height: auto;       /* Maintains the aspect ratio dynamically */
            
        /* Centering */
        display: block;     /* Changes image from default inline to block element */
        margin: 0 auto;     /* Centers the block element horizontally */
}

