* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login_form {
  padding: 2vw;
  width: 30%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  gap: 1vw;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

#form_heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#form_heading img {
  width: 50%;
}

#form_heading h2 {
  font-size: 1.2vw;
  text-transform: uppercase;
  margin-top: 3vh;
  margin-bottom: 2vh;
}

.input_box {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5vh;
  
}

.input_box span {
  font-size: .9vw;
  float: right;
  width: 100%;
}

.input_box input {
  outline: 0;
  background: #f2f2f2;
  border-radius: 10px;
  width: 100%;
  border: 0;
  padding: .7vw;
  box-sizing: border-box;
  font-size: 1vw;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
}

#login_btn {
  margin-top: 2vh;
}

#login_btn button {
  text-transform: uppercase;
  outline: none;
  background: #FF5003;
  border-radius: 10px;
  width: 100%;
  border: none;
  padding: .8vw;
  color: #FFFFFF;
  font-size: .9vw;
  cursor: pointer;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#login_btn button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #00083A;
  transition: all.3s ease-in-out;
  z-index: 0;
}
#login_btn button:hover::before {
  width: 100%;
  z-index: -1;
}

#other_links {
  margin-top: 2vh;
}

#other_links a {
  font-size: .9vw;
  text-decoration: none;
}

#other_links a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .login_form {
    width: 40%;
  }

  #form_heading h2 {
    font-size: 2vw;
  }

  .input_box span {
    font-size: 1.8vw;
    width: 80%;
  }

  .input_box input {
    padding: 1.2vw;
    font-size: 1.8vw;
    width: 80%;
  }

  #login_btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #login_btn button {
    width: 80%;
    padding: 1.2vw;
    font-size: 1.8vw;
  }

  #other_links {
    margin-left: 15px;
  }
  

  #other_links a {
    font-size: 1.8vw;
  }
}

@media (max-width: 768px) {
  .login_form {
    width: 60%;
  }

  #form_heading h2 {
    font-size: 3vw;
  }

  .input_box span {
    font-size: 2.5vw;
    width: 80%;
  }

  .input_box input {
    padding: 1.5vw;
    font-size: 2.5vw;
  }

  #login_btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #login_btn button {
    width: 80%;
    padding: 1.5vw;
    font-size: 2.5vw;
  }

  #other_links {
    margin-left: 15px;
  }
  

  #other_links a {
    font-size: 2.5vw;
  }
}

@media (max-width: 600px) {
  .login_form {
    width: 80%;
  }

  #form_heading h2 {
    font-size: 4vw;
  }

  .input_box span {
    width: 80%;
    font-size: 3.5vw;
  }

  .input_box input {
    padding: 2.5vw;
    font-size: 3.5vw;
  }

  #login_btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #login_btn button {
    width: 80%;
    padding: 2.5vw;
    font-size: 3.5vw;
  }

  #other_links {
    margin-left: 15px;
  }
  

  #other_links a {
    font-size: 3.5vw;
  }
}

@media (max-width: 400px) {
  .login_form {
    width: 90%;
  }

  #form_heading h2 {
    font-size: 5vw;
  }

  .input_box span {
    width: 80%;
    font-size: 4vw;
  }

  .input_box input {
    padding: 3vw;
    font-size: 4vw;
  }

  #login_btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #login_btn button {
    width: 80%;
    padding: 3vw;
    font-size: 4vw;
  }

  #other_links {
    margin-left: 15px;
  }
  

  #other_links a {
    font-size: 4vw;
  }
}
