/* =========================
   Algemene instellingen
========================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family:
        "Lucida Sans",
        "Lucida Sans Regular",
        "Lucida Grande",
        "Lucida Sans Unicode",
        Geneva,
        Verdana,
        sans-serif;

    font-size: 17px;
    color: whitesmoke;
    background-color: #212121;
}


/* =========================
   Hoofdlayout
========================= */

.grid-container {
    display: grid;

    grid-template-areas:
        "header"
        "main"
        "footer";

    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 80px minmax(0, 1fr) 45px;

    width: 100%;
    height: 100dvh;
    min-height: 0;

    margin: 0;
    padding: 0 20px;

    gap: 0;
    overflow: hidden;
}


/* =========================
   Menu / sidebar
========================= */

#open-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    height: 40px;
    padding: 0 6px;

    color: #212121;
    background-color: whitesmoke;
    border: 1px solid #212121;
    border-radius: 3px;

    cursor: pointer;
}

#open-menu:hover {
    color: red;
}

.sidenav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;

    width: 0;
    height: 100dvh;

    padding-top: 0;

    overflow-x: hidden;
    overflow-y: auto;

    background-color: #212121;
    transition: width 0.4s ease;
}

.sidenav ul {
    padding-top: 60px;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;

    margin-left: 50px;

    color: whitesmoke;
    font-size: 36px;
    text-decoration: none;
}

.menu {
    width: 100%;
    min-height: 100%;

    background-image: url("https://bregtjekuik.nl/images/wolfspoot.jpg");
    background-position: center;
    background-size: cover;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul > li {
    z-index: 100;

    margin-bottom: 7px;
    padding: 8px;

    color: whitesmoke;
    background-color: #222;
}

ul > li:hover {
    color: #212121;
    background-color: lime;
}

.menu li > a,
.menu li > a:link,
.menu li > a:active,
.menu li > a:visited {
    color: deeppink;
    text-decoration: none;
}

.menu li > a:hover {
    color: deeppink;
}


/* =========================
   Header
========================= */

.header {
    display: flex;
    grid-area: header;

    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 0;

    color: #6b704a;
    background-color: transparent;
}

.header > h1 {
    width: 100%;
    margin: 0;

    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.1;
    text-align: center;
    text-shadow: 1px 1px lime;
}


/* =========================
   Hoofdcontent
========================= */

.content {
    display: flex;
    grid-area: main;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 0;

    color: whitesmoke;
    text-align: center;
    text-shadow: 1px 1px 1px #212121;

    overflow: auto;
}

.content > h1 {
    margin: 0 0 7px;
    font-size: 30px;
    text-align: center;
}


/* =========================
   Video
========================= */

#video-content {
    position: relative;
    overflow: hidden;
}


#video-container {
    position: absolute;
    inset: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;

}

#video-container video {
    display: block;
    transform: scale(1.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================
   Datum / update-tekst
========================= */

.content > p {
    flex: 0 0 auto;

   

    font-size: 12px;
}


/* =========================
   Slideshow
========================= */

.slideshow-container {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;

    margin: auto;
}

.mySlides {
    display: none;
}

.mySlides > img {
    display: block;

    max-width: 100%;
    height: auto;
    max-height: 20dvh;
    margin: 0 auto;

    border-radius: 12px;
}

.fade {
    animation: fade 5s ease-in-out infinite;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* =========================
   Footer
========================= */

.footer {
    display: flex;
    grid-area: footer;

    align-items: center;
    justify-content: center;
    gap: 18px;

    width: 100%;
    min-width: 0;
    min-height: 0;

    padding: 5px;

    color: lime;
    font-size: 12px;
    text-align: center;
}

.footer a {
    color: lime;
}

.footer a:hover {
    color: yellow;
}


/* =========================
   Onderwerpen
========================= */

#onderwerp-thema-container {
    position: fixed;
    top: 60px;
    right: 0;

    width: 20dvw;
    height: calc(100dvh - 60px);
    padding: 0 7px;

    overflow-x: hidden;
    overflow-y: auto;
}

#onderwerp-content-container {
    position: fixed;
    top: 60px;
    left: 0;

    width: 70dvw;
    height: auto;
    min-height: 0;

    padding: 5px 12px;

    color: whitesmoke;
    background-color: transparent;
}

#clear {
    position: fixed;
    bottom: 20px;
    left: 20px;

    width: 60px;
    height: 30px;
}

.lichtbalk {
    width: 100%;
    margin-top: 20px;
    padding: 15px 0;

    overflow: hidden;

    color: yellow;
    white-space: nowrap;
    background: transparent;
}

.lichtbalk-tekst {
    display: inline-block;

    padding-left: 100%;

    animation: schuiven 12s linear infinite;
}

@keyframes schuiven {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


/* =========================
   Blog
========================= */

#type-start-btn {
    position: fixed;
    top: 50px;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    height: 50px;
    padding: 4px 6px;

    color: yellow;
    background-color: #212121;
    border-radius: 6px;
}

