:root {
  --primary-color: rgb(255, 255, 40);
  --background-color: rgb(20, 20, 20);
  --weight: 500;
  --grade: 50;
  --slant: -5;
  --width: 138.5;
  --roundness: 50;
}

body {
  margin: 0;
  overflow: hidden;
}

.background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--background-color);
}

.title {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 100%;
  max-width: 800px;
  transform: translate(-50%, -50%);
  text-align: center;
  mix-blend-mode: difference;
}

.title h1 {
  color: var(--primary-color);
  font-size: 6rem;
  font-weight: bold;
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: var(--weight);
  font-style: normal;
  font-variation-settings: "slnt" var(--slant), "wdth" var(--width),
    "GRAD" var(--grade), "ROND" var(--roundness);
  margin: 0;
}

.invite-container {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.invite-container p {
  color: var(--primary-color);
  font-family: "Google Sans Flex", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}

.invite-container form {
  display: flex;
  gap: 0.5rem;
}

.invite-container input {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  font-family: "Google Sans Flex", sans-serif;
  font-size: 1.2rem;
  border-radius: 8px;
  outline: none;
}

.invite-container input::placeholder {
  color: rgba(255, 255, 40, 0.5);
}

.invite-container button {
  background: var(--primary-color);
  color: var(--background-color);
  border: none;
  padding: 0.5rem 1.5rem;
  font-family: "Google Sans Flex", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.1s;
}

.invite-container button:active {
  transform: scale(0.95);
}
