body {
    font-family: 'Forum', serif;
    margin: 0;
    padding: 0;
    background-color: #2A9D8F;
    color: #f3eef7;
    scroll-behavior: smooth;
}

/* header- */
header {
    background-color: #f4efc9;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav a {
    text-decoration: none;
    color: #264653;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
    white-space: nowrap;
}

header nav a:hover {
    color: #2a9d8f;
}

.btn-navigation {
    color: rgb(10, 10, 10);
    text-decoration: solid;
    font-size: 1.4em;
    padding: 15px 10px;
    border-radius: 10px;
    display: inline-block;
    font-weight: bold;
    transition: 0.1s;
}

.btn-navigation:hover {
    background-color: #f38f4d;
    color: rgb(25, 5, 5);
    font-size: 1.6em;
    text-shadow: 0 0 10px 10px #e99072;
    font-weight: bolder;
    transition: 0.1s;
}

/* banner */
#inicio {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 80vh;
    position: relative;
    background-color: #000;
}

.contenedor-video {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-fondo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
}

.contenido-banner {
    position: absolute;
    text-align: center;
    z-index: 10;
}


.contenido-banner h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.contenido-banner p {
    font-size: 1.2em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

@keyframes demo_button_idle {
    from {
        font-size: 1.45em;
    }

    to {
        font-size: 1.55em;
    }
}

@keyframes demo_button_hover {
    from {
        background-color: #ee7f63;
    }

    to {
        background-color: #f5937b;
    }
}

.btn-demo {
    background-color: #E9C46A;
    color: rgb(10, 10, 10);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
    box-shadow: 0 0 1.1em #E9C46A;
    animation-name: "demo_button_idle";
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.btn-demo:hover {
    color: rgb(251, 255, 233);
    background-color: #ee7f63;
    box-shadow: 0 0 1.1em #ee7f63;
    font-size: 1.8em;
    transition: 0.1s;
    animation-name: "demo_button_hover";
    animation-duration: .2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* secciones */
section {
    padding: 80px 40px;
    text-align: center;
}

.seccion-clara {
    background-color: #2A9D8F;
    color: #fff;
}

.seccion-oscura {
    background-color: #264653;
    color: #fff;
}

@keyframes h1_idle {
    0% {
        border-bottom: 2px solid transparent;
    }

    50% {
        border-bottom: 2px solid #E9C46A;
    }

    100% {
        border-bottom: 2px solid transparent;
    }
}

h1 {
    font-size: 5em;
    margin: 0px 0px;
    display: inline-block;
    padding-bottom: 10px;
    animation-name: "h1_idle";
    animation-duration: 1s;
    animation-iteration-count: infinite;
    text-shadow: 1em #0f1c2e;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    border-bottom: 2px solid #E9C46A;
    display: inline-block;
    padding-bottom: 10px;
}

.subtitulo {
    font-size: 2em;
    margin-top: 60px;
    margin-bottom: 30px;
}

/*contenido*/
.contenedor-tarjetas {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contenedor-tarjetas.vertical {
    flex-direction: column;
    align-items: center;
}

.tarjeta {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 40%;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tarjeta h3 {
    color: #f0d79a;
    margin-top: 0;
    font-size: 3em;
}

.tarjeta h4 {
    margin-top: 0;
    font-size: 1.5em;
    font-style: normal;
}

.contenedor-tarjetas.vertical .tarjeta {
    width: 80%;
    max-width: 800px;
}

/* miembros*/
.grid-miembros {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

@keyframes miembro_idle {
    from {
    border: 4px solid #b67f53;
    }

    to {
    border: 4px solid #E9C46A;
    }
}

.miembro {
    text-align: center;
}

.miembro h4{
    font-size: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.miembro img {
    width: 200px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E9C46A;

    animation-name: "miembro_idle";
    animation-direction: alternate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

/* capturas modo galeria */
.galeria-capturas {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.galeria-capturas img {
    width: 300px;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.galeria-capturas img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* footer */
footer {
    background-color: #0f1c2e;
    padding: 40px;
    text-align: center;
}

footer h2 {
    color: #E9C46A;
    border-bottom: none;
    margin-bottom: 10px;
}

footer .links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .links img {
    transition: transform 0.1s;
}

footer .links img:hover {
    transform: translateY(-5px);
}

/* responsividad*/
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }

    header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .contenido-banner h1 {
        font-size: 2em;
    }

    .tarjeta {
        width: 100%;
        box-sizing: border-box;
    }

    section {
        padding: 50px 20px;
    }
}