@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Algemene basisstijlen */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #ecf0f1;
  line-height: 1.6;
  color: #333;
}

header {
  margin: 1rem;
  height: 5rem;
  background-color: #2c3e50;
  color: white;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  margin: 1rem 0;
}

h2,
h3 {
  margin: 0.5rem 1rem;
  color: #34495e;
}

nav {
  margin: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: #2c3e50;
  position: sticky;
  top: 0;
}

nav > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

nav > ul > li {
  margin: 0 1rem;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: #0073e6;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:visited {
  color: #1abc9c;
}

a:hover {
  color: #ff6600;
  text-decoration: underline;
}

a:active {
  color: #ff0000;
  text-decoration: underline;
}

dt {
  color: #2c3e50;
  margin: 0.5rem 1rem;
}

dd {
  margin-left: 2rem;
}

.grid {
  display: grid;
  padding: 1rem;
  grid-template-columns: 1fr;
  gap: 10px;
}

.grid > section {
  height: auto;
  border: 1px solid black;
  border-radius: 0.5rem;
  overflow: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
}

ol {
  list-style: lower-alpha;
}

ol > li,
ul > li {
  margin: 0.5rem 2rem;
}

p {
  margin: 1rem;
}

.fotogalerij {
  margin: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

picture {
  width: 100%;
}

img {
  width: 100%;
  height: auto;
}

figcaption {
  text-align: center;
}

blockquote {
  margin: 1rem;
}

#formulier {
  width: 90%;
  margin: 2rem auto;
  border: 1px solid black;
  border-radius: 0.5rem;
}

table {
  width: 100%;
  table-layout: fixed;
}

tr {
  height: 2rem;
}

td {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
}

input,
select,
textarea {
  width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  width: 50%;
}

button {
  background-color: #f0f0f0;
  border: none;
  margin: 0.5rem;
  width: 2.5rem;
  height: auto;
  transition: all 0.5s ease;
}

button:hover {
  cursor: pointer;
  transform: scale(1.5);
}

button:active {
  transform: scale(1);
}

footer {
  margin: 1rem;
  padding: 1rem;
  background-color: #2c3e50;
  color: white;
  border-radius: 0.5rem;
}

/* Tablet (min-width: 481px) */
@media (min-width: 481px) {
  .fotogalerij {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop (min-width: 801px) */
@media (min-width: 801px) {
  .fotogalerij {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid > section {
    height: 25rem;
  }

  #formulier {
    width: 50%;
  }

  td {
    display: table-cell;
  }
}
