* {
    margin: 0%;
    padding: 0%;
    scroll-behavior: smooth;
    box-sizing: border-box;
}


#inicio {
    width: 100%;
    height: 650px;
    background-image: url(name.jpeg);
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}

#ini {
    width: 100%;
    height: 650px;
    background-image: url(fondo_egipto3.jpg);
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}

#ini1 {
    width: 100%;
    height: 650px;
    background-image: url(pisa2.webp);
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}

#in {
    width: 100%;
    height: 650px;
    background-image: url(recursos3ç.webp);
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}

#in12 {
    width: 100%;
    height: 650px;
    background-image: url(china3.jfif);
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}

#sociales::after {
    content: ''; /* Agrega contenido al pseudo-elemento */
    display: block;
    width: 300px; /* Ancho de la línea */
    height: 2px; /* Grosor de la línea */
    background-color: #1e2df3; /* Color de la línea */
    margin: 10px auto 0; /* Margen superior para centrar la línea y margen inferior opcional */
}

#inicio #contenido {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

#ini #contenido {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

#ini1 #contenido {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

#in #contenido {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

#in12 #contenido {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}


#header {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: space-between;
}

.titulo1 img {
    height: 100%;

}

.titulo3 img {
    height: 80%;

}



.titulo {

    height: 100%;
    font-size: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.titulo2 {

    height: 100%;
    font-size: 250%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;

}

.titulo1 {
    height: 100%;
    margin: 20px;

}  

.titulo3 {
    height: 100%;
    margin: 20px;
    margin: right 40px;;

}  


.menu {
    height: 100%;
    width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contend {
    width: 100%;
}

#divtitulo {
    width: 100%;
    height: 120px;
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center
}

#title {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: white;
    font-size: 400%;
}

#sociales {
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#texto {
    margin-left: 10%;
    margin-right: 10%;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 120%;
    
}

.linea {
    border-top: 3px solid #1e2df3;
    height: 2px;
    max-width: 400px;
    padding: 0;
    margin: 0 auto 0 auto;
  }

#divcontenido {
    width: 100%;
    height: 100px;
    margin-top: 60px;
    display: flex;
    align-items: center;
}

#punto {
    color: #1e2df3;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


nav {
    position: relative;
    font-size: 1.75rem;
    font-weight: bold;
}

nav a {
    color: white;
    margin: 0 2rem;
    text-decoration: none;
}

#underline {
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #1e2df3;
    left: 0;
    bottom: -1rem;
    transition: 0.5s ease;
}

a {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 80%;
}

#datos {
    width: 100%;
    height: 770px;
    background-color: brown;
}

#enlace {
    border: 3px solid #1e2df3;
    border-radius: 10% 10% 10% 10% / 48% 47% 52% 51% ;
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 90%;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-sizing: content-box;
}

#enlace:active {
    background-color: #1e2df3;
}

#divboton {
    width: 100%;
    height: 40px;
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

