* {
  /* 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;
  padding: 0;
  height: 100%;
  width: 100%;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(100px, auto);
  /* options */
  color: slategray;
}

/*  ====================   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;
}

.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 #ab {
  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: 2;
  /* Text color background border padding etc.  */
  display: flex;
  justify-content: center;
  align-items: center;
}

.box2 img {
    /* position: fixed;
    margin-top: 100px;
    margin-left: 200px; */
  /* margin-top: 50px; */
  /* width: 10%; */
  width: 50%;
  border-radius: 10px;
  
}

/* =========================================================== */

.box3 {
  grid-row-start: 2;
  grid-column-start: 2;
  grid-column-end: 4;
  padding: 50px;
}

.box3 h1 {
  font-family: playball;
  font-weight: 100;
  font-size: 30px;

}

.box3 p,
.box3 a {
  font-family: papyrus;
  font-weight: bold;
  font-size: 21px;
}

/* visited link */
.box3 .BibleRef:visited {
  color: slategray;
}

/* mouse over link */
.box3 .BibleRef:hover {
  color: orange;
}

/* visited link */
.box3 a:visited {
  color: slategray;
}

/* mouse over link */
.box3 p a:hover {
  color: orange;
}

.box3 span {
  font-weight: 100;
  font-style: italic;
}

/* =====================================   box4 ============================================= */

.box4 {
  grid-row-start: 3;
  grid-column-start: 1;
  grid-column-end: 4;
  margin: 0 10%;
  padding: 20px 30px;
}

.box4 h1 {
  font-family: playball;
  font-weight: 100;
  font-size: 30px;
}

.box4 li {
  font-family: playball;
  font-weight: 100;
  font-size: 28px;
}

.box4 p {
  font-family: "MS PMincho", sans-serif;
  font-style: italic;
  font-weight: 100;
  font-size: 21px;
}

/* link and visited link */
.box4 a,
.box4 a:visited,
.box4 .BibleRef,
.box4 .BibleRef:visited {
  color: slategray;
}

/* mouse over link */
.box4 a:hover,
.box4 .BibleRef:hover {
  color: orange;
}

/* ==========================================   Hide Webstat ====================================== */

.webstatcode {
  visibility: hidden;
}

/* ===========================================================================   Any screen width behavior   =========================================== */

/* ================ Mobile behavior = 0-1250px width ================= */

@media (max-width: 1250px) {
  .menu .item a {
    margin: 0 30px;
  }
}

/* ============= Mobile behavior = 0-1024px width ================= */

@media (max-width: 1024px) {
  .menu .item a {
    margin: 0 10px;
  }

}

/* ============= Mobile behavior = 0-820px width ================= */

@media (max-width: 820px) {
  .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: slategray;
    z-index: 1;
  }

  .menu li:not(:last-child) {
    border-bottom: 1px solid darkslategray;
  }

  .menu .item a {
    font-size: 18px;
    letter-spacing: 5px;
  }
}

/* ============= Mobile behavior = 0-550px width ================= */

@media (max-width: 550px) {
  .menu li {
    width: 100%;
  }

.box2 {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 4;
}

.box3 {
    grid-row-start: 3;
    grid-column-start: 1;
    grid-column-end: 4;
}

.box4 {
    grid-row-start: 4;
    grid-column-start: 1;
    grid-column-end: 4;
}

.box4 h1 {
    padding: 0 10px;
}

.box4 p {
    padding: 0 10px;
}

.box4 ul li {
    padding: 0 10px;
}

}