
/* Style voor alle pagina's en specifiek homepage*/

/* algemene style, beginfoto, pagina titel en teksten */
html, body {
    margin: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: auto;
}

body {
    min-height: 100vh; 
    background-color: rgb(249, 231, 203);
}

.wrapper {
    position: relative;
}

.image-container {
    position: relative;
    width: 100vw;
    height: 45vw; 
}

.begin_foto {
    position: relative;
    object-fit: cover; 
    width: 100%; 
    height: 100%; 
    top: 0;
    left: 0;
}

.titlebar, .bottombar, .topbar{
    background-color: rgba(49, 81, 31, 0.3); 
    border-bottom: 4px solid rgb(166, 70, 82);
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 75px; 
}

.topbar{
    border-top: 4px solid rgb(166, 70, 82);
    border-bottom: none;
    top: 0;
    height: 30px; 
}

.bottombar{
    height: 30px; 

}

.page-title {
    color: rgb(249, 231, 203); 
    font-size: 50pt; 
    font-weight: bold;
    z-index: 30;

    position: absolute; 
    bottom: -40px; /* geen idee waarom maar dit maakt dat ie netjes onderaan de foto staat */

    /* blijkbaar is dit allemaal nodig om m in het midden te krijgen */
    left: 0;
    right: 0;
    display: flex; 
    justify-content: center; 
}

p {
    color: rgb(56, 37, 32);
    font-size: 18px; 
    font-weight: 400; 
    line-height: 1.6;
    margin:20px;
}

h2 {
    color: rgb(56, 37, 32);
    font-size: 24px; 
    line-height: 1.6; 
    margin:20px;
}

.content {
    position: relative; 
    background-color: rgb(249, 231, 203);
    margin-bottom: 100px;
}

.text-container {
    max-width: 800px; 
    margin-top: 20px;
    margin-left: auto; 
    margin-right: auto; 
    padding: 10px;
}

/* tekst opmaak voor teksten die worden ingeladen vanuit .txt bestand */
.text-paragraph {
    color: rgb(56, 37, 32);
    font-size: 18px; 
    font-weight: 400; 
    line-height: 1.6;
    margin: 0 20px;
}

@media (max-width: 768px) {

    /* zorgt ervoor dat footer niet over content homepage komt */
    .content{
        margin-bottom:250px;
    }


    /* bij telefoonscherm neemt beginfoto hele scherm in */
    .image-container {
        height: 100vh; 
    }

    /* positioneren staande foto uit liggende foto */
    .begin_foto {
        object-position: 65% 0%; 
    }

    .page-title {
        font-size: 21pt;
        bottom: 0px; 
    }

    .text-paragraph {
        font-size: 14px; 
        padding: 5px;
        margin:0;
    }

}
