@charset "utf-8";
/* CSS Document voor webontwikkelaar_home*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

body {
	font-family:'Open Sans', Verdana, sans-serif;
    margin: 0;
    padding: 0; 

}

nav {
    background:#FCFAF8;
    margin:auto;
    padding-left: 10%;
    padding-right: 10%;
    
}

#logo {
    text-align: left;
    float: left;
    padding-top: 1em;
    padding-bottom: 1em;

}

#logo img {
    max-width: 100%;
}

#menu {
    text-align: right;
    float: right;
    padding-top: 5em;
    padding-bottom:1em;
}

#menu a {
    color: #52463f;
    text-decoration: none ;
    padding-right: 1em;
}



/* unvisited link */
a:link {
    color:#4C86CF;
    text-decoration: none ;
  }
  
/* visited link */
  a:visited {
    color: green;
  }
  
/* mouse over link */
  a:hover {
    color: #058;
  }
  
/* selected link */
  a:active {
    color: blue;
  }


header {
    background:#8FB209;
    background-size: cover;
    color: white;
    text-align: right;
    margin:auto;
    padding-left: 10%;
    padding-right: 10%;
}

#stuur {
    background-color: #52463f;
    color: white;
}

.sr-only {
    display: none;
}

footer {
	background:#FCFAF8;
    text-align: left;
    margin:auto;
    padding-left: 10%;
    padding-right: 10%;
    box-shadow: 0 -10px 5px -10px rgba(0,0,0,0.4);
    padding-top: 0.5em;
    padding-bottom: 0px;
}


#boven {
    margin:auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 1em;  /* <--- Dit is aangepast */
    box-shadow: rgba(0,0,0,0.4) 0px 10px 5px 10px;
}

#boven h1{
    color: #8FB209;
}

#bovenlinks {
    float: left;
    width: 65%;
    padding-right: 1%;
    margin-bottom: 1.5em;
    margin-top: 2em; 
}

#bovenrechts {
    float: right;
    width: 34%;
}

#bovenrechts img{
    border: 0.5em solid #E9DCE9;
    box-shadow: rgba(0,0,0,0.4) 10px 10px 5px 10px;
    transform: rotate(5deg) skew(5deg);
    max-width: 100%; /* <--- dit is toegevoegd */
    margin-top: 10%;
    margin-bottom: 10%;

}

#middensectie {
    background:#EBE8E5;
    margin:auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 0.5em;  
    box-shadow: 0 -10px 5px -10px rgba(0,0,0,0.4);
}

#middensectie h2 {
    color:  #8FB209;
}

#middensectie ul{
    list-style-image: url('../img/check.png');
}

#middensectiebovenlinks {
    float: left;
    width: 25%;
    margin-bottom: 1.5%;
    margin-right: 0%;
    margin-top: -1em;
}

#middensectiebovenlinks img{
    border: 0.5em solid #E9DCE9;
    transform: rotate(-5deg);
    box-shadow: rgba(0,0,0,0.4) 10px 10px 5px 10px;
    max-width: 100%;

}

#middensectiebovenrechts {
    float: left;
    padding-left: 1em;
    padding-top: 1em;
    width: 70%;
}



#ondersectie {
    background: #FCFAF8;
    margin: auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 0em;
    padding-top: 1em;  
    box-shadow: 0 -10px 5px -10px rgba(0,0,0,0.4);
}

#ondersectie h2 {
    color:  #8FB209;
}

#ondersectierechts img{
    float: right;
    padding-right: 1%;
    max-width: 100%; /* <--- Dit is toegevoegd */
    margin-bottom: 1em;
}

#ondersectiemidden img{
    max-width: 100%;
}

#middensectiewat {
    background: #FCFAF8;
    margin: auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 0em;
    padding-top: 1em;  
    box-shadow: 0 -10px 5px -10px rgba(0,0,0,0.4);
}

#middensectiewat h2 {
    color:  #8FB209;
}

#middensectiewatmidden img {
    max-width: 100%;
}

#thumbnails {
    margin: auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 0.5em;
    padding-top: 2em;  
    box-shadow: rgba(0,0,0,0.4) 0px 10px 5px 10px; 
}

#thumbnails img {
    max-width: 100%;
}

#thumbnails h3 {
    color: black;
}

/* CSS hier toegevoegd
.container {
    overflow:auto;
}

section {
    clear:both;
}

Tot hier */


.thumbnail {
    float: left;
    margin: auto;
    width: 25%;
    padding-top: 2em;
}

