body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
p,
ul,
ol,
li,
sub,
header,
footer,
aside,
main,
article,
address,
nav {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  width: 100%;
  height: 100%;
  font-size: 16px;
  background-color: #f1f1f1;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#top {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
}

header,
strong {
  text-align: center;
  vertical-align: middle;
  font-family: 'Times New Roman', Times, serif;
}

nav {
  display: flex;
  position: relative;
  height: 4rem;
  background-color: #f1f1f1;
  padding: 1rem;
  top: 0;
  left: 0;
  z-index: 100;
  justify-content: center;
}

strong {
  font-size: 1.4rem;
  font-weight: 400;
}

nav.visible {
  position: sticky;
  justify-content: space-between;
}

nav>strong {
  display: none;
  width: 50%;
  flex: 0 0 auto;
}

nav.visible>strong {
  display: block;
}

nav>ul {
  width: 50%;
  display: flex;
  list-style: none;
  gap: 1rem;
  justify-content: center;
}

nav.visible>ul {

  justify-content: flex-end;
}

nav>ul>li {
  display: flex;
  width: auto;
  flex: 0 0 auto;
}

header.smaller>img,
header.smaller>sub {
  display: none;
}

h1 {
  font-size: 2.5rem;
  font-weight: 400;
}

header>sub,
header>cite {
  display: block;
  width: 50%;
  font-size: 1.2rem;
  margin: 1rem auto 0;
  line-height: 1.6rem;
}

header>cite,
article>sub {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1rem;
}

header>img {
  width: 100%;
  margin: 1rem auto 0;
  border-radius: 1rem;
}

main {
  margin: 3rem auto;
}

main>header {
  margin: 3rem 0;
}

h2:before {
  display: block;
  width: 100%;
  content: '❊';
  text-align: center;
}

h2 {
  font-size: 2rem;
  font-weight: 400;
}

article {
  display: flex;
  margin: 2rem auto 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 2rem;
}

article>aside {
  display: block;
  width: 50%;
  margin: 0 auto;
  font-size: 1rem;
}

aside>img {
  width: 100%;
  border-radius: 1rem;
}

article>sub {
  display: block;
  max-width: 50%;
  margin: 1rem auto 0;
  font-size: 1rem;
  font-style: italic;
}

main>ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

main>ul>li {
  display: flex;
  width: 45%;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 1rem;
}

main>ul>li>img {
  width: 100%;
  border-radius: .2rem;
}

main>ul>li>img:hover {
  position: relative;
  width: 101%;
}

main>div {
  background-color: #fff;
  padding: 1rem;
  border-radius: 1rem;
}

main>div>iframe {
  width: 100%;
}

.fade-in {
  opacity: 0;
  transform: translateY(20vh);
  visibility: hidden;
  transition: opacity 0.6s ease-out, transform 1.2s ease-out;
  will-change: opacity, visibility;
}

.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

a {
  color: #5f5f5f;
  text-decoration: none;
}

a:before {
  display: inline;
  content: '#';
  color: #9f9f9f;
  height: 1rem;
}

address {
  display: flex;
  width: 100%;
  gap: 2rem;
  justify-content: center;
}

address>aside {
  width: 25%;
}

@media (max-width: 600px) {

  #top {
    margin: 2rem 0;
  }

  nav {
    flex-direction: column;
    height: 6rem;
    width: 100%;
  }

  nav.visible {
    justify-content: flex-start;
    align-items: center;
    margin: 1rem -2rem 0;
    width: calc(100% + 4rem);
  }

  nav>strong {
    width: 100%;
  }

  nav>ul {
    width: 100%;
  }

  nav.visible>ul {
    justify-content: center;
  }

  header>sub,
  header>cite {
    width: calc(100% - 2rem);
  }

  address>aside {
    width: 50%;
  }

  article>sub {
    max-width: 100%;
  }

  article>aside {
    width: 100%;
  }

  article {
    flex-direction: column-reverse;
    justify-content: center;
    gap: 1rem;
  }

  address {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  address>aside {
    width: 100%;
  }
}

body {
  background-image: url('images/strand.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
}

#top {
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.6);
}

#top>header {
  width: 100%;
  padding: 2rem;
  background-color: #f1f1f1;
}

main {
  overflow: hidden;
}

main.half {
  width: 50%;
  margin: auto;
}

main.full {
  padding: 2rem;
}

article {
  width: 100%;
}

article>.text {
  display: block;
  margin: 0 auto;
  padding: 2rem;
  font-size: 1rem;
  border-radius: 1rem;
  /* text-shadow: 0 0 .2rem rgba(0,0,0,.3); */
}

article>sub {
  text-align: center;
}

.map {
  width: 100%;
  height: auto;
}

#carousel {
  height: 500px;
  justify-content: center;
}

#carousel>li {
  display: none;
  width: auto;
  height: 100%;
  margin: 0 25%;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, .7);
}

#carousel>li.visible {
  display: flex;
}

#carousel img {
  height: calc(100% - 3rem);
  width: auto;
  object-fit: contain;
}

#carousel p {
  height: 3rem;
  width: auto;
}

main>footer.carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main>footer.carousel>sub {
  width: auto;
  padding: 1rem;
  font-style: italic;
  color: #6f6f6f;
  background-color: rgba(241, 241, 241, .5);
  border-radius: 1rem;
}

main>footer.carousel>div {
  width: 100%;
  height: 3rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin: 1rem;
  justify-content: center;
  align-items: center;
}

main>footer.carousel>div>.bullet {
  display: flex;
  height: 1rem;
  width: 1rem;
  border-radius: 1rem;
  background-color: #f1f1f1;
  border: none;
  font-size: 1rem;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  user-select: none;
  font-weight: bold;
  color: #616161;
  font-family: Arial, sans-serif;
}

main>footer.carousel>div>.bullet.active {
  height: 1.5rem;
  width: 1.5rem;
  border: 2px solid #0d59bd;
  box-shadow: 0 0 1rem rgba(13, 89, 189, .7);
}

#start,
#prev,
#next,
#end {
  cursor: pointer;
}

#top>footer {
  width: 100%;
  padding: 2rem;
  background-color: #f1f1f1;
}

footer>address>aside {
  text-align: center;
}

@media (max-width: 1200px) {
  main.half {
    width: 100%;
    margin: 0;
    padding: 2rem;
  }

  #carousel>li {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 800px) {

  header>sub,
  header>cite {
    width: calc(100% - 4rem);
  }

  main.half,
  main {
    padding: 1rem;
  }

  nav.visible {
    width: 100%;
  }

  article {
    flex-direction: column-reverse;
    justify-content: center;
    gap: 1rem;
  }

  article>.text,
  article>aside {
    width: 90%;
  }

  #carousel {
    height: 600px;
  }
}

@media screen and (max-height: 700px) {
  #carousel {
    height: 500px;
  }
}

@media (max-height: 500px) {
  #carousel {
    height: 300px;
  }
}