* {
  padding: 0px !important;
  margin: 0px !important;
}

body {
  background-color: black !important;
}

#menu_on {
  display: inline-block;
  width: 30px;
  height: 20px;
  position: fixed;
  z-index: 2;
  margin: 10px !important;
}

#menu_on span {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  position: fixed;
  display: block;
  position: absolute;
  background: white;
  transition: all 0.25s ease;
  /* Propiedades a animar | Tiempo | Tipo animación*/
  transform-origin: 0px 100%;
}

#menu_on span:nth-child(2) {
  top: calc(50% - 2px);
}

#menu_on span:nth-child(3) {
  bottom: 0;
}

nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -2000px;
  /* Escondemos nuestro menú con un valor negativo */
  width: 100%;
  z-index: 1;
  background-color: black;
  color: white;
  opacity: 0;
  transition: all 0.75s ease;
  font-size: 1.2em;
  overflow-y: auto;
}

.lista {
  margin-top: 5% !important;
  margin-left: 7% !important;
}

.listImg {
  width: 60% !important;
}

.lista li {
  display: block;
  text-decoration: none !important;
}

.lista a {
  width: 15%;
  display: block;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 50px !important;
  color: white !important;
  padding-top: 1% !important;
  position: relative !important;
}

.lista a::after {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 2px !important;
  background-color: white !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  transition: width 0.3s ease !important;
  /* Transición para el efecto de expansión */
}

/* Estilos para la expansión */
.lista a:hover::after {
  width: 70% !important;
}

.submenu {
  margin-left: 7% !important;
  padding-bottom: 2% !important;
  font-size: calc(0.1em + 1vw);
  position: fixed !important;
  bottom: 0;
}

.linea {
  width: 25%;
  /* Aquí puedes establecer el ancho que desees, ya sea en porcentaje, píxeles u otra unidad de medida */
  /* También puedes establecer otros estilos, como color, grosor, etc. */
  border: none;
  /* Para quitar el borde por defecto de la línea */
  border-top: 1px solid;
  /* Agrega un borde superior como línea en lugar del estilo predeterminado */
  opacity: 0.5 !important;
}

.submenu h4 {
  margin-top: 3% !important;
  font-size: calc(0.1em + 1.5vw);
  opacity: 0.5 !important;
}

.submenu p {
  margin-top: 2% !important;
  opacity: 0.5 !important;
}

.submenu a {
  margin-top: 2% !important;
  font-size: calc(0.1em + 1vw) !important;
  transition: opacity 0.3s ease !important;
  opacity: 0.5 !important;
  text-decoration: none !important;
  color: white !important;
}

.submenu a:hover {
  opacity: 1 !important;
  color: white !important;
}

.visible_menu span:nth-child(1) {
  transform: rotate(45deg) translate(-2px, 1px);
  overflow-y: auto;
  text-align: right;
}

.visible_menu span:nth-child(2) {
  opacity: 0;
  overflow-y: auto;
}

.visible_menu span:nth-child(3) {
  transform: rotate(-45deg) translate(-3px, 3px);
  overflow-y: auto;
}

.visible_menu nav {
  left: 0;
  opacity: 1;
}

.visible_menu #content {
  transform: translateX(260px);
}

/*************************************************************************************************/
section {
  margin-top: 5% !important;
}

.text {
  padding-left: 3% !important;
  padding-right: 3% !important;
  color: #f3f3f3;
}

.text h1 {
  font-size: calc(0.2em + 3vw);
}

.text p {
  margin-top: 7% !important;
  font-size: calc(0.2em + 1.2vw);
}

.formu {
  width: 100%;
  color: white;
}

form {
  width: 90%;
  padding-left: 3% !important;
  border-radius: 1%;
  font-size: calc(0.2em + 1vw);
  text-align: left;
  color: white;
}

label {
  margin-top: 2% !important;
}

.env {
  width: 20% !important;
  margin-left: 40% !important;
  margin-top: 2% !important;
}

.bt1 {
  margin-top: 10% !important;
  background-color: #58a2c4;
  color: white;
  border: 0px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
button[type="submit"] {
  margin-top: 2% !important;
  font-size: calc(0.3em + 0.9vw);
}

textarea.form-control {
  margin-top: 2% !important;
  font-size: calc(0.3em + 0.9vw) !important;
}

/*************************************************************************************************/
footer {
  width: 100%;
  font-size: calc(0.1em + 1.3vw);
  position: fixed !important;
  bottom: 0;
  color: white !important;
  margin-left: 2% !important;
}

footer img {
  width: 15%;
  text-align: right !important;
}

.iconFooter {
  color: white !important;
  font-size: calc(0.1em + 1.5vw);
  line-height: 1;
  margin: 0.5% !important;
}

/*----------------------------------------------------------------------------*/
@media screen and (max-width: 990px) {
  footer {
    font-size: calc(0.1em + 1.5vw);
  }

  footer img {
    width: 20%;
    text-align: right !important;
  }

  .iconFooter {
    font-size: calc(0.1em + 2vw);
    text-align: right !important;
  }
}

/*----------------------------------------------------------------------------*/
@media screen and (max-width: 575px) {
  .lista {
    margin-top: 15% !important;
    font-size: calc(10em + 10vw) !important;
  }

  .listImg {
    width: 50% !important;
  }

  .lista a {
    width: 100%;
    padding-top: 5% !important;
  }

  .submenu {
    left: -2000px;
  }
  .text {
    text-align: center;
    color: #f3f3f3;
  }

  .text h1 {
    margin-top: 10% !important;
    font-size: calc(0.2em + 7vw);
  }

  .text p {
    margin-top: 7% !important;
    font-size: calc(0.2em + 5vw);
  }

  .formu {
    width: 90%;
    margin-top: 5% !important;
    margin-left: 10% !important;
    margin-bottom: 10% !important;
  }

  form {
    width: 90%;
    margin-top: 5% !important;
    margin-left: 0% !important;
    font-size: calc(0.2em + 3.5vw);
  }

  .env {
    width: 50% !important;
    margin-left: 25% !important;
    font-size: calc(0.2em + 13vw) !important;
  }

  footer {
    font-size: calc(0.5em + 2vw);
    text-align: center;
    position: static !important;
    width: 95%;
    margin-left: 2.5%;
  }

  footer img {
    width: 30%;
    text-align: right !important;
  }

  .iconFooter {
    font-size: calc(0.5em + 3vw);
  }
}
