html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
}
.topnav {
  background-color: #9abba7;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topnav nav ul {
  display: flex;
  list-style-type: none;
}

.topnav a {
  float: left;
  color: #ffffff;
  text-align: center;
  padding: 0.875rem 1rem;
  text-decoration: none;
  font-size: 17px;
}
main {
  margin-bottom: 2rem;
  background-color: #ffffff;
}
.topnav a:hover {
  background: #f5f3f3;
  color: rgb(154, 187, 167);
}

.hoofd_portfolio {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-family: "Libre Caslon Display", serif;
  background-color: #ffffff;
}
.hoofd_portfolio a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}
.hoofd_portfolio img {
  height: 7rem;
}
.fotowall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.column img {
  max-width: fit-content;
  height: auto;
  margin-left: 0.25rem;
  vertical-align: middle;
  border-radius: 0.5rem;
}

h1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  font-family: "Libre Caslon Display", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 3rem;
  background-color: rgb(255, 255, 255);
}

.Introtekst1 {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.Introtekst2 {
  font-family: "Libre Caslon Display", serif;
  font-size: 1.875rem;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 1rem;
}
.Introtekst3 {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-align: center;
  max-width: 30rem;
}
.container {
  display: grid;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 255, 255);
  padding: 3rem;
}

.container img {
  max-height: 40rem;
  border-radius: 2rem;
}

.text-container {
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.index {
  text-align: center;
}

.main-content {
  flex: 1;
  flex-direction: row;
  margin-top: 1rem;
  background-color: #ffffff;
  text-align: center;
}

.main-content h2 {
  font-size: 2rem;
  font-weight: bold;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  padding: 2rem;
  color: #000000;
}

.eye {
  width: 2rem;
  height: auto;
}

.content-right {
  text-align: center;
}

.follow-text {
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align: right;
  margin-bottom: 1rem;
  font-style: italic;
}

.sociale-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.foto_socials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: auto;
}

.contact-text {
  padding: 1rem;
  font-size: 1.3rem;
  font-style: italic;
}

.overmij {
  background-color: #ffffff;
}
.info-romy {
  background-color: #ffffff;
}
.titel-info-romy {
  text-align: center;
  font-family: "Libre Caslon Display", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
  padding: 2rem;
}
.info-overmij {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  max-width: 40rem;
  margin: auto;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.paragraaf-overmij {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-family: "Libre Caslon Display", serif;
  font-size: 1.875rem;
  font-style: italic;
  font-weight: bold;
}
.mail {
  margin-top: 1.5rem;
  text-decoration: none;
  color: #9abba7;
  font-style: italic;
  font-weight: bold;
  font-size: 1rem;
}

.mail:hover {
  text-decoration: underline;
  opacity: 0.8;
}
.paragraaf-portfolio {
  color: #f5f3f3;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-family: "Libre Caslon Display", serif;
  font-size: 1.875rem;
  font-style: italic;
  font-weight: bold;
}

.info-portfolio {
  color: #f5f3f3;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  max-width: 40rem;
  margin: auto;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.boektopia h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-family: "Libre Caslon Display", serif;
  font-weight: bold;
  padding-bottom: 1rem;
  color: #f5f3f3;
}

.achtergrondboektopia {
  padding-top: 1rem;
  background-color: #9abba7;
}

div.scroll-container {
  margin-top: 2rem;
  background-color: #7a9485;
  overflow: auto;
  white-space: nowrap;
  padding: 1rem;
}

div.scroll-container img {
  max-width: 60vw;
  padding: 0.7rem;
}
.achtergrond-photo-studio {
  background-color: #9abba7;
}

.achtergrond-photo-studio h2 {
  color: #f5f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-family: "Libre Caslon Display", serif;
  font-weight: bold;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.foto-grootte {
  height: 40rem;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  gap: 1rem;
  margin: 4rem;
}

footer a:link,
a:visited,
a:active {
  text-decoration: none;
  color: inherit;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 430px) {
  body {
    margin: 0;
    padding: 0;
    font-size: 14px;
  }

  .hoofd_portfolio {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .hoofd_portfolio img {
    height: 50px;
  }

  .topnav a {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2rem;
    margin: 1rem 0;
  }

  .Introtekst1,
  .Introtekst2,
  .Introtekst3 {
    text-align: center;
    padding: 0 1rem;
  }

  .content {
    flex-direction: column;
    padding: 1rem;
  }

  .scroll-container img {
    max-width: 80%;
    height: auto;
  }

  footer {
    font-size: 0.8rem;
  }
}

@media (max-width: 650px) {
  .foto-grootte {
    height: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .content {
    flex-direction: row;
    gap: 2rem;
  }

  .text-container {
    padding: 2rem;
    text-align: center;
  }

  h1 {
    font-size: 2.5rem;
  }

  .scroll-container img {
    max-width: 40%;
    height: auto;
    margin: 0 1rem;
  }

  footer {
    font-size: 1rem;
    gap: 2rem;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .hoofd_portfolio {
    padding: 1rem 2rem;
  }
  .content {
    display: flex;
    justify-content: center;
  }
  .Introtekst1 {
    text-align: center;
    font-size: 1.25rem;
  }
  .topnav nav ul {
    gap: 2rem;
  }

  h1 {
    font-size: 3rem;
  }

  .text-container {
    text-align: left;
    padding: 2rem;
  }
  .eye {
    width: 3rem;
  }

  .scroll-container img {
    max-width: 25%;
  }

  footer {
    font-size: 1rem;
    padding: 2rem;
  }
}

@media (min-width: 1440px) {
  .container img {
    max-height: 50rem;
  }

  .main-content h2 {
    font-size: 4rem;
  }
  .content {
    display: flex;
    justify-content: center;
  }
  .Introtekst1 {
    text-align: center;
    font-size: 1.25rem;
  }
  .eye {
    width: 5rem;
  }
  footer {
    font-size: 1.4rem;
  }
}
