/* * {
  font-family: "Josefin Sans";
  padding: 0;
  margin: 0;
  box-sizing: border-box;
} */

body {
  background-color: #000;
  color: #777;
}
body a {
  color: #777;
  text-decoration: none;
  transition: 0.4s;
}
body ul {
  list-style: none;
}

/* --- Navegador --- */

.header2{
  background-color: white;
}

.nav-container {
  display: flex;
  justify-content: space-around;
}

.nav-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-container ul li {
  display: inline;
  margin-right: 20px; /* Espacio entre elementos si es necesario */
}

.nav-container ul li:last-child {
  margin-right: 0;
}

.mobile-menu li{
  display: flex;
}

/* .header2{
  background-color: white;
  display: flex;
  justify-content: space-between;
} */

/* #page{
  background-color: white;
} */
/* .header {
  display: flex;
  justify-content: space-between;
  max-width: 1170px;
  padding: 1.5rem 0;
  margin: 0 auto;
  background-color: white;
}
@media (max-width: 425px) {
  .header {
    padding: 1.1rem;
  }
}
.header-brand {
  color: #fff;
  font-size: 3rem;
}
.header-navbar ul {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 425px) {
  .header-navbar ul {
    display: none;
  }
}

.header-navbar ul li {
  margin: 0 1rem;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.header-navbar ul li .active {
  color: #116596;
}
.header-navbar ul li a:hover {
  color: #116596;
} */
/* .header-social-media ul {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
} */
/* @media (max-width: 425px) {
  .header-social-media ul {
    display: none;
  }
}
.header-social-media ul li {
  margin: 0 1rem;
}
.header-social-media ul li a:hover {
  color: #fff;
} */

.gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1170px;
  padding: 1.5rem 0;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
}

@media (max-width: 425px) {
  .gallery {
    flex-direction: column;
  }
}
.gallery-card {
  width: 31%;
  height: 400px;
  margin-bottom: 4%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
}
@media (max-width: 425px) {
  .gallery-card {
    width: 90%;
    margin-bottom: 6%;
  }
}
.gallery-card-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.gallery-card-btn {
  padding: 0.6rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gallery-card-btn:hover {
  background-color: #fff;
  color: #000;
}
.gallery #card-1 {
  background-image: url("../img/img_parv/imgInicioparv.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
  /* cursor: pointer; */
}
.gallery #card-1:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/img_parv/imgInicioparv.webp");
}
.gallery #card-2 {
  background-image: url("../img/img_priseg/imgIniciopys.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
  /* cursor: pointer; */
}
.gallery #card-2:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/img_priseg/imgIniciopys.webp");
}
.gallery #card-3 {
  background-image: url("../img/img_tercu/img6_tercu.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
}
.gallery #card-3:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/img_tercu/img6_tercu.webp");
}
.gallery #card-4 {
  background-image: url("../img/img_quinsec/imgInicioquintesc.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
}
.gallery #card-4:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/img_quinsec/imgInicioquintesc.webp");
}
.gallery #card-5 {
  background-image: url("../img/img_sepoct/imgIniciosyo.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
}
.gallery #card-5:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/img_sepoct/imgIniciosyo.webp");
}


.gallery #card-6 {
  background-image: url("../images/profesores.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
}
.gallery #card-6:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/profesores.webp");
}

/* Taller de Basquetball */
.gallery #card-7 {
  background-image: url("../img/Taller_Basquetball/basque1.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
}



.gallery #card-7:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/Taller_Basquetball/basque1.webp");
}

/* Taller de Gastronomia */
.gallery #card-8 {
  background-image: url("../img/Taller_Cocina/coci1.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
}
.gallery #card-8:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/Taller_Cocina/coci1.webp");
}

/* Taller de Manualidades */
.gallery #card-9 {
  background-image: url("../img/Taller_Manualidades/manu10.webp");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: 0.6s;
}
.gallery #card-9:hover {
  background-size: 110%;
  filter: grayscale(0%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/Taller_Manualidades/manu10.webp");
}

footer {
  text-align: center;
  padding-bottom: 2rem;
}
footer span {
  font-weight: bold;
  color: #116596;
}

.menu-icon {
  display: none; /* Oculta el icono en pantallas grandes */
  }

  .close-menu{
    display: none;
  }

/*# sourceMappingURL=styles.css.map */

@media (max-width: 768px) {

  .menu-icon {
    display: block; /* Muestra el icono en dispositivos móviles */
    color: black;
    font-weight: bolder;
    font-size: 40px;
  }

  .menu-icon i{
    position: absolute;
    top: 8%;
    left: 80%;
  }

  .mobile-menu {

    /* Estilos para el menú desplegable  */
     display: none; /* Oculta el mobile-menu por defecto */
     /* flex-direction: column; */
     position: absolute;
     top: 10%;
     left:auto;
     /* background-color: black;   */
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
     padding: 10px;
     border-radius: 5px;
     text-align: center;
     font-weight: bolder;
     /* border: solid 1px red; */
   }


   .movil-background{
    position: relative;
    left: 44px;
    top: -80px;
    background-color: black;
    width: 300px;
    height: 400px;
    padding-top: 100px;


   }


 .mobile-menu.show {

     display: block; /* Muestra el menú cuando tiene la clase "show" */
     animation: fade-in 1s ease; /* Animación de aparición */
   }

   .close-menu {
     margin-top: 10px;
     cursor: pointer;
     font-size: 36px;
     font-weight: bolder;
     color: rgb(255, 255, 255); /* Color del icono de cierre */
     list-style: none;
     position: absolute;
     top: 7%;
    left: 88%;
   }

   .menu-icon,
 .close-menu {
   transition: transform 1s ease; /* Agrega una transición suave a la propiedad transform */
 }

 .menu-icon.rotated,
 .close-menu.rotated {


 transform: rotate(180deg); /* Gira el icono 180 grados */
 }


  /* .logoa{
    position: relative;
    left: -80px;
  } */
  .nav-container ul li{
    display: flex;
    position: relative;
    left: 30%;
  }

  /* #naveCursos{
    display: flex;
  } */

  .logoa{
      position: relative;
      left:-110px;
      top: 20px;
  }

  .tittleIndex{
      display: none; /* con el display puedo ocultar o mostrar la información*/
  }

  .divNave{
      padding: 60px;
  }

  .gallery #card-1,
  .gallery #card-2,
  .gallery #card-3,
  .gallery #card-4,
  .gallery #card-5,
  .gallery #card-6,
  .gallery #card-7,
  .gallery #card-8,
  .gallery #card-9{
    filter: grayscale(0%);
  }

  }