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

body {
  min-height: 100vh;
  font-family: "Courier Prime", "Courier New", monospace;
}

body.dark {
  background: #0a0a0a;
  color: #ffffff;
}

body.light {
  background: #ffffff;
  color: #0a0a0a;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16vh 24px 64px;
}

.symbol {
  width: clamp(180px, 18vw, 280px);
  height: auto;
}

h1 {
  font-family: "Anton", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-align: center;
  margin-top: clamp(40px, 9vh, 96px);
}

form {
  width: min(380px, 100%);
  margin-top: clamp(32px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input[type="text"] {
  background: #0a0a0a;
  color: #ffffff;
  border: 2px solid #ffffff;
  font: inherit;
  font-size: 1.25rem;
  letter-spacing: 0.3em;
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 0;
}

input[type="text"]::placeholder {
  color: #ffffff;
  opacity: 1;
}

input[type="text"]:focus {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

button {
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  font-family: "Anton", "Arial Narrow", Impact, sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0;
}

button:hover {
  background: #e2e2e2;
}

form.error input[type="text"] {
  border-color: #e02020;
  color: #e02020;
}

form.error input[type="text"]:focus {
  outline-color: #e02020;
}

form.error button {
  background: #e02020;
  color: #ffffff;
}

form.error button:hover {
  background: #c11b1b;
}

.details {
  margin-top: clamp(28px, 5vh, 56px);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-align: center;
}

.details p {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
