body {
    font-family: 'Petrona', serif;
    margin: 0;
    font-size: 1.1em;
}

header, footer {
    position: relative;
    padding: 0rem;
    text-align: center;
}

main {
    padding: 0rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    padding: 2rem 0;
}

header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0rem;

  /* Nav never wider than 800px, but fills screen below that */
  width: min(20vw, 700px);
  margin: 0 auto;
}

@media (max-width: 200px) {
  header nav {
    flex-direction: column;
  }
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

nav a {
    margin: 0;
    padding: 0;
}

.header-image {
  height: clamp(6rem, 19vw, 200px);
  width: auto;
  opacity: 0.8;
  z-index: -1;
  transition: transform 0.2s ease-in-out;
}

.header-image:hover {
  transform: scale(1.05);
}

.header-nav-image {
  height: clamp(5rem, 17vw, 150px);
  width: auto;
  opacity: 0.8;
  z-index: -1;
  transition: transform 0.2s ease-in-out;
}

.header-nav-image:hover {
  transform: scale(1.5);
}

.notice {
    padding: 1rem;
    margin: 1rem 0;
    border-left: 5px solid #ccc;
}

.notice.note {
    border-color: #666;
}

.notice.tip {
    border-color: #42b983;
}

.notice.info {
    border-color: #0275d8;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content-img-left {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.content-wrapper {
    display: flow-root;
}

.content-wrapper img {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
