html,
body {
  height: 100%;
  margin: 0;
}

body {
  color: #2b2b2b;
}

.main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

.view,
.mask {
  min-height: 100vh;
}

.view {
  background: url("../img/banner2.png") center / cover no-repeat;
}

.mask {
  display: flex;
  align-items: center;
  background: linear-gradient(45deg, rgba(42, 27, 161, 0.72), rgba(29, 210, 177, 0.72));
}

.hero-title {
  color: #f8c471;
  font-weight: 700;
}

.view .lead a {
  color: silver;
}

.view .lead a:hover {
  color: #fff;
}

.navbar {
  margin: 16px 0;
}

.subnav {
  margin-bottom: 1.5rem;
}

.subnav a {
  margin-right: 1rem;
}

.letters {
  margin: 0.5rem 0 1rem;
}

.letters a {
  display: inline-block;
  min-width: 1.75rem;
  font-weight: 700;
  text-align: center;
}

.country-list {
  column-count: 3;
  column-gap: 2rem;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
}

.country-list li {
  break-inside: avoid;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.thumbs button {
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}

.thumbs img,
.map-frame img,
.preview img,
main img {
  max-width: 100%;
  height: auto;
}

.map-frame img {
  max-height: 480px;
  object-fit: contain;
}

.thumbs img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  cursor: pointer;
}

.caption {
  min-height: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form {
  max-width: 36rem;
}

.downloads a {
  margin-right: 0.35rem;
}

.table td,
.table th {
  vertical-align: middle;
}

.meta-table th {
  background: #104e8b;
  color: #fff;
}

footer {
  margin-top: 2rem;
  color: #666;
}

@media (max-width: 700px) {
  .country-list {
    column-count: 1;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .view .lead {
    font-size: 1rem;
  }
  h3 {
    font-size: 1.25rem;
    overflow-wrap: anywhere;
  }
}
