@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

img{
    max-width: 100%;
    display: block;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
    background-color: rgb(227, 204, 223);   
 }

h1, h2, h3, h4{
    font-family: 'Kaushan Script', cursive;
}

h1{
    margin-top: 5px;
    margin-bottom: 20px;
}

h2{
    margin-top: 5px;
    margin-bottom: 18px;
}

h3{
    margin-top: 5px;
    margin-bottom: 15px;
}

nav{
    background-color: rgb(239, 222, 235);
    position: fixed; 
    width: 100%;
    top: 0;
    left: 0;
    position: relative;
    z-index: 9999;
    padding: 10px;
}

nav a{
    text-decoration: none;
    font-size: larger;
}
nav a:hover{
    text-decoration: underline;
    font-weight: bold;
}

.buffer{
    margin: auto;
    max-width: 1300px;
}

.banner{
    display: flex; 
    justify-content: space-between; 
    padding: 5px;
    align-items: center;
}

.banner img{
    width: 100px;
    height: 80px;
    border-radius: 20%;
}

.ankers{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    top: 0;
    left: -100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px; 
    z-index: 9;
    transition: 0.3s;
}

.ankers a{
    padding: 15px; 
    color: white;
}

.ankers.open{
    left: 0;
}

.humburger{
    width: 40px;
    cursor: pointer;
    justify-content: space-between;
    z-index: 10;
    display: flex;
    flex-direction: column;
    position: relative; 
}

.lijn{
    background-color: black;
    height: 6px;
    width: 40px;
    border-radius: 3px;
    margin-bottom: 6px; 
}

.lijn:last-child{
    margin-bottom: 0;
}

textarea{
    resize: vertical;
    width: 100%;
    min-height: 100px;
    max-height: 300px;
}

header {
    background-image: url(slike/medenjaci.jpg);
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    margin: 0px;
    width: 100%;
    height: 450px;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    display: flex;
    color: black;
}

.welkom img{
    width: 300px;
    height: 300px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    
}

.welkom{
    padding-bottom: 15px;
}

section{
    padding: 10px;
}


figure {
    background-color: rgb(250, 229, 242);
    position: relative;
    overflow: hidden; 
    padding: 2px;
    margin: 10px;
    width: 300px;
    height: 300px;
    border: 5px solid rgb(155, 130, 151);
    color: rgb(196, 173, 190);
    justify-content: space-between;
    display: inline;
    flex-wrap: wrap;
    text-align: center;
}

figure img{
    width: 300px;
    height: 300px;
}

.products {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.products img {
    display: block;
    transition: 0.3s;
}

figure:hover img {
    filter: blur(6px);
}

figure:hover .overlay{
    left: 0%;
}

.overlay{
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: rgba(0, 0, 0, 0.29); 
    height: 100%; 
    width: 100%; 
    padding: 5px;
    box-sizing: border-box;
    transition: 0.3s;
}

.taart img{
    width: 600px;
    height: 1000px;
    margin: 20px auto;
    display: flex;

}

.taart{
    text-align: center;
    margin: 5px;
}

.formulier {
    width: 50%;
    
}

footer{
    background-color: rgb(239, 222, 235);
    font-size: smaller;
    margin-top: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-wrap{
    margin: 0 auto;
    max-width: 1300px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
}

.footer-wrap div {
    flex: 1 0 calc(25% - 30px); 
    text-align: center;
    flex-direction: column;
}

footer ul{
    list-style-type: none;   
}

footer a{
    text-decoration: none;  
}

footer a:hover{
    text-decoration: underline;
}
footer div img {
    display: inline;
}

.text{
    background-color: rgb(155, 130, 151);
    text-align: center;
    color: black;
    font-size: smaller;
}


@media all and (width >= 640px) {
    .humburger{
        display: none;
    }
    
    .ankers{
        position: static;
        height: auto;
        flex-direction: row;
        width: auto;
        background-color: transparent;
        left: 0;
    }

    .ankers a{
        color: black;
        padding: 10px 10px;
    }

    footer{
        height: auto;
    }
}