/*
COLORES: 
  - Fondo: #c6d9e6
  - Oscuro PRINCIPAL: #274c77
  - Claro PRINCIAL: #e7ecef
  - Letra OSCURA: #234748
  - Letra GRIS: #8B8C89
  - Sombra 1: #A3CEF1
  - Sombra 2: #6096BA

  Paleta original: https://coolors.co/palette/e7ecef-274c77-6096ba-a3cef1-8b8c89
*/

body {
  background-color: #d2ecee;
  font-family: "Inter", "Varela Round", Arial, Helvetica, serif;
  margin: 0px;
}

.contenedor-principal {
  align-content: center;
  height: 80vh;
  display: inline;
}

/*-------------------------  Estilos Formulario  ----------------------------*/
.contenido-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.columna-form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  max-width: 140rem;
  flex-wrap: wrap;
}

.formulario {
  background-color: #e7ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: fit-content;
  height: fit-content;
  padding: 2rem;
  margin: 3rem auto;
  box-shadow: 0px 1rem 3rem #00000080;
  border-radius: 2rem;
}

.form-fieldset {
  border: none;
  text-align: center;
  padding-block: 0.35em 0.625em;
  padding-inline: 0.75em;
}

h2 {
  font-size: 3.98rem;
  margin: 0.83em;
  text-transform: uppercase;
  font-weight: 800;
  /*color: #13263c;*/
  color: #234748;
  text-align: center;
}

h3 {
  margin-top: -15px;
  color: #234748;
  font-size: 2rem;
  margin-bottom: 1.8rem;
}

.form-legend {
  font-size: 2.76rem;
  font-weight: 600;
  color: #234748;
}

.separador-form {
  display: block;
  font-size: 2.8rem;
  align-self: center;
  margin: 1.5rem 0;
  font-weight: 800;
}

.form-input,
.form-select {
  font-size: 2.3rem;
  padding: 1rem 3rem;
  color: #234748;
  text-align: center;
  margin: 2rem;
  background-color: #f6f8f9aa;
  border-radius: 1rem;
  border: none;
  border-bottom: 4px solid #8b8c8980;
  outline: none;
  box-sizing: content-box;
}

.form-input::placeholder {
  color: #8b8c89;
  font-size: 2rem;
}

.form-btn {
  background-color: #234748;
  color: #fff;
  font-size: 2.76rem;
  font-weight: 600;
  padding: 1.5rem 2.5rem;
  border-radius: 1.2rem;
  margin-bottom: 2rem;
}

.form-btn:hover,
.form-btn:active {
  font-size: 2.8rem;
  transition: 0.5s;
  background-color: #274c77;
}

/* Estilos de los enlaces externos*/
.form-links {
  align-self: center;
  margin: 2.5rem;
  font-family: "Inter", Verdana, Geneva, Tahoma, sans-serif;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 90%;
}

/* Estilos para mostrar donde hace falta información*/
.campo-vacio {
  color: red;
  font-size: 1.4rem;
  margin-top: 0.3rem;
  display: block;
}

/* Estilos para fieldset que tengan 2 input juntos*/
.multiple-input {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  max-width: 140rem;
  flex-wrap: wrap;
}

/* Estilos para inputs que requieran un label debajo*/
.input-label {
  display: flex;
  flex-direction: column;
}

.label-bajo-input {
  color: #234748;
  font-size: 1.6rem;
}

.input-label > .form-input {
  margin-bottom: 1rem;
}

/* Estilos para eliminar las flechas de los input[type="number"]*/
/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.btn-eliminar {
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  text-align: center;
  border-radius: 50%;
  font-weight: 700;
  align-self: flex-start;
  border: #8b8c89 solid 0.3rem;
  color: #8b8c89;
  background-color: #e7ecef;
}

/* Para añadir el input de especificar*/
/* Usado en: datosPareja, datosDependientes*/
#contenedor-especificar,
.contenedor-especificar {
  display: none;
  margin-top: 1rem;
}

/* Estilos para formularios que requieren multiples secciones*/
.titulo-divisor {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.text-titulo-divisor {
  font-size: 2.3rem;
}

.multiples-btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 50%;
}

#btnSi,
#btnNo {
  align-self: center;
  width: 50rem;
}

.pregunta-inicial {
  align-self: center;
}

.aviso-privacidad {
  margin: 2rem;
  margin-top: 4rem;
  color: #8b8c89;
  font-size: 1.6rem;
  text-align: center;
}

.link-avp:link,
.link-avp:active,
.link-avp:hover,
.link-avp:visited {
  color: #6096ba;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 1450px) {
  .columna-form {
    max-width: 120rem;
  }
}

@media (max-width: 1300px) {
  .columna-form {
    max-width: 100rem;
  }
}

@media (max-width: 1100px) {
  .columna-form {
    max-width: 80rem;
  }
}

@media (max-width: 900px) {
  .columna-form {
    max-width: 60rem;
  }
}

@media (max-width: 700px) {
  .columna-form {
    max-width: 50rem;
  }

  .formulario {
    margin: 3rem;
    box-sizing: border-box;
  }
}
