* {
  padding: 0;
  margin: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}
.titulo{
  color: #03376B;/*#2b2b2be6*/
  font-size: 30px;
  font-weight: bold;
  margin-bottom: -20px;
}
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: #0a0526;/*#010127*/
  font-family: "Ubuntu", helvetica;
  height: 100vh;
  margin: 0;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: #ffffff; /*#1ab188;*/
  transition: 0.1s ease;
}

a:hover {
  color: #0062be; /*#179b77;*/
}

.logo {
  
  margin-top: -70px; /* Espacio superior para separar del borde superior */
  text-align: center; /* Centra horizontalmente el contenido del logo */
   
}

.logo img {
  display: block;
  margin: 0 auto; /* Centra la imagen del logo */
  max-width: 100%; /* Ajusta el tamaño máximo del logo */
}

.contenedor-formularios {
  margin-top: 50px; /* Espacio entre el logo y el formulario */
  /*background: rgba(19, 35, 47, 0.5);*/
  background: rgba(3, 24, 45, 0.973);
  padding: 40px;
  max-width: 400px;
  width: 100%; /* Asegura que el contenedor no exceda el ancho máximo */
  border-radius: 4px;
  box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
  box-sizing: border-box; /* Incluye el relleno en el ancho total */
}

.contenedor-tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.contenedor-tabs:after {
  content: "";
  display: table;
  clear: both;
}

.contenedor-tabs li a {
  display: block;
  text-decoration: none;
  padding: 15px;
  background: rgba(160, 179, 176, 0.25);
  color: #a0b3b0;
  font-size: 20px;
  float: left;
  width: 50%;
  text-align: center;
  cursor: pointer;
  transition: 0.1s ease;
}

.contenedor-tabs li a:hover {
  background: #179b77;
  color: #fff;
}

.contenedor-tabs .active a {
  background: #1ab188;
  color: #fff;
}

.contenido-tab > div:last-child {
  display: none;
}

h1 {
  text-align: center;
  color: #fff;
  font-weight: 300;
  margin: 0 0 40px;
}

label {
  position: absolute;
  transform: translateY(6px);
  left: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.1s ease;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
  font-size: 22px;
}

label .req {
  margin: 2px;
  color: #1ab188;
}

label.active {
  transform: translateY(50px);
  left: 2px;
  font-size: 14px;
}

label.active .req {
  opacity: 0;
}

label.highlight {
  color: #fff;
}

label .req {
  color: #8a2929; /* Cambia el color del asterisco */
}

input {
  font-size: 22px;
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  background: none;
  background-image: none;
  border: 1px solid #97a2ad; /*#a0b3b0*/
  border-top: none;
  border-left: none;
  border-right: none;
  color: #fff;
  border-radius: 0;
  transition: all 0.2s ease;
  border-radius: 5px;
}

input:focus {
  outline: none;
  border-color: #0f17ff; /*#1ab188*/
}

.contenedor-input {
  position: relative;
  margin-bottom: 40px;
}

.fila-arriba:after {
  content: "";
  display: table;
  clear: both;
}

.fila-arriba div {
  float: left;
  width: 48%;
  margin-right: 4%;
}

.fila-arriba div:last-child {
  margin: 0;
}

.button {
  border: 0;
  outline: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 8px 0;
  font-size: 1rem;
  background: #070379;
  color: #fff;
  transition: all 0.5s ease;
  -webkit-appearance: none;
}

.button:hover, .button:focus {
  background: #0062be;
}

.button-block {
  display: block;
  width: 100%;
}

.forgot {
  margin-top: -20px;
  text-align: right;
  margin-bottom: 20px;
}

@media screen and (max-width: 500px) {

  .logo {
  
    margin-top: 5px; /* Espacio superior para separar del borde superior */
    text-align: center; /* Centra horizontalmente el contenido del logo */
     
  }
  
  .logo img {
    display: block;
    margin: 0 auto; /* Centra la imagen del logo */
    max-width: 75%; /* Ajusta el tamaño máximo del logo */
  }
  .titulo{
    color: #11093c;
    font-size: 25px;
  }
  .fila-arriba div {
    width: 100%;
  }
  
  .fila-arriba div:last-child {
    margin-bottom: 40px;
  }
}

@media screen and (min-width: 844px) and (max-width: 920px) and (orientation: landscape) {
  /* Aplica solo cuando la orientación es landscape y el ancho es menor que 844px */
  .logo img {
    display: none !important; /* Oculta la imagen del logo */
  }
}