@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&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");
@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");
* {
  font-family: "Noto sans";
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  overflow: hidden;
}
.login-container {
  width: 100%;
  height: 100vh;
  .login-top {
    width: 100%;
    height: 87%;
    display: flex;
    flex-direction: row;
    position: relative;
    .login-img {
      width: 65%;
      height: 100%;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .login-form {
      min-width: 500px;
      background-color: white;
      width: 35%;
      height: 100%;
      position: absolute;
      right: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      form {
        width: 480px;
        height: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
        .form-header {
          width: 70%;
          height: 35%;
          .img {
            width: 100%;
            height: 25%;
            img {
              width: 100%;
              height: 100%;
              object-fit: contain;
              filter: invert(1);
            }
          }
          .des {
            width: 100%;
            height: 75%;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            h1 {
              font-weight: 600;
              font-size: 25px;
            }
            p {
              font-weight: 400;
              font-size: 15px;
            }
          }
        }
        .form-body {
          width: 70%;
          height: 65%;
          padding-top: 3%;
          display: flex;
          flex-direction: column;
          gap: 10px;
          .input {
            width: 100%;
            height: 50px;
            position: relative;
            label {
              position: absolute;
              width: fit-content;
              margin-left: 10px;
              height: fit-content;
              background-color: white;
              top: 50%;
              transform: translateY(-50%);
              cursor: text;
              transition: 0.2s;
            }
            input {
              width: 100%;
              height: 100%;
              padding-inline: 10px;
              outline: none;
              border: 2.5px solid gray;
              border-radius: 5px;
              font-size: 15px;
              padding-right: 40px;
              transition: 0.2s;
            }
            input:focus {
              border-color: black;
            }
            .fa-eye,
            .fa-eye-slash {
              position: absolute;
              right: 10px;
              top: 50%;
              transform: translateY(-50%);
              cursor: pointer;
              transition: 0.2s;
            }
          }
          button {
            width: 100%;
            height: 50px;
            border: none;
            border-radius: 5px;
            font-family: "Poppins";
            cursor: pointer;
            font-weight: 500;
            font-size: 18px;
            background-color: black;
            color: white;
          }

          p,
          a {
            color: black;
            text-decoration: none;
            font-size: 14px;
          }
          a:hover {
            text-decoration: underline;
          }
          .email-login {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            position: relative;
            p {
              white-space: nowrap;
              font-weight: 500;
              color: rgb(20, 20, 20);
              margin-inline: 4px;
            }
          }
          .email-login::before,
          .email-login::after {
            content: "";
            width: 100%;
            height: 1.5px;
            background-color: black;
          }
          .email-login-link {
            width: 100%;
            height: 50px;
            display: flex;
            margin-top: 10px;
            padding-left: 20px;
            align-items: center;
            border: 2.5px solid black;
            background-color: white;
            border-radius: 5px;
            gap: 20px;
            font-size: 18px;
            font-family: "Poppins";
          }
          .email-login-link:hover {
            text-decoration: none !important;
          }
        }
      }
    }
  }
  .login-bottom {
    width: 100%;
    height: 13%;
    background-color: black;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 30px;
    a,
    p {
      color: white;
      font-size: 15px;
    }
  }
}

@media (min-width: 500px) and (max-width: 1050px) {
  .login-container {
    .login-top {
      height: 80%;
      .login-img {
        width: 100%;
      }
      .login-form {
        min-width: 450px;
        height: 80%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 10px;
        form {
          width: 460px;
          height: 70%;
          display: flex;
          flex-direction: column;
          align-items: center;

          .form-body {
            height: fit-content;
          }
        }
      }
    }
    .login-bottom {
      height: 20%;
    }
  }
}
@media (max-width: 499px) {
  .login-container {
    .login-top {
      height: 100%;
      .login-img {
        width: 100%;
      }
      .login-form {
        min-width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        align-items: start;
        padding-top: 20px;
        form {
          height: fit-content;
          background-color: white;
          display: flex;
          flex-direction: column;
          align-items: center;

          .form-body {
            height: fit-content;
          }
        }
      }
    }
    .login-bottom {
      width: 0;
      height: 0;
    }
  }
}
