/* CSS bij ECO RWD */

@import "reset.css";
@import "https://fonts.googleapis.com/css2? family=Roboto+Slab:wght@300;400;700&display=swap";

/* Algemeen ----------------------------------------- */

body {
    font: 300 100%/1.4 "Roboto Condensed", arial, sans-serif;
    /*-------------------------*/
    background: rgba(0,150,0,1) url(../images/bg.jpg);
    background-size:cover;

}
.mainheader { display: flex;
    justify-content: center;
    align-items: center;

}
h1 { 
    color: grey;
    font-size: 24px;
    padding: 15px;
}
.inleiding { color: rgb(0,150,0);}

.inleiding img {
    display:block;
    margin-bottom: 15px;
   
}

p { color: grey; }

.mainfooter {
    background: rgb(65,65,65);
    height: 80px;
   
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}
main {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    
    
}

.mainsection {
    flex: 1;
    min-width: 0;
    
}

article {
    column-count: 2;
}
nav ul {
    display: flex;
    background: black;
    
}
nav a{
    display: block;
    background: black;
    margin-bottom: 2px;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    color: white;
    text-decoration: none;
    text-transform:uppercase;
    font-weight:500;
    transition: background 700ms;
    border-right: 1px solid white;
}

.actiefitem { background: #669900;
    color: white;
}
nav a:hover { background: #669900; }

.bannering {
    width: 160px;
    background: rgb(230,230,230);
    padding: 20px;
    margin-right: 20px;

}


/* RWD ----------------------------------------*/
   

@media screen and (max-width: 600px)/*mobiel*/ {

main {
        display: block;
}
.bannering {
            width: auto;
            margin: 20px auto;
            background: gainsboro;
            padding: 16px;
            text-align: center;
}
.bannering img {
    display: block;
    margin: 0 auto;
}
    
article { column-count: 1;}

nav ul {
    display: block;
    background: white;
}



 



