/* styles.css */

body {
    font-family: 'Arial', sans-serif;
    margin: 5;
    padding: 0;
    min-height: 100vh;
    text-align: center;
    color: white;
    position: relative;
    overflow-x: hidden;
}

.content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin: 40px auto;
    width: 90%;
}

header {
    margin-bottom: 20px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    object-fit: cover;
    margin-bottom: 15px;
}

h1 {
    font-size: 10px;
    margin: 10px 0;
    color: #fff; /* Título en blanco */
}

h3 {
    font-size: 34px;
    margin: 15px 0;
    color: #fff;
}

h4 {
    font-size: 22px;
    font-weight: normal;
    margin: 10px 0;
    line-height: 1.4;
}

p {
    font-size: 14px;
    color: #ddd; /* Texto de descripción más suave */
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.6;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    justify-content: center;
    gap: 15px; /* Espacio entre la imagen y el texto */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.link-img {
    width: 40px;  /* Ajusta el tamaño de la imagen */
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

a {
    color: #007bff;
}

i {
    font-size: 20px;
}

.link i {
    margin-right: 10px; /* Espacio entre el icono y el texto */
}

.background-images-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(to bottom, #30367A, #71AB41, #518D41, #315628, #BFDFF8);
    overflow: hidden;
    pointer-events: none;
}

.background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.background-images.visible {
    opacity: 1;
}

.background-images.fade {
    opacity: 1;
}

/* Media Queries para Responsividad */
@media screen and (max-width: 768px) {
    .content {
        padding: 15px;
        width: 95%;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 13px;
    }

    .link {
        padding: 10px;
        font-size: 14px;
    }

    .link-img {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 480px) {
    .content {
        padding: 10px;
        width: 100%;
    }

    h1 {
        font-size: 18px;
    }

    p {
        font-size: 12px;
    }

    .link {
        padding: 8px;
        font-size: 13px;
    }

    .link-img {
        width: 30px;
        height: 30px;
    }

    .links {
        gap: 15px;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media screen and (max-width: 320px) {
    .content {
        padding: 8px;
    }

    h1 {
        font-size: 16px;
    }

    p {
        font-size: 11px;
    }

    .link {
        padding: 6px;
        font-size: 12px;
    }

    .link-img {
        width: 25px;
        height: 25px;
    }
}

/* Ajustes para pantallas grandes */
@media screen and (min-width: 1200px) {
    .content {
        max-width: 1000px;
    }

    h1 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .link {
        padding: 15px;
        font-size: 18px;
    }

    .link-img {
        width: 45px;
        height: 45px;
    }
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}

.video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Así el video siempre se verá completo */
    border: 0;
    background: #000; /* Opcional: para que las barras sean negras */
}

/* Efecto de scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.logo-aniversario {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .logo-aniversario {
        max-width: 200px;
    }
}

.inline-logo {
    height: 0.9em;
    vertical-align: middle;
    margin: 0 0.2em;
}
