/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif; 
}

a {
  text-decoration: none;
}

.header {
  position: fixed;
  height: 80px;
  width: 100%;
  z-index: 100;
  padding: 0 20px;
}

.nav {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.nav,
.nav_item {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.nav_logo,
.nav_link,
.button {
  color: #fff;
}

.nav_logo {
  font-size: 25px;
}

.nav_item {
  column-gap: 25px;
}

.nav_link:hover {
  color: #d9d9d9;
}

.button {
  padding: 6px 24px;
  border: 2px solid #fff;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
}

.button:active {
  transform: scale(0.98);
}

/* Home */
.home {
  position: relative;
  height: calc(100vh - 200px) !important;
  width: 100%;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.home::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease-out;
}

.home.show::before {
  opacity: 1;
  pointer-events: auto;
}

/* From */
.form_container {
  position: fixed;
  max-width: 320px;
  width: 100%;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 101;
  background: #fff;
  padding: 20px;
  border-radius: 0px;
  box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 25%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease-out;
}

.home.show .form_container {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  border-top: 0px solid #0e5d79b3;
  border-right: 5px solid #0e5d79b3;
  border-top-left-radius: 1em 1em;
  border-bottom-left-radius: 1em 1em;
}

.user_signup {
  display: none;
}

.user_login {
  display: none;
}

.form_container.signup .user_signup {
  display: block;
}

.form_container.login .user_login {
  display: block;
}

.form_close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #0b0217;
  font-size: 22px;
  opacity: 0.7;
  cursor: pointer;
}

.form_container h2 {
  font-size: 22px;
  color: #0b0217;
  text-align: center;
}

.input_box {
  position: relative;
  margin-top: 10px;
  width: 100%;
  height: 40px;
}

.input_box input {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  padding: 0 30px;
  color: #333;
  transition: all 0.2s ease;
  border-bottom: 1.5px solid #aaaaaa;
  font-family: 'Roboto', sans-serif;
}

.input_box input:focus {
  border-color: #0e5d79b3;
}

.input_box i {
  position: absolute;
  top: 53%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #0e5d79b3;
  filter: drop-shadow(0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2)); border: none;
}

.input_box i.email,
.input_box i.token,
.input_box i.screen_name,
.input_box i.password {
  left: 0;
}

.input_box input:focus~i.email,
.input_box input:focus~i.token,
.input_box input:focus~i.screen_name,
.input_box input:focus~i.password {
  color: #0e5d79b3;
  
}

.input_box i.pw_hide {
  right: 0;
  font-size: 18px;
  cursor: pointer;
  filter: drop-shadow(0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2)); border: none;
}

.option_field {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form_container a {
  color: #0e5d79b3;
  font-size: 12px;
}

.form_container a:hover {
  text-decoration: underline;
}

.checkbox {
  display: flex;
  column-gap: 8px;
  white-space: nowrap;
}

.checkbox input {
  accent-color: #0e5d79b3;
}

.checkbox label {
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  color: #0b0217;
}

.form_container .button {
  background: #0e5d79b3;
  margin-top: 30px;
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
}

.login_signup {
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
  font-family: 'Roboto', sans-serif;
}

.forgot_pw {
  font-size: 14px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  z-index: 40000;
}