* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: Lato, sans-serif;
}

main {
  display: flex;
  width: 100vw;
  height: 100vh;

  background-color: #f8f8f8;
}

main .left,
.right {
  width: 50%;
  background-color: #ffffff;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.left h1 {
  font-weight: bold;
}

.right img {
  height: 100%;
  width: 100%;
}

.left-all {
  width: 65%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 100%;
  gap: 10%;
}

label {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
  font-weight: 500;
}

input[type="text"],
input[type="password"] {
  outline: none;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 5px 15px;
  border: 1px solid grey;

  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.container-titulos {
  width: 90%;
  text-align: center;
}

.container-titulos p {
  font-weight: 500;
}

.boton-subir {
  width: 100%;
  border-radius: 10px;
  padding: 5px 15px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  border: none;
  outline: none;
  background-color: #2167ae;
  color: white;
  transition: background-color 0.3s ease-in-out; /* Agrega la transición aquí */
}

.boton-subir:hover {
  background-color: #135ddc;
}

header {
  width: 90%;
}

header .container-logo {
  display: flex;
  justify-content: center;
}

header img {
  width: 70%;
}

/* RESPONSIVE */

@media (min-width: 320px) and (max-width: 768px) {
  main {
    flex-direction: column;
  }

  main .right {
    display: none;
  }

  main .left {
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 769px) and (max-width: 848px) {
  main {
    flex-direction: column;
  }

  main .right {
    display: none;
  }

  main .left {
    width: 100%;
    height: 100%;
  }
  .container-titulos p {
    font-size: 1.5rem;
  }

  label {
    font-size: 1rem;
  }
}
