html {
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  height: 100vh;
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.5;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.container {
  background: white;
  width: 100%;
}

.header {
  background-image: url("../images/login-page/header-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo {
  width: 375px;
}

.header-logo img {
  width: 100%;
}

.form-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.form-text {
  text-align: center;
}

.form-text h1 {
  font-size: 5.2rem;
}

.form-text p {
  font-size: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-wrap {
  width: 90%;
  max-width: 758px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.form-input {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-input input {
  padding: 1.5rem 2rem;
  border: 1px solid #ddd;
  border-radius: 1rem;
  width: 100%;
  max-width: 100%;
}

button[type="submit"],
button.facebook,
button.twitter {
  padding: 1.5rem 2rem;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
}

button[type="submit"] {
  background-color: #2d5356;
  color: white;
}

.sign-in-button:hover,
.sign-up-button:hover {
  opacity: 0.8;
}

.sign-in-button a{
  color: #fff;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
}

a {
  text-decoration: none;
}

.options a {
  color: #2b2b2b;
}

.sign-in-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sign-in-options > p {
  text-align: center;
}

.sign-in-options > p a:hover {
  text-decoration: underline;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}
.divider:not(:empty)::before {
  margin-right: 1rem;
}
.divider:not(:empty)::after {
  margin-left: 1rem;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.google-btn {
  background-color: #fff;
  color: #555;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 1rem;
  cursor: pointer;
  width: 100%;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.google-btn img {
  height: 24px;
}

.social-login button {
  background-color: #fff;
  color: #555;
  border: 1px solid #ddd;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 46px;
}

.fa-facebook,
.fa-twitter {
  font-size: 28px;
}

.social-login span {
  margin-left: 1rem;
}

.terms {
  color: #555;
  font-size: 1.2rem;
  margin-top: 1rem;
}

.terms a {
  color: #0d3fe6;
}

.terms a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  body {
    font-size: 1.4rem;
  }

  .header {
    height: 100px;
  }

  .header-logo {
    width: 200px;
  }

  .form-wrap {
    width: 90%;
    max-width: 375px;
    gap: 1rem;
  }

  .form-text h1 {
    font-size: 6vw;
  }

  .form-text p {
    font-size: 3vw;
  }

  input[type="email"],
  input[type="password"],
  button[type="submit"],
  button.facebook,
  button.twitter {
    width: 100%;
    padding: 1rem 2rem;
  }

  button.facebook,
  button.twitter {
    height: 35px;
  }

  .google-btn {
    height: 35px;
  }

  .google-btn img {
    height: 20px;
  }

  .options {
    padding: 0 2rem;
    flex-direction: column;
  }

  .fa-facebook,
  .fa-twitter {
    font-size: 20px;
  }

  .terms {
    text-align: center;
  }
}

/* Extra small mobile phones */
@media (max-width: 480px) {
  .form-wrap {
    width: 100%;
  }
}
