body {
  width: 80vw;
  margin: 0px auto;
  background-color: lightslategrey;
  background-size: 100px;

}

/* header{
   
   min-height: 10vw;
}*/
.encabezado {
  height: 6vw;
  background-color: #8C3535;
  box-shadow: #262525;
  border-radius: 10px;

  font-family: 'Montserrat', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: #F2F2F2;
  stroke-width: 10px;
  position: relative;

}

.encabezado img {
  position: absolute;
  float: left;
  width: 8vw;
  margin-top: 0.2em;
  margin-left: 0.2em;
  border-radius: 4px;

}

.encabezado h1 {
  font-size: 3vw;
  position: relative;
  text-shadow: darkgrey;
  text-align: center;
  padding-top: 0.4em;
  vertical-align: middle;

}

nav {
  height: 2.5em;
  background: #F27979;
  stroke-width: 10px;
  border-radius: 8px;
  position: relative;
}

nav li {
  list-style-type: none;
  color: cornsilk;

}

header nav a {
  text-decoration: none;
  font-size: 1.1em;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #f2f2f2;
  float: left;
  width: 22%;
  text-align: center;
  padding: 10px;
  display: block;
  position: relative;
}

header nav a:hover {
  background: #F24B4B;
  font-size: 1.2em;
}

header div a {
  text-decoration: none;

}

header div a:link {
  text-decoration: none;
}

header div a:visited {
  text-decoration: none;
  color: #F2F2F2;
}

section {
  display: inline-block;
  background: #F27979;
  border-radius: 8px;
  padding: 0.5em;
}

footer {
  clear: both;
  text-align: center;
  background: #8C3535;
  border-radius: 8px;
  color: #F2F2F2;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding-bottom: 0.5em;
}

h2 {
  font-family: 'Montserrat', sans-serif;
}

p {
  font-family: 'Rubik', sans-serif;
}

section img {
  margin: auto;
  display: block;
}

section img {
  width: 30%;
  float: left;
  padding-right: 1em;
}

article {
  display: inline-block;
}

.contenedor h1 {
  font-family: 'Rubik', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: white;
  font-size: 2em;
  font-weight: bold;
}

.contenedor {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  /* Cambiamos el color de fondo a rgba para agregar transparencia */
  background: rgba(242, 121, 121, 0.7);
  /* F27979 convertido a rgba con 70% de opacidad */
  border-radius: 8px;
  color: white;
  font-family: 'Montserrat', sans-serif;
}


input[type="text"],
input[type="password"] {

  width: 140px;
  height: 30px;
  font-size: 16;
  border: none;
  margin-bottom: 20px;
  background-color: #f0ebea;
  padding-left: 40px;
  border-radius: 10px;
}

[type='submit'] {
  width: 120px;
  height: 30px;
  color: white;
  background-color: #8C3535;
  font-weight: 600;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.google-btn,
.facebook-btn {
  /* Modificamos el ancho para que sean más alargados */
  width: 160px;
  height: 40px;
  border: none;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Añadimos padding horizontal */
  padding: 0 20px;
}

.google-btn img,
.facebook-btn img {
  width: 24px;
  height: 24px;
  /* Añadimos margen derecho para separar el ícono del texto */
  margin-right: 8px;
}

/* Añadimos estilos específicos para cada botón */
.google-btn {
  background: white;
  color: #757575;
}

.facebook-btn {
  background: #1877f2;
  color: white;
}

.separator {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}

.separator::before,
.separator::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: white;
}

.separator::before {
  left: 0;
}

.separator::after {
  right: 0;
}

.separator span {
  background: rgba(242, 121, 121, 0.7);
  padding: 0 10px;
  color: white;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: white;
}

.form-group input {
  width: 100%;
  height: 45px;
  /* Altura específica para todos los inputs */
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.password-input {
  position: relative;
  height: 45px;
}

.eye-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: rgba(128, 128, 128, 0.7);
  /* Gris con 70% de opacidad */
}

.forgot-password {
  text-align: left;
  margin: 1rem 0;
}

.forgot-password a {
  color: white;
  text-decoration: none;
}

.login-btn,
.boton input[type="submit"] {
  width: 100%;
  height: 45px;
  /* Misma altura que los inputs */
  background: #6C2A2A;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  margin: 1rem 0;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  /* Centrar verticalmente */
  justify-content: center;
  /* Centrar horizontalmente */
  padding: 0;
  /* Eliminar padding para mantener altura exacta */
}

.account-links {
  text-align: center;
}

.account-links a {
  color: #8C3535;
  text-decoration: none;
  font-weight: bold;
}

.account-links p {
  margin-top: 0.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.input-group input {
  width: 100%;
  height: 45px;
  /* Altura específica para todos los inputs */
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.boton input[type="submit"] {
  width: 100%;
  padding: 0.8rem;
  background: #6C2A2A;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  margin: 1rem 0;
  font-family: 'Montserrat', sans-serif;
}

.legal small {
  font-family: 'Montserrat', sans-serif;
}

.extra-links {
  font-family: 'Montserrat', sans-serif;
}

.extra-links a {
  color: #8C3535;
  text-decoration: none;
  font-weight: bold;
}

/* Hover effects */
.login-btn:hover {
  background: #5c2323;
}

.google-btn:hover,
.facebook-btn:hover {
  opacity: 0.9;
}

a:hover {
  text-decoration: underline;
}