/* Estilos Generales */
:root {
    --color-primario: #0C0D92; 
    --color-secundario: #0036FF;  
    --color-acento: #FF9800;
    --color-fondo: #f4f4f4; 
    --color-texto: #3a3a3a; 
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--color-texto);
    background-color: var(--color-fondo);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: var(--color-primario);
    text-decoration: none;
}

a:hover {
    color: var(--color-secundario);
    text-decoration: underline;
    transition: color 0.3s ease-in-out;
}

/* Header */
header {
    background-color: white;
    padding: 0.5rem 2rem;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: space-around; 
    align-items: center; 
}

#logo img {
    margin-top: 10px;
    height: 50px;
    width: auto; 
}

#logo img:hover{
    transform: scale(1.05);
}
.social-icons {
    display: flex;
    justify-content: end;
}

.social-icon {
    height: 25px; 
    margin-left: 10px;
}

.social-icon:hover {
    transform: scale(1.05);
}

h2 {
    color: #0C0D92;
    text-align: center;
    margin-bottom: 5px;
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Estilos para la sección "Title" */
#title {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    margin: 0 auto;
    transition: transform 0.3s ease;
    margin-top: 0;
    padding-top: 0.5rem;
    width: 100%;
    gap: 20px;
}

.left-side {
    margin-left: 20px;
    margin-top: 50px;
    justify-content: center;
    align-items: center;
}

#title .left-side img {
    width: 700px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

#title h1 {
    color: var(--color-primario);
    font-size: 3.5rem;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
}

#animatedTitle span {
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease; 
}

#animatedTitle span:hover {
    transform: scale(1.5);
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#title .content {
    display: flex;
    flex-direction: column;
    max-width: 600px;
}

#title .content h2 {
    margin-top: -50px;
}

/* Estilos para la sección "About" */
#about {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin: 20px 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#about p {
    color: var(--color-texto);
    text-align: left;
    font-size: 16px;
}

#about:hover {
    transform: scale(1.05);
} 

/* Sticker genZ*/
.genz-sticker {
    position: relative;
    top: 20px; 
    left: 70%;
    transform: translateX(-50%) rotate(10deg);
    background-color: var(--color-acento);
    color: white;
    width: 280px;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    z-index: 100; 
    transition: transform 0.5s ease, text-shadow 0.5s ease; 
}

.genz-sticker:hover {
    transform: scale(1.2) rotate(-5deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#subscribe1 {
    background-color: var(--color-fondo); 
    color: var(--color-texto);
    padding: 0rem;
    text-align: center;
    margin-bottom: 20px;
}

#subscribe1 p {
    margin-bottom: 1rem;
    line-height: 1.8; 
    font-size: 1.2rem;
}

#subscribe1 iframe {
    border: none; 
    width: 100%; 
    max-width: 500px; 
    margin: 0 auto;
    margin-bottom: 30px;
    height: 52px;
    background-color: white;
    border-radius: 5px; 
}

/* Estilos para la sección "Team" */
#team {
    background-color: white;
    text-align: center;
    padding: 0.5rem;
    width: 100%;
}

#team p {
    color: var(--color-texto);
}

.team-member {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.6rem;
    color: #0C0D92;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.team-member img {
    max-width: 200px;
    height: auto;
    border-radius: 0px;
    margin-bottom: 0.5rem;
}

.social-icon {
    width: 20px;
    height: auto;
    margin-top: 0.2rem;
}

.social-icon:hover {
    transform: scale(1.05);
}

/* Sticker Marketing*/
.marketing-sticker {
    position: relative;
    top: 55px; 
    left: 20%;
    transform: translateX(-50%) rotate(-30deg);
    background-color: var(--color-acento);
    color: white;
    width: 200px;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    z-index: 100; 
    transition: transform 0.5s ease, text-shadow 0.5s ease; 
}

.marketing-sticker:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Sticker Production*/
.production-sticker {
    position: relative;
    top: 65px; 
    left: 43%;
    transform: translateX(-50%) rotate(-30deg);
    background-color: var(--color-acento);
    color: white;
    width: 230px;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    z-index: 100; 
    transition: transform 0.5s ease, text-shadow 0.5s ease; 
}

