@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f2f2f2;
}

nav .logo {
  padding: 2rem;
  width: 150px;
}

main {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 90vh;
  width: 100%;
  margin-top: -40px;
}

form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.login-form {
  width: 400px;
  height: 450px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.1);
}

.div-svg img {
  width: 400px;
}

.login-form {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
}

.login-form h2 {
  margin-bottom: 20px;
}

.login-form input {
  width: 300px;
  height: 50px;
  background: #f2f2f2;
  border-radius: 8px;
  border: none;
  outline: none;
  padding: 0 20px;
  margin: 15px;
}

.login-form button {
  margin-top: 20px;
}
.login-form h4 {
  color: #b0162b;
}

.login-form b {
  color: #000;
}
.div-input-password {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.div-input-password img {
  position: absolute;
  right: 25px;
  width: 18px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.div-input-password img:hover {
  opacity: 80%;
}
.back-link {
  margin-top: 20px;
  margin-left: 50px;
  text-decoration: none;
  color: #000;
  transition: 0.4s ease-in;
}

.back-link:hover {
  opacity: 85%;
}

.back-link i {
  color: #b0162b;
}

.div-back-link {
  display: flex;
  justify-self: self-start;
  width: 100%;
}

footer {
  display: flex;
  align-items: center;
  text-align: center;
  height: 60px;
  margin: 0;
}

footer div {
  background: #b0162b;
  color: #f5f5f5;
  margin-top: 50px;
  font-size: 14px;
  padding: 20px;
  width: 100%;
  font-variant: initial;
}

@media only screen and (max-width: 768px) {
  .div-svg img {
    display: none;
  }
  main {
    justify-content: center;
  }
  .login-form {
    width: 350px;
    margin: auto;
  }
}
