*{
 box-sizing: border-box;
 margin:0;
 padding:0;
}

.mainPageForm{
    display:none;
}

/* Grid dingen */

.item{
    padding:1rem 1rem;
    background-color:white;
    margin:1rem 0;
    border-radius: 1rem;

}

/* Sizing and positioning the parts of the site */
body{
    max-width:800px;
    margin: 0 auto;
}

header {
    width:100%;  
}

nav {
    display:flex;
    align-items: center;
    justify-content: space-around;
    padding:1rem 0;
}
footer{
    padding:2rem;
    text-align:center;
}
footer p{
    margin-bottom:1rem;
}
.logo {    
    text-align: center;
    padding-top: 1rem;
    
}

aside{
    padding: 10px 10px;
}

table{
    width:80%;
    margin: 0 auto;
}

table caption{
    margin-bottom:1rem;
}
table th{
    text-align:left;
    padding:0.4rem 0;
}
table td{
    padding:0.1rem 0;
}

button{
    padding:0.6rem 2rem;
    display:block;
    margin: 1.5rem auto;
    box-shadow:0px 0px 40px 1px #eee;
    border-radius: 0.5rem;

}
button:hover{
    box-shadow:0px 0px 60px 0.001px #eee;
    cursor: pointer;
}

.textSection{
    padding:10px;
    width:80%;
    margin: 0 auto;
}

