* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f0f2f5;
  color: #1c1e21;
}

.page {
  min-height: calc(100vh - 170px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 90px;
  padding: 60px 20px;
}


/* BRAND */

.brand-section {
  width: 500px;
  margin-top: -40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand h1 {
  color: #1877f2;
  font-size: 56px;
  letter-spacing: -3px;
}

.logo {
  display: none;
}

.tagline {
  font-size: 25px;
  line-height: 1.25;
  margin-top: 10px;
  max-width: 480px;
}


/* LOGIN CARD */

.login-section {
  width: 396px;
}

.login-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.login-card input {
  display: block;
  width: 100%;
  height: 52px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid #dddfe2;
  border-radius: 6px;
  font-size: 17px;
  outline: none;
}

.login-card input:focus {
  border-color: #1877f2;
  box-shadow: 0 0 0 1px #1877f2;
}

.login-button {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 6px;
  background: #1877f2;
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.login-button:hover {
  background: #166fe5;
}

.forgot-password {
  display: inline-block;
  margin: 16px 0;
  color: #1877f2;
  font-size: 14px;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

.divider {
  height: 1px;
  background: #dadde1;
  margin: 4px 0 20px;
}

.create-account {
  border: none;
  border-radius: 6px;
  background: #42b72a;
  color: white;
  padding: 14px 18px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

.create-account:hover {
  background: #36a420;
}

.create-page {
  text-align: center;
  font-size: 14px;
  margin-top: 28px;
}


/* FOOTER */

footer {
  background: white;
  padding: 25px 8%;
  color: #737373;
  font-size: 12px;
}

.languages,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.languages span,
.footer-links span {
  cursor: pointer;
}

.footer-divider {
  height: 1px;
  background: #dddfe2;
  margin: 12px 0;
}

.copyright {
  margin-top: 18px;
}


/* MOBILE */

@media (max-width: 768px) {

  .page {
    min-height: auto;
    display: block;
    padding: 40px 16px 30px;
  }

  .brand-section {
    width: 100%;
    margin: 0 auto 30px;
    text-align: center;
  }

  .brand {
    justify-content: center;
  }

  .brand h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }

  .tagline {
    display: none;
  }

  .login-section {
    width: 100%;
    max-width: 396px;
    margin: auto;
  }

  .login-card {
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .login-card input {
    background: white;
    height: 52px;
  }

  .login-button {
    height: 50px;
  }

  .create-page {
    margin-top: 30px;
    font-size: 13px;
  }

  footer {
    margin-top: 20px;
    padding: 20px;
  }

  .languages,
  .footer-links {
    justify-content: center;
    gap: 10px;
    line-height: 1.6;
  }
}


/* SMALL PHONES */

@media (max-width: 380px) {

  .page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand h1 {
    font-size: 40px;
  }

  .login-card input {
    font-size: 15px;
  }

  .login-button {
    font-size: 18px;
  }
}