/* Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    position: relative;
}
/* Logo */
.logo-morelos {
    width: 15rem;
}
/* Contenido (text y video) */
.container {
    width: 100%;
    max-width: 1200px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* Texto */
.text-content {
    padding: 20px;
    text-align: justify;
}

.text-content h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #283c2a;
}

.text-content .text{
    font-size: 2rem;
    font-weight:550;
}
.text-content p {
    font-size: 1.2rem;
    color: #8e6238;
    margin-bottom: 20px;
}

/* Video */
.video-content {
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.video-content video {
    max-width: 100%;
    height: auto;
    max-height: 30rem;
    display: block;
}

/* pleca */
footer {
    width: 100vw;
    height: 4vh;
    overflow: hidden;
    position: relative;
    margin-top: auto;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4vh;
    background-image: url('../images/pleca.svg');
    background-repeat: repeat-x;
    background-size: contain;
}
/* dispositivos pequeños */
@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }
    .text-content .text {
        font-size: 1.4rem;
    }
    .text-content p {
        font-size: 1rem;
    }

    .video-content video {
        margin-top: -50px;
        max-height: 20rem;
    }

    footer {
        height: 4vh;
    }

    footer::before {
        width: 100%;
        background-size: auto 100%;
    }
}
/* dispositivos medianos */
@media (max-width: 1024px) {
    .text-content h1 {
        font-size: 3rem;
    }
    .text-content .text {
        font-size: 2rem;
    }
    .text-content p {
        font-size: 1.3rem;
    }

    .video-content video {
        max-height: 25rem;
    }
}
/* dispositivos grandes */
@media (min-width: 1600px) {
    .video-content video {
        max-height: 45rem;
    }
}