* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-size: small;
    font-family: Verdana;
    color: #ece6e6
}

/* barra principio página*/
.barrasuperior {
    width: 100%;
    height: 60px;
    background-color: #226da0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 2%;
}


body {
    font-family: verdana;
}

.logo-menu {
    display: flex;
    /* coloca el menu y el logo en la misma fila */
    align-items: center;
    justify-content: space-between;
    /* separa el logo hacia la izq y el texto a la deracha */
    padding: 10px;
}

.logo {
    height: 100px;
}

.menu ul {
    list-style: none;
    display: flex;
    /* convierte a horizontal*/
    gap: 20px;
    /* espaciado entre texto */
}

.menu ul li a {
    text-decoration: none;
    /* elimina el subrayado inferior del texto del menú*/
    color: #355C7D;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.3s;
    /* tiempo cambiar color al pasar el mouse*/
}

.menu ul li a:hover {
    color: #ee939c;
}

.slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* Centra el contenedor */
}


.swiper {
    width: 100%;
    height: 500px;
}


.swiper-slide {
    position: relative;
    /* Necesario para que los elementos posicionados absolutamente se ubiquen correctamente */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    /* Mantiene la proporción de la imagen */
    max-width: 100%;
    /* Asegura que la imagen no se expanda más allá de su contenedor */
    overflow: hidden;
    /* Evita desbordamientos si la imagen es demasiado grande */
}

.swiper-button-next,
.swiper-button-prev {
    color: #355C7D;
}

.swiper-pagination-bullet-active {
    background: #e8aeb7;
}

.text-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.text-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    width: 70%;
}

.caja {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px #226da0;
    font-size: small;
    font-family: Verdana;
    color: #355C7D;
    font-weight: bold;
    text-decoration: none;
}

.caja p {
    margin: 0;
}

.caja img {
    width: 20%;
}

.novedades {
    text-align: center;
    color: #355C7D;
    font-family: 'Franklin Gothic Medium';
    font-size: xx-large;
    font-weight: bold;
    font-family: monospace;
}

.caja h2 {
    font-family: 'Franklin Gothic Medium';
    padding-bottom: 3%;
}

.Posters {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    /* Permite desplazamiento */
    scroll-behavior: smooth;
    width: 100%;
    white-space: nowrap;
    scrollbar-width: none;
    /* Oculta la barra de desplazamiento en Firefox */
}


.Posters::-webkit-scrollbar {
    display: none;
    /* Oculta la barra de desplazamiento en Chrome */
}

.Posters img {
    padding-top: 3%;
    width: 100%;
    max-width: 350px;
    min-width: 350px;
    /* Asegura que todas las imágenes tengan el mismo ancho */
    height: auto;
    margin: auto;
    transition: transform 0.3s;
    flex-shrink: 0;
    /* Evita que las imágenes se reduzcan */
    -webkit-user-drag: none;
    /* Para navegadores WebKit como Safari y Chrome */
    -moz-user-drag: none;
    /* Para Firefox */
    -o-user-drag: none;
    /* Para Opera */

}

.Posters img:hover {
    transform: scale(1.1);
    /* Al pasar el ratón encima las imágenes cambian de tamaño */
}

.carrusel-contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.bergamota {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.bergamota::after {
    content: "Entra en nuestro Classroom y no te pierdas nada";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #355C7D;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.7);
    /* Fondo semitransparente para mejor legibilidad */
    border-radius: 10px;
    z-index: 1;
}

.bergamota p {
    position: absolute;
    /* Asegura que el texto esté encima de la imagen */
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    /* Centra el texto horizontalmente */
    color: #355C7D;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    text-shadow: 2px 2px 4px black;
    /* Sombra alrededor del texto */
    z-index: 1;
    /* Asegura que el texto quede encima de la imagen */
}

.ciruela {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/*//////////////////////////////////////////////  CURSOS PRIVADOS //////////////////////////////*/
.cursosprivados {
    display: flex;
    justify-content: center;
    /* Centra las imágenes horizontalmente */
    align-items: center;
    /* Alinea las imágenes verticalmente */
    gap: 5px;
    /* Espacio entre imágenes */
    flex-wrap: wrap;
    /* Permite que las imágenes bajen en pantallas pequeñas */
    width: 100%;
    margin-top: 5%;
}

.cursosprivados img {
    width: 100%;
    max-width: 425px;
    /* Tamaño máximo */
    height: 800px;
    /* Fuerza que todas tengan la misma altura */
    object-fit: cover;
    /* Recorta la imagen para llenar el espacio sin deformarse */
}

/*////////////////////////////////////////////// TEXTO SOBRE LAS IMAGENES DE CURSOS PRIVADOS/////////////////////*/
.curso {
    position: relative;
    /* para que el texto se posicione sobre la imagen*/
    display: inline-block;
    /* mantiene el formato de las imágenes*/
}

.TextoFoto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e2a1aa;
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    text-shadow: 2px 2px 4px black
        /* sombra negra alrededor del texto*/
}

.barra {
    display: flex;
    justify-content: center;
    /* centra horizontalmente*/
}

h3 {
    width: 100%;
    height: 40px;
    background-color: #226da0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Franklin Gothic Medium';
}

/*////////////////////////////////////////////// CURSOS GRATUITOS //////////////////////////////////////*/
.Titulo {
    font-family: 'Franklin Gothic Medium';
    font-size: 3rem;
    padding-left: 2%;
    color: #355C7D;
    text-align: left;
    padding: 20px 40px 10px;
}

.TextoFlechas {
    padding-top: 1%;
    padding-left: 2%;
    font-family: 'Franklin Gothic Medium';
    font-size: x-large;
    color: #355C7D;
}

/*////////////////////////////////////////////// CURSOS GRATUITOS //////////////////////////////////////*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.Titulo {
    text-align: left;
    padding: 20px 40px 10px;
}

.TextoFlechas {
    text-align: left;
    padding: 0 40px 20px;
}

.Contenedor {
    display: flex;
    align-items: flex-start;
    /* Alinea los items arriba */
    justify-content: space-between;
    width: 100%;
    padding: 0 40px 40px;
    box-sizing: border-box;
}

