@import url("https://fonts.googleapis.com/css2?family=Angkor&display=swap");

body {
  margin-left: auto;
  margin-right: auto;
  background-color: #c5001a;
  font-family: "Lato", "Arial", sans-serif;
  font-size: 100%;
}

header {
  background-color: #002c54;
  color: #fdf6f6;
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  grid-template-rows: auto;
}
header nav {
  padding: 0.5em;
}

header nav ul {
  display: flex;
  flex-direction: column;
}

header nav ul li {
  padding: 0.5em;
}

header nav ul li a {
  text-decoration: none;
  color: #fdf6f6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  font-family: "Angkor";
}

header nav ul li a:hover {
  background-color: #c5001a;
}

header nav ul li a:active {
  color: #c5001a;
  background-color: #002c54;
}

#huidigePagina {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #c5001a;
}

main {
  margin: 2em;
  padding: 1em;
  background-color: #fdf6f6;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
}

h1 {
  font-size: 3em;
  color: #fdf6f6;
  font-weight: bolder;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-bottom: 1em;
}

img {
  max-width: 75%;
  height: auto;
  border-radius: 10px;
  margin: 2em;
}

h2 {
  font-size: 2em;
  color: black;
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  font-weight: bold;
}

h3 {
  font-size: 1.5em;
  color: black;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
  text-align: left;
}

p {
  font-size: 1.1em;
  color: black;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  text-align: left;
  line-height: 1.3em;
}
footer {
  font-size: xx-small;
  text-align: center;
  margin-top: 50px;
}

.formulier {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  justify-content: space-between;
}

tr {
  flex: 2;
}

td {
  padding: 0.2em;
}

.paginaAfbeeldingen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}

.foutmelding {
  color: #c5001a;
  font-size: 0.85em;
  font-weight: bold;
  margin-top: 0.25em;
}

.slideshow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
}

.slideshow img {
  max-width: 60%;
}

.slideshow button {
  font-size: 1.5rem;

  cursor: pointer;
  background: none;
  border: none;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.verborgen {
  display: none !important;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}

#sluitLightbox {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

#lightboxAfbeelding {
  max-width: 90%;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.weetje {
  text-align: right;
  color: #002c54;
}

#begroeting {
  color: #fdf6f6;
  font-size: 1em;
}

main aside {
  grid-column: 1 / -1;
}

.bevestiging {
  background-color: #002c54;
  color: #fdf6f6;
  border: 1px solid #c5001a;
  border-radius: 4px;
  padding: 1em;
  margin-top: 1em;
  text-align: center;
  font-weight: bold;
}
@media (min-width: 800px) {
  .pagina {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
  }
  header {
    display: flex;
    flex-direction: column;
    flex-direction: column-reverse;
  }
  header nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  header h1 {
    margin: 0.75em;
  }
  .paginaTips {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2em;
  }
  .paginaAfbeeldingen {
    display: flex;
    flex-direction: row;
  }
  #paginaBezoek {
    align-items: center;
  }
  .slideshow button {
    font-size: 5rem;
    padding: 0.5rem 1rem;
  }
}
