/* Estilos para la sección de container y container registro */

body {
  background-image: none;
  background-repeat: no-repeat;
  background-size: auto;
  background-color: azure; /* Cambié el color de fondo a azure */
  font-family: 'Flamenco', system-ui;
  font-weight: 300;
  font-style: normal;
}

.container {
  width: 90%; /* Cambiado para que sea más adaptable */
  max-width: 750px; /* Añadido para limitar el ancho máximo */
  margin: 100px auto;
  background: white;
  border-radius: 11px;
  box-shadow: 6px 6px 30px hsla(45, 100%, 80%, 0.7), -6px -6px 30px hsla(45, 100%, 80%, 0.7);


}

.registro {
  margin: 50px auto; /* Ajustado para pantallas pequeñas */
  width: 90%; /* Cambiado para que sea más adaptable */
  max-width: 500px; /* Añadido para limitar el ancho máximo */
  border: none;
  background-color: white;
  padding: 7px;
  font-size: 13px;
  border-radius: 5px;
}

/* titulo E&M*/
form {
  /*width: 350px;*/
  margin: 10px auto;
}

form h1 {
  text-align: center;
  text-transform: uppercase;
  font-weight: bolder;
}

/* organizacion de labels (Nombre, apellido, cedula, area, eps, correo, numero)*/
.lbl1 {
  display: block;
  font-size: 15px;
  font-weight: 600;
  padding: 8px;
  margin-right: 50px;
  text-align: start;
}

/* Input por medio de escritura */
input {
  width: calc(100% - 2em); /* Restar el padding para obtener el ancho correcto */
  padding: 8px;
  margin: 4px;
  outline: none;
  border: none;
  border-radius: 5px;
  border: 2px wheat solid;
  box-shadow: 0 0 0.8em gray;
  background-color: white;
}

/*politica de privacidad*/

a {
  text-align: center;
  margin: 5px;
  text-decoration: none;
  color: black;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

/*dropdow */
.dropdown {
  min-width: 15em;
  position: relative;
  margin: 2em;
}

.dropdown * {
  box-sizing: border-box;
}

.select {
  background: white;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px silver solid;
  border-radius: 0.5em;
  padding: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

/* clicked styles (added in JS) */
.select-clicked {
  border: 2px wheat solid;
  box-shadow: 0 0 0.8em gray;
}

.select:hover {
  background-color: aliceblue;
}

.caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #fff;
  transition: 0.3s;
}

/* Rotate styles added in JS)*/
.caret-rotate {
  transform: rotate(180deg);
}

.menu {
  list-style: none;
  padding: 0.2em 0.5em;
  background: #f0f0f0; /* Cambié el color de fondo a un tono más claro */
  border: 1px #000000 solid;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  border-radius: 0.5em;
  color: black;
  position: absolute;
  top: 3em;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  /*opacity: 0.2; <- opacidad del container */
  transition: 0.2s;
  z-index: 1;
  display: none; /* Ocultar el menú desplegable por defecto */
}

.menu li {
  padding: 0.7em 0.5em;
  margin: 0.3em 0;
  border-radius: 0.5em;
  cursor: pointer;
}

.menu li:hover {
  background: skyblue;
}

/* Active styles in JS*/
.active {
  background: paleturquoise;
}

/* Open styles in JS*/
.menu-open {
  display: block;
  opacity: 1;
  transition: 0.2s;
}

form option {
  width: 75%;
  padding: 8px;
  margin: 4px;
  outline: none;
  border: none;
  border-radius: 5px;
  background-color: white;
}

/* boton envio */
button {
  width: 250px;
  margin: 2px;
  padding: 8px;
  background: rgb(226, 226, 226);
  outline: none;
  border: none;
  border-radius: 15px;
  color: rgb(0, 0, 0);
  font-size: 17px;
  cursor: pointer;
  transition: 0.5s;
}

button span {
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

button span:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

button:hover span {
  padding-right: 30px;
}

button:hover span:after {
  opacity: 1;
  right: 0;
}

/*Responsive */
@media only screen and (max-width: 900px) {
  .container {
    width: 90%; /* Cambiado para que sea más adaptable */
    max-width: none; /* Eliminado el límite de ancho máximo */
    margin: 50px auto; /* Ajusté el margen para pantallas pequeñas */
  }
  
  .registro {
    width: 90%; /* Cambiado para que sea más adaptable */
    max-width: none; /* Eliminado el límite de ancho máximo */
    margin: 30px auto; /* Ajusté el margen para pantallas pequeñas */
  }
  
  /* Estilos para el input responsivo */
  input {
    width: calc(100% - 2em); /* Restar el padding para obtener el ancho correcto */
   
