@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: normal;
  src:
    local("Atkinson Hyperlegible Regular"),
    url("../font/atkinson-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: bold;
  src:
    local("Atkinson Hyperlegible Bold"),
    url("../font/atkinson-bold.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: normal;
  font-style: italic;
  src:
    local("Atkinson Hyperlegible Italic"),
    url("../font/atkinson-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: bold;
  font-style: italic;
  src:
    local("Atkinson Hyperlegible Bold Italic"),
    url("../font/atkinson-bolditalic.woff2") format("woff2");
}

body {
  font-family: 'Atkinson Hyperlegible', Verdana, Geneva, Tahoma, sans-serif;
  margin: 0px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at bottom, #331 0, #220 33%, black 100%);
  color: white;
  overflow: hidden;
}

img {
  max-width: 100%;
}

main {
  padding: 0px ;
  width: 100%;
  flex-grow: 1;
  margin: auto;
  overflow: auto;
}

header p {
  margin-top: -12px;
  font-style: italic;
  font-size: 20px;
}

.important-note {
  border-top-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border: 2px dashed red;
  background-color: #ffeeee;
  color: black;
  padding: 0px 30px;
  max-width: 800px;
  margin: auto;
}

a {
  color: aqua;
}

header {
  margin: auto;
  width: 100%;
  max-width: 1200px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  column-gap: 20px;
  row-gap: 8px;
  flex-wrap: wrap;
}

header h1 {
  margin: 0px;
}

.container {
  max-width: 1200px;
  padding: 0px 16px;
  margin: auto;
}

.back-btn {
  border: 2px solid white;
  padding: 10px 20px;
  color: white;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  font-size: 20px;
}

.back-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#ans-check {
  max-width: 500px;
  margin: auto;
  margin-bottom: 32px;
}

.input-container {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.input-container * {
  font-size: 16px;
  font-family: 'Atkinson Hyperlegible', Verdana, Geneva, Tahoma, sans-serif;
  padding: 4px 12px;
}

.input-container input {
  width: 100%;
}

#ans-check table {
  width: 100%;
  border-collapse: collapse;
}

#ans-check table tr {
  border-bottom: 1px solid white;
}

#ans-check td {
  padding: 2px 10px;
}

#ans-check tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.spoiler {
  background-color: black;
  color: black;
  padding: 2px;
}

.spoiler:hover {
  color: white;
}

@media all and (max-width: 600px) {
  .back-btn-label {
    /* screen reader only */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
}

@media all and (max-height: 500px) {
  body {
    height: auto;
    overflow: auto;
  }
}