#bienvenida {
    width: 100%;
    height: 690px;
    background-image: url(fondo4.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

.contenidobien {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

#juego_fondo {
    width: 100%;
    height: 560px;
    background-image: url(china5.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

#juegofondo {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}


.flex {
    width: 100%;
    height: 100%;
    display: flex;
}

.titulo {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.titulos {
    color: #fff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 600%;
    margin-top: 70px;
}

.contenidos {
    box-sizing: border-box;
    width: 65%;
    height: 690px;
    padding: 75px;
    margin-top: 40px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #fff;
    text-align: justify;
}


.imagenes {
    width: 35%;
    height: 400px;
    margin-top: 40px;
    border-radius: 50%;
    margin-right: 80px;
    background-image: url(img.png);
    background-size: cover;
    box-shadow: inset 0 0 20px #000,
                inset -40px -10px 20px rgba(3, 32, 56, 0.7);
    animation: world 5s linear infinite;
}

@keyframes world {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: -800px;
    }
}

.lineas {
    border-top: 3px solid #ffffff;
    height: 2px;
    max-width: 300px;
    padding: 0;
    margin: 0 auto 0 auto;
}

.line {
    border-top: 3px solid #ffffff;
    height: 2px;
    max-width: 200px;
    padding: 0;
    margin: 0 auto 0 auto;
}

.pie {
    width: 100%;
    height: 250px;
    background-color: #000000;
}

.mandarina{
    display: flex;
    justify-content: center;
}

.caja {
    margin: 15px;
    margin-top: 20px;
    color: white;
}

.pie h3 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.caja p {
    margin-top: 12px;
}

.contac {
    margin-left: 50px;
    font-size: 250%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.titulopie {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.redes {
    width: 40%;
    height: 40%;
    justify-content: center;
    align-items: center;
    margin-left: 3%;
    margin-top: 30px;
}

.info {
    width: 40%;
    height: 40%;
    justify-content: center;
    align-items: center;
    margin-right: 3%;
    margin-top: 30px;
}

.titulofooter {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: flex;
    justify-content: center;
    font-size: 120%;
    color: #ffffff;
}

.contenidofooter {
    width: 100%;
    height: 30px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.contef {
    width: 40%;
    height: 100px;
    margin-left: 3%;
    margin-right: 3%;
    align-items: center;
}

.infofo {
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    color: #2e2e2e;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 90%;
}

a {
    text-decoration: none;
    color: #2e2e2e;
}

.all {
    width: 100%;
    height: 100%;
}

#titulodatos {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}


.divimagen {
    width: 100%;
    height: 200px;
    background-color: aqua;
}

.titul {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 600%;
    color: #fff;
}

.conte-datos {
    width: 100%;
    height: 660px;
    background-image: url(impresionante-fondo-pantalla-realista-espacio-profundo-estrellado-astrofotografia-universo-cosmos-espacio-fondo-generativo-ai_742252-11349.avif);
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}


.conte-datos .contenidodatos {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

.interiordatos {
    width: 100%;
    height: 510px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrusel {
    width: 80%;
    height: 100%;
}

/*sisas*/
.slide {
    position: relative;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.64);
    margin-top: 26px;
}
.slide-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: calc( 400px + 3em);
}
.slide-open:checked + .slide-item {
    position: static;
    opacity: 100;
}
.slide-item {
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
}
.slide-item img {
    display: block;
    height: auto;
    max-width: 100%;
}
.slide-control {
    background: rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 40px;
    height: 40px;
    line-height: 35px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    cursor: pointer;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    width: 40px;
    z-index: 10;
}
.slide-control.prev {
    left: 2%;
}
.slide-control.next {
    right: 2%;
}
.slide-control:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #aaaaaa;
}
#slide-1:checked ~ .control-1,
#slide-2:checked ~ .control-2,
#slide-3:checked ~ .control-3 {
    display: block;
}
.slide-indicador {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.slide-indicador li {
    display: inline-block;
    margin: 0 5px;
}
.slide-circulo {
    color: #828282;
    cursor: pointer;
    display: block;
    font-size: 35px;
}
.slide-circulo:hover {
    color: #aaaaaa;
}
#slide-1:checked ~ .control-1 ~ .slide-indicador 
     li:nth-child(1) .slide-circulo,
#slide-2:checked ~ .control-2 ~ .slide-indicador 
      li:nth-child(2) .slide-circulo,
#slide-3:checked ~ .control-3 ~ .slide-indicador 
      li:nth-child(3) .slide-circulo {
    color: #1e2df3;
}

#tit {
    width: 100%;
    position: absolute;
    padding: 0px;
    margin: 0px auto;
    text-align: center;
    font-size: 27px;
    color: rgba(255, 255, 255, 1);
    font-family: 'Open Sans', sans-serif;
    z-index: 9999;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.33), 
         -1px 0px 2px rgba(255, 255, 255, 0);
}

.interiordatos h1 {
    color: white;
}


.mbanner {
    width: 100%;
    height: 350px;
    background-color: rgb(0, 0, 0);
    justify-content: center;
    align-items: center;
}

.banner {
    width: 100%;
}

.my-carousel-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.my-carousel-slide {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.my-slide {
    min-width: 100%;
    height: 350px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
}

.carousel-button {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.my-prev { left: 0; }
.my-next { right: 0; }

.carousel-button:hover, .carousel-button:active {
    background-color: rgba(0, 0, 0, 0.5);
}

nav{
    max-width: 850px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 25px;
    margin-top: 50px;
    border-bottom: 3px solid #1e2df3 ;
}

.menu-horizontal{
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.menu-horizontal li a{
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
}

.menu-horizontal li:hover{
    background-color: #1e2df3;
}

.menu-vertical{
    position: absolute;
    display: none;
    list-style: none;
    width: 207.48px;
    background-color: rgba(84, 79, 79, 0.2);
    border: 3px solid #1e2df3;
    
}

.menu-horizontal li:hover .menu-vertical{
    display: block;
}

.menu-vertical li:hover{
    background-color: rgba(0, 0, 0, .5);
}

.menu-vertical li a{
    display: block;
    color: white;
    padding: 15px 15px 15px 20px;
}



#libro{
    width: 100%;
    height: 430px;
    background-image: url(eventos4.webp);
    background-size: cover;
    background-position: center;
    position: relative;
}

.titulo_libro{
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.libros_link{
    max-width: 1200px;
    margin: auto;
    height: 290px;
    background-color: rgba(0, 0, 0, .5);
}

.libross h1{
    color: #fff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 23px;
}

.libross a{
    color: #fff;
    margin: auto;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 100%;
}

.libross li{
    margin-bottom: 20px;
}


.temas-horizontal{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.titulo_libro h1{
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 350%;
}


#prelibro {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .77);
    opacity: 1;
}



/* carrusel jijija*/

.fotos_recursos{
    height: 500px;
    background-image: url(fondo_grecia2.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

.fotosrecursos{
    position: absolute;
    padding: 20px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}


#slider {
    transform: translate(0);
  }

.container-carousel{
    width: 500px;
    height: 300px;
    background-color: #e0e0e0;
    box-shadow: 0 0px 32px 0 rgba(0, 0, 0, .66);
    border-radius: 15px;
    overflow: hidden; 
    position: relative;
}

.carruseles{
    width: 2000%;
    height: 100%;
    display: flex;
}

.slider-section{
    width: calc(100% / 20);
    height: 100%;
}

.slider-section img{
    width: 500px;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.btn-left,
.btn-right {
    display: flex;
    position: absolute;
    top: 50%;
    font-size: 1.5rem;
    background-color: transparent;
    border-radius: 50%;
    padding: 5px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff81;
    transform: translate(0,-50%);
    transition: .5s ease;
    user-select: none;
}

.btn-left{
    left: 10px;
}

.btn-right{
    right: 10px;
}

.btn-left:hover,
.btn-right:hover {
    background-color: #333333d4;
    color: white;
}

/*Calendario*/


.calendar {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#fondo_calendario{
    height: 475px;
    background-image: url(fondoeventos2.jpeg);
    background-size: cover;
    background-position: center;
    position: relative;
}


.fondocalendario{
    position: absolute;
    padding: 20px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

#fondo_calendario1{
    height: 475px;
    background-image: url(pisa.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

.fondocalendario1{
    position: absolute;
    padding: 20px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.weekday-labels {
    display: flex;
    justify-content: space-around;
}

.day-label {
    text-align: center;
    background-color: #f5f5f5;
    padding: 5px;
    font-weight: bold;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-top: 10px;
    place-items: center; /* Centra tanto horizontal como verticalmente */
}
.calendar-cell {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    flex-direction: column; /* Añade un contenedor de columna para centrar verticalmente */
    align-items: center;
    justify-content: center;
    text-align: center; /* Centra el contenido horizontalmente */
    padding: 0; /* Reduce el relleno para centrar mejor el contenido */
    border: none;
    margin-bottom: 15px;
}

/* Establece el color de texto en rojo solo para los sábados y domingos con números */

/* Cambio de color al pasar el mouse, excepto para el día actual con fondo azul */
.calendar-cell:hover:not(.current-day):not(:empty) {
    background-color: #d8d8d8; /* Color de fondo gris claro al pasar el mouse */
}

.current-day {
    background-color: #4644ce;
    color: white;
    font-weight: bold;
}

.calendar-cell:hover {
    cursor: pointer;
}

.nav-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    width: 40px; /* Ancho fijo para hacer el botón redondo */
    height: 40px; /* Alto fijo para hacer el botón redondo */
    border-radius: 50%; /* Hace que el botón sea redondo */
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
}

/* Cambia el fondo de los botones de navegación al pasar el mouse */
.nav-button:hover {
    background-color: #d8d8d8; /* Color de fondo gris claro al pasar el mouse */
}


/* Juego */

#juego_fondo section {
    width: 700px;
    height: 400px;
    background-color: #222222b2;
    border: 5px solid #1e2df3;
    color: #000;
    padding: 7px;
    margin: auto; /* Agregamos esta línea para centrar horizontalmente */
}
#juego_fondo h2{
    border-bottom: 1px solid #1e2df3;
    color: white;
    text-align: center;
    padding-bottom: 5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#palabra {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.letra{
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    border: 2px solid #1e2df3;
    color: white;
    text-align: center;
    margin: 4px;
    padding-top: 5px;
    font-weight: 600;
    font-size: 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.pintar{
    background-color: #1e2df3;;
}
.pintarError{
    background-color: red;
}
#juego_fondo h3{
    margin: 4px 0;
    font-weight: normal;
    font-size: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: flex;
    justify-content: center;
    color: white;
}
#juego_fondo h3 span{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
}
#juego_fondo button {
    display: block;
    width: fit-content;
    margin: auto;
    background-color: #8b9af1;
    border: 2px solid #8b9af1;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    padding: 10px;
    margin-top: 30px;
    cursor: pointer;
    transition: .5s;
}
#juego_fondo button:hover{
    background-color: #1e2df3;
    border: 2px solid #1e2df3;
}

































