* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --mainColor: #d10000;
  --subColor: #ffd016;
  --textColor: #000000;
}

html {
  scroll-behavior: smooth;
}

body { 
  background: rgb(232, 232, 253);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.6);
  z-index: -1;
}
.header header {
  display: flex;
  flex-direction: row;
  background: rgba(247, 247, 247, 0.1);
  gap: 20px;
  padding: 10px;
  padding-left: 30px;
  border-bottom: 7px solid var(--mainColor);
  width: calc(100% - 60px);
  margin: 0 auto;
}

.header img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
}

.header h2 {
  font-weight: 500;
  padding-top: 15px;
  font-family: "Arial";
  font-size: 20px;
}

span .municipality {
  text-decoration: none !important;
  display: inline;
  border-bottom: none !important;
}

.header .ph {
  border-radius: 0px;
}

.login,
.signup {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-left: -3rem;
  margin-top: 5rem;
  padding-bottom: 40px;
  animation-duration: 0.6s;
  animation-fill-mode: both;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.login.active img {
  width: 240px;
  height: 100px;
  margin-left: 0rem;
  margin-top: -30px;
  margin-bottom: 20px;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.title-img {
  display: flex;
  flex-direction: row;
    margin-top: -15rem;
    margin-left: -10rem;
}

.title-img img {
  border-radius: 50%;
  width: 70px;
  height: 70px;
  margin-bottom: -4rem;
  margin-right: -80px;

}

.signup {
  transform: translateX(100%);
}

.login.active {
  transform: translateX(0);
}

.signup.active {
  transform: translateX(0);
}

.login:not(.active) {
  transform: translateX(-100%);
}

.signup:not(.active) {
  transform: translateX(100%);
}

.title-section {
  text-align: center;
  margin-top: 20rem;
  opacity: 1;
  transition: 0.6s ease;
}

/* @keyframes slideInShake {
  0% {
    transform: translateX(100%) rotate(0deg);
  }
  20% {
    transform: translateX(0) rotate(2deg);
  }
  40% {
    transform: translateX(10px) rotate(-2deg);
  }
  60% {
    transform: translateX(0) rotate(1deg);
  }
  80% {
    transform: translateX(5px) rotate(-1deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
} */

.active {
  display: flex;
  animation: slideInShake 0.6s;
}

.login-content {
  display: flex;
}

.form-container {
  height: calc(100vh - 100px);
}

.form-container,
.image-container {
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-container {
  background-color: white;
  width: 100%;
  height: calc(100vh - 100px); /* Same height as .login-form */
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 120%;
  height: 120%;
  object-fit: contain;
}

.login-title h1 {
  position: absolute;
  font-size: 40px;
  font-family: "Verdana";
  font-weight: 700;
  margin-left: 7rem;
  margin-top: 10rem;
}

.login-title img {
  margin-top: 16.7rem;
  margin-left: 7rem;
}

.login-form {
  display: flex;
  flex-direction: row;
  /* background: rgba(255, 255, 255, 1); */
  padding: 40px;
  padding-left: 60px;
  border-radius: 20px;
  width: 500px;
  height: 570px;
  margin-top: -6rem;
  margin-left: 60rem !important;
  margin-right: 20rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-form p {
  text-align: center;
  margin-top: 50px;
}

.login.active {
  margin-left: -5rem !important;
}

.login-form h4 {
  text-align: center;
  margin-top: -1.5rem;
  font-weight: 600;
  margin-bottom: 50px;
  font-size: 30px;
  font-family: "Poppins", sans-serif;
  color: rgb(61, 61, 61);
}

.login-form form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  padding-bottom: 10px;
  margin-left: 10px;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.login-form input {
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 10px;
  border: none;
  width: 90px;
  margin-left: 0;
  background-color: rgb(206, 203, 203);
}

.super {
  display: flex;
  flex-direction: column;
}

.login-form button {
  width: 410px;
  padding: 10px;
  margin-left: 0rem;
  border-radius: 5px;
  border: none;
  color: white;
  background-color: rgb(42, 124, 247);
  font-weight: 700;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-account {
  text-align: center;
}

.login-form form i {
  width: 100px;
}

.input-container {
  position: relative;
  width: 290px;
}

.input-container input {
  width: 140%;
  padding: 10px;
  padding-right: 40px;
  border-radius: 5px;
  border: none;
  background-color: rgb(206, 203, 203);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.input-container i {
  position: absolute;
  right: 180px;
  top: 25%;
  transform: translateY(-50%);
  color: gray;
  font-size: 25px;
  pointer-events: none;
}


.email {
  display: flex;
  gap: 20px;
}

.form-group.email {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-us {
  background-color: var(--mainColor);
  padding: -10px;
  color: white;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.contact {
  text-align: center;
  font-size: 20px;
  padding-top: 20px;
  font-family: "Arial";
}

footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0px;
  margin-left: 13rem;
}

.contact-card {
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin: -10px;
  font-size: 16px;
  font-family: "arial";
}

.contact-card i {
  font-size: 45px;
  margin-right: -60px;
}

.contact-card h4 {
  margin-top: -2rem;
  margin: 50px;
}

footer h3 {
  margin-top: 100px;
  margin-left: -43rem;
  font-size: 18px;
  padding-top: 10px;
  color: #ffffff;
}

/* .signup {
  display: flex;
  flex-direction: column;
  margin-top: 3.5rem;
} */

.signup .login-form {
  height: 570px;
  padding: 100px;
}

.signup .login-form .basic {
  margin-top: -40px;
}

.form-group {
  display: flex;
  flex-direction: row;
  margin-bottom: -1.5rem;
}

#form1 form {
  margin-left: -5rem;
}

#form1 h4 {
  margin-top: -70px;
  margin-bottom: 20px;
  background: none !important;
  border-bottom: none;
}

.demographics .form-group.demo {
  padding-top: -40px;
  margin-top: 40px;
}

.demo input {
  width: 230px;
}

.email .form-group.email label {
  padding-top: 40px;
}

.email .form-group.email input {
  margin-top: -1rem;
  margin-bottom: 20px;
}

.email input,
.address input {
  width: 230px;
}

#form1 button {
  margin-top: 10px;
  width: 480px;
}

#form1 p {
  margin-top: -5px;
  text-align: center;
  margin-right: 20px;
}
/* .form-group label {
  margin-top: 7px;
} */

/* .form-group .middle-name {
  margin-left: -5px;
} */

/* .form-row {
  display: flex;
  flex-direction: row;
} */

/* .form-group .birthday,
.form-group .phone {
  width: 105px;
} */

/* .form-group .birthday-label {
  margin-left: -10px;
} */

/* .form-group .email {
  margin-left: 50px;
}

.form-group .confirm-email {
  margin-left: -15px;
}

.form-row.address input {
  width: 100px;
} */

/* .progress-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 10px;
    margin-top: 20px;
  }
  
 
  .progress-step {
    width: 32%; 
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 20px;
    transition: background-color 0.5s ease;
  }
  
  .step-1 { background-color: #d3d3d3; } 
  .step-2 { background-color: #ffff00; } 
  .step-3 { background-color: #00bfff; } 
   */

/* .signup .login-form button {
  margin-left: 8rem;
}

#form2 .form-group input {
  margin-bottom: 50px;
}

.signup .form2-basic {
  margin-top: 2rem;
}

.form-group .barangay-address {
  width: 230px;
} */

/* .signup .button-group {
  display: flex;
  flex-direction: row;
  margin-left: 1.5rem;
}

.signup .button-group button {
  margin-left: 1rem;
} */

.form-group select {
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 40px;
  border: none;
  width: 290px;
  margin-left: 0;
  background-color: rgb(206, 203, 203);
}

.signup .form-group .upload-box {
  margin-left: 3.5rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  width: 300px;
  cursor: pointer;
  margin-bottom: 3rem;
  color: gray;
}

.signup .form-group .upload-box input {
  display: none;
}

.signup .form-group .upload-box:hover {
  border-color: #007bff;
}

.form-group .upload-box i {
  font-size: 30px;
  color: #aaa;
}

.signup .form-group3 {
  display: flex;
  flex-direction: row;
  margin-left: -8rem;
}

.terms {
  width: 20px;
  height: 20px;
  accent-color: #919191;
  margin-right: 10px;
}

.signup .form-group3 label {
  margin-left: -8rem;
}
