/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* Estilos Generales */
body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(359deg, #8f8764 0%, #00936d 100%);
    background-attachment: fixed;
    font-family: 'Quicksand', sans-serif;
    color: #ffffff;
}


img { max-width: 100%; height: auto; }

h1{text-decoration: underline;  font-size: xxx-large;}
.link{color: #6441a5; font-weight: 800}
.link:hover{ color: #ffcc00;}

.btn-twitch {
    display: inline-block;
    background: #6441a5;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: 0.3s;
}
.btn-twitch:hover {
    background: #7d5bbe;
    transform: scale(1.05);
}

.making-row h2 {
    font-size: 28px;
    color: #ffcc00;
    margin-bottom: 15px;
}

.making-row ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1); max-width: 100%;
}

/* Navegación Principal */
nav { 
    width: 100%; 
    max-width: 1000px; 
    margin: 20px auto 30px auto; 
}

.menu-header {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
}

.menu-header li a {
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.2s, filter 0.3s, text-shadow 0.2s;
    display: inline-block;
}

.menu-header li a:hover {
    transform: scale(1.15);
    filter: brightness(1.2);
    color: #ffcc00;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}

/* Contenedor de Contenido */
.container {
    display: flex;
    flex-wrap: wrap; 
    max-width: 1250px;
    margin: 0 auto;
    padding: 20px;
    justify-content: center;
}

#sidebar { flex: 1; min-width: 280px; text-align: center; margin-bottom: 20px; }
#contenido { flex: 2; min-width: 320px; max-width: 720px; text-align: center; }
.contenidomaking{max-width: 920px;}

.bloque-contenido p {
    margin: 20px 0;
	padding: 0 50px;
	font-size: 20px;
}

.bloque-contenido p.destacado {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
}

.bloque-making-centro{max-width:600px !important; margin:0 auto;}

/* contenido making of */
/* Contenedor de la fila */
.making-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.bloque-making {

}
.bloque-making p {
    margin: 20px 0;
	padding: 0 10px;
}

/* Invierte el orden: pone la imagen a la izquierda y el texto a la derecha */
.making-row.reverse {
    flex-direction: row-reverse;
}

/* Ajuste de anchos */
.making-row .bloque-making { flex: 1;}
.making-row .making-img { flex: 1;}

.making-img img {	
    width: 100%;
	max-width: 325px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Vídeo Responsive */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    background-color: #000;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-responsive iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* Botón de spoiler */
.btn-spoiler {
	
    background-color: #ff4444; /* Rojo para advertir peligro/spoiler */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    margin: 20px 0;
}

.btn-spoiler:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

/* Contenido oculto */
.spoiler-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0 20px;
}

/* Clase que se activa con JS */
.spoiler-content.visible {
    max-height: 100%; /* Suficiente para el contenido */
    opacity: 1;
    padding: 20px;
    margin-top: 20px;
}

/* Footer */
.main-footer {
    background-color: #2e2e41;
    color: #ffffff;
    padding: 60px 20px 40px;
    text-align: center;
    margin-top: 60px;
    font-family: Arial, sans-serif;
}

.footer-logo img { max-width: 250px; margin-bottom: 20px; }

.icons {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icons a.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
}

.icons a.icon:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-5px);
}

.icons .label { display: none; }

.copyright {
    font-size: 13px;
    color: #aaaaaa;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 800px) {
    .container { flex-direction: column; align-items: center; }
    .menu-header { gap: 15px; font-size: 18px; }
	.bloque-contenido p {padding: 0 15px;}
	.making-row, 
    .making-row.reverse {
        flex-direction: column; /* Apila uno sobre otro */
        text-align: center;
    }
    
    .making-row .bloque-making,
    .making-row .making-img {
        width: 100%;
    }
}