
/* er zit RWD in deze site voor de meeste dingen!! Alleen bij afbeeldingen is het niet zo, want het lukte niet*/

html,
body,
footer {                                /* zorgt dat er niet nog een kleine ruimte tussen de zij -en bovenkanten van de elementen*/
    margin: 0;
    padding: 0;
}

body {
    background-color: #fbf3d1;
}

h1 {
    color: white;
    font-family: "Indie Flower";
    font-size: 2rem;
    letter-spacing: 1px;
    text-shadow: 3px 3px 4px #000000;
}

h2,
h2 a {
    color: white;
    font-family: "Indie Flower";
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    font-family: "Indie Flower";
    flex: 1 1 55%;
}

caption {
    color: white;
    font-family: "Indie Flower";
    letter-spacing: 1px;
    font-size: 1.5em;
    text-align: center;
}

a {
    background-color: darkgrey;
    border: 2px solid darkgrey;
    border-radius: 6px;
    padding: 2px 6px;
    text-decoration: none;
    color: white;
}

.top-bar {
    display: flex;
    flex-direction: column;           /*column zorgt dat alles onder elkaar komt, dus de tekst, plaatje en nav*/
    align-items: center; 
    padding: 10px 5%;
    gap: 15px;
    background-color: #b6ae9f;
}

.top-bar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center;     
    gap: 10px;
}

.top-bar a {
    background: darkgrey;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-align: center;
    flex: 0 0 auto;          
    min-width: 80px;
    box-sizing: border-box;
}

@media (max-width: 768px) { /*dit stukje code zorgt dat als maxwidth 768px is,alles onderelkaar komt, en de nav 100% width van het scherm is*/
    .top-bar {
        flex-direction: column;
        gap: 10px;
    }

    .top-bar a {
        flex: 1 1 100%;
        font-size: 0.9rem;
        padding: 0.4rem 0.5rem;
        transition: width 0.1s ease, margin 0.1s ease;
    }
}

@media (min-width: 1200px) {
    .top-bar a {
        max-width: 120px;
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
        flex: 0 1 auto;
    }

    .top-bar nav {
        gap: 10px;
        justify-content: flex-start;
    }
}

footer {
    color: white;
    background-color: #b6ae9f;
    clear: both;
    padding: 10px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.main-bar1,
.main-bar2,
.main-bar3,
.main-bar5,
.main-bar6 {
    display: grid;
    box-sizing: border-box;
    color: white;
    padding: 8px;
    border-radius: 20px;
    box-shadow: 3px 3px 4px black;
    background-color: #c5c7bc;
    float: left;
    transition: width 0.5s ease, margin 0.5s ease;
}

.main-bar1,
.main-bar2,
.main-bar3,
.main-bar5 {
    width: 55%;
    max-width: 1600px;
    min-width: 250px;
    margin: 8px auto;
}

.main-bar6 {
    width: 35%;
    margin-top: 7.5%;
    margin-bottom: 7.5%;
    margin-left: 32.5%;
}

.side-bar1,
.side-bar2,
.side-bar3,
.side-bar4,
.side-bar5,
.side-bar6,
.side-bar7,
.side-bar8 {     /*dit stuk code zorgt dat als je inzoomt de sidebars onder de main bar komen, zoom maar in tot 400% als je op monitor bent*/
    flex: 0 0 150px; /*door de eerste 2 getallen 0 te maken wordt het niet groter of kleiner, en de 150 is de basiswidth ervan*/
    max-width: 30%;
    min-width: 100px;
    padding: 20px;
    background-color: #c5c7bc;
    color: white;
    text-align: center;
    box-shadow: 3px 3px 4px black;
    box-sizing: border-box;
    border-radius: 20px;
    float: left;
    margin-bottom: 1rem;
    transition: width 0.1s ease, margin 0.1s ease;
}

@media (max-width: 768px) {  /*dit stukje zorgt dat al deze elementen op telefoon (max 768px) 100% breed worden. !gebruik telefoon!*/
    .main-bar1,
    .main-bar2,
    .main-bar3,
    .main-bar5,
    .main-bar6,
    .side-bar1,
    .side-bar2,
    .side-bar3,
    .side-bar4,
    .side-bar5,
    .side-bar6,
    .side-bar7,
    .side-bar8 {
        width: 100%;
        max-width: 100%;
        margin-top: 7.5%;
        margin: 0 0 1rem 0;
        float: none;
    }
}

@media (min-width: 1200px) {
    .side-bar1,
    .side-bar2,
    .side-bar3,
    .side-bar4,
    .side-bar5,
    .side-bar6,
    .side-bar7,
    .side-bar8 {
        margin-top: 7.5%;
        margin-left: 7.5%;
        min-width: 30%;
    }

    .side-bar7,
    .side-bar8 {
        margin-top: 0.5%;
        margin-left: 7.5%;
        min-width: 30%;
    }
}

.img1,
.img2,
.img3,
.img4,
.img5,
.img6,
.img7,
.img9,
.img10,
.img11,
.img12,
.img13 {
    float: right;
    max-width: 60%;
    height: auto;
    border: solid white;
    display: block;
    transition: width 0.1s ease, height 0.1s ease;
}

.img10,
.img13 {
    max-width: 90%;
    margin-right: 5.5%;
}

@media (max-width: 768px) {  /*dit zorgt dat elke afbeelding op telefoon 100% breed wordt, zoom in tot 400% op monitor of gebruik telefoon*/
    .img1,
    .img2,
    .img3,
    .img4,
    .img5,
    .img6,
    .img7,
    .img9,
    .img10,
    .img11,
    .img12,
    .img13 {
        float: none;
        max-width: 100%;
        height: auto;
        border: solid white;
        display: block;
        transition: width 0.5s ease, height 0.5s ease;
        box-sizing: border-box;
    }
}

.img8 {
    width: 5%;
    height: 4%;
    margin-top: 0.115%;
    float: right;
}

/*dit stukje hieronder (header .img8) is van chatgpt, want het lukte niet de afbeelding weer kleiner te krijgen*/
header .img8 {
    width: auto;
    max-width: 50px;
    height: auto;
    float: none;
    display: inline-block;
    margin: 0;
}

.video-basis,
.video-creativiteit,
.video-kleuren,
.video-materialen,
.video-stijl,
.video-vindstijl {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border: 3px solid grey;
}
													/*hier is verder alleen opmaak voor tabel, lijsten en textareas en radioheads*/
table {
    font-family: "Indie Flower";
    border-collapse: collapse;
    width: 90%;
    background-color: darkgrey;
}

td,
th {
    border: 4px solid grey;
    text-align: left;
    padding: 16px;
}

.radioknop {
    color: white;
    font-family: "Indie Flower";
    letter-spacing: 1px;
    font-size: 1.5em;
}

select {
    height: 50%;
    width: 40%;
    font-family: "Indie Flower";
    color: white;
    background-color: darkgrey;
}

textarea {
    color: white;
    font-family: "Indie Flower";
    font-size: 1.5em;
    width: 60%;
    height: auto;
    resize: none;
    background-color: darkgrey;
    border: solid white;
}

.big-list li,
.inspiratie-list li,
.materiaal-list li,
ul {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: "Indie Flower";
    color: white;
}