/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600");

/*===== VARIABLES CSS =====*/
:root {
  /*===== Colors =====*/
  --first-color: #ff1111;
  --first-color-dark: #1c1c1c;
  --first-color-light: #a49eac;
  --first-color-lighten: #fff;

  /*===== Font and typography =====*/
  --body-font: "Poppins", sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size1: 0.75rem;
}

@media screen and (min-width: 768px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
  }
}

/*===== BASE =====*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--first-color-dark);
}

h1 {
  margin: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*===== LOGIN =====*/
.login {
  display: grid;
  grid-template-columns: 100%;
  height: 100vh;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.login__header {
  text-align: center;
  color: var(--first-color-dark);
  left: 0;
  margin-top: 6rem;
  width: 100%;
}

.login__content {
  display: grid;
}

.login__img {
  justify-self: center;
  background-color: rgba(0, 0, 0, 0);
}

.login__img img {
  width: 170px;
  margin-top: 1rem;
  margin-bottom: 13rem;
  filter: drop-shadow(1px 1px 5px rgb(59, 59, 59));
}

.login__forms {
  position: relative;
  height: 368px;
}

.login__create,
.login__user,
.reset__pwd {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  background-color: var(--first-color-lighten);
  padding: 2rem 1rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation-duration: 0.4s;
  animation-name: animate-login;
}

@keyframes animate-login {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.1, 1.1);
  }
  100% {
    transform: scale(1, 1);
  }
}

.login__title {
  font-size: var(--h1-font-size);
  margin-bottom: 2rem;
}

.reset__subtitle {
  font-size: var(--small-font-size);
  color: #a49eac;
}

.login__box {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0.5rem;
  padding: 1.125rem 1rem;
  background-color: #fff;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

.eyes__login {
  position: absolute;
  top: 40.5%;
  right: 30px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--first-color-light);
}
.eyes__signup {
  position: absolute;
  top: 56.5%;
  right: 30px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--first-color-light);
}
.eyes__signup1 {
  position: absolute;
  top: 68.5%;
  right: 30px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--first-color-light);
}
.eyes__signup2 {
  position: absolute;
  top: 33%;
  right: 30px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--first-color-light);
}
.eyes__signup3 {
  position: absolute;
  top: 52%;
  right: 30px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--first-color-light);
}

.eyes__login:hover,
.eyes__signup:hover,
.eyes__signup1:hover,
.eyes__signup2:hover,
.eyes__signup3:hover {
  color: var(--first-color);
}
#eye__show-icon,
#eye__show-icon1,
#eye__show-icon2 {
  display: none;
}

.login__icon {
  font-size: 1.5rem;
  color: var(--first-color);
}

.login__input {
  border: none;
  outline: none;
  font-size: var(--small-font-size);
  font-weight: 700;
  color: var(--first-color-dark);
  font-family: var(--body-font);
}

.login__input::placeholder {
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  color: var(--first-color-light);
}

.login__forgot {
  display: block;
  width: max-content;
  margin-left: auto;
  margin-top: 0.5rem;
  font-size: var(--small-font-size);
  font-weight: 600;
  color: var(--first-color-light);
}

.login__forgot:hover {
  color: var(--first-color);
}

.login__button {
  font-family: var(--body-font);
  font-weight: 600;
  background-color: var(--first-color);
  border-radius: 0.5rem;
  border: none;
  color: white;
  padding: 15px 125px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  margin: 2rem 0;
}
.login__button1 {
  font-family: var(--body-font);
  font-weight: 600;
  background-color: var(--first-color);
  border-radius: 0.5rem;
  border: none;
  color: white;
  padding: 15px 90px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  margin: 2rem 0;
}

.login__button:hover,
.login__button1:hover {
  background-color: rgba(255, 0, 0, 0.5);
  color: #fff;
}

.login__account,
.login__signin,
.login__signup {
  font-weight: 600;
  font-size: var(--small-font-size);
}

.login__account {
  color: var(--first-color-dark);
}

.login__signin,
.login__signup {
  color: var(--first-color);
  cursor: pointer;
}

.login__social {
  margin-top: 2rem;
}

.login__social-icon {
  font-size: 2rem;
  color: var(--first-color-dark);
  margin: 0 1.5rem;
}

.login__social-icon:hover {
  color: var(--first-color);
}

.footer {
  position: fixed;
  left: 0;
  width: 100%;
  font-size: var(--smaller-font-size1);
  text-align: center;
  color: #a49eac;
}

.footer__copy {
  padding-bottom: 0.5rem;
  font-size: var(--smaller-font-size1);
  text-align: center;
  color: #a49eac;
}

/* ===== MEDIA QUERIES =====*/
@media screen and (min-width: 576px) {
  .login__forms {
    width: 348px;
    justify-self: center;
  }
}

@media screen and (min-width: 1024px) {
  .login {
    height: 100vh;
    overflow: scroll;
  }

  .login__content {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: center;
    margin-left: 10rem;
  }

  .login__img {
    display: flex;
    width: auto;
    height: auto;
    background-color: rgb(0, 0, 0, 0);
    border-radius: 1rem;
    padding-right: 11rem;
  }

  .login__img img {
    width: 390px;
    margin-top: 7rem;
  }

  .login__create,
  .login__user,
  .reset__pwd {
    left: -11rem;
  }

  .login__create {
    bottom: -6.5rem;
  }

  .login__user {
    bottom: -2rem;
  }

  .reset__pwd {
    bottom: 2rem;
  }
}
