/* Reseteo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* NAV */
.navbar {
    width: 100%;
    background-color: #e8c93d;
    display: flex;
    align-items: center;
    padding: 15px 25px;
}

.logo img {
    width: 60px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: #303030;
    font-size: 1.4rem;
    font-weight: bold;
}

/* CONTENIDO */
.contenedor {
    background-color: #2b2b2b;
    min-height: 100vh;
    padding: 40px 50px;
}

/* ENTRADAS */
.entrada {
    margin-bottom: 80px;
}

.titulo {
    color: white;
    font-size: 2rem;
    margin-bottom: 25px;
}

.fila {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

/* BOX PARA IMAGEN O VIDEO */
.box {
    width: 100%;
    height: 320px;
    background-color: white;
    border-radius: 4px;

    /* Por si quieres colocar imágenes de fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* TEXTO */
.texto {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .fila {
        grid-template-columns: 1fr;
    }

    .box {
        height: 260px;
    }

    .titulo {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {

    .contenedor {
        padding: 25px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .titulo {
        font-size: 1.5rem;
    }

    .texto {
        font-size: 1.1rem;
    }
}

/* Los cuadros ahora soportan imagen de fondo */
.box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: white;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Si usas imágenes internas */
.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}