html,
body {
  margin: 0;
  padding: 0;
  font-family: Orbitron;
  text-transform: uppercase;
  font-weight: 100;
  background-color: #222;
  color: #eee;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      0deg,
      rgba(34, 34, 34, 0.8),
      rgba(34, 34, 34, 0.1)
    ),
    url(../images/passnote.png);
  background-size: cover;
  background-attachment: fixed;
}

input {
  font-family: Orbitron;
}

a {
  color: rgba(0, 255, 255);
}

a:visited {
  color: rgb(200, 155, 255);
}

textarea {
  font-family: Orbitron;
}

::placeholder {
  font-family: Orbitron;
}

button {
  text-align: center;
  height: 2.5em;
  min-width: 8em;
  color: white;
  background-color: #11409e;
  border: solid 1px #020520;
  border-radius: 4px;
  font-family: Orbitron;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px #5fadff;
  transition: all 0.1s ease;
  position: relative;
}

button:active {
  top: 4px; /* Move the button down by 4px when active */
  box-shadow: none; /* Remove the shadow when active */
}

nav {
  max-height: 5%;
  padding-inline: 4em;
  list-style: none;
}

nav ul {
  display: flex;
  flex: row nowrap;
  line-height: 60px;
  list-style: none;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  padding: 0;
  text-align: center;
  align-items: center;
  justify-content: space-between;
  margin: 1em;
  transition: 1s;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
}

nav ul li a:visited {
  color: white;
}

.content {
  margin-inline: 4em;
  padding-block: 1em;
  padding-inline: 2em;
}

.tboxwrapper {
  display: flex;
  flex: row nowrap;
  justify-content: center;
}

.tboxframe {
  width: 100%;
  max-width: 64em;
  font-size: 1em;
  font-family: Orbitron;
  font-weight: normal;
  text-transform: none;
  display: grid;
  grid-template-areas:
    "a a"
    "b c";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 3fr 1fr;
  gap: 1em;
}

.tboxframe #input {
  grid-area: a;
}

.tboxframe #setting {
  grid-area: b;
}

.tboxframe #setting input {
  height: 1.5em;
}

.tboxframe #actions {
  grid-area: c;
  display: flex;
  flex: row nowrap;
  gap: 2em;
  justify-content: end;
}

.menu-icon {
  max-height: 24px;
  max-width: 24px;
  display: none;
  visibility: hidden;
}

#entrybox {
  width: 100%;
  height: 100%;
  font-size: 1.5em;
}

#expirycopyblock {
  text-align: left;
  font-size: 1rem;
  left: 10%;
  right: 10%;
  width: 80%;
}

#letterlogo {
  width: 100%;
  text-align: center;
  padding: 0.5em;
  font-size: 3.5vw;
}

#faqsheet {
  background-color: rgba(0, 0, 0, 0.4);
}

.faq {
  text-transform: none;
  text-align: justify;
  font-family: sans-serif;
}

.faq h4 {
  margin-top: 1em;
  font-size: 24px;
}

.faq p {
  font-size: 20px;
}

hr {
  margin-top: 4em;
  margin-bottom: 0em;
}

@media (max-width: 600px) {
  textarea::placeholder {
    font-size: 0.8em;
  }

  nav {
    padding-inline: 1em;
  }

  nav ul li a {
    font-size: 16px;
  }

  .content {
    padding: 0;
  }

  .tboxframe {
    width: 100%;
    max-width: 80vw;
    grid-template-areas:
      "a"
      "b"
      "c";
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 4em 2em;
    gap: 2em;
  }

  .tboxframe #input {
    min-height: 24vh;
  }

  .tboxframe #actions {
    justify-content: start;
  }

  .content {
    margin: 1em;
    padding: 1em;
  }
}
