/* 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: "Arial", sans-serif;
  zoom: 100%;
}
a {
  text-decoration: none;
}
.header {
  position: fixed;
  height: 130px;
  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: 10px;
}
.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: 100vh;
  width: 100%;
  background-image: url("../img/bg2.jpg");
  background-size: cover;
  background-position: center;
}
.home::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease-out;
}
.home.show::before {
  opacity: 1;
  pointer-events: auto;
}
/* From */

/* Small devices (portrait tablets and large phones, 600px and up) PC(main) zoom 25% - 300% */
@media only screen and (min-width: 600px) {
  .containerhome{
    font-size: 20px;
    position: fixed;
    max-width: 550px;
    width: 100%;
    top: 50%;
    left: 50%;
    background: rgba(248, 248, 248, 0.623);
    transform: translate(-50%, -50%) scale(1.2);
    padding: 25px;
    border-radius: 12px;
    /* opacity: 0.6; */
    animation: transitionIn 1s;
  }
}

/* for mobile (zoom 400% - 500%) */
@media only screen and (max-width: 480px) {

.containerhome{
  font-size: 13px;
  position: fixed;
  max-width: 300px;
  width: 100%;
  top: 50%;
  left: 50%;
  background: rgba(248, 248, 248, 0.6);
  transform: translate(-50%, -50%) scale(1.2);
  padding: 20px;
  border-radius: 12px;
  /* opacity: 0.6; */
  animation: transitionIn 1s;
}}

/* Media Query for Laptops and Desktops */
/* @media (min-width: 1025px) and (max-width: 1280px){

.containerhome{
  font-size: 20px;
  position: fixed;
  max-width: 450px;
  width: 100%;
  top: 50%;
  left: 50%;
  background: rgba(248, 248, 248, 0.6);
  transform: translate(-50%, -50%) scale(1.2);
  padding: 25px;
  border-radius: 12px;
  
  animation: transitionIn 1s;
}} */
/* opacity: 0.6; */

/* for pc (old Main) */
@media only screen and (min-width: 1280px) {

.containerhome{
  font-size: 20px;
  position: fixed;
  max-width: 550px;
  width: 100%;
  top: 50%;
  left: 50%;
  background: rgba(248, 248, 248, 0.6);
  transform: translate(-50%, -50%) scale(1.2);
  padding: 25px;
  border-radius: 12px;
  /* opacity: 0.6; */
  animation: transitionIn 1s;
}}

/* Medium devices (landscape tablets, 768px and up) zoom 200%> */
@media only screen and (min-width: 768px) {
  .containerhome{
    font-size: 20px;
    position: fixed;
    max-width: 550px;
    width: 100%;
    top: 50%;
    left: 50%;
    background: rgba(248, 248, 248, 0.6);
    transform: translate(-50%, -50%) scale(1.2);
    padding: 25px;
    border-radius: 12px;
    /* opacity: 0.6; */
    animation: transitionIn 1s;
  }
}

.title{
  color: #fff;
  position: fixed;
  width: 100%;
  top: -55%;
  left: 1%;
}

.title h2{
  font-size: 55px;
}

@media only screen and (max-width: 480px) {

  .title{
    color: #fff;
    position: fixed;
    width: 100%;
    top: -70%;
    left: 1%;
  }}

/* .containerhome{
  font-size: 20px;
  position: fixed;
  max-width: 350px;
  width: 100%;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(1.2);
  padding: 25px;
  border-radius: 12px;
  opacity: 0.6;
  animation: transitionIn 1s;
} */

/* Animation container transition */
/* @keyframes transitionIn {
  from{
    opacity: 0;
    transform: rotateX(90deg);
  }

  to{
    opacity: 0.6;
  }
} */

.button1 {
  padding: 6px 24px;
  border: 2px solid #686262;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  display: inline;
  flex-direction: column;
  width: 47%;
  background-color: rgb(248, 248, 248);
}

.button1:active {
  transform: scale(1.20);
}


.form_container {
  position: fixed;
  max-width: 320px;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 101;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1);
  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);
}
.signup_form {
  display: none;
}
.form_container.active .signup_form {
  display: block;
}
.form_container.active .login_form {
  display: none;
}
.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: 30px;
  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;
}

.input_box textarea {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  padding: 0 30px;
  color: #333;
  transition: all 0.2s ease;
  border-bottom: 1.5px solid #aaaaaa;
  resize: vertical;
}

.input_box input:focus {
  border-color: #7d2ae8;
}
.input_box i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #707070;
}
.input_box i.email,
.input_box i.password {
  left: 0;
}
.input_box input:focus ~ i.email,
.input_box input:focus ~ i.password {
  color: #7d2ae8;
}
.input_box i.pw_hide {
  right: 0;
  font-size: 18px;
  cursor: pointer;
}
.option_field {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form_container a {
  color: #7d2ae8;
  font-size: 12px;
}
.form_container a:hover {
  text-decoration: underline;
}
.checkbox {
  display: flex;
  column-gap: 8px;
  white-space: nowrap;
}
.checkbox input {
  accent-color: #7d2ae8;
}
.checkbox label {
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  color: #0b0217;
}
.form_container .button {
  background: #7d2ae8;
  margin-top: 30px;
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
}
.login_signup {
  font-size: 12px;
  text-align: center;
  margin-top: 15px;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #040b14;
  color: white;
  text-align: center;
}