/*https://flexbox.malven.co/*/
/*Automatische marges resetten*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@font-face {
    font-family: "Corbel";
    src: url(Fonts/CORBELL.TTF);
}

@font-face {
    font-family: "AvenirNext";
    src: url(Fonts/AvenirNextLTPro-Regular.otf);
}
body{
    /*100vh betekend 100% van de viewport height, hiermee zeg je dat je body
    je hele scherm vult. Best nice want in de body gebeurt het*/
    min-height: 100vh;
    /*background: linear-gradient(
        #FFFF 92%,
        #F2ADA7);*/
    color: #231F20;
    font-family: "Corbel";
    display: flex;
    flex-direction: column; /*dacht dat deze display; flex en direction column niet nodig waren. Dat is echter
    wel zo want deze zorgt ervoor dat de footer lekker laag blijft!*/
}

img{
    max-width: 100%; /*in ieder geval even alle plaatsjes responsive, of het nou de stijl is die je wilt of niet*/
}

ul{
    width: 100%;
    list-style: none;
    /*flexbox instellen dat het flex end is, dus rechts*/
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav{
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}/*schaduwtje voor onder de navbar*/

.menu li{
    height: 60px;
    margin-bottom: 5px;
    margin-right: 20px;
}

.sidebar li{
    height: 50px;
}
nav a{
    height: 100%;
    padding: 0px 30px;
    font-family: "AvenirNext";
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    color: #231F20;
}
nav a:hover{
    font-weight: bold;
    color: #F2ADA7;
}

nav li:first-child{
    margin-right: auto;
    /*dit zorgt ervoor dat het logo links blijft*/
}

nav ul li:first-child img{
    width: auto;
    height: 85%;
    /*margin-left: 5px;*/
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 200px;
    /*z-index is voor de laagjes over elkaar, 999 is het hoogtste dus dit komt altijd boven alles*/
    z-index: 999;
    background-color: #f28278bc;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display:none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}

.menubutton{
    display: none;
}

.homedik{
    font-weight: bold;
}
.overmijdik{
    font-weight: bold;
}
.tarievendik{
    font-weight: bold;
}
.contactdik{
    font-weight: bold;
}

main{
    display: flex;
    gap: 10%;
}

.homepagefoto{
    margin-top: 50px;
    width: 50%;
    height: fit-content;
}

.teksthomepage{
    flex-direction: column;
    justify-content: center;
    margin-top: 50px;
    width: 30%;
    font-size: 20px;
    align-self: center;
}

.schuin{
    font-style: italic;
    font-size: larger;
}

.provoetlogo{
    width: 40%;
    margin-top: 10px;
}

.overmijbody{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 100px;
}
.profielfoto{
    width: 25%;
    height: auto;
    margin-top: 50px;
    min-width:300px;
}

.tekstovermij{
    width: 30%;
    align-self: center;
    margin-top: 50px;
    font-size: 20px;
    min-width: 300px;
}

footer{
    margin-top: auto;
    padding-top: 60px; /*zorgt ervoor dat de footer niet meteen onder de inhoud begint*/
    margin-bottom: 10px;
    font-size: smaller;
    text-align: center;
    position: relative;
    bottom: 0;
}

footer a{
    color: #231F20;
}

.tarieventabel{
    margin: 0 auto;
    margin-top: 50px;
    width: 40%;
    border-collapse: collapse;
    justify-content: center;
    
}

table.tarieventabel th{
    padding: 8px;
    background-color:#F1EEEE;
    text-align: left;
    border: 1px solid #231F20;
}
table.tarieventabel tr{
    padding: 8px;
    text-align: left;
    border: 1px solid #231F20;
}
table.tarieventabel td{
    padding: 8px;
    text-align: left;
    border: 1px solid #231F20;
} /*je meot dus zowel de th (table head) als table row als table data apart eigenschappen geven. Zelfs al heeft de gehele tabel een
eigen class. Dus vandaar de table.tarieventabel th/tr/td */

.contactbody{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 100px;
}

iframe{
    box-shadow: 2px 2px 5px rgba(0.4, 0.4, 0.4, 0.4);
    margin-top: 50px;
}
.contacttekst{
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    font-size: 20px;
}

.contacttekst a{
    color: #231F20;
    text-decoration: underline;
}

table.openingstijden td{
    padding-right: 30px;
    justify-content: center;
}


@media(max-width:800px){
    .hideonmobile{
        display: none;
    }
    .menubutton{
        display: block;
    }

    main{
        display: flex;
        flex-direction: column;
        gap: 30px;
        justify-content: center;
    }
    	
	.homepagefoto{
		width: 100%;
        height: fit-content;
	}
    .teksthomepage{
        width: 70%;
        margin-top: 0;
        text-align: center;
    }
    
    *.overmijbody{
    gap: 30px;}

    .tekstovermij{
        width: 70%;
        margin-top: 0;
        text-align: left;
    }

    .tarieventabel{
        width: 90%;
    }

    .contactbody{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .contacttekst{
    margin-top: 0;
    }

    iframe{
        width: 280px;
        height: 280px;
    }
}