html {
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
/*  font-family: 'Merriweather', serif;
  font-weight: 300;*/
/*  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;*/ /*is this necessary? */
  background: #333333;
  --parent-z-index: 1000;
}

body {
  margin: 0em;
  padding: 0em;
}

img {
  width: 100%;
}

li {
  list-style-type: none;
}

a {
  font-size: inherit;
  font-style: inherit;
  color: inherit;
}

h1, h2 {
  margin: 0em;
}

address {
  font-style: normal;
}

.hidden-heading {
  display: none;
}

em, strong {
  font-size: inherit;
}

iframe {
  border: none;
  width: 100%;
}

@media only screen and (max-width: 600px) {
* {
  font-size: 10px;
}
header {
  position: static;
}
.logo {
  font-size: 2em;
}
nav {
  padding: 0.25em 0em 0em 0em;
}
nav > ul {  
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  justify-content: space-between;
}
nav > ul > li {
  padding-bottom: 0.25em;
  padding-right: 0.5em;
  padding-left: 1em;
}
nav > ul > li > a {
  font-size: 1.5em;
}
#tagline {  
  font-size: 2em;
}
article {
  padding-top: 2em;
}
#index-article {
  padding-top: 2em;
}
h1 {
  font-size: 1.25em;
}
.content-container-container {
  margin-left: 10%;
}
.content-box {
  margin-right: 11.11%;
  margin-bottom: 1em;
}
.content-container-container:nth-child(odd) .content-box {
  margin-right: 0em;
  margin-left: .calc(11.11% + 5px);
}
.content-container-container:nth-child(odd) {
  margin-left: 0em;
  margin-right: 10%;
}
.content-box {
  font-size: 1.25em;
}
.img-with-superscript {
  margin-left: 25%;
  margin-right: 25%;
}
.img-with-superscript > p {
  font-size: 2em;
}
h1 > div {
  margin-left: 0em;
}
.image-gallery {
  margin-left: 5%;
  margin-right: 5%;
  grid-template-columns: 1fr 1fr;
}
}

@media only screen and (min-width: 600px) {
* {
  font-size: 12px;
}
header {
  position: static;
}
.logo {
  font-size: 2em;
}
nav {
  padding: 0.25em 0em 0em 0em;
}
nav > ul {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  justify-content: space-around;
}
nav > ul > li {
  padding-bottom: 0.25em;
  padding-right: 0.25em;
  padding-left: 1em;
}
nav > ul > li > a {
  font-size: 1.25em;
}
#tagline {  
  font-size: 4em;
}
article {
  padding-top: 3em;
}
#index-article {
  padding-top: 2em;
}
h1 {
  font-size: 1.75em;
}
.content-container-container {
  margin-left: 15%;
}
.content-box {
  margin-right: 17.647%;
  margin-bottom: 1.5em;
}
.content-container-container:nth-child(odd) .content-box {
  margin-right: 0em;
  margin-left: calc(17.647% + 5px);
}
.content-container-container:nth-child(odd) {
  margin-left: 0em;
  margin-right: 15%;
}
.content-box {
  font-size: 1.25em;
}
.img-with-superscript {
  margin-left: 25%;
  margin-right: 25%;
}
.img-with-superscript > p {
  font-size: 2em;
}
h1 > div:nth-child(2) {
  margin-left: 0.75em;
}
h1 > div:nth-child(3) {
  margin-left: 1.5em;
}
.image-gallery {
  margin-left: 7.5%;
  margin-right: 7.5%;
  grid-template-columns: 1fr 1fr 1fr;
}
}

@media only screen and (min-width: 768px) {
* {
  font-size: 14px;
}
.logo {
  font-size: 3em;
}
nav > ul > li > a {
  font-size: 1.25em;
}
article {
  padding-top: 4em;
}
h1 {
  font-size: 2.5em;
}
.content-container-container {
  margin-left: 20%;
}
.content-box {
  margin-right: 25%;
  margin-bottom: 1.5em;
}
.content-container-container:nth-child(odd) .content-box {
  margin-right: 0em;
  margin-left: calc(25% + 5px);
}
.content-container-container:nth-child(odd) {
  margin-left: 0em;
  margin-right: 20%;
}
}

@media only screen and (min-width: 910px) {
nav > ul > li {
  padding: 0em;
}
nav > ul > li > a {
  font-size: 1.25em;
}
article {
  padding-top: 5em;
}
h1 {
  font-size: 3em;
}
.image-gallery {
  margin-left: 5%;
  margin-right: 5%;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
}

@media only screen and (min-width: 1200px) {
* {
  font-size: 16px;
}
header {
  position: sticky;
  top: 0;
  z-index: 500;
}
.logo {
  font-size: 3em;
}
nav > ul > li > a {
  font-size: 1.5em;
}
#tagline {  
  font-size: 5em;
}
h1 {
  font-size: 4em;
}
article {
  padding-top: 6em;
}
#index-article {
  padding-top: 3em;
}
.content-container-container {
  margin-left: 25%;
}
.content-box {
  margin-right: 33%;
  margin-bottom: 3em;
}
.content-container-container:nth-child(odd) .content-box {
  margin-right: 0em;
  margin-left: calc(33% + 5px);
}
.content-container-container:nth-child(odd) {
  margin-left: 0em;
  margin-right: 25%;
}
.img-with-superscript {
  margin-left: 33%;
  margin-right: 33%;
}
.content-box {
  font-size: 1.25em;
}
h1 > div:nth-child(2) {
  margin-left: 1em;
}
h1 > div:nth-child(3) {
  margin-left: 2em;
}
.image-gallery {
  margin-left: 10%;
  margin-right: 10%;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
}

