html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: grid;
  background-color: #111111;
  color: #fff;
  font-family: "montserrat", Helvetica, Arial, sans-serif;
  grid-template-areas:
    "nav"
    "main"
    "footer";
}

main {
  grid-area: main;
}

/* Navigation */

.nav-links {
  display: flex;
  position: absolute;
  width: 100%;
  background-color: #242424;
  margin: auto;
  z-index: 100;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.nav-links li {
  padding: 50px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 20px;
  border: #242424;
}

.navigation {
  grid-area: nav;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  height: 7.5rem;
}

.navigation .logo {
  height: 5rem;
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
  min-height: 100vh;
  position: relative;
}

.hero section.hero__text {
  margin: auto 1rem;
}

.hero section.hero__text h1 {
  font-size: 2.5rem;
}

.hero section.hero__text h2 {
  font-size: 1rem;
  padding: 2rem;
  font-weight: 50;
  color: #d9d9d9;
  text-align: center;
}

.hero section.hero__text p {
  grid-area: text;
  font-size: 1rem;
}

.hero#hero__aboutme {
  line-height: 1.5;
}

.hero #hero__detail {
  margin: 0 10rem;
}

/* Blob */

.blob {
  position: absolute;
  height: 50rem;
  z-index: -1;
  overflow: hidden;
}

.blob.blob__right {
  top: -5rem;
  right: -30.5rem;
  left: inherit;
}

.blob.blob__bottom-left {
  bottom: -15rem;
  left: -25rem;
  right: inherit;
}

.blob.blob__bottom-right {
  top: 70rem;
  right: -32rem;
  left: inherit;
}

/* Shop */
.shop-container {
  display: flex;
  flex-wrap: wrap-reverse;
  margin: 0 1rem;
}

.shop-container article {
  margin: 1rem;
  width: 15rem;
}

.shop-container article h1 {
  margin: 0.5rem 0;
}

.shop-container img {
  width: 35%;
}

.shop-container button {
  margin: 1rem 0;
}

.winkelmand-container {
  padding: 1rem;
}

/* Onderdeel */

.onderdeel-container {
  margin: 0 1rem;
}
.onderdeel-container img {
  display: block;
  margin: 1rem auto;
}

.contact-container address {
  margin: 0 1rem;
}

/* Specific styles */

#myphoto {
  border-radius: 50%;
  width: 20rem;
  border: 5px solid #fff;
  margin: 0 0 1rem 0;
}

#contact-map,
#ide-map,
#tailwindcss-map {
  width: 100%;
  height: 20rem;
  margin: 1rem 0 3rem;
  z-index: 1;
}

/* Text */
.center-text {
  text-align: center;
  font-size: 3rem;
}

/* Producten */
.product-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.product-container article {
  margin: 2rem;
  width: 100%;
}

.product-container h1 {
  padding: 0.5rem 0;
}

.product-container img {
  width: 100%;
}

.comment-container form {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 1rem;
}

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

.reaction p {
  margin: 0;
}

.reaction a {
  margin: 0;
  color: rgb(164, 166, 166);
}

/* Footer */
footer {
  grid-area: footer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  margin: 5rem 0 1rem 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.like-bericht {
  display: inline-block;
  background-color: transparent;
  border: none;
  width: fit-content;
  color: rgb(53, 68, 179);
  cursor: pointer;
  font-size: 16px;
  outline: none;
  padding: 0.2rem 0.5rem;
}

.like-bericht:hover {
  background-color: #546ed4;
  color: rgb(82, 82, 82);
}

.like-bericht:focus {
  background-color: #0033ff;
  animation: spin 2s linear infinite;
  color: rgb(255, 255, 255);
}

/* ZOEK */

.search {
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: sans-serif;
}

/* Responsiveness */
.computer {
  display: none;
}

@media (min-width: 1025px) {
  .computer {
    display: block;
  }
  .mobile {
    display: none;
  }

  .nav-links {
    display: flex;
    position: relative;
    margin: unset;
    background-color: transparent;
    flex-direction: row;
    margin-right: 50%;
  }

  /* map */
  #contact-map,
  #ide-map,
  #tailwindcss-map {
    width: 35%;
    height: 20rem;
    margin: 1rem 5rem 3rem;
    z-index: 1;
  }

  #ide-map,
  #tailwindcss-map {
    width: 60%;
    margin: 1rem auto;
  }

  /* Contact */

  .contact-container {
    display: flex;
    flex-wrap: wrap;
  }

  .contact-container address {
    margin-top: 5rem;
  }

  /* Onderdeel */

  .onderdeel-container {
    margin: 0 25rem;
  }

  .onderdeel-container img {
    width: 75%;
  }

  .onderdeel-container figcaption {
    margin: 2rem 0;
    color: gray;
  }

  /* Producten */

  .product-container img {
    width: 28rem;
    height: 100%;
  }

  .product-container article {
    width: 30rem;
  }

  /* shop */

  .shop-container {
    justify-content: center;
  }

  /* comment form */
  .comment-container form,
  .reactions {
    width: 50%;
    margin: 2rem auto;
  }
}
