html, body {font-family: Arial, Helvetica, sans-serif ;font-size: 16px; margin: 0; padding: 0; width: 100%;}

body { overflow-x: hidden;}




header, ul, li, div, a, img{ box-sizing: border-box; margin: 0; padding: 0; }
header { background: linear-gradient(#fff5 90%, #fff0); width: 100%; height: 150px; padding: 0 2%; box-sizing: border-box; position: fixed; z-index: 10; transition-duration: 2s; }
header.scrolled { background-color: #ddd; border-radius: 0 0 5rem 5rem; }
header nav { height: 100%; display: flex; align-items: center; }
header ul { list-style-type: none; width: 100%; margin: 0; padding: 0 16% 0 5%; display: flex; justify-content: space-between; text-transform: uppercase; font-family: Verdana, Geneva, Tahoma, sans-serif; font-size: 1.5rem; font-weight: 600;}
header a { text-decoration: none; color: #000; transition-duration: 0.5s; }
header a:hover {color: #2229;}
header img { height: 8rem; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition-duration: 1s;}
header img:hover {transform: translate(-55%, -55%);}
.logooo {color: transparent}

noscript {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.ventana {display: flex; background-color: #ddd; flex-direction: column; border-radius: 10px; border: 10px solid red; align-items: center; text-align: center; padding: 2% 5%; max-width: 500px;}
.ventana h2 {margin: 5% 0 6% 0; font-size: 3rem;}
.ventana p {font-size: 1.3rem; margin: 10px;}



.titulo-index {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(#0000 70%, #000f), url(img/escolar-zamora.jpeg);
    background-position: bottom ;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0px;
    text-align: center;
    text-transform: uppercase;
    font-family: "Titan One";
    line-height: 180px;
    font-size: 4rem;
    letter-spacing: 0.1em;
    word-spacing: 0.6em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-self: flex-start;
}
.titulo-index h1 {
    color: #ddd;
    width: 100%;
    margin: 0;
    transition-duration: 1s;
}







.centro-pagina {
    background: linear-gradient(#000f , #06c);
    border-radius: 0%;
    display: flex;
    justify-content: space-evenly;
}

.seccion1-centro-pagina, .seccion2-centro-pagina, .events-widget {
    position: relative;
    background-color: transparent;
    height: 100%;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition-duration: 0.5s;
}

.seccion1-centro-pagina h2, .seccion2-centro-pagina h2, .events-widget h2 {
    font-size: 2rem;
    transition-duration: 0.5s;
}


.seccion1-centro-pagina a {
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    width: 60%
}

.seccion1-centro-pagina a img {
    width: 100%;
}

.seccion1-centro-pagina:empty {
    display: none;
}

.inscribete, .mas-noticias {
    border: 5px solid black;
    text-transform: uppercase;
    background-color: #ff0;
    position: absolute;
    bottom: 20px;
    font-size: 60px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px 40px;
    border-radius: 20px;
    cursor: pointer;
    
}

.inscribete a, .mas-noticias a{ 
    text-decoration: none;
    color: #000;
}

.inscribete:hover, .mas-noticias:hover {
    background-color: #ff0a;
    box-shadow: #000 2px;
    transition-duration: 0.5s;
}

.novedades-centro:empty {display: none;}
.novedades-link:empty {display: none;}

.novedades-container {
    background: #ddd;
    margin: 5% 0;
    border-radius: 10px;
    padding: 25px;
    max-width: 90%;
}

.novedades-container h2 {
    margin-top: 0;
    color: var(--azul-club);
    border-bottom: 5px solid #06c;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.novedades-centro, .novedades-centro-2, .novedades-link, .novedades-link-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.novedades-centro a, .novedades-centro img, .novedades-centro-2 a, .novedades-centro-2 img {
    width: 100%;
}

.novedades-centro img, .novedades-centro-2 img {
    border-radius: 5px;
}

.novedades-link, .novedades-link-2 {
    margin-top: 10px;
}

.novedades-link a:hover, .novedades-link-2 a:hover{
    background-color: #038;
}

.novedades-link a, .novedades-link-2 a, .novedades-link h3 {
    display: flex; 
    text-align: center; 
    background-color: #06c;
    color: white; 
    text-decoration: none; 
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 6px; 
    border-radius: 5px; 
    font-weight: bold;
    transition: 0.2s;
    margin: 0;
    margin-top: auto;
    width: 100%;
}

.novedades-centro-2 {
    margin-top: 1rem;
}





.news-container {
    background: #ddd;
    margin: 5% 0;
    border-radius: 10px;
    padding: 25px;
    max-width: 90%;
}

.news-container h2 {
    margin-top: 0;
    color: var(--azul-club);
    border-bottom: 5px solid #06c;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 20px 0;
}



/* TARJETA */
.news-card {background-color: #ccc; border-radius: 10px; overflow: hidden;box-shadow: 0 1px 5px rgba(1,1,1,1); transition: 0.3s ease;display: flex; flex-direction: row;}
.news-card:hover {box-shadow: 0 1px 10px;}

.card-body { padding: 20px; flex-grow: 1; display: inline-flex; flex-direction: row; gap: 20px; margin: 0;}

.card-meta { font-size: 1.4rem; color: #000; display: flex; justify-content: space-between; align-items: center; text-align: center;}
.card-meta p {font-size: 1.4rem; border-radius: 4px; height: 100%; background-color: #06c4; align-content: center; padding: 0 0.3rem; margin: 0;}
.card-tag { color: var(--azul-club); font-weight: bold; }

.card-title { font-size: 1rem;text-align: justify; margin: 0; color: var(--texto); line-height: 1.4; height: 100%;}
.card-excerpt { font-size: 0.95rem; color: #666; margin-bottom: 20px; flex-grow: 1; }

.btn-cronica-fotos {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    height: 100%;
    gap: 10px;
}

.btn-leermas {
    display: flex; 
    text-align: center; 
    background-color: #06c;
    color: white; 
    text-decoration: none; 
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 6px; 
    border-radius: 5px; 
    font-weight: bold;
    transition: 0.2s;
    margin: 0;
    margin-top: auto;
    height: 70%;
    }

.btn-leermas:hover { background: #038; }

.btn-fotos {
    display: flex; 
    text-align: center; 
    background-color: #06c;
    color: white; 
    text-decoration: none; 
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 6px; 
    border-radius: 5px; 
    font-weight: bold;
    transition: 0.2s;
    margin: 0;
    margin-top: auto;
    height: 70%;
}

.btn-fotos:hover {
    background: #038;
}

.noticias-link {
    width: 100%;
    text-decoration: none;
    color: #000;
    font-size: 1.6rem;
    margin-left: 6px;
    transition-duration: 0.3s;
}

.noticias-link:hover {
    color: #06c;
}











.events-box {
    background: #ddd;
    max-width: 90%;
    margin: 5% 0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.events-box h2 {
    margin-top: 0;
    color: var(--azul-club);
    border-bottom: 5px solid #06c;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-align: center;
}

.mini-event {display: flex; align-items: flex-start;gap: 15px;padding: 15px;margin: 0 0 15px 0;border-radius: 10px;background-color: #06c3; font-family: Arial, Helvetica, sans-serif;font-size: 1.2rem;box-shadow: 0 1px 5px rgba(1,1,1,1); height: 100%; box-sizing: border-box; transition: transform 0.2s, box-shadow 0.2s;  text-align: justify;}

.mini-event:hover {box-shadow: 0 1px 10px;}

/* Estilo para la lista de eventos dentro de la caja */
.mini-list-ul {
    margin: 5px 0 0 0;
    padding-left: 15px;
    font-size: 0.9rem;
    color: #333;
    font-size: 1.2rem;
}

.mini-list-ul li {
    margin-bottom: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
}



.mini-link {
    width: 100%;
    text-decoration: none;
    color: #000;
    font-size: 1.6rem;
    margin-left: 6px;
    transition-duration: 0.3s;
}

.mini-link:hover {
    color: #06c;
}











/*
AZUL 06c
BLANCO ddd
AMARILLO ff0 / ff0a
*/



footer {padding: 0; background-color: #ddd; height: auto; }
.pie ul { padding: 0; list-style-type: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;}
.pie ul li {margin-right: 20px;}
.pie ul li img { background-color: #fff; height: 100px; width: auto; margin: 10px; border: 2px solid #000; padding: 10px; border-radius: 5px; }
.diputacionli {flex-basis: 100%; order: -1; text-align: center; margin: 1rem 0 1.5rem 0;}
#diputacion {height: 180px;}
.copy {padding: 0.6rem; background-color: #038; font-size: 1.2rem; color: #ddd; text-align: justify; font-family: Arial, Helvetica, sans-serif;}


@media (max-width: 1800px) {

    .news-container {text-align: center;}
    .card-body {flex-direction: column;}
    .card-meta p {width: 100%;}
    .btn-cronica-fotos {width: 100%;}

    .box-link {text-align: center;}
}

@media (max-width: 1240px) {
    header {height: 125px;}
    header ul {font-size: 1.2rem; padding: 0;}
    .masinformacion {margin-left: 40px; margin-right: 5vw;}
    header img {height: 6rem; padding: 0;}
    header.scrolled {border-radius: 0 0 2rem 2rem;}

    .titulo-index {line-height: normal; font-size: 3rem;}

    .centro-pagina {flex-direction: column;}

    .seccion1-centro-pagina {height: auto; width: 100%;}
    .novedades-container {text-align: center; width: 100%;}
    .btn-cronica-fotos {width: 100%;}
    .novedades-container a {width: 40%;}

    .seccion2-centro-pagina {height: auto; width: 100%;}
    .news-container {text-align: center;}
    .card-meta p {width: 100%;}
    .btn-cronica-fotos {width: 100%;}

    .events-widget {width: 100%;}
    .events-box {width: 100%; text-align: center; margin: 0 0 10% 0;}
    .mini-event {flex-direction: column}
    .mini-date {border-bottom: 1px solid #000;}

    .pie ul li img {height: 50px; margin: 5px; padding: 5px;}
    #diputacion {height: 100px;}
}

@media (max-width: 767px) {
    header {height: 100px;}
    header ul {font-size: 1rem; padding: 0; display: flex; flex-wrap: wrap;}
    header img {height: 4rem; padding: 0;}
    header.scrolled {border-radius: 0 0 2rem 2rem;}
    .masinformacion { transform: translateY(-5.5vh); margin: 0; margin-left: 30vw; text-align: center;}
    .noticiasli, .calendarioli {flex: 1 0 100%;}
    .nadali, .masinformacion {flex: 1; box-sizing: border-box; display: flex;}
    .noticiasli {margin-top: 2.5rem; margin-bottom: 1rem; margin-left: 2vw;}

    .titulo-index {line-height: normal; font-size: 1.6rem;}
    .titulo-index h1 {margin-bottom: 2rem;}

    .centro-pagina {flex-direction: column;}

    .seccion1-centro-pagina h2, .seccion2-centro-pagina h2, .events-widget h2 {font-size: 1.6rem;}

    .novedades-container a {width: 100%;}

    .seccion2-centro-pagina {height: auto; width: 100%;}
    .news-container {text-align: center;}
    .card-body {flex-direction: column;}
    .card-meta p {width: 100%;}
    .btn-cronica-fotos {width: 100%;}

    .events-widget {width: 100%;}
    .events-box {width: 100%; text-align: center; margin: 0 0 10% 0;}
    .mini-event {flex-direction: column;}
    .mini-date {border-bottom: 1px solid #000;}

    .pie ul li img {height: 50px; margin: 5px; padding: 5px;}
    #diputacion {height: 100px;}
    .copy {font-size: 0.8rem;}
}

@media (max-width: 480px) {
    .noticiasli {margin-left: 4vw;}
    .seccion1-centro-pagina h2, .seccion2-centro-pagina h2, .events-widget h2 {font-size: 1.4rem;}
}

@media (max-width:350px) {header ul {font-size: 0.8rem;}}

@media (max-width: 350px) {.titulo-index {font-size: 1rem;}}

@media (max-width: 300px) {
    header ul {font-size: 0.6rem}
    .noticiasli {margin-top: 1.5rem; margin-bottom: 0.5rem; margin-left: 1.9vw;}
    .masinformacion {transform: translateY(-4vh);}
    .titulo-index {font-size: 1rem;}
    .copy {font-size: 0.6rem;}
}

@media (max-width: 250px) {.titulo-index {font-size: 0.6rem;} #diputacion {height: 80px;}}
