@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  position:static;
  background: url(/images/DONDON\ BANNER.jpg);
  background-repeat:no-repeat;
  flex-direction: column;
}

h1{
  color: white;
  padding-right: 20%;
  font-family: stencil;
  letter-spacing: 10px;    
}
span{
color: #ffffff;
font-size: 20px;
text-align: center;
font-family: stencil;
}



/*[--menu superior--]*/
header {
  height: 10vh;
  /* 10% de la altura de la ventana gráfica */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #202020;
  /* Color de fondo del menú */
  padding: 0 20px;
  /* Espacio interno alrededor del contenido */
}

.logo {
  flex: 1;
  /* El logo ocupa todo el espacio posible */
}

.logo img {
  padding-top: 1%;
  height: 5rem;
  /* El logo se ajusta a la altura del menú */

}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 10px;
  /* Espacio entre los enlaces */
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  /* Color del texto de los enlaces */
}


/*[--Formulario--]*/
.section {
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  justify-content: center;
  align-items:normal;
  margin-top: 10px;

}
.contenedor{
  display: flex;

}
.form-content {
  background-color: #4f4f4fbc;
  padding:0px 20px 0px 20px;
  width: 500px;
  border-radius: 1rem;

}

.form-content h2 {
  color: rgb(255, 255, 255);
  font-size: 30px;
  margin-bottom: 15px;
}
.correo{
  color: white;
  padding-bottom: 2%;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

label {
  font-size: 13px;
  color: #dddddd;
  margin-bottom: 5px;
}

input,
textarea {
  padding: 10px 5px;
  background-color: #333646;
  border: 0;
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 10px;
  border-radius: 1rem;
}

:focus{
  outline: 1px solid #1e92e9;
}

.btn{
  background-color: #1e92e9;
  width: 150px;
  align-self:center;
  cursor: pointer;
}

.btn:hover{
  background-color: #219bf9;
}



/*[--Footer--]*/

footer {
  background-color: #202020;
  color: #ffffff;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 20px;
}

.redes-sociales a {
  display: inline-block;
  margin: 0 10px;
}

.redes-sociales img {
  width: 30px;
  height: 30px;
}

.derechos-reservados {
  display: flex;
  align-items: center;
}

.derechos-reservados span {
  margin-right: 9px;
  font-size: 14px;
}

.derechos-reservados span:last-child {
  font-size: 12px;
}

/* Estilos para hacerlo responsivo */
@media (max-width: 768px) {
  /*[--Menu superior--]*/

  header {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding-top: 3%;
  }

  h1 {
    margin-left: 5%;
    margin-bottom: 10%;
  }

  body {
    
    background-size: cover;
    background-repeat: repeat;
    background-position: center center;
  }
  .form-content{
    width: 98%;
    padding: 10px 10px 50px 10px;
  }
  form{
    width: 100%;
    height: 570px;
  }

  .logo {
    padding-top: 4%;
    margin-bottom: 10px;
    margin-left: 42%;
  }

  nav {
    order: -1;
    /* Colocar la navegación arriba en dispositivos pequeños */
  }
  .correo{
    margin-left: 7%;
    margin-bottom: 2%;
  }

  /*[--Footer--]*/
  .redes-sociales img {
    width: 30px;
    height: auto;
  }

  .derechos-reservados span {
    margin-right: 9px;
    font-size: 11px;
  }
}
@media (max-width: 415px) {
  /*[--Footer--]*/
  .redes-sociales img {
    width: 21px;
    height: auto;
  }
  body {
    background-size: cover;
    background-repeat: repeat;
    background-position: center center;
  }
  .logo {
    padding-top: 4%;
    margin-left: 42%;
  }
  h1 {
    margin-left: 16%;
    margin-bottom: 1%;
    font-size: 25px;
  }
  .form-content{
    width: 90%;
  }
  
  .correo{
    margin-left: 7%;
    margin-bottom: 2%;
  }
  .section{
    height: 500px;
  }
  }