.heroSection {
    background-image: url(../images/mixer.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding:1rem 0;
}

.heroSection p {
    padding: 1rem 1rem 1rem 1rem;
    
}
.heroSection h1 {
    padding-top:1rem;
    text-align:center;
    
}

.certifications{
    display:flex;
    justify-content: space-around;
}

.fullborder{
    border: 10px groove #21B6A8;
}

/* Colors */

body{
    background-color: snow;
    background: rgb(163,235,177);
    background: linear-gradient(47deg, rgba(163,235,177,1) 0%, rgba(33,182,168,1) 80%);
}
header{
    background-color:white;

}
footer{
    background-color:#A3EBB1;
    

}
.logo h1{
    color:#116530;
    padding:0;
}
.logo h1:hover{
    color:#111111;
}

nav a{
    color:#116530;
}
aside{
    background-color: green;
    color:#fdfdfd;
}

.textSection{
    background-color:whitesmoke;
    border-bottom: 2px solid #21B6A8;
}

.heroSection p, h1{
    background-color:rgba(255, 255, 255, 0.7)
}

h2{
    color:#116530;
    border-bottom:2px solid #116530;
}

/* Type 
font-family: 'Josefin Sans', sans-serif;
font-family: 'Inter', sans-serif;
*/
h1{
    font-family: 'Josefin Sans', sans-serif;
    padding-bottom:1rem;
}
h2{
    font-family: 'Josefin Sans', sans-serif;
    font-size:1.8rem;
    margin:14px 0px;
}
h3{
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.1rem;
    font-size:1.1rem;
}
h4{
    font-family: 'Inter', sans-serif;
}

p{
    font-family: 'Inter', sans-serif;
    line-height: 1.7rem;
    font-size:1.06rem;
    letter-spacing: 0.002rem;
}

table{
    font-family: 'Inter', sans-serif;
    font-size:1.06rem;
}
table caption{
    font-size:0.8rem;
}
table th{
    font-size:1.1rem;
    border-bottom:1px solid #fefefe;

}

button{
    border: 2px solid #eee;
    background-color: #18A558;
    font-family: 'Inter', sans-serif;
    font-size:1.5rem;
    color:#eee

}
button:hover{
    color:#116530;
    background-color:#A3EBB1;
}

nav a{
    font-family: 'Inter', sans-serif;

}
ol{
    font-family: 'Inter', sans-serif;
    padding:3rem;
    line-height: 1.7rem;
    font-size:1.06rem;
    letter-spacing: 0.002rem;
}
ol li{
    margin-bottom:1rem;
}
.process h3 {
    margin-bottom:1rem;
    padding-bottom:0.3rem;
    letter-spacing: 0rem;
    border-bottom:2px solid black;
}

/* Form stuff */
.contactForm{
    margin-top:1rem;
   
}
label{
    display:block;
    font-family: 'Inter', sans-serif;
    line-height: 1.7rem;
    font-size:1rem;
    letter-spacing: 0.002rem;
}
label .inline{
    display:inline;
}

input{
    font-family: 'Inter', sans-serif;
    line-height: 1.7rem;
    font-size:1rem;
    letter-spacing: 0.002rem;
    padding:0 0.4rem;
    border:2px solid lightgrey;
    width:100%;
}
textarea{
    font-family: 'Inter', sans-serif;
    line-height: 1.7rem;
    font-size:1rem;
    letter-spacing: 0.002rem;
    padding:0 0.4rem;
    border:2px solid lightgrey;
    width:100%;
}

.formSection{
    background-color:snow;
    padding:1rem;
    margin-bottom:1rem;
}
input[type=checkbox] {
    width:1rem;
    height:1rem;
    
}
input:required{
    border-color:black;
}
input:optional{
    border-color:lightgrey;
}
input:required:valid{
    border-color:#18A558;
}
.req{
    color:red;
}
.totalCosts{
    margin-top:2rem;
}
.totalCosts h3{
    border-bottom: 2px solid #116530;
    margin-bottom:0.5rem;
}

.submitbutton{
    background-color:#A3EBB1;
    border: 2px solid #116530;
    color:#116530;
    font-size:2rem;
    cursor: pointer;
    margin-top:2rem;
    line-height: 3rem;
}
.submitbutton:hover:enabled {
    background-color:white;
    border-color:lightgrey;
}

.submitbutton:disabled{
    background-color:#999;
    color:lightgrey;
    border-color:#333;
}

.formtussentext{
    padding:1rem 1rem;
}

.buttonClicked{
    background-color:#eee;
    color:lightgrey;
    border-color:#999;
}


/* Nav buttons */

nav a{
    color:#116530;
    border-bottom: 2px solid #116530;
    text-decoration: none;
    margin:0;
}

nav a:hover{
    color: grey;
    border-color:#A3EBB1;
}

/* links */

.logo a{
    text-decoration: none;
}

p a{
    color:black;
    border-bottom:2px solid #116530;
    text-decoration: none;
}

p a:hover{
    border-color:#21B6A8;
    color:grey;
}

a.button{
    text-decoration: none;
}

.currentpage{
    color:#111111;
    font-weight: bold;
    text-decoration: none;
}

.clientList{
    list-style: none;
    font-family: 'Inter', sans-serif;
    line-height: 1.7rem;
    font-size:1.06rem;
    letter-spacing: 0.002rem;
}

.clientLink{
    color:black;
    border-bottom:2px solid #116530;
    text-decoration: none;
}
.clientLink:hover{
    border-color:#21B6A8;
    color:grey;
}
/* Hide the browser's default checkbox */

  

/* Media Queries grote schermen*/

@media screen and (min-width:500px) {

    header{
        display:grid;
        grid-template-columns: 1fr 1fr;
        margin-top:1rem;   
        align-items: center;  
    
    }
    .logo{
        padding:0;
        justify-self:start;
        padding-left:1rem;
    }

    h1{
        font-size:2rem;
    }
    .contactBtn{
        display: none;
    }
    .mainPageForm{
        display:flex;
    }
    .gridInfo{
        padding: 1rem 0;
        display:grid;
        grid-template-columns: 1fr 1fr;
        gap:1rem
    }
    .item{
        padding:2rem 2rem;
        background-color:white;
        margin:0;
   
    }
    .halfWidth{
        width:auto;
        margin-right:1rem;
    }
    .fullWidth{
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .formGrid{
        display:grid;
        grid-template-columns: 1fr 1fr;
        gap:1rem;
    }
    .heroSection{
        padding:2rem 4rem;
        margin:0;
    }

    .heroSection p {
        padding: 2rem 2rem;
        
    }
    .masterButton{
        display:none;
    }


}
