/*
Estilo Navideņo
Laura Rodriguez Moreno
*/


* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #0a2e12; 
    background-image: radial-gradient(white 1px, transparent 1px); /* Efecto nieve sutil */
    background-size: 20px 20px;
    color: #2c3e50;
    font-family: "Georgia", serif;
    line-height: 1.5;
    padding: 20px;
}

#contenedor {
    max-width: 1000px;
    margin: 30px auto;
    background-color: #ffffff;
    border: 12px double #c60d0d; 
    position: relative;
    padding-bottom: 80px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}



#extraDiv1, #extraDiv2 {
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    pointer-events: none; 
}

#extraDiv2 {
    top: 0;
    left: 0;
    width: 100%; 
    height: 450px; 
    background-image: url('programacion.jpg');
    background-size: cover; 
    background-position: center;
    opacity: 0.2; 
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
}

#extraDiv1 {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px; 
    height: 120px; 
    background-image: url('logo.jpg');
    background-size: contain;
    background-position: center;
    z-index: 2;
    filter: drop-shadow(0 0 5px white); 
    pointer-events: none;
}

#extraDiv3 { display: none; }


#intro #titulo {
    padding-top: 150px; 
    position: relative;
    z-index: 3;
}

#intro #titulo h1 span {
    color: #c60d0d;
    font-size: 3.5em; 
    text-align: center;
    display: block;
    font-weight: bold;
    text-shadow: 2px 2px 0px #d4af37; 
    padding: 20px;
}

#enlacesintra {
    background-color: #f8fcf9;
    border-top: 3px solid #165b33; 
    border-bottom: 3px solid #165b33;
    padding: 20px;
    margin: 0 60px 40px 60px;
    text-align: center;
    position: relative;
    z-index: 3;
}

#enlacesintra a {
    color: #165b33;
    font-weight: bold;
    text-decoration: underline;
}

#enlacesintra a:hover,
#enlacesintra a:focus {
    color: #c60d0d;
}

#apartados {
    padding: 0 60px;
    position: relative;
    z-index: 3;
}

#apartados h3 span {
    color: #165b33;
    border-left: 10px solid #c60d0d;
    padding-left: 15px;
    margin-top: 40px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media screen and (max-width: 640px) {
    #contenedor { border-width: 6px; }
    #extraDiv1 { width: 90%; }
    #extraDiv2 { height: 300px; }
    #intro #titulo h1 span { font-size: 2em; }
    #apartados, #enlacesintra { padding: 15px; margin: 10px; }
}