#type-start-btn:hover {
    color: lime;
}

.blog-container {
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding: 12px 6px;
    overflow-x: hidden;
    overflow-y: auto;
    white-space: pre-wrap;
    background-color: rgb(21 21 21 / 50%);
}

.blog-container > a,
.blog-container > a:link,
.blog-container > a:visited,
.blog-container > a:active {
    color: yellow;
    text-decoration: underline;
    text-decoration-color: whitesmoke;
    text-underline-offset: 5px;
}

.blog-container > a:hover {
    color: lime;
    text-decoration-color: yellow;
}


.foto-grid-header {
    width: 100%;
    padding: 24px 10px;
    text-align: center;
}

.foto-grid-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0 auto;
    padding: 0 4px 12px;

    column-count: 3;
    column-gap: 10px;

    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: thin;
}

/*
   
*/
.foto-grid-column {
    display: contents;

    
}
.foto-grid-column img {
    display: block;
    
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
    object-position: center;

    margin: 0;
    border-radius: 8px;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.foto-grid-column img:hover {
    transform: scale(1.02);
    filter: brightness(1.08);
}


/* Grote schermen: vier ruime kolommen */
/* Desktop */
@media (max-width: 1199px) {
    .foto-grid-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Tablet */
@media (max-width: 849px) {
    .foto-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Mobiel */
@media (max-width: 420px) {
    .foto-grid-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .foto-grid-column img {
        border-radius: 7px;
    }
}


/* =========================
   Linkjes
========================= */

.linkjes-container {
     width: min(90dvw, 900px);
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);

    margin: 10px auto 10px;
    padding: 0 8px;

    overflow-x: hidden;
    overflow-y: auto;

    border: none;
}

#linkjes {
    position: fixed;
    top: 60px;
    left: 20px;

    color: #feb236;
    font-size: 18px;
    text-align: center;
}

.acc {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin-bottom: 5px;
    padding: 18px 20px 18px 0;

    color: #212121;
    font-size: 20px;

    cursor: pointer;

    background-color: #ff7b25;
    border: 0;
    border-bottom: 1px solid #212121;
    outline: none;

    transition: 0.4s;
}

.active,
.acc:hover {
    color: #d64161;
    background-color: #feb236;
}

.panel {
    display: none;

    margin: 0;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 10px;

    overflow: hidden;

    background-color: transparent;
}

li > .bron {
    position: absolute;
    top: 0;
    right: 0;

    display: inline-block;

    margin-left: auto;

    font-size: 10px;
}

.panel > li {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin: 3px;
    padding: 7px 3px 3px;

    font-size: 14px;
    list-style-type: none;

    border-bottom: 1px solid #6b704a;
}

.panel > li > a,
.panel > li > a:link,
.panel > li > a:active,
.panel > li > a:visited {
    padding: 5px;
    text-decoration: none;
    color: #feb236;
}

.panel > li > a:hover {
    color: #d64161;
}

#close-all {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;

    width: 60px;
    height: 40px;

    background-color: #d64161;
    border-bottom: 2px solid #6b5b95;
    border-left: 2px solid #6b5b95;
    border-radius: 3px;
}

/*themas*/


/* =========================
   Contact
========================= */

#contact {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100dvw;
    text-align: center;
    color: #feb236;
    text-shadow: 1px 1px 1px #212121;
    font-size: 18px;
    padding: 5px;
}

.contact-page {
    background-image: url("https://bregtjekuik.nl/images/blauwtje.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* =========================
   Mobiele schermen
========================= */

@media (max-width: 768px) {
    html,
    body {
        overflow: hidden;
    }

    .grid-container {
        grid-template-rows: 65px minmax(0, 1fr) 38px;
        padding: 0 8px;
    }

    .header > h1 {
        font-size: 23px;
    }

    #video-container {
        padding: 5px;
    }

    #video-container video {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    

    .footer {
        flex-direction: column;
        gap: 2px;

        padding: 3px 0;
        font-size: 10px;
        line-height: 1.1;
    }

    .mySlides > img {
        max-height: 150px;
    }
}





/* =========================
   Kleine mobiele schermen
========================= */

@media (max-width: 600px) {
    .grid-container {
        grid-template-rows: 65px minmax(0, 1fr) 32px;
        padding: 0 6px;
    }

    .header > h1 {
        font-size: 21px;
    }

    #video-container {
        padding: 2px;
    }

    #onderwerp-thema-container {
        width: 100%;
        height: 25dvh;
        margin-top: 30px;

        overflow-x: hidden;
        overflow-y: auto;
    }

    #onderwerp-content-container {
        width: 100%;
        height: auto;
        margin-top: 35dvh;
    }

    .lichtbalk {
        margin-top: 10px;
    }

    
}
