@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap");

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #edf3f9;
  --bg-card: rgba(255, 255, 255, 0.98);
  --bg-sidebar: #0a3d6f;
  --bg-input: #ffffff;
  --fg-clr: #16324f;
  --text-grey: #607588;
  --btn-gradient: #0b5cab;
  --btn-fg: #fff;
  --input-border: #cfdbe7;
  --divider: #d8e3ee;
  --submit-bg: #0b5cab;
  --btn-hover: #084b8a;

  --form-radius: 20px;
  --btn-radius: 12px;
}

body {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #f7fbff 0%, #edf3f9 100%);
  font-family: "Poppins", sans-serif;
  color: var(--fg-clr);
}

.form-container {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  width: 95%;
  border-radius: var(--form-radius);
  padding: 3em;
  text-align: center;
  box-shadow: 0px 20px 45px rgba(16, 43, 73, 0.12);
  border: 1px solid #d8e3ee;
}

.heading {
  color: var(--fg-clr);
  margin-bottom: 1em;
  font-weight: 700;
}

.sub-heading {
  color: var(--text-grey);
  margin-bottom: 1em;
  font-weight: 600;
}

.btn {
  display: block;
  color: var(--btn-fg);
  text-decoration: none;
  padding: 1em;
  border-radius: var(--btn-radius);
  font-weight: 800;
  background: var(--btn-gradient);
  transition: all 0.3s;
}

.btn:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 92, 171, 0.2);
}

.btn-facebook {
  background: #3b5998;
  margin-bottom: 1em;
}

.divider {
  color: var(--text-grey);
  margin: 1em;
  font-weight: 800;
  border-bottom: 1px solid var(--divider);
  display: block;
  line-height: 0.1em;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

.form-input {
  border: 1px solid var(--input-border);
  outline: none;
  font-family: inherit;
  background: var(--bg-input);
  color: var(--fg-clr);
  padding: 1em;
  width: 100%;
  border-radius: var(--btn-radius);
  transition: all 0.3s;
}

.form-input::placeholder {
  color: var(--text-grey);
}

.form-input:focus {
  border-color: #0b5cab;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 92, 171, 0.12);
}

.span-2 {
  grid-column: span 2;
}

.submit-btn {
  background: var(--btn-gradient);
  cursor: pointer;
  border: none;
}

.btm-line {
  margin: 2em auto;
  width: 60%;
  font-size: 0.8rem;
  color: var(--text-grey);
}

@media (min-width: 600px) {
  .form-container {
    width: 75%;
  }
}

@media (min-width: 900px) {
  .form-container {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .form-container {
    width: 40%;
  }
}

@media (min-width: 1270px) {
  .form-container {
    width: 30%;
  }
}
