* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}

body {
  font-family: "Alumni Sans Pinstripe", sans-serif;
  background-color: #fff8f3;
  color: #3c0d0d;
  font-weight: bold;
  line-height: 1.6;
  font-size: 1.2rem;
}

header {
  text-align: center;
  width: 100%;
  padding: 20px 0;
  background-color: #3c0d0d;
  z-index: 100000;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 100%;
  margin-bottom: 40px;
}

.logo img {
  width: 80vw;
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
  background: transparent;
  padding: 0;
  padding-bottom: 10px;
  border: none;
}

nav.hoofdnavigatie {
  background-color: #e6cfc1;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: auto;
  padding: 0 0 0 0;
  border-radius: 12px;
}

.hoofdnavigatie a,
.hoofdnavigatie summary,
.dropdown-menu li a {
  font-size: 1.4rem;
}

.hoofdnavigatie ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  font-family: "Merriweather", serif;
  font-weight: bold;
  font-size: large;
  border: 2px solid #3c0d0d;
  border-radius: 12px;
}

.hoofdnavigatie li {
  position: relative;
}

.menu-icon {
  display: inline-block;
  width: 5rem;
  height: auto;
  margin-left: 0.3rem;
  z-index: 10000;
  border-radius: 12px;
}

.menu-text {
  display: inline;
  font-size: 0.75rem;
}

.dropdown {
  position: relative;
}

.dropdown[open] .dropdown-menu {
  display: flex;
}

.dropdown summary {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: bold;
  color: #060e4a;
  border-radius: 8px;
}

.dropdown-menu {
  display: flex;
  flex-direction: column;

  background-color: rgba(230, 207, 193, 0.6);
  padding: 0;
  border-radius: 10px;
  z-index: 999;
  position: absolute;
  top: 100%;
  left: 0;
}

.dropdown-menu li {
  text-align: center;
  align-items: center;
  padding: 0px 5px 0px 5px;
  background-color: transparent;
}

.dropdown-menu li a {
  display: block;
  justify-content: space-around;
  font-family: "Alumni Sans Pinstripe", sans-serif;
  font-weight: bold;
  text-decoration: none;
  color: #060e4a;
  font-size: 1.4rem;
}

.dropdown-menu li a:active,
.dropdown-menu li a:focus {
  background-color: transparent;
  border-radius: 0;
  border-bottom: 3px solid rgba(164, 196, 226, 0.6);
  outline: none;
}

main {
  width: 90%;
  max-width: 960px;
  margin: 20px auto 0;
  padding: 0px 20px 20px;
}
main,
.intro > p,
.text-item,
.contact-form-container {
  background-color: #fff1e7;
}

p {
  font-family: "Alumni Sans Pinstripe", sans-serif;
}

h2 {
  font-family: sans-serif;
  font-size: 1.2rem;
  padding-bottom: 12px;
  text-align: center;
}

h1 {
  font-family: "Playwrite AU SA", cursive;
  font-size: 2em;
  text-align: center;
  padding-bottom: 10px;
}

h3 {
  font-family: sans-serif;
  font-size: 1rem;
  padding-bottom: 6px;
}

main > p {
  font-family: "Alumni Sans Pinstripe", sans-serif;
  font-size: 1.4rem;
}

.text-container,
.photo-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 20px;
}

.text-item {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(60, 13, 13, 0.1);
}

.text-item h2 {
  text-align: center;
}

.textintext-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.textintext-item {
  background-color: #fdf5f1;
  border: 1px solid #e6cfc1;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 calc(100% - 40px);
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro > p {
  padding: 20px 40px;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.4rem;
  width: 100%;
  text-align: center;
}

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.photo-grid-item {
  width: 45%;
  min-width: 200px;
  box-sizing: border-box;
  border: 2px solid #e6cfc1;
  padding: 5px;
  background-color: #a2a8d5;
}

.photo-grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-grid-item figcaption {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  color: #3c0d0d;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 20px 50px;
  /* border-radius: 10px;
  box-shadow: 0 2px 6px rgba(60, 13, 13, 0.1); */
}

form p:last-of-type {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 10px;
}

fieldset p {
  align-items: flex-start;
  text-align: center;
}

fieldset p:last-of-type {
  padding-bottom: 20px;
}

.text-container aside {
  background-color: #fdf5f1;
  border: 1px solid #e6cfc1;
  border-radius: 10px;
  padding: 20px;
  flex-basis: 100%;
}

footer {
  background-color: #e6cfc1;
  text-align: center;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.terug-naar-boven {
  display: block;
  text-align: center;
  font-size: 2rem;
  padding: 10px;
  text-decoration: none;
  color: #3c0d0d;
}
/*tablet*/
@media screen and (min-width: 600px) {
  .textintext-item {
    flex: 1 1 calc(50% - 20px);
  }
}
/*desktop*/
@media screen and (min-width: 961px) {
  nav.hoofdnavigatie {
    background-color: #e6cfc1;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: auto;
    padding: 0 0 0 0;
  }

  .hoofdnavigatie ul {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px 0 5px 0;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    height: 30%;
    background-color: e6cfc1;
    padding: 0;
    border-radius: 0;
    z-index: 999;
    border: 2px solid #3c0d0d;
  }
  .dropdown-menu li {
    padding: 30px 30px 30px 30px;
  }

  .logo {
    padding-top: 110px;
  }
  .text-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .text-item {
    flex: 1 1 45%;
  }

  .textintext-item {
    flex: 1 1 calc(33.33% - 20px);
  }
  .photo-grid-item figcaption {
    font-size: 2rem;
  }
}
