@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");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  a {
    text-decoration: none;
  }
}
:root {
  --Main-colors-White: #fff;
  --main-color-Divider: #e0e0e0;
  --Text-field: rgba(216, 216, 216, 0.2);
  --Field-border-color: #0b51db;
  --Text-Colors-Text-Black: #101010;
  --buttons-color: #0b51db;
  --hover-buttons-color: #1908b0;
  --Text-Colors-Text-dark-grey: #595959;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 40px;
}
.page_container {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-self: center;
  gap: 126px;
  width: 100%;
  height: 604px;
  box-sizing: border-box;
}
.page_container .login_img {
  width: 38%;
  height: 73%;
  object-fit: contain;
}
.page_container .form_container {
  display: flex;
  height: 100%;
  width: 36%;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border-radius: 24px;
  background: var(--Main-colors-White);
  box-shadow: 0px 6px 22px 0px rgba(0, 0, 0, 0.05);
}
.page_container label {
  color: var(--Text-Colors-Text-dark-grey);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.page_container input {
  display: flex;
  height: 43px;
  padding: 0px 16px;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 8px;
  box-sizing: border-box;
  border: 1px solid var(--main-color-Divider);
  background: var(--Text-Field);
  font-size: 14px;
}
.page_container input:focus {
  outline: 1px solid var(--Field-border-color);
}
.page_container .inputs_containers {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
}
.page_container .input_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}
.page_container .form_img {
  width: 180px;
  height: 49px;
}
.page_container .form_header {
  color: var(--Text-Colors-Text-Black);
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.page_container .submit_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}
.page_container .submit_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  background: var(--buttons-color);
  color: var(--Main-colors-White);
  border: none;
  cursor: pointer;
  color: var(--Main-colors-White);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.page_container .submit_btn:hover {
  background: var(--hover-buttons-color);
}
.page_container .forgetPass {
  color: var(--Text-Colors-Text-dark-grey);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
}
/* ------------------------------------------ Responsive CSS Here ----------------------------------- */
@media (max-width: 449.98px) {
  main {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 100%;
    padding: 55px 16px;
  }
  .page_container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
  }
  .page_container .login_img {
    display: none;
  }
  .page_container .form_header {
    font-size: 21px;
  }
  .page_container .form_container {
    display: flex;
    height: 100%;
    width: 100%;
    gap: 24px;
  }
  .page_container .submit_btn {
    font-size: 16px;
  }
  .page_container .register {
    font-size: 14px;
  }
  .page_container .forgetPass {
    font-size: 13px;
  }
}
@media (min-width: 450px) and (max-width: 599.98px) {
  main {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 100%;
    padding: 30px 32px;
  }

  .page_container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
  }
  .page_container .login_img {
    display: none;
  }
  .page_container .form_container {
    display: flex;
    height: 100%;
    width: 100%;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    border-radius: 24px;
    background: var(--Main-colors-White);
    box-shadow: 0px 6px 22px 0px rgba(0, 0, 0, 0.05);
  }
  .page_container .form_header {
    font-size: 23px;
  }
}

@media (min-width: 600px) and (max-width: 789.98px) {
  main {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 100%;
    padding: 30px 80px;
  }

  .page_container .page_container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  .page_container .login_img {
    display: none;
  }
  .page_container .form_container {
    display: flex;
    height: 100%;
    width: 100%;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    border-radius: 24px;
    background: var(--Main-colors-White);
    box-shadow: 0px 6px 22px 0px rgba(0, 0, 0, 0.05);
  }
  .page_container .form_header {
    font-size: 23px;
  }
}

@media (min-width: 790px) and (max-width: 1200px) {
  .page_container {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 64px;
    width: 100%;
    height: 514px;
    box-sizing: border-box;
  }
  .page_container .form_header {
    color: var(--Text-Colors-Text-Black);
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
  .page_container .form_container {
    display: flex;
    height: 100%;
    width: 53%;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    border-radius: 24px;
    background: var(--Main-colors-White);
    box-shadow: 0px 6px 22px 0px rgba(0, 0, 0, 0.05);
  }
  .page_container .forgetPass {
    color: var(--Text-Colors-Text-dark-grey);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
  }
  .page_container .submit_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    background: var(--buttons-color);
    color: var(--Main-colors-White);
    border: none;
    cursor: pointer;
    color: var(--Main-colors-White);
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }
  .page_container .login_img {
    width: 44%;
    height: 81%;
    object-fit: contain;
  }
  .page_container .inputs_containers {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
}
