* {
  box-sizing: border-box;
}
@font-face {
  font-family: "Lato Extended";
  font-style: normal;
  font-weight: 400;
  src: url(https://du11hjcvx0uqb.cloudfront.net/br/dist/fonts/lato/extended/Lato-Regular-bd03a2cc27.woff2)
    format("woff2");
  font-display: auto;
}
@font-face {
  font-family: "Lato Extended";
  font-style: normal;
  font-weight: 700;
  src: url(https://du11hjcvx0uqb.cloudfront.net/br/dist/fonts/lato/extended/Lato-Bold-cccb897485.woff2)
    format("woff2");
  font-display: auto;
}
html {
  padding: 0 5px 5px 0;
}
body {
  font-family: "Lato Extended", "Lato", sans-serif;
  border: 4px outset var(--secondary);
  box-shadow: 1px 1px 2px var(--secondary);
  padding-bottom: 0.25em;
}

#setup-area {
  display: none;
}

button {
  cursor: pointer;
  background: var(--primary);
  color: white;
  font-size: larger;
  padding: 0.5em 1em;
  margin: 0 0.25em 0.25em 0.25em;
  transition: transform 0.1s;
}

button:focus-visible,
button:hover {
  opacity: 0.7;
}

button:active {
  transform: translate(2px, 2px);
}

#verify {
  background: #228b22;
}
#reset {
  background: #b33a3a;
}
#verify:disabled,
#verify[disabled] {
  background: gray;
  cursor: initial;
  position: static;
  opacity: 0.5;
  transform: none;
}

.visual {
  float: right;
  width: 50%;
  max-width: 525px;
  font-size: small;
  font-style: italic;
  margin-left: 0.5em;
  min-width: 200px;
}

img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
}

.item {
  clear: both;
  overflow: hidden;
  padding: 0 0 0.5em 0.5em;
  margin-bottom: 1em;
  border: 2px solid var(--primary);
  border-width: 2px 0;
}

.item:first-child {
  border-top: 0;
}

.item p {
  line-height: 1.5;
}

select {
  font-size: large;
  margin-bottom: 0.5em;
  cursor: pointer;
}

select[disabled],
select:disabled {
  cursor: initial;
}

.feedback {
  font-size: large;
  color: green;
  margin-left: 1em;
  opacity: 0;
  animation: fade-in 0.5s forwards;
}

option {
  background: var(--primary);
  color: white;
}

option[disabled] {
  background: lightgrey;
}

.explanation {
  margin-left: 1em;
  background: #bbbcbc;
  padding: 0.5em;
  opacity: 0;
  transform: translateX(-50px);
  animation: slide-in 0.25s 0.5s forwards;
}
.explanation p:first-child {
  margin-top: 0;
}
.explanation p:last-child {
  margin-bottom: 0;
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes slide-in {
  to {
    opacity: 1;
    transform: none;
  }
}
