/**
 * Page layout
 **/

html {
  background-color: #ECEFF1;
  font-family: 'Roboto', sans-serif;
  scroll-behavior: smooth;
}

a {
  color: #ffffff;
  text-decoration: none;
}

body {
  min-width: 1004px;
}

/**
 * Header
 **/

header {
  background-attachment: fixed;
  background-color: #ffffff;
  background-image: url(/images/header.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: auto 810px;

  height: 680px;
  position: relative;

  z-index: 100;
}

header > img {
  position: fixed;
  top: 25px;
  left: 50%;
  margin-left: -400px;
  opacity: 0;
}

header.small {
  height: 80px;
}

/**
 * Navigation
 **/

.navigation {
  position: relative;

  top: 600px;
  width: 100%;
}

.navigation.fixed {
  position: fixed;
  top: 0px;

  height: 80px;
  width: 100%;

  background: url(/images/header-small.jpg) center top no-repeat, #ffffff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, .3);
}

nav {
  width: 100%;
  height: 80px;

  background: #4c4c4c;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)) center left / 10% repeat-y,
              linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)) center right / 10% repeat-y,
              rgba(0, 0, 0, .7);

  color: white;
}

nav ol {
  list-style-type: none;
  text-align: center;

  margin: 0px;
  height: 80px;
}

nav li {
  display: inline-block;
  padding: 30px 40px;
  width: 118px;

  text-transform: uppercase;
  vertical-align: middle;
}

nav li.logo {
  padding: 0px 0px;
  width: 160px;
}

nav li::before {
  background: url(/images/heart.png);
  background-size: contain;
  height: 16px;
  width: 16px;

  position: absolute;
  content: '';
}

nav li:nth-child(1)::before { background: none; }    /* [[unused]] */
nav li:nth-child(2)::before { margin-left: -90px; }  /* Mereveld */
nav li:nth-child(3)::before { background: none; }    /* [[logo]] */
nav li:nth-child(4)::before { background: none; }    /* RSVP */
nav li:nth-child(5)::before { margin-left: -90px; }  /* [[unused]] */

/**
 * Sections
 **/

section {
  width: 944px;
  margin: 40px auto;
  padding: 40px;

  background-color: #ffffff;
  border-radius: 2px;

  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),
              0 1px 5px 0 rgba(0,0,0,0.12),
              0 3px 1px -2px rgba(0,0,0,0.2);

  font-size: 24px;
}

section .anchor {
  position: absolute;
  margin-top: -130px;
  font-size: 1px;
}

section h1 {
  margin: 0px;

  font-family: 'Libre Baskerville', cursive;
  font-size: 48px;

  color: #c0392b;
}

section a {
  color: #c0392b;
  text-decoration: underline;
}

section p:last-of-type {
  margin-bottom: 0px;
}

/* *************************************************** **/

.introductie {
  height: 320px;
}

.introductie::before {
  content: url(/images/introductie-bg.png);
  position: absolute;
  margin: -90px 0 0 -180px;
  z-index: -1;
}

.introductie > img {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;

  margin: -40px -40px 0 0;
  padding-left: 20px;
  float: right;
}

/* *************************************************** **/

.aanmelden {
  padding: 40px 0 0 0;
  width: 1024px;
}

.aanmelden .aanmelden-padding {
  padding-bottom: 40px;
}

.aanmelden h1, .aanmelden p {
  padding-left: 40px;
  padding-right: 40px;
}

.aanmelden form {
  margin-top: 40px;
  padding: 40px;

  background-color: #c0392b;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  color: white;
}

.aanmelden th { padding-bottom: 18px; }
.aanmelden th, td {
  text-align: left;
  padding-right: 40px;
}

.aanmelden input[type="checkbox"] { transform: scale(1.5); }
.aanmelden input[type="text"] { font-size: .8em; width: 350px; }
.aanmelden input[type="submit"] { margin-top: 20px; }

.aanmelden h2 {
  font-size: 24px;
  margin: 20px 0;
}

.aanmelden #submit-button {
  display: none;
  margin-top: 20px;
  padding: 0 16px;

  height: 29px;
  line-height: 29px;
  color: #9c2317;
  cursor: pointer;

  background-color: white;
  border: 2px solid #9c2317;
  border-radius: 8px;
}

/* *************************************************** **/

.mereveld {
  height: 520px;
}

.mereveld img {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;

  margin: -40px 0 0 -40px;
  padding-right: 40px;
  float: left;
}

/* *************************************************** **/

.contact {
  padding: 20px 40px;
}

.contact p {
  margin-top: 0px;
  font-size: .8em;
}

/* *************************************************** **/

@media (min-width: 1025px) {
  header {

  }
}

@media (min-width: 321px) and (max-width: 1024px) {
  header {

  }
}

@media (max-width: 320px) {
  header {

  }
}
