* {
  margin: 0;
  padding: 0;
  font-family: Roboto;
}

ul,li {
  list-style: none;
}

#section1 {
  background: url("../img/stellingachtergrond.jpg"), linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)) repeat no-repeat center;
  background-blend-mode: overlay;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative; /* Set position to relative so that z-index can work */
  z-index: 1; /* Set z-index to 1 so that the navbar can overlap */
  background-position: center;
}

#section1-content {
  color: white;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left; /* Align text to the left */
}

.section1-content-content {
  padding: 0 20px;
}

#section1 h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

#section1 p {
  font-size: 1.5em;
  margin-bottom: 20px;
}

#section1 .button1 {
  color: #fffcf2;
  border-radius: 3px;
  padding: 19px 54px;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: .1em;
  background-color: #1e1e1e;
  display: inline-block;
  transition: .2s all ease-in-out;
  text-decoration: none;
  text-align: center;
  border: 1px solid #B7ADA1;
  border-top-color: rgb(183, 173, 161);
  border-right-color: rgb(183, 173, 161);
  border-bottom-color: rgb(183, 173, 161);
  border-left-color: rgb(183, 173, 161);
  box-shadow: 0 0 #fffcf2,0 0 #fffcf2,0 0 #fffcf2,0 0 #fffcf2;
}

#section1 .button1:hover{
  background: #FFFCF2 !important;
  color: #1e1e1e !important;
  border-color: #b7ada1 !important;
  box-shadow: 4px -4px #fffcf2,-4px 4px #fffcf2,-4px -4px #fffcf2,4px 4px #fffcf2;
}

#section2 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 50px;
}

#section2-content {
  color: black;
  width: 100%;
  top: 50%;
  padding: 0 20px;
  left: 50%;
  text-align: left; /* Align text to the left */

}

#section2 .wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 30px;
  place-self: center;
  text-decoration: none;
}

.box__link {
  color: #191919;
  font-weight: 600;
  letter-spacing: .7px;
  text-align: left;
  text-decoration: none;
}

#section2 .wrapper2 {
  display: grid;
  grid-template-columns: 378px 378px;
  grid-column-gap: 30px;
  justify-content: center;
}

#section2 .box {
  background-color: #fff;
  display: block;
  font-weight: 500;
  position: relative;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: .3s all ease-in-out;
  transition: all .3s ease-in-out;
  border: 1px solid rgba(0,0,0,.05);
  -webkit-box-shadow: 0 5px 60px rgba(40,40,40,.1);
  box-shadow: 0 5px 60px rgba(40,40,40,.1);
  margin-bottom: 30px;
  text-decoration: none;
}

#section2 .box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.box__image {
  position: relative;
  height: 240px;
}

.box__image .img {
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.box__footer {
  text-align: left;
  font-weight: 500;
  padding: 15px 30px;
}

/* Media queries for section 1 */

@media (min-width: 1200px) {
  #section1-content {
    max-width: 1200px;
  }
  #section2-content {
    max-width: 1200px;
  }
}

@media only screen and (max-width: 768px) {
  .section1-content-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
  }

  #section1 h1 {
    font-size: 2em;
    margin-bottom: 10px;
  }

  #section1 p {
    font-size: 1em;
    margin-bottom: 10px;
  }

  #section2 .wrapper2 {
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 30px;
    justify-content: center;
    margin-top: 50px;
  }
      footer {
        height: 100%;
    }
    .row {
        flex-direction: column;
        gap: 30px;
    }
}

@media only screen and (max-width: 480px) {
  #section1 h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  #section1 p {
    font-size: 0.8em;
    margin-bottom: 10px;
  }
}
