* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* full container styles */
.container {
  width: 100%;
  max-width: 900px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}

/* login container styles */
.login-container {
  width: 100%;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-container h2 {
  color: #9980fa;
  font-weight: 600;
  font-size: 22px;
}

.form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  font-size: 18px;
  padding: 10px 15px;
  border: none;
  border-bottom: 3px solid #ccc;
  transition: all 0.3s;
}

.form-group input::placeholder {
  color: #ccc;
}

.form-group input:hover,
input:hover::placeholder {
  border-color: #b39ddb;
  color: #b39ddb;
}

.form-group input:focus {
  outline: none;
}

.form-checkbox-group {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 20px;
}

.form-checkbox-group input[type="checkbox"] {
  height: 16px;
  width: 16px;
}

.form-actions,
.welcome-text,
.signup-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.form-actions a {
  color: #9980fa;
  text-decoration: none;
  transition: all 0.3s;
}

.form-actions a:hover {
  text-decoration: underline;
  color: #7d5de8;
}

.signin-btn {
  width: 100%;
  padding: 10px 0;
  background-color: #9980fa;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.signin-btn:hover {
  background-color: #7d5de8;
}

/* signup container styles */
.signup-container {
  width: 100%;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  background: #5758bb;
  color: white;
  border-radius: 0px 8px 8px 0px;
}

.welcome-text h2 {
  font-size: 38px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}


.welcome-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50px;
  height: 2px;
  background: #9980fa;
  width: 0%;
}

.welcome-text h2:hover::after {
  animation: forgotten .4s linear infinite alternate;
}

.signup-btn {
  padding: 10px 30px;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.signup-btn:hover {
  background-color: white;
  color: #5758bb;
}

@keyframes forgotten {
  form {
    width: 0;
  }

  5% {
    width: 1%;
  }

  10% {
    width: 5%;
  }

  to {
    width: 100%;
  }
}
