/*@import url(normalize.css);*/

@import url(presets.css);

/********************************
 eerst de media queries
********************************/
@media screen and (min-width: 40em) { /* 640px */
	.container {
		display: flex;
		flex-flow: row wrap;
	}
	header, main, footer {
		flex: 1 1 100%;
	}
	[class^="kolom"] {
		flex: auto;
	}
}
@media screen and (min-width: 48em) { /* 768px */
	.container {
		display: flex;
		flex-flow: row wrap;
	}
    header, main, footer {
		flex: 1 1 100%;
    }
    .kolom-1 { flex: 1 1 0%; }
	.kolom-2 { flex: 1 1 0%; }
}
@media screen and (min-width: 64em) { /* 1024px */
	.container {
		display: flex;
		flex-flow: row wrap;
	}
    header, main, footer {
		flex: 1 1 100%;
    }
    .kolom-1 { flex: 1 1 0%; }
	.kolom-2 { flex: 1 1 0%; }
}
@media screen and (min-width: 80em) { /* 1280px */
	.container {
		display: flex;
		flex-flow: row wrap;
	}
    header, main, footer {
		flex: 1 1 100%;
    }
	.kolom-1 { flex: 1 1 0%; }
	.kolom-2 { flex: 1 1 0%; }
}

@media (orientation: landscape) {
    nav ul li {
        float: left;
    }
}
@media (orientation: portrait) {
    nav ul li [class^="foto"]{
        float: none;
    }
}

/*@media screen and (min-width: 25em){
    html { font-size: calc( 16px + (24 - 16) * (100vw - 400px) / (800 - 400) ); }
}
** Info gevonden op website over Responsive Design: toch niet ideaal. **
*/ 

/********************************
 hierna alleen algemene stijlen 
********************************/

* {
    box-sizing: border-box;
}


header {
  background-color: #ddd;
  /*background-image: url(Foto\ Slot.jpg);*/
  background-repeat: no-repeat;
  background-position: right top;
  /*background-attachment: fixed;*/
  background-size: auto 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
}

nav {
    background-color: #ddd;
}

nav ul {
        display: flex;
        margin: 0;
        padding: 0;
        list-style: none;
}

@media (orientation: portrait) { 
    nav {
        width: 205px;
    }
    nav ul {
        flex-flow: column; /*Als portretstand, dan menu vertikaal presenteren*/
        width: 205px;
        }
}

nav a {
    display: block;
    padding: .5em;
    font-size: 1.2em;
    font-weight: 600;
    color: #000;
    text-shadow: 0 1px 1px rgba(255,255,255,.8);
    text-decoration: none;
}
nav a:hover {
    background-color: black;
    color: white;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0,0,0,.8);
    transition: all .5s ease-in-out .05s;
}

.bladwijzer {
    color: #000;
    text-shadow: 0 1px 1px rgba(255,255,255,.8);
}

.bladwijzer:hover {
    color: #bbb;
    transition: all .5s ease-in-out .05s;
}

a {
    color: #000;
    text-shadow: 0 1px 1px rgba(255,255,255,.8);
}

a:hover {
    color: #bbb;
    transition: all .5s ease-in-out .05s;
}

@media screen and (min-width: 48em) { /* 768px */
    .kolom-1 {
        padding: 0 20px 0 0;
    }
    .kolom-2 {
        padding: 0 0 0 20px;
    }
}
    
/*@media (orientation: landscape) {
    .kolom-1 {
        padding: 0 20px 0 0;
    }
    .kolom-2 {
        padding: 0 0 0 20px;
    }
}
** Toch foutief, want beter bepaald door minimale breedte van het scherm **
*/

img {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    box-shadow: 0.08em 0.1em 0.3em 0.15em #aaa;
}

.titelfoto {
    position: absolute;
    width: 20%;
    height: 10em;
    right: 1em;
    top: 1em;
    box-shadow: none;

    /*display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);** Wordt toegepast op volledige box, die dan perfect op maat van de foto gemaakt dient te worden. Beter is om schaduw in Photoshop toe te voegen.*/
}


/***
.rechts {
    text-align: right;
}
***/

.terug {
    color: #aaa;
    text-decoration: none;
    text-align: left;
}

.volgende {
    color: #aaa;
    text-decoration: none;
    text-align: right;
}

footer {
    font-size: medium;
    font-weight: 300;
    text-align: center;
}