@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --color-blue-light: #dfecff;
  --color-principal-text: #355f9b;
  --color-second-text: #a2cbf1;
  --color-button-bg: #5076b5;
  --color-button-bd: #3d57a4;
  --color-bg: #134584;
  --font-poppins: "Poppins", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #c9d6ff;
  background: linear-gradient(to right, #142033, #262d4b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  background-image: url(../assets/img/bg_login.webp);
  background-repeat: no-repeat;
  background-size: cover;
}
.container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.background {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to left, #08386d, rgba(9, 9, 121, 0));
}
.left {
  z-index: 2;
  width: 50%;
  height: 100vh;
  display: flex;
  justify-content: start;
  align-items: end;
}
.right {
  z-index: 3;
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.logotipo {
  margin-left: 50px;
  margin-bottom: 50px;
}
.logotipo img {
  width: 100%;
  height: 50px;
}
.login {
  width: 450px;
  height: 400px;
  background-color: white;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.login h1 {
  font-size: 2rem;
  font-family: var(--font-poppins);
  color: var(--color-principal-text);
}
.login span {
  font-size: 1rem;
  font-family: var(--font-poppins);
  font-weight: 500;
  margin-top: -10px;
  margin-bottom: 30px;
}
.login input {
  width: 80%;
  height: 10%;
  margin-bottom: 10px;
  background: linear-gradient(var(--color-blue-light), white);
  border: none;
  padding: 10px 0px 10px 20px;
  border-radius: 20px;
  font-size: 1rem;
  box-shadow: 4px 2px 0px 0px var(--color-blue-light);
}
.login a {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--color-second-text);
  font-weight: bold;
  font-style: italic;
}
.login button {
  width: 60%;
  height: 8%;
  background: var(--color-button-bg);
  border: 2px solid var(--color-button-bd);
  text-decoration: none;
  margin-top: 20px;
  border-radius: 12px;
  color: white;
  font-family: var(--font-poppins);
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 1px 6px 10px 2px #5076b594;
}
@media screen and (min-width: 320px) and (max-width: 992px)  {
  body{
    background-position: center;
  }
  .container{
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
  .left{
    height: 50vh;
    justify-content: center;
    align-items: center;
  }
  .left figure{
    margin: 0;
  }
  .right{
    width: 100%;
    justify-content: flex-start;
  }
  .login{
    width: 90%;
    max-width: 90%;
  }
  }
