
@font-face {
  font-family: "Fixedsys Excelsior";
  src: url("fonts/fsex-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

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

html,
body {
  width: 100%;
  height: 100%;
  font-family: "Fixedsys Excelsior", monospace;
  background: #fff;
  color: #000;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.header-text pre {
  white-space: pre;
  font-family: "Fixedsys Excelsior", monospace;
  font-size: 24px;
  line-height: 22px;
}

.header-result {
  font-size: 16px;
}

.options {
  list-style: none;
}

.option {
  margin-bottom: 10px;
  margin-bottom: 40px;
}

.option-main {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.marker {
  width: 20px;
  font-size: 16px;
  margin-right: 8px;
}

.content {
  flex: 1;
  white-space: pre-wrap;
  font-family: "Fixedsys Excelsior", monospace;
  font-size: 20px;
  line-height: 22px;
}

.result {
  margin-left: 10px;
  font-family: "Fixedsys Excelsior", monospace;
  border: 2px solid #000;
  padding: 6px 8px;
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 18px;
}

.option.inactive .option-main {
  opacity: 0.2;
}

.option.leader .option-main {
  font-weight: normal;
}

#comment-form {
  margin: 20px 0 0 28px;
  display: flex;
  flex-direction: column;
}

#comment-form.hidden {
  display: none;
}

#comment-form textarea {
  resize: vertical;
  min-height: 80px;
  border: 2px solid #000;
  padding: 8px;
  font-family: "Fixedsys Excelsior", monospace;
  font-size: 18px;
  line-height: 22px;
}

#submit {
  margin-top: 10px;
  width: 50px;
  height: 40px;
  border: 2px solid #000;
  background: none;
  font-size: 18px;
  font-family: "Fixedsys Excelsior", monospace;
  cursor: pointer;
}

#submit:disabled {
  opacity: 1;
  cursor: not-allowed;
}

#overlay {
  grid-row: 3;
  font-size: 32px;
  color: #000000;
}

#overlay.hidden {
  display: none;
}

@media(max-width:480px) {
  .options {
    padding: 0 10px;
  }

  #comment-form textarea {
    min-height: 50px;
  }

  #submit {
    width: 40px;
    height: 35px;
    font-size: 16px;
  }
}

html {
  overflow-y: scroll;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: repeat(12, 1fr);
}

.logo {
  grid-row: 1;
  grid-column: 1 / 2;
  position: fixed;
  padding: 20px;
  font-size: 18px;
  white-space: nowrap;
}

.header-nav {
  position: absolute;
  padding: 20px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.header-nav a {
  text-decoration: none;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.1px;
  opacity: 0.6;
  width: auto;
  color: #000000;
}

.header-nav a:hover {
  opacity: 1;
}

.header-nav a.active {
  opacity: 1;
}

.logo img {
  display: block;
  width: 80%;
  height: auto;
}

.page-title {
  grid-row: 1;
  grid-column: 4 / 10;
  padding-top: 20px;
  font-size: 30px;
  line-height: 30px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.input {
  grid-row: 2;
  grid-column: 4 / 10;
  margin-top: 40px;
}

.button-container {
  grid-row: 2;
  grid-column: 4 / 10;
  align-self: center;
  justify-self: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 20px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button-container button {
  background: transparent;
  font-family: "Fixedsys Excelsior", monospace;
  color: #0a0a0a;
  padding: 8px 10px;
  cursor: pointer;
  opacity: 0.5;
  font-size: 18px;
  border: 1px solid #111;
  transition: opacity 0.4s ease, background 0.3s ease;
}

.button-container button.active {
  background: #ffffff;
  outline: 2px solid #111;
  color: #0a0a0a;
  opacity: 1;
}

.button-container button:hover {
  outline: 1px solid #111;
}

.bottom-links {
  grid-row: 3;
  grid-column: 4 / 10;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 20px;
  white-space: nowrap;
}

.bottom-links a {
  font-size: 18px;
  color: #0a0a0a;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.bottom-links a:hover {
  color: rgba(0, 0, 0, 1);
}