:root {
  --page-width: 1118px;
}

.content-wrapper {
  max-width: var(--page-width);
  margin: auto;
  padding: 0 15px;
}

.content-wrapper * {
  scroll-margin-top: 90px;
}

h5 {
  color: var(--green);
  font-weight: normal;
  margin-bottom: 0;
  font-size: 0.6em;
}

h1,
h2 {
  color: var(--green);
  font-family: "MEK-Mono";
  margin-top: 10px;
  font-weight: normal;
}

p.header {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 124%;
}

@media (max-width: 700px) {
  h1 {
    font-size: 2.2em;
    line-height: 0.9em;
  }

  h2 {
    text-align: center;
    font-size: 1.65em;
    margin-bottom: 17px;
  }
}

@media (min-width: 701px) {
  #navbar .menu-item:hover {
    color: var(--green);
    background-color: var(--darker-blue);
  }

  #authenticated-menu {
    display: none;
  }

  .content-wrapper {
    padding: 57px 0;
  }

  h5 {
    font-size: 0.87em;
  }

  h1 {
    font-size: 4em;
    line-height: 1em;
    max-width: 10em;
  }

  h2 {
    font-size: 3.5em;
    margin: 0;
    line-height: 0.8em;
  }

  p.header {
    font-size: 28px;
    margin-bottom: 60px;
  }
}

label.button input {
  opacity: 0;
  position: absolute;
}

label.button .content {
  font-family: Inter, sans-serif;
  color: var(--blue);
  background-color: transparent;
  border: 1px solid var(--blue);
  padding: 5px 14px;
  border-radius: 5px;
  font-size: 1em;
}

label.button input:checked ~ .content {
  color: var(--dark-blue);
  background-color: var(--blue);
}

select {
  background-color: var(--blue);
  border: none;
  border-radius: 4px;
  padding: 8px 5px;
  font-size: 1.1em;
  color: var(--dark-blue);
}

a.button {
  padding: 9px 15px;
  border: 1px solid var(--green);
  border-radius: 20px;
  color: var(--green);
  background-color: var(--darker-blue);
  font-family: SpaceMono, monospace;
  font-size: 0.9em;
  display: inline-block;
}

a.button:hover {
  background-color: var(--green);
  color: var(--dark-blue);
}

.faq {
  font-family: Inter, sans-serif;
  padding: 0 5px;
}

.faq .drop-down {
  border-bottom: 1px solid var(--dark-turquoise);
  padding: 0 5px;
  padding-bottom: 4px;
  cursor: pointer;
}

.faq .drop-down > p {
  position: relative;
  color: var(--green);
  margin: 8px 0;
  padding-right: 20px;
}

.faq .drop-down .content {
  overflow: hidden;
  max-height: 20em;
  padding-right: 25px;
  transition:
    opacity 1s,
    max-height 500ms;
  opacity: 1;
}

.faq .drop-down:not(.expanded) .content {
  opacity: 0;
  max-height: 0;
}

.faq .drop-down > p::after {
  content: "";
  background-image: url("../svg/plus.svg");
  background-repeat: no-repeat;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  width: 10px;
}

.faq .drop-down.expanded > p::after {
  background-image: url("../svg/minus.svg");
  top: 70%;
}

.open-a-ticket {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 20px;
  background-color: var(--darker-blue);
  border: 1px solid var(--blue);
  border-radius: 20px;
  padding: 40px 0;
  text-align: center;
}

.open-a-ticket p {
  color: var(--gray);
  margin: 0;
  line-height: 1.4em;
}

.open-a-ticket a {
  font-family: Inter, sans-serif;
  color: var(--ligh-cyan);
}

.open-a-ticket a::after {
  background-image: url("../svg/arrow_open_link_white.svg");
  width: 13px;
  height: 13px;
}

ul.bracket {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.bracket li {
  padding-left: 15px;
  text-indent: -15px;
}

ul.bracket li::before {
  content: "";
  background-image: url("../svg/bracket_right.svg");
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  height: 1em;
  width: 15px;
}

@media (min-width: 701px) {
  ul.bracket {
    line-height: 24px;
  }
  .faq .drop-down > p::after {
    height: 15px;
    width: 15px;
  }
  .faq .content p {
    margin: 10px 0;
  }
}

#got-questions {
  background-image: url("../png/got-questions.png");
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid var(--green);
  border-radius: 20px;
  padding: 10px 10%;
  height: 216px;
}

#got-questions h2 {
  font-size: 2.3em;
  color: #bbebeb;
}

@media (max-width: 700px) {
  .faq {
    font-size: 12px;
  }
  .faq .drop-down > p::after {
    background-size: 10px;
  }
  .open-a-ticket {
    font-size: 12px;
  }
  #got-questions h2 {
    line-height: 0.9em;
  }

  #got-questions > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  footer {
    font-size: 0.75em;
    padding: 0 20px;
    margin-bottom: 37px;
  }

  footer .banner {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.4em;
  }

  footer .banner img {
    width: 25px;
  }

  footer .banner br.large {
    display: none;
  }

  footer .pages {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 25px;
    margin-bottom: 40px;
    width: 92%;
    font-size: 12px;
  }

  footer .socials {
    margin-top: 15px;
  }
}

@media (min-width: 701px) {
  #got-questions {
    padding: 40px 45px;
  }

  #got-questions h2 {
    font-size: 4em;
    margin-top: 6px;
    margin-bottom: 120px;
  }

  #got-questions a.button:not(:first-of-type) {
    margin-left: 16px;
  }

  footer {
    max-width: var(--page-width);
    margin: auto;
    margin-bottom: 65px;
  }

  footer .top {
    display: grid;
    grid-template-columns: 6fr 11fr;
    margin-bottom: 85px;
    margin-right: 20px;
  }

  footer .banner img {
    margin-bottom: 30px;
  }

  footer .banner p {
    margin: 0;
    font-size: 0.73em;
    line-height: 1.4em;
  }

  footer .pages {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
  }

  footer .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 10px;
  }
}

footer {
  color: var(--gray);
  margin-top: 60px;
}

footer .banner,
footer .bottom {
  font-family: Inter, sans-serif;
}

footer .pages p {
  color: var(--green);
  margin-top: 0;
}

footer .pages a {
  color: inherit;
}

footer .pages a:hover {
  color: var(--green);
}

footer .pages section {
  display: flex;
  flex-direction: column;
}