.thumbnail.rleft h3{
    text-align: right;
    margin-right: 35%;
}

.thumbnail.rleft p{
    text-align: right;
    margin-right: 35%;
}

.thumbnail.rright h3{
    text-align: left;
}

.thumbnail.rright p{
    text-align: left;
}

#wieonder {
    margin: auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 0.5em;
    padding-top: 1em; 
}

#wieonder h2{
    color: #9A3098;
}

#contactmidden {
    margin: auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 1.5em;
    padding-top: 1em;
    height: 10%;

}

#gmap {
    float: left;
    width: 60%;
    background-image: url("../img/gmap.png");
    min-height: 500px;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


#gmrechts {
    float: left;
    width: 35%;
    height: auto;
    padding-left: 5%;
}

#gmrlboven {
    float: left;
    width: 45%;
    height: 70%;
    background-image: url("../img/env1.jpg");
    min-height: 350px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#gmrrboven {
    float: left;
    width: 45%;
    height: 70%;
    background-image: url("../img/env4.jpg");
    min-height: 350px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#gmrlonder {
    float : left;
    width: 25%;
    height: 30%;
    background-image: url("../img/env2.jpg");
    min-height: 150px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#gmrronder {
    float: left;
    width: 65%;
    height: 30%;
    background-image: url("../img/env3.jpg");
    min-height: 150px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#contactonder {
    margin: auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 1.25em;
    padding-top: 1em; 
    box-shadow: 0 -10px 5px -10px rgba(0,0,0,0.4);
}

#frmgegevens label.llinks{
    float: left;
    width: 20%;
    margin: auto;
}

#frmgegevens input.irechts {
    width: 30%;
    margin-top: 0.25em;
}

#frmgegevens textarea {
    width: 30%;
    height: 6em;
    margin-top: 0.25em;
}

#stuurdoor {
    margin-left: 20%;
    background:#8FB209;
    background-size: cover;
    color: white;
    margin-top: 1em;
}

#script {
    float: right;
    color: black;
    width: 40%;
}


em {
    color: #9A3098;
    font-weight: bold;
}

code {
    color: #8B1C00;
    font-size: 1.25em;
    font-weight: normal;
}

.rleft img{
    border: 0.5em solid #E9DCE9;
    box-shadow: rgba(0,0,0,0.4) 10px 10px 5px 10px;
    transform: rotate(-5deg);
}

.rright img{
    border: 0.5em solid #E9DCE9;
    box-shadow: rgba(0,0,0,0.4) 10px 10px 5px 10px;
    transform: rotate(5deg);
}

.achtergrijs {
    background:#EBE8E5;
}

.achterwit {
    background:#FCFAF8;
}

.links {
    float: left;
    width: 33.3%;
}
.midden {
    float: left;
    width: 32.3%;
    padding-left: 1%;
}
.rechts {
    float: left;
    width: 32.3%;
    padding-left: 1%;
}



/*clearfix hack*/
.clearfix::after {
    content: "";
    clear: both;
    display: table;
  }


/* TABLETS
@media screen and (min-width:361px) {

.phone-only { display:none; }
.klein-tablet { display:block; }
.groter-tablet { display:none; }
.desktop { display:none; }
}

/* DESKTOPS
@media screen and (min-width : 780px) {
}
*/

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .mobile {
      width: 100%;
    }
    #middensectiebovenlinks {
        width: 100%;
        text-align: center;
    }
    #middensectiebovenrechts {
        width: 100%;
        text-align: center;
        padding-left: 0;
    }
    #bovenrechts {
        width: 100%;
        text-align: center;
    }

    #bovenrechts img {
        margin-top: 1.5em;
        margin-bottom: 1em;
    }

    #bovenlinks {
        width: 100%;
        text-align: center;
        margin-top: 0.5em;
        margin-bottom: 2em;
    }

    #ondersectierechts img {
        padding-right: auto;
        padding-left: auto;
        margin-left: auto;
        margin-right: auto;
    }

    #ondersectie h2,h3{
        text-align: center;
    }

    #datum {
        text-align: center;
    }

    #menu {
        padding-top: 0;
        text-align: center;
        width: 100%;
    }

    #menu a {
        padding-right: 0.5em;
    }

    #inloggen {
        text-align: center;
    }

    #logo {
        text-align: center;
        width: 100%;
    }

    #username {
        max-width: 25%;
    }

    #pw {
        max-width: 25%;
    }

    nav {
        padding-left: 0;
        padding-right: 0;
    }
  }