@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  /* Colors  */
  --color-100: hsl(51, 100%, 95%);
  --color-200: hsl(51, 100%, 90%);
  --color-300: hsl(51, 100%, 85%);
  --color-400: hsl(51, 100%, 75%);
  --color-500: hsl(34, 95%, 50%);
  --color-900: hsl(51, 40%, 25%);
  --color-950: hsl(51, 30%, 15%);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  outline: none;
  border: none;
}
*::before,
*::after {
  box-sizing: inherit;
}

*::selection {
  background: var(--color-950);
  color: var(--color-100);
}

body,
html {
  width: 100%;
  height: 100vh;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/img/bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  backdrop-filter: blur(6px);
}

.login-container {
  max-width: 750px;
  height: 65%;
  width: 100%;
  border-radius: 5px;
  box-shadow: hsla(18, 50%, 14%, 0.2) 0px 1px 4px;
  display: flex;
  /* overflow: hidden; */
  /* background: #fff; */
  border: 1px solid var(--color-400);
}
.left {
  width: 50%;
  position: relative;
  border-right: 1px solid var(--color-400);
  background: rgba(255, 255, 255, 0.4);
}
img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}
.right {
  width: 50%;
  padding: 30px;
  background: #fafafa;
}
h1,
h4,
p {
  text-align: center;
  display: block;
  width: 100%;
  color: var(--color-900);
}
p {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-400);
  line-height: 1.5;
  font-size: 14px;
}
form {
  margin-top: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  position: relative;
}
.field input {
  /* border-bottom: 1px solid var(--color-300);
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-900);
    background: transparent; */
  border: 1px solid hsl(0, 0%, 81.6%);
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-900);
  background: transparent;
  margin-top: 8px;
  border-radius: 7px;
}

.field input:is(:focus, :active) {
  outline: 1px solid var(--color-300);
  background: var(--color-200) !important;
  border-radius: 5px;
}
.field label {
  font-size: 14px;
  color: var(--color-950);
}
button {
  display: block;
  padding: 10px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  background: var(--color-950);
  color: var(--color-100);
  margin-top: 10px;
  cursor: pointer;
}
button:hover {
  background: var(--color-900);
}
#eye {
  position: absolute;
  top: 50%;
  right: 5%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-900);
}
#eye.active::before {
  content: "\ebaf";
}

@media screen and (max-width: 768px) {
  .login-container {
    flex-direction: column;
    min-width: 300px;
    height: 100%;
  }
  .left {
    width: 100%;
  }
  .right {
    width: 100%;
  }
}