.production-sticker:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Estilos para la sección "Episodios" */
#episodes {
    background-color: var(--color-fondo);
    padding: 2rem;
    text-align: center;
}

#episodes p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.25rem;
}

.episodes-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    align-items: center;
}

.episodes-container iframe {
    min-width: 400px;
    height: 320px;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.episodes-container iframe:hover {
    transform: scale(1.05); 
}

/* Estilos para la sección "Subscribe" */
#subscribe {
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    background-color: #0C0D92;
}

#subscribe h2 {
    color: var(--color-acento);
    margin-bottom: 1rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#subscribe p {
    margin-bottom: 1.5rem;
    line-height: 1.8; 
    font-size: 1.25rem;
}

#subscribe iframe {
    border: none; 
    width: 100%; 
    max-width: 500px; 
    margin: 0 auto;
    margin-bottom: 30px;
    height: 52px;
    background-color: white;
    border-radius: 5px; 
}

#subscribe a {
    display: block;
    color: var(--color-acento);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1.3rem;
}

#subscribe a:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.media-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    height: 20px;
    width: auto;
}

footer p {
    margin: 0;
    color: #666;
    font-size: 15px;
    order: 1;
}

footer hr {
    width: 100%;
}

.copyright {
    margin-top: 25px;
    font-size: 0.7rem;
    color: #666;
}

/* Media Queries para pantallas menores a 768px (tabletas y móviles) */
@media screen and (max-width: 768px) {
    /* Ajustes para el header */
    header {
        display: flex;
        flex-direction: row;
        align-items: left;
        padding:  1rem 1rem;
        margin-top: 30px;
        width: 100%;

    }

    #title {
        flex-direction: column;
        align-items: center;
    }

    .left-side{
        display: flex;
        flex-direction: column;
        align-items: right;
    }

    #title .left-side img {
        max-width: 500px;
    }

    #logo img {
        height: 50px;
        width: auto;
    }

    .social-icon {
        height: auto;
        width: 30px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        height: 20px;
        width: auto;
    }

    #title h1 {
        font-size: 2.5rem;
    }

    #about {
        padding: 20px;
        max-width: 100%; 
    }

    iframe {
        width: 100%;
        height: 30px;
        font-size: 60%;
    }

    #team h2 {
        font-size: 40px;
    }

    .genz-sticker, .marketing-sticker, .production-sticker {
        font-size: 1rem;
        width: 200px;
        top: 30px;
        left: 52%;
        transform: translateX(-20%) rotate(10deg);
    }

    .genz-sticker:hover, .marketing-sticker:hover, .production-sticker:hover {
        transform: scale(1.1) rotate(-5deg);
    }

    /* Ajustes para los miembros del equipo */
    .team-member {
        width: 50%;
        margin: 1rem 0; /* Ajuste de margen para que no estén muy juntos */
    }

    /* Ajustes para imágenes del equipo */
    .team-member img {
        width: 100%; /* Hace que las imágenes sean fluidas */
    }

    .team-member .social-icon {
        height: 50px;
        width: auto;
    }

    /* Ajustes para la sección de episodios */
    .episodes-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
        align-items: center;
    }

    .episodes-container iframe {
        min-width: 250px; 
        height: 200px;
    }

    /* Ajustes para la sección de suscripción */
    #subscribe iframe {
        width: 90%; /* Ajusta el ancho para evitar desbordamiento */
    }
}

/* Media Queries para pantallas menores a 480px (móviles) */
@media screen and (max-width: 480px) {
    /* Ajustes adicionales para pantallas aún más pequeñas */

    header{
        width: 100%;
        gap: 20px;
        align-items: center;
    }

    h2 {
        font-size: 20px; 
    }

    #about p, #episodes p, #subscribe p {
        font-size: 14px; 
    }

    .social-icon{
        height: 25px; 
        width: auto;
    }

    .team-member .social-icon {
        height: 30px;
        width: auto;
    }

    .episodes-container iframe {
        min-width: 250px; 
        height: 200px;
    }

    .genz-sticker, .marketing-sticker, .production-sticker {
        font-size: 0.7rem;
        width: 150px;
    }
}
