header{
  z-index: 1000;
}
/*btn whats*/
.btn-whats{
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #6CD94E;
  z-index: 2000;
  padding: 5px;
  width: 75px;
  height: 75px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  z-index: 1002;
}
.btn-whats .fa-whatsapp{
  position: relative;
  color: #fff;
  font-size: 60px;
}
.mensaje-dudas{
  background: #F2E394;
  padding: 10px;
  border-radius: 5px;
  font-size: 20px;
  position: fixed;
  width: 180px;
  text-align: center;
  right: 120px;
  bottom: 45px;
  z-index: 1002;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;

}
.mensaje-dudas i{
  position: absolute;
  top: 5px ;
  right: 5px;
  font-size: 17px;
  color: #1e1e1e;
  z-index: 1002;
  cursor: pointer;
}
/*****/

#hero{
  min-height: 100vh;
  position: relative;
}

/**VIDEO**/
section{
  position: relative;
  z-index: 10;
}
video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.promo{
  position: relative;
  z-index: 10;
}

.promos{
  position: relative;
  z-index: 10;
  top: 150px;
  color: #FFF;
  font-size: 2rem;
}

.promos h1{
  font-size: 5rem;
}
.promos h2{
  background: #D8272F;
  width: 60%;
  font-size: 3rem;
}

.capa{
  position: absolute;
  top:50;
  left:0;
  width: 100%;
  height: 100%;
  background: #1c1c1d;
  opacity: 0.5;
  /*mix-blend-mode: overlay;*/
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-curso {
    transition: transform 0.3s ease;
}

.card-curso:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}


.carousel {
  margin: 20px;
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
}

.carousel-item {
  background: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
  min-width: 200px;
}


/*CODIGO DE VENTANA*/
#ventana{
  opacity:0;
  pointer-events:none;
  background:rgba(0,0,0,0.7);
  width:100%;
  position:fixed;
  top:0px;
  bottom:0px;
  }
#ventana:target{
  opacity:1;
  transition:all ease-in 0.5s;
  pointer-events:all;
  overflow: scroll;
  }

#contenido{
  background:#FFF;
  border-radius:10px;
  box-shadow:#000 0px 0px 20px;
  border:2px solid #0094ff;
  width:60%;
  margin:5% auto;
  padding:20px;
  }

#conteido h2{
  font-size:30px;
  color:#39F;
  margin-bottom:10px;
  }
#contenido p{
  font-size:20px;
  line-height:30px;
  color:#333;
  width:90%;
  margin:auto;
  }


@media  (max-width: 580px) {
  .promos{
    top: 50px;
  }
  .promos h1{
    font-size: 2rem;
  }
  p{font-size: 1rem;}
  .promos h2{
    font-size: 1.5rem;
    width: 90%;
  }

#contenido{
  width: 90%;
}

}


  .menu-container {
  width: 200px; /* Ancho del menú en PC */
  background-color: #f0f0f0;
  font-family: sans-serif;
}

.menu-toggle {
  display: none; /* Oculto en PC */
  background-color: #333;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.menu-item a:hover {
  background-color: #ddd;
}

.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #e0e0e0;
  display: none; /* Oculto por defecto */
}

.submenu li a {
  padding: 8px 15px;
  color: #555;
}

.submenu li a:hover {
  background-color: #ccc;
}

/* Estilos para la interacción del submenu */
.menu-item.active > .submenu {
  display: block;
}

/* Media query para la versión móvil */
@media (max-width: 600px) {
  .menu-container {
    width: 100%;
    position: relative; /* Necesario para posicionar el menú desplegado */
  }

  .menu-toggle {
    display: block; /* Visible en móvil */
  }

  .menu {
    display: none; /* Oculto por defecto en móvil */
    position: absolute;
    top: 40px; /* Ajustar según la altura del botón */
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    z-index: 10; /* Asegura que esté por encima de otros elementos */
  }

  .menu.open {
    display: block;
  }

  .menu-item a {
    border-bottom: 1px solid #ccc;
  }

  .submenu {
    border-left: 2px solid #bbb;
  }
}