#textocambia {
    width: 50%;
    text-align: left;
    padding: 20px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    /* Espacio entre texto e imagen */
}

.imagen-container {
    width: 10%;
    position: relative;
}

.imagen {
    width: 50%;
    text-align: center;
    position: relative;
}

.imagen img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Repaso//////////////////////////////////////////////////////////////*/
.sori {
    justify-items: center;
    margin-left: 2%;
    font-style: italic;
}

.tabaco {
    justify-items: flex-start;
    margin-inline: 100px;
    margin-top: 5%;
    font-family: 'Franklin Gothic Medium';
    font-size: 35px;
    color: #355C7D;
}

.tabaco p{
    font-family: 'Franklin Gothic Medium';
}
.pimiento {
    margin-top: 2%;
    font-size: 20px;
    justify-items: center;
    margin-inline: 100px;
    /* Hace que el texto esté en cursiva */
    color: #2c3e50;
    /* Color para el texto */
}

.pimiento p{
    font-family: 'Franklin Gothic Medium';
}
.local {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


footer {
    width: 100%;
    height: 60px;
    background-color: #226da0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* alinea el texxto a la izq y los iconos a la dereita*/
    padding: 0 2%;
    font-weight: bold;
    font-size: small;
    font-family: Verdana;
    color: #ece6e6;
    margin-top: 3%;
}

/* ICONOS ISNTAGRAM  Y WHATSAPP */
.iconos {
    position: absolute;
    top: 30px;
    right: 20px;
    display: flex;
    gap: 10px;
}


.iconos img {
    width: 30px;
    /* ajusta tamaño de iconos*/
    height: auto;
    transition: transform 0.3s;
}

.iconos img:hover {
    transform: scale(1.2);
    /* efecto zoom al pasa rel mouse */
}




.politica {
    text-decoration: none;
    color: #ece6e6;
}

.verdura h2 {
    font-size: 30px;
    margin-left: 2%;
    margin-inline: 20%;
    color: #355C7D;

}

/* .fruta p {
    margin-top: 3%;
    margin-inline: 20%;
    margin-bottom: 3%;
    font-family: 'Franklin Gothic Medium';
    ;
} */

.parrafos p {
    margin-top: 3%;
    margin-inline: 20%;
    margin-bottom: 3%;
    font-family: 'Franklin Gothic Medium';
    font-size: 20px;
    color: #355C7D;
}

/*//////////////////Menú Arreglado///////////////////*/
.menu-trigger {
    cursor: pointer;
    font-size: 24px;
    padding: 1rem;
}

.side-menu {
    position: fixed;
    top: 50;
    right: -300px;
    width: 300px;
    height: fit-content;
    background-color: #226da0;
    color: #ece6e6;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 1rem;
    box-shadow: #FADADD;
    z-index: 999;
    text-align: end;
}

.side-menu.open {
    right: 0;
}

.side-menu a {
    color: #ece6e6;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-block;
    font-weight: bold;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 998;
}

.overlay-active {
    display: block;
}

.side-menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li{
    margin: 15px 0;
}

.seccion-contenido h1,p{
font-family: verdana;
margin: 10px 6px;
margin-left: 10%;
margin-right: 10%;
}
.seccion-contenido img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
}

.seccion-contenido p{
    font-family: 'Franklin Gothic Medium';
}


.seccion-contenido h1{
    font-family: 'Franklin Gothic Medium';
    color: #355C7D;
    font-size: larger;
}

/* ----------------------- */
/* RESPONSIVE AJUSTADO 📱 */
/* ----------------------- */
@media (max-width: 768px) {
  .text-container {
    flex-direction: column;
    width: 90%;
  }

  .logo {
    height: 60px;
  }

  .menu ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .swiper {
    height: 250px;
  }

  .bergamota::after,
  .bergamota p {
    font-size: 18px;
    padding: 8px 12px;
  }

  .cursosprivados {
    flex-direction: column;
  }

  .cursosprivados img {
    max-width: 100%;
    height: auto;
  }

  .Contenedor {
    flex-direction: column;
    padding: 10px;
  }

  #textocambia,
  .imagen-container,
  .imagen {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  footer {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .iconos {
    position: static;
    justify-content: center;
    margin-top: 10px;
  }

  .Titulo,
  .TextoFlechas {
    text-align: center;
    padding: 10px;
  }

  .Posters img {
    min-width: 250px;
    max-width: 90%;
  }

  .TextoFoto {
    font-size: 20px;
    padding: 5px 10px;
  }

  .tabaco,
  .pimiento {
    margin-inline: 10px;
    font-size: 22px;
  }

  .parrafos p {
    margin-inline: 10px;
    font-size: 18px;
  }
}



/*////////////////////////// MOVIL MENÚ //////////////////////*/
@media (max-width:768px){
    .menu ul li {
        display: none;
    }
    .menu ul li.menu-mobile-icon{
        display: block;
    }
}