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

body {
  font-size: 1rem;
  color: #bbb;
  font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  background: #111;
  overflow-x: hidden;
  padding: 0 10px;
}
@media (min-width: 768px) {
  body {
    font-size: 1.2rem;
  }
}
body.home {
  height: auto;
  min-height: auto;
}

.homepage-image {
  display: block;
  max-width: 100%;
  width: 600px;
  height: auto;
  margin: 0 auto 2rem;
}

.gallery-images {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}
.gallery-images div.column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 789px) {
  .gallery-images {
    gap: 20px;
  }
  .gallery-images div.column {
    gap: 20px;
  }
}
.gallery-images.hidden {
  display: none;
}
.gallery-images:has([popover]:popover-open) {
  pointer-events: none;
}
.gallery-images [popover] {
  pointer-events: auto;
}
.gallery-images button {
  display: block;
  position: relative;
  width: 100%;
  box-shadow: 0px 0px 10px black;
  background: #111;
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 0;
  cursor: zoom-in;
}
.gallery-images button:hover picture, .gallery-images button:active picture {
  opacity: 0.7;
}
.gallery-images button picture {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid black;
  transition: opacity 0.2s ease-in;
}
.gallery-images button picture img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-images .popover-container {
  --close-size: 2rem;
  position: fixed;
  width: fit-content;
  height: fit-content;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.gallery-images .popover-container::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.gallery-images .popover-container .close-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: var(--close-size);
  height: var(--close-size);
  border-radius: 50%;
  border: 0;
  background: #111;
  color: #bbb;
  border: 2px solid #bbb;
  font-size: 2rem;
  font-family: "Geo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, opacity 0.2s;
  z-index: 3;
  pointer-events: auto;
  opacity: 0.7;
}
.gallery-images .popover-container .close-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}
@media (max-width: 768px) {
  .gallery-images .popover-container .close-btn {
    --close-size: 2.5rem;
  }
}
.gallery-images .popover-container .popover-img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  position: relative;
  pointer-events: auto;
  box-shadow: 0 0 10px #111;
}

.faq {
  position: relative;
}
.faq .faq-background {
  max-width: 40%;
  height: auto;
  shape-outside: url("/assets/faq.webp");
  shape-margin: 10px;
  float: right;
}
@media (min-width: 768px) {
  .faq .faq-background {
    position: fixed;
    top: 60px;
    left: 60%;
  }
  .faq .faq-content {
    max-width: 60%;
  }
}

.clear {
  clear: both;
}

ul,
ol {
  padding-left: 2rem;
  margin: 1rem 0;
  line-height: 1;
}
ul li,
ol li {
  margin-bottom: 0.5rem;
}

h1,
h2 {
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.2;
  font-weight: normal;
  text-shadow: 1px 1px 0 white;
}

