@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@400;500&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: white;
    height: 100%;
    overflow: hidden;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 20px;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.header {
    position: relative;
    z-index: 1;
    margin-top: 70px; /* Ajuste para subir el header */
}

.logo-image {
    max-width: 200px;
    height: auto;
}

.main-content {
    position: relative;
    z-index: 1;
    max-width: 80%;
    text-align: center;
    margin-top: 30px; /* Ajuste para bajar el contenido principal */
}

h1 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

h1 span {
    display: inline-block;
    position: relative;
}

h1 span::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    bottom: -5px;
    left: 0;
}

p {
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin: 20px 0; /* Ajuste para mantener el contenido centrado */
}

.subscription {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px; /* Ajuste para la separación correcta */
    margin-bottom: 40px; /* Asegurar espacio suficiente */
}

input[type="email"] {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    width: 100%; /* Asegurar ancho completo */
    max-width: 300px;
    outline: none;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    background-color: #FF6F31;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%; /* Asegurar ancho completo */
    max-width: 150px;
}

button:hover {
    background-color: #FF5A1A;
}

.footer {
    position: relative;
    z-index: 1;
    margin-bottom: 40px; /* Ajuste para separar el footer */
}

.instagram-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.instagram-link i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .logo-image {
        max-width: 150px;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 20px; /* Asegurar margen para visibilidad */
    }

    .subscription {
        margin-bottom: 30px; /* Asegurar espacio suficiente para el footer */
    }

    .footer {
        margin-bottom: 20px; /* Asegurar visibilidad del footer */
    }
}
