* {
  /* box-sizing: border-box; padding and border are included in the width and height: */
  box-sizing: border-box;
  font-family: "MS PMincho", sans-serif;
}

html,
body {
  margin: 0;
  height: 100%;
  width: 100%;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(100px, auto);
  color: slategray;
  background-color: lightgray;
}

/*  ====================   Box1: Main menu incl. Hamburger menu   ===========================*/

.box1 {
  grid-column-start: 1;
  grid-column-end: 4;
  margin: 0 auto;
  margin-top: 10px;
  width: 99%;
  color: white;
  background-color: slategray;
  border: 5px solid steelblue;
  border-radius: 15px;
  font-style: italic;
  /* border: solid red 1px; */
}

.top-nav {
  display: flex;
  flex-direction: row;
  height: 100px;
  align-items: center;
  justify-content: space-around;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  /* overflow: hidden; */
  margin: 0 auto;
  padding: 0;
  /* border: 2px solid red; */
}

.menu #bl {
  background-color: steelblue;
  border-radius: 20px;
}

.menu .item {
  overflow: hidden;
}

.menu .item:hover {
  background-color: steelblue;
  border-radius: 20px;
}

.menu .item a {
  text-decoration: none !important;
  color: #ccddf9;
  font-size: 28px;
  letter-spacing: 3px;
  margin: 0 50px;
}

.menu .item a:hover {
  color: orange;
}

/* ========================================= t.b.v. Hamburger Menu (NOT visable)   ============================= */

/*  Input element: Checkbox */
#menu-toggle {
  display: none;
}

/* Element: Label for: checkbox */
.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*  Hamburger menu: Div class = menu-button */
.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}


/* ============================================ Start page under top-menu:  any box and position where needed !   ============================== */

.box2 {
  grid-row-start: 2;
  grid-column-start: 1;
  grid-column-end: 4;
  /* border: solid red 1px; */
}

.box2 #blog {
  padding: 40px;
  /* border: solid red 1px; */
}

.box2 .blog-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  /* border: solid green 1px; */
}

.box2 .blog-heading h3 {
  text-align: center;
  color: slategray;
  letter-spacing: 3px;
  font-size: 2.4rem;
  font-weight: 600;
  font-family: papyrus;
  font-style: italic;
  /* font-family: playball; */
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* grid nesting */
  grid-auto-rows: minmax(100px, auto);
  /* grid-gap: 7%; */
  /* border: solid red 1px; */
}

/*========================================================================*/

.box2 .start-box {
  grid-column-start: 1;
  grid-column-end: 2;
  margin: 0 25% 25% 25%;
  /* border: solid blue 1px; */
}

.box2 .start-box .blog-img {
  width: 100%;
  height: auto;
  /* border: solid red 1px; */
}

.box2 .start-box .blog-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: -5px 10px #888888;
  /* border: solid red 1px; */
}

.box2 .start-box .blog-img img:hover {
  cursor: pointer;
}

.box2 .start-box .blog-title {
  width: 100%;
  background-color: #ffffff;
  box-shadow: -5px 10px #888888;
  border-radius: 15px;
  /* border: solid red 1px; */
}

.box2 .start-box .blog-title p {
  padding: 7px;
  color: red;
  text-align: center;
  line-height: 1.5rem;
  /* border: solid red 1px; */
}

/*========================================================================*/

.box2 .text-box {
  grid-column-start: 2;
  grid-column-end: 4;
  max-height: 70%;

  margin: 0 3% 5% 3%;
  padding: 30px;
  background-color: #ffffff;
  box-shadow: -5px 10px #888888;
  overflow-y: hidden;
  /* border: solid red 1px; */
}

.box2 .text-box .blog-txt p {
  font-size: 20px;
  color: slategray;
}

#engel,
#rugzak,
#rotonde,
#autopech,
#portemonaie {
  margin: 0 auto;
  width: 20%;
  text-align: center;
 /* border: solid red 1px; */
}

#engel:hover,
#rugzak:hover,
#rotonde:hover,
#autopech:hover,
#portemonaie:hover {
  cursor: pointer;
  color: red;
}

/* ==========================================   Hide Webstat ====================================== */

.webstatcode {
  visibility: hidden;
}


/* ===========================================================================   Any screen width behavior   =========================================== */



/* ============= Mobile behavior = 0-820px width ================= */

@media (max-width: 820px) {

  /*    Hamburger-menu:    */
  .menu-button-container {
    display: flex;
  }

  /* Uitklap menu */
  .box1 .menu {
    flex-direction: column;
    margin-top: 100px;
    position: absolute;
    top: 0px;
    left: 13%;
    width: 73%;
    justify-content: center;
    align-items: center;
    /* border: 2px solid red; */
  }

  #menu-toggle~.menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked~.menu li {
    border: 1px solid #333;
    border-radius: 10px;
    height: 2.5em;
    /* list item hoogte na uitklappen*/
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 70%;
    color: white;
    background-color: lightslategray;
    z-index: 1;
  }

  .menu li:not(:last-child) {
    border-bottom: 5px solid darkolivegreen;
  }

  .menu .item a {
    font-size: 18px;
    letter-spacing: 5px;
  }

  /* ************************************************************* */

  .box2 #blog {
    padding: 0 20px;
    /* border: solid red 1px; */
  }

  .blog-container {
    display: flex;
    flex-direction: column;
    /* border: solid red 1px; */
  }

  .box2 .start-box {
    margin: 25% 25% 5% 25%;
    /* border: solid blue 1px; */
  }

  .box2 .text-box {
    max-height: 33%;
    margin: 0 3% 0 3%;
    padding: 20px;
    overflow-y: hidden;
    /* border: solid red 1px; */
  }
  
  .box2 .text-box .blog-txt p {
    font-size: 20px;
  }

}

/* ============= Mobile behavior = 0-420px width ================= */

@media (max-width: 420px) {

  .menu .item a {
    font-size: 14px;
    letter-spacing: 5px;
  }

  .box2 .blog-heading h3 {
    font-size: 1.4rem;
  }

  .blog-container {
    display: flex;
    flex-direction: column;
    /* border: solid red 1px; */
  }

  .box2 .start-box {
    margin: 25% 25% 5% 25%;
    /* border: solid blue 1px; */
  }

}