h1 {
  font-size: 3rem;
  font-family: "Geo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

h2 {
  font-size: 1.3rem;
  font-style: italic;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5,
h6 {
  font-size: 1.25rem;
}

.container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 890px) {
  .container {
    max-width: 890px;
  }
}
@media (min-width: 1120px) {
  .container {
    max-width: 1120px;
  }
}

@media (min-width: 600px) {
  .home header {
    position: relative;
    margin-top: 75px;
  }
  .home main {
    margin: 0 auto;
  }
  .home .container {
    max-width: 600px;
  }
}

header {
  padding: 5px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #111;
  z-index: 2;
  font-size: 1.4rem;
}
@media (min-width: 900px) {
  header {
    font-size: 1.5rem;
  }
}
header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
header nav .nav-toggle {
  display: none;
}
header nav .nav-toggle:checked ~ .nav-links {
  right: 0;
}
header nav .nav-toggle:checked ~ .nav-toggle-label span {
  background: transparent;
}
header nav .nav-toggle:checked ~ .nav-toggle-label span::before {
  transform: rotate(45deg);
  top: 0;
}
header nav .nav-toggle:checked ~ .nav-toggle-label span::after {
  transform: rotate(-45deg);
  top: 0;
}
header nav .nav-toggle-label {
  display: none;
  position: relative;
  z-index: 1000;
  height: 24px;
  width: 30px;
  cursor: pointer;
}
header nav .nav-toggle-label span,
header nav .nav-toggle-label span::before,
header nav .nav-toggle-label span::after {
  display: block;
  background: #bbb;
  height: 2px;
  width: 30px;
  position: absolute;
  transition: all 0.3s ease;
}
header nav .nav-toggle-label span {
  top: 11px;
}
header nav .nav-toggle-label span::before, header nav .nav-toggle-label span::after {
  content: "";
}
header nav .nav-toggle-label span::before {
  top: -8px;
}
header nav .nav-toggle-label span::after {
  top: 8px;
}
header nav .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
header nav .nav-links li {
  margin: 0;
  position: relative;
}
header nav .nav-links li a {
  color: #bbb;
  display: inline-block;
  position: relative;
  font-family: "Geo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  text-shadow: 1px 1px 0 black;
  transition: 0.3s color ease-in;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 1rem;
}
header nav .nav-links li a:hover, header nav .nav-links li a:active, header nav .nav-links li a.active {
  color: #fff;
}
header nav .nav-links li a:hover {
  text-decoration: underline;
}
@media (min-width: 600px) {
  header nav .nav-links li + li::after {
    content: "";
    display: block;
    background: white;
    width: 2px;
    position: absolute;
    top: 50%;
    left: -1px;
    height: 50%;
    transform: translate(0, -50%);
  }
}
@media (min-width: 768px) {
  header nav .nav-links {
    gap: 0;
    border-radius: 5px;
    background-attachment: fixed;
  }
  header nav .nav-links a {
    display: block;
    padding: 0.5rem 1rem;
  }
  header nav .nav-links li:first-child a {
    padding-left: 1.5rem;
  }
  header nav .nav-links li:last-child a {
    padding-right: 1.5rem;
  }
}

main {
  color: #bbb;
  text-shadow: 1px 1px 1px black;
  margin: 120px 0 10px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
main a {
  color: #bbb;
  transition: color 0.3s ease-in;
}
main a:hover {
  color: #fff;
}
main blockquote {
  font-size: 2rem;
  font-style: italic;
}
main p,
main blockquote,
main ul,
main ol {
  margin-bottom: 1.5rem;
}

footer {
  color: #ffffff;
  padding: 1rem 0;
  text-align: center;
  font-family: "Geo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
}
footer a {
  color: #ffffff;
}
footer a:hover {
  color: #ffffff;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  padding: 1rem;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label,
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin: 0;
}
.contact-form label {
  color: #bbb;
  font-family: "Geo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  color: #111;
  body: #bbb;
  padding: 0.3rem 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 1.2rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
  color: #888;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 1px solid #c00;
  outline-offset: 2px;
}
.contact-form select:invalid {
  color: #888;
}
.contact-form select option {
  color: #111;
}
.contact-form select option[value=""] {
  color: #888;
}
.contact-form textarea {
  height: 6rem;
}
.contact-form button {
  font-size: 1.4rem;
  color: #bbb;
  border-radius: 3px;
  background: #111;
  border: 2px solid #bbb;
  font-family: "Geo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  cursor: pointer;
}
.contact-form button.uploadcare--widget__button {
  font-size: 1rem;
}
.contact-form button[type=submit] {
  font-size: 2rem;
  padding: 0.5rem 1rem;
}
.contact-form button:hover, .contact-form button:active, .contact-form button:focus {
  background: #111;
  border-color: #fff;
  color: #fff;
  outline: none;
}
.contact-form button[disabled] {
  background: rgb(93.5, 93.5, 93.5);
  color: #111;
  cursor: wait;
}

@media (max-width: 600px) {
  header nav .nav-toggle-label {
    display: block;
  }
  header nav .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    height: 100vh;
    width: 70%;
    max-width: 300px;
    flex-direction: column;
    gap: 2rem;
    padding: 6rem 2rem 2rem;
    background-color: #111;
    transition: right 0.3s ease-in-out;
  }
  header nav .nav-links li {
    opacity: 0.9;
    text-align: right;
  }
  header nav .nav-links li a {
    font-size: 2rem;
  }
  header nav .nav-links li a.active::after {
    bottom: -2px;
  }
}