header {
  display: flex;
  margin: 0em;
  align-items: center;
  background: #FFFFFF;
}

.logo {
  text-decoration: none;
  color: black;
  font-size: 1.5em;
  margin: 0.5em;
  text-align: center;
}

.logo > div {
  line-height: 0.85em;
}

.header-right {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.social-media-container {
  display: flex;
  margin-left: auto;
  padding: 0.75em 0.36em 0.75em 0.36em;
} 

.social-media {
  padding-left: 0.36em;
  padding-right: 0.36em;
  width: 1.5em;
}

.social-media > img {
  display: block;
  margin: auto;
}

nav {
  margin-left: 0;
  text-align: right;
  background: #c6cacc;
  border-left: 5px #e6001c solid;
}

nav > ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0em;
}

nav > ul > li > a {
  padding: 0.1em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  color: black;
/*  background: #eef2f5;*/
}

nav > ul > li > a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  font-weight: bold;
}

nav > ul > li > a.nav-current {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  font-weight: bold;
}

main {
  background: #eef2f5;
}

.big-picture {
  width: 100%;
  position: relative;
  text-align: center;
  color: white;
}

.big-picture > img {
  object-fit: cover;
  object-position: bottom;
}

#tagline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Merriweather', serif;
  font-weight: 300;
  text-shadow:
    -1px -1px 0 #000,
     0   -1px 0 #000,
     1px -1px 0 #000,
     1px  0   0 #000,
     1px  1px 0 #000,
     0    1px 0 #000,
    -1px  1px 0 #000,
    -1px  0   0 #000;
}

article {
  padding-bottom: 2em;
  position: relative;
}

h1 {
  top: 0.5em;
  left: 0.5em;
  position: absolute;
  text-transform: uppercase;
}

h1 > div {
  font-size: inherit;
}

.content-container {
  background: #c6cacc;
}

.content-box {
  margin-top: 0em;
  margin-left: auto;
/*  padding: 0.5em 1em 0.5em 1em;*/
  border-left: 5px #e6001c solid;
/*  background-image: linear-gradient(#c6cacc, #eef2f5);*/
  padding: 1em 2em 1em 2em;
  font-family: 'Merriweather', serif;
  font-weight: 300;
  text-align: left;
}

/* hack to enlargen manual newlines
br {
  content: "";
  display: inline-block;
  margin-bottom: 2em;
}
*/

.content-container-container > h2 {
  font-size: 1.5em;
  margin-bottom: 0em;
  font-weight: bold;
}

.content-container-container > .content-box {
  margin-top: 1.5em;
}

.content-container-container:nth-child(2) > .content-box {
  margin-top: 3em;
}

.content-container-container:nth-child(odd) .content-box {
  border-left: none;
  border-right: 5px #e6001c solid;
}

.content-container-container:nth-child(odd) > h2 {
  text-align: right;
}

.img-with-superscript {
  margin-top: 1.5em;
}

.img-with-superscript > p {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  text-align-last: justify;
  margin: 0em;
  padding: 0em;
  text-transform: uppercase;
}

.image-gallery {
  margin-top: 1.5em;
  display: grid;
  gap: 2em;
}

.image-gallery > figure {
  margin: auto 0em auto 0em;
}

.image-gallery figcaption {
  display: none;
}

.image-gallery img {
  margin: 0em;
  object-fit: cover;
}

.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  z-index: var(--parent-z-index);
}

.image-viewer > * {
  position: static;
  z-index: inherit;
  margin: 0em;
  padding: 0em;
}

.image-viewer > button {
  background-color: #333333;
  color: #ffffff;
  border: 5px solid #ffffff;
  border-radius: 50%;
  opacity: 75%;
  padding: 0.5em;
  transition: 0.3s;
}

.image-viewer > button:hover {
  opacity: 1 !important;
}

.image-viewer > button > img {
  margin: 0em;
  width: 3em;
  display: block;
}

.image-viewer > #close-button {
  position: fixed;
  top: 1.5em;
  right: 1.5em;
}

.image-viewer > #left-arrow {
  order: 1;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 1.5em;
}

.image-viewer > #right-arrow {
  order: 3;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 1.5em;
}

.image-viewer > #overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #333333;
  opacity: 50%;
  z-index: calc(var(--parent-z-index) - 100);
}

.image-fullscreened {
  position: static;
  order: 2;
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: auto;
  padding: 1em;
  z-index: calc(var(--parent-z-index) + 1);
}

.image-fullscreened > img {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  max-height: 90vh;
  display: block;
}

.image-fullscreened > figcaption {
  z-index: calc(var(--parent-z-index) + 2);
  padding: 0.1em;
  background: rgba(20%, 20%, 20%, 75%);
  color: #FFFFFF;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5em;
}

footer {
  display: flex;
  padding-top: 1em;
  padding-bottom: 2em;
  background: #333333;
}

footer > .footer-content {
  text-align: center;
  margin: auto;
  color: #9E9E9E;
  line-height: 1.5em;
}

footer > .footer-content > a {
  color: #9E9E9E;
}

/* Animations */

.fade {
  animation-name: fade;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

@keyframes fade {
  from {opacity: 0}
  16.7% {opacity: 1}
  83.3% {opacity: 1}
  to {opacity: 0}
}