:root {
  --bg: #07111d;

  --text: #f2f2f2;

  --muted: #c3cbd3;

  --green: #0fa97d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background:
    linear-gradient(rgba(5, 10, 18, 0.72), rgba(5, 10, 18, 0.82)),
    url("../img/hero.jpg");

  background-size: cover;
  background-position: center;

  color: var(--text);

  font-family: Inter, sans-serif;

  min-height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;
}

.hero {
  width: min(900px, 90%);

  text-align: center;
}

.logo {
  width: 230px;
  margin-bottom: 40px;
}

h1 {
  font-family: 'Earth', sans-serif;
  font-size: 48px;
}

.subtitle {
  margin-top: 20px;

  font-size: 22px;

  color: var(--muted);
}

.description {
  max-width: 700px;

  margin: 40px auto;

  line-height: 1.8;
}

button {
  cursor: pointer;

  border: none;

  padding: 16px 34px;

  border-radius: 4px;

  background: var(--green);

  color: white;

  font-size: 16px;

  transition: 0.25s;
}

button:hover {
  transform: translateY(-2px);
}

footer {
  position: fixed;

  bottom: 20px;

  width: 100%;

  text-align: center;

  color: #9aa5ae;

  font-size: 14px;
}

.modal {
  position: fixed;

  inset: 0;

  display: flex;

  justify-content: center;

  align-items: center;

  backdrop-filter: blur(6px);

  background: rgba(0, 0, 0, 0.45);
}

.hidden {
  display: none;
}

.modal-card {
  width: min(480px, 90%);

  background: #0b1724;

  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 40px;

  border-radius: 8px;
}

.modal-card h2 {
  font-family: 'Earth', sans-serif;

  margin-bottom: 20px;
}

.modal-card p {
  color: var(--muted);

  margin-bottom: 30px;
}

input {
  width: 100%;

  margin-bottom: 18px;

  padding: 14px;

  background: #122233;

  color: white;

  border: 1px solid #22384b;

  border-radius: 4px;
}

.secondary {
  margin-top: 20px;

  width: 100%;

  background: none;

  color: #bfc7cf;
}
