/* Estilos generales */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Estilos para el menú desplegable */
.menu-desplegable {
  padding: 3.5px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background-color: #333;
  color: #fff;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.boton-menu {
  background-color: transparent;
  color: #ffffff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  margin-top: -2.6px;
}

.opciones-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  font-family: 'Arial', sans-serif;
}

.opciones-menu li {
  display: block;
  border-bottom: 1px solid #000000;
}

.opciones-menu li a {
  display: block;
  padding: 20px;
  color: #333;
  text-decoration: none;
  font-size: 18px;
}

.opciones-menu li a:hover {
  background-color: #f1f1f1;
}

header {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px;
  align-items: center;
  text-align: center;
  z-index: 100;
  top: 0;
  left: 0;
}

h1 {
  margin: 0;
  align-items: center;
  text-align: center;
  background-color: #2c3e50;
  color: #fff;
  padding: 4px;
  padding-top: 50px;
  font-family: 'Times New Roman', sans-serif;
  font-size: 48px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}

select {
  font-size: 16px;
  padding: 8px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 300px;
  background-color: #f2f2f2;
  color: #333;
  margin: 10px 0;
  margin-top: 15px;
  margin-bottom: 15px;
}

select:focus {
  outline: none;
  border: 2px solid #2c3e50;
}

label {
  display: block;
  font-size: 18px;
  font-family: 'Arial', sans-serif;
}

input[type="number"] {
  padding: 10px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 100%;
  max-width: 250px;
  margin-top: 15px;
  margin-bottom: 15px;
}

button {
  background-color: #2c3e50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 10px;
  text-align: center;
}

button:hover {
  background-color: #34495e;
}

#conversor-resultado {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  font-family: 'Arial', sans-serif;
  height: auto;
}

#informacion {
  margin-top: 20px;
  background-color: #f2f2f2;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Arial', sans-serif;
  font-size: 20px;
}

#informacion h2 {
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
  color: #000000;
  margin-top: 1px;
}

#informacion h3 {
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
  color: #1d1d1d;
  margin-top: 20px;
}

#informacion p {
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 10px;
  color: #1d1d1d;
}

#informacion img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 10px;
}

#informacion ul {
  margin-bottom: 70px;
  text-align: justify;
}

#informacion li {
  margin: 10px 0;
  color: #1d1d1d;
  text-align: justify;
}

#informacion a {
  color: #0b0080;
  text-decoration: none;
}

#informacion a:hover {
  text-decoration: underline;
}

footer {
  background-color: #f1c40f;
  color: #fff;
  padding: 1px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
}

/* Estilos para dispositivos móviles */
@media only screen and (orientation: portrait) and (max-width: 350px) {
  .opciones-menu {
      display: none;
      width: 40%;
  }

  .boton-menu {
      display: block;
      text-align: left;
  }

  .boton-menu.active+.opciones-menu {
      display: block;
  }

  .opciones-menu li a {
      padding: 10px;
  }
}

@media only screen and (orientation: landscape) and (max-height: 428px) {
  .opciones-menu {
      display: none;
      width: 130px;
  }

  .boton-menu {
      display: block;
      text-align: left;
  }

  .boton-menu.active+.opciones-menu {
      display: block;
  }

  .opciones-menu li a {
      padding: 10px;
      font-size: 16px;
  }
}