* {
    /* 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%;
    background-color: slategray;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(100px, auto);
    /* options */
    margin: 0 auto;
    width: 80%;
    color: slategray;
    border-radius: 15px;
    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 darkolivegreen;
    border-radius: 15px;
    font-style: italic;
    /* border: 2px solid red; */
}

.top-nav {
    display: flex;
    flex-direction: row;
    height: 100px;
    align-items: center;
    justify-content: space-around;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    list-style-type: none;
    padding: 0;
    /* border: 2px solid red; */
}

.menu #bl {
    background-color: steelblue;
    border-radius: 20px;
  }
  
.menu .item {
    text-align: center;
    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;
}

.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;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    /* border: 2px solid red; */
}

.box2 .date {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: slategray;
}

.box2 .blog-img {
    width: 50%;
    height: auto;
}

.box2 .blog-img img {
    margin: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*  =========================   Box 3   ========================== */

.box3 {
    grid-row-start: 2;
    grid-column-start: 2;
    grid-column-end: 4;
    /* Text color background border padding etc.  */
    display: flex;
    flex-direction: column;
    /* border: 2px solid red; */
    margin: 30px auto;
    width: 90%;
}

.box3 .titel {
    text-align: center;
}

.box3 .blog-text p {
    color: slategray;
    font-size: 1.2rem;
}

.box3 .blog-text p span {
    font-style: italic;
}

.box3 .source ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    list-style-type: none;
    /* border: 2px solid red; */
}

.box3 .source ul li a:hover {
    color: orange;
}

/*  =========================   Box 4   ========================== */

.box4 {
    grid-row-start: 3;
    grid-column-start: 1;
    grid-column-end: 4;
    /* Text color background border padding etc.  */
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    width: 90%;
}

#yot {
    color: chocolate;
}

#mvb {
    font-style: normal;
}

.box4 article h2 {
    padding: 0 50px;
}

.box4 article p {
    padding: 0 50px;
    font-size: 1.2rem;
}

.box4 article ol li {
    padding: 0 50px;
    font-size: 1.2rem;
    list-style: inside;
    list-style-type: decimal-leading-zero;
}

.box4 article p span {
    font-style: italic;
}

.BibleRef {
    color: slategray;
    /* text-decoration: none; */
}

/* ==========================================   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 darkolivegreen;
    }

    .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 article h2 {
        padding: 0 10px;
    }
    
    .box4 article p {
        padding: 0 10px;
    }
    
    .box4 article ol li {
        padding: 0 10px;
    }

}