/* =============================
   Basisinstellingen
   ============================= */

* {
  box-sizing: border-box;
}

body {
  font-family: Verdana, serif;
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/*p {
  color: #be1113;
}*/

/* =============================
   Animaties
   ============================= */

@-webkit-keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================
   Achtergrond
   ============================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  Background-image: url(sea.jpg);
  background-repeat: no-repeat;	
  background-size: cover;
  background-position: left top;
  background-color: #dce6e8;
}

/* =============================
   Header
   ============================= */

header {
  background-image: url(logo-warringers.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  padding: clamp(80px, 20vw, 170px) 10px 30px;
}

header h1 {
  color: whitesmoke;
  font-size: 2.5em;
  font-variant: small-caps;
  text-align: center;
  text-shadow: 3px 3px #ff0000;
}

/* =============================
   Navigatie
   ============================= */

nav {
  background-color: #5595c7;
  font-size: 0.9em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  padding: 0.8em;
  border-top: 1px solid orange;
  text-align: center;
}

nav li:hover {
  background-color: #be1113;
  text-shadow: 2px 2px #ff0000;
}

nav a {
  color: white;
  text-decoration: none;
  display: block;
}

/* =============================
   Content
   ============================= */

article {
  padding: 2em 1em;
  min-height: 40vh;
}

article img {
  max-width: 100%;
  height: auto;
}

article ul,
article ol {
  margin-left: 2em;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  color: #be1113;
}

article h4 {
  font-size: 1.875em;
  font-variant: small-caps;
  text-align: center;
  text-shadow: 2px 2px grey;
}

article h5 {
  font-size: 1.25em;
  text-align: center;
}

article h6 {
  font-size: 1.25em;
  text-align: left;
}

/* =============================
   Responsive iframe
   ============================= */

iframe {
  display: block;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 1em auto;
  border: 0;
}

/* =============================
   Footer
   ============================= */

footer {
  background-color: transparent;
  color: white;
  text-align: center;
  padding: 0.5em;
}

/* =============================
   Desktop layout
   ============================= */

@media (min-width: 600px) {
  nav ul,
  article {
    max-width: 960px;
    margin: 0 auto;
  }

  nav {
    font-size: 1em;
  }

  nav ul {
    display: flex;
  }

  nav li {
    border-top: none;
    flex-grow: 1;
  }
}

@media (min-width: 768px) {
  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
  }
}
