* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: GranbySBOP-Light, Arial, sans-serif;
  background-color: #b8b6a9;
  color: #666666;
  text-align: center;
}

a {
  color: #400040;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #1d4f03;
  outline-offset: 3px;
}

a img {
  border: 0;
}

#main {
  position: relative;
  margin: 20px auto 40px auto;
  padding: 0;
  text-align: left;
  width: min(990px, 100%);
  min-height: 705px;
  background-image: url("/s/bg.jpg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-color: #ffffff;
}

#main::after {
  content: "";
  display: table;
  clear: both;
}

#menu {
  width: 325px;
  float: left;
  padding: 23px 0 0;
  margin: 20px 0 0 8px;
  text-align: center;
}

#menu a,
#menu button {
  text-decoration: none;
  display: block;
  margin: 0 auto;
  padding: 10px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

#menu a.menu-item,
#menu button.menu-item {
  padding: 10px 0;
}

#menu a:hover img,
#menu button:hover img,
#menu a[aria-current="page"] img,
#menu button[aria-current="page"] img {
  opacity: 0.85;
}

#menu img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.menu-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 10px 0 20px;
}

.menu-row a {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

#content-panel {
  position: relative;
  width: 625px;
  min-height: 640px;
  padding: 15px 5px 0 0;
  text-align: center;
  float: right;
}

.page {
  display: none;
}

.page[hidden],
.page:not(.is-active) {
  display: none !important;
}

.page.is-active {
  display: block;
}

.stack-gallery {
  position: relative;
  height: 640px;
}

.stack-stage {
  position: relative;
  height: 600px;
  overflow: visible;
}

.stack-card {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 400px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
  transform: translate(-50%, -50%) translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--rot, 0deg));
  transform-origin: center center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.62s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.45s ease;
}

.stack-card img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.stack-card.is-top {
  pointer-events: auto;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.stack-card.is-leaving {
  opacity: 0;
  transform: translate(-50%, -50%) translate(calc(var(--dx, 0px) + 120px), calc(var(--dy, 0px) - 40px)) rotate(calc(var(--rot, 0deg) + 18deg));
}

img.avatar {
  width: 120px;
  float: left;
  margin: 4px;
}

img.full {
  width: 630px;
  max-width: 100%;
  float: right;
  padding-bottom: 5px;
  margin-right: -5px;
}

.content {
  text-align: left;
  font-family: GranbySBOP-Light, Arial, sans-serif;
  height: 665px;
  padding-right: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #666666;
}

.content strong {
  font-family: GranbySBOP-Medium, Arial, sans-serif;
  font-weight: normal;
}

h1,
h2,
h3,
h4 {
  font-family: GranbySBOP-Light, Arial, sans-serif;
  font-weight: normal;
  color: #1d4f03;
}

h3,
h4 {
  padding-top: 8px;
}

h1 {
  text-align: center;
}

li {
  margin-left: 30px;
}

p {
  padding-bottom: 5px;
}

#airports li {
  padding-bottom: 10px;
}

iframe.map,
iframe.form {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .stack-card {
    transition: none;
  }
}

@media (max-width: 1040px) {
  #main {
    background-image: none;
    min-height: 0;
  }

  #menu,
  #content-panel {
    float: none;
    width: auto;
    margin: 0 auto;
    padding: 12px;
  }

  #content-panel,
  .stack-gallery,
  .content {
    height: auto;
    min-height: 0;
  }

  .stack-gallery {
    min-height: 520px;
  }

  .stack-card {
    width: min(400px, 88vw);
  }

  img.full {
    float: none;
    width: 100%;
    margin: 0;
  }
}
