/* CSS Document */
html {
    background-color: white;
    box-sizing: border-box;
}
*, ::before, ::after {
    box-sizing: inherit;
  }

body {
    box-sizing: border-box;
    background-color: white;
    color: #7c7c7c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    font-weight: normal;
    font-size: 16pt;
    line-height: 1.2;
    margin: 0;
    text-align:center;
}

a, a:visited {
    color: #fff;
    text-decoration: none;
}

a:hover, 
a:focus {
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Times New Roman', sans-serif;
    color:#fff;
    font-weight: normal;
    font-size:1.0em;
    margin: 0px;
    padding:20px 4px;
    letter-spacing: 0.1em;
}

p{
 font-size: 0.8em;
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
 padding:30% 8px;
 font-style: italic;
 line-height: 1.28;
 text-shadow: 1px 1px 6px black;
}

h1{text-align: left;
    font-size: 1.4em;
    color: rgb(96, 96, 96);
   padding: 30px 0 40px 0;
   letter-spacing: 0.2em;
}

.logo {
    background-image: url(img/logo_small.png);
    background-repeat:no-repeat;
    background-position: left top; 
}

#maincontainer {
margin: 0 auto;
padding: 0px 20px;
max-width: 1140px;
background: #fff;
}

.boxen {
    box-sizing: border-box;
    width: 31%;
    float:left;
    -webkit-filter: grayscale(60%); /* Safari 6.0 - 9.0 */
    filter: grayscale(50%);
}

.boxen:hover {
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

.box1 {
    position: relative;
    background-image: url(img/1.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center top; 
    height:640px;
    margin-right:15px;
    margin-bottom:70px;
}

.box1 h2 {
    background-color: rgba(49, 68, 101, 0.8);
}

.box2 {
    position: relative;
    background-image: url(img/2.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center top; 
    height:640px;
    margin-right:15px;
    margin-bottom:70px;
}

.box2 h2 {
    background-color: rgba(194, 182, 36, 0.8);
}

.box3 {
    position: relative;
    background-image: url(img/3.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center top; 
    height:640px;
    margin-bottom:70px;
}

.box3 h2 {
    background-color: rgba(152, 41, 73, 0.8);
}

.wedo {
    position: absolute;
    text-align: left;
    font-size:1.6em;
    bottom:-50px;
    padding:0px 0 0 15px;
    color:rgb(49, 68, 101);
}

.wedo2 { color:rgb(194, 182, 36);}
.wedo3 { color:rgb(152, 41, 73);}

@media screen and (max-width: 780px) {

    .boxen {
        box-sizing: border-box;
        width: 100%;
        float:left;
        -webkit-filter: grayscale(60%); /* Safari 6.0 - 9.0 */
        filter: grayscale(50%);
    }

    .box1, .box2, .box3 {
        height:200px;
    }

     .box3 {
        height:280px;
    }

    p {
        font-size: 0.74em;
        padding:0px 8px;
    }


}