/* ========================================================================================================== */
/* ================================================== General ================================================ */
@font-face {
  font-family: "poppins-regular";
  src: url("../font/Poppins-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "poppins-bold";
  src: url("../font/Poppins-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
  list-style-type: none;
  font-family: poppins-regular;
  line-height: 1.2;
}

h2 {
  font-family: poppins-bold;
}

a {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

body {
  height: 100vh;
}

/* ======================================================================================================== */
/* =================================================== WRAPPER ============================================= */
.wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======================================================================================================== */
/* =================================================== WINDOW ============================================= */

.window {
  border: 1px solid #000;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 1);
  padding: 20px;
  width: 40vw;
  display: flex;
  flex-direction: column;
  gap: 40px 0;
}

/* ======================================================================================================== */
/* ================================================ WINDOW TOP ============================================ */
.window-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ======================================================================================================== */
/* ================================================ WINDOW FORM ============================================ */
.window-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px 0;
}

.window-form div {
  display: flex;
  flex-direction: column;
  gap: 5px 0;
}

label {
  font-size: 14px;
}

input {
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  background-color: #f3f3f3;
  transition-property: box-shadow;
  transition-duration: 0.2s;
  transition-timing-function: linear;
}

input:focus {
  box-shadow: 0px 0px 5px 0px #000000;
}

.button-login-wrap button {
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  background-color: #000000;
  color: #ffffff;
  font-family: poppins-bold;
  letter-spacing: 0.5px;
  transition-property: box-shadow, background-color, color;
  transition-duration: 0.2s;
  transition-timing-function: linear;
}

.button-login-wrap button:hover {
  box-shadow: 0px 0px 2px 0px #000000;
  background-color: #f3f3f3;
  color: #000000;
}

.password-wrap {
  position: relative;
}

#button-eye {
  border: none;
  background-color: transparent;
  display: block;
  width: 16px;
  aspect-ratio: 1/1;
  position: absolute;
  top: 30px;
  right: 10px;
  z-index: 1;
}

#button-eye img {
  display: block;
  width: 100%;
  object-fit: cover;
}
