:root {
  --red: #cf0000;
  --black: #000000;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100vh;
  color: var(--red);
  font-family: "Courier New", Courier, monospace;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--black);
  overflow: hidden;
}

.brand {
  display: flex;
  justify-content: center;
  padding-top: clamp(54px, 4.1vw, 66px);
}

.brand img {
  display: block;
  width: clamp(300px, 31.5vw, 405px);
  max-width: 78vw;
  height: auto;
}

.password-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(325px, 25.5vh, 370px);
}

.password-form {
  margin: 0;
}

.password-form input {
  width: 190px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--red);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--red);
  font:
    21px/1.1 "Courier New",
    Courier,
    monospace;
  letter-spacing: 0;
  caret-color: var(--red);
  appearance: none;
}

.password-form input::placeholder {
  color: var(--red);
  opacity: 1;
}

.password-form input:focus {
  border-bottom-color: #ff1a1a;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 36px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  text-decoration: none;
}

.icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-x {
  width: 29px;
  height: 26px;
}

.icon-instagram {
  width: 27px;
  height: 27px;
}

.icon-tiktok {
  width: 24px;
  height: 27px;
}

.copyright {
  margin: 0;
  color: var(--red);
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .brand {
    padding-top: 36px;
  }

  .brand img {
    width: min(330px, 80vw);
  }

  .password-section {
    padding-top: 29vh;
  }

  .password-form input {
    width: 176px;
    font-size: 19px;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .copyright {
    font-size: 11px;
    white-space: normal;
  }
}

@media (max-height: 760px) {
  .password-section {
    padding-top: 22vh;
  }

  .social-links {
    margin-bottom: 14px;
  }

  .site-footer {
    padding-bottom: 18px;
  }
}

.password-error {
  min-height: 16px;
  margin: 8px 0 0;
  color: var(--red);
  font-size: 12px;
  text-align: center;
}
