/* ===============================
   ESTILOS GENERALES PARA PLAYLIST
=============================== */
body {
    background: linear-gradient(180deg, #fff5ec, #ffe8d3);
    color: #5e554c;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* TÍTULO PRINCIPAL */
h1 {
    text-align: center;
    font-size: 30px;
    color: #109272;
    margin-top: 25px;
    margin-bottom: 10px;
    text-shadow: 0px 2px 6px rgba(216, 122, 56, 0.25);
    /* borde de 1px color naranja */

    letter-spacing: 1px;
}

/* SUBTÍTULO */
h3 {
    text-align: center;
    font-size: 20px;
    color: #8c6a50;
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 500;
    text-shadow: 0px 1px 3px rgba(140, 106, 80, 0.2);
}

/* PÁRRAFO DESCRIPTIVO */
p {
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    color: #6c5e54;
    padding: 0 20px;
    opacity: 0.9;
}

/* CONTENEDOR DEL IFRAME */
#contenedor {
    width: 90%;
    max-width: 700px;
    margin: 20px 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    background: #fff5ec;
}

/* IFRAME RESPONSIVE */
#contenedor iframe {
    width: 100%;
    height: 0;
    padding-bottom: 152%;
    /* proporción aproximada de Spotify embed playlist */
    border: none;
}

/* HACK PARA QUE EL IFRAME SE ADAPTE MANTENIENDO ASPECT-RATIO */
#contenedor iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

/* ENVOLTORIO RELATIVO */
#contenedor {
    position: relative;
    padding-bottom: 152%;
}

footer {
    margin-top: 20px;



}

/* ===============================
   RESPONSIVE PARA IPHONE 14 (390px)
=============================== */
@media (max-width: 430px) {
    h1 {
        font-size: 22px;
        margin: 15px 0;
    }

    #contenedor {
        width: 95%;
        padding-bottom: 170%;
        /* un poco más alto para que no se corte */
    }
}