@font-face {
  font-family: 'open_sans_normal';
  src: url('../fonts/OpenSans-Regular-webfont.eot');
  src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
       url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
       url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'open_sans_light';
  src: url('../fonts/OpenSans-Light-webfont.eot');
  src: url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
       url('../fonts/OpenSans-Light-webfont.ttf') format('truetype'),
       url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
  font-weight: lighter;
  font-style: normal;

}

@font-face {
  font-family: 'quicksand';
  src: url('../fonts/qlwf.eot');
  src: url('../fonts/qlwf.eot?#iefix') format('embedded-opentype'),
       url('../fonts/qlwf.woff2') format('woff2'),
       url('../fonts/qlwf.woff') format('woff'),
       url('../fonts/qlwf.ttf') format('truetype'),
       url('../fonts/qlwf.svg#quicksandlight') format('svg');
  font-weight: lighter;
  font-style: normal;

}

html {
font-family: "open_sans_normal", Times, serif;
background: url("../img/eyetracker_background.jpg") no-repeat center center fixed;
background-size: cover;
}

body {
display: block;
position: absolute;
padding: 0;
margin: 0;
width: 100%;
height:100%;
}

#wrapper {
display: block;
position: absolute;
border: none;
padding: 0;
margin: 0;
border: 0;
width: 24em;
right: 18%;
color: #fff;
}

#footer{
display: block;
position: absolute;
border: none;
padding: 0;
margin: 0;
border: 0;
right: 2em;
bottom: 1em;
color: #bbb;
font-size: small;

}

hr {
border: none;
border-top: 1px solid #bbb;
margin: 1.2em 0;
}

header, section#profiles {
display: block;
position: relative;
padding: 2em;
margin: 0 0 1em 0;
text-align: justify;
}

header {
background-color: #282828;
padding-bottom: 1.5em;
text-align: left;
}

h1 {
font-family:"open_sans_normal", Helvetica, sans-serif;
font-weight: 100;
font-size: 20px;
line-height: 30px;
text-align: left;
}
h1.light {
font-family:"open_sans_light", Helvetica, sans-serif;
}

canvas {
padding: 0;
margin-left: auto;
margin-right: auto;
margin-bottom: 1.5em;
display: block;
}

section {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

section#profiles {
background-color: #fff;
color: #444;
padding: 2em 2em 1.5em 2em;
}

section.project {
background-color: #00000066;
color: #fff;
border-color: #fff;
border-style: solid;
border-width: 1px;
padding: 2em;
}

header img {
width: 100%;
height: auto;
}

ul {
padding: 0 0 0 1rem;
/*margin: 0;*/
/*font-family: "open_sans_light", Times, serif;*/
}

ul li {
width: auto;
/*list-style-type: none;*/
/*padding: 0;*/
width: 100%;
line-height: 2em;
}

a {
color: #3cb4be;
text-decoration: none;
}

a img {
width: 1.6em;
height: auto;
margin-right: 0.5em;
}

a.sm {
display: inline-block;
width: 1.6em;
height: 1.6em;
overflow: hidden;
margin-right: 0.5em;
}

a.sm img {
display: block;
position: relative;
width: 1.6em;
height: auto;
}

a.sm:hover img {
top: -1.6em;
}

ul a {
color: #444;
display: inline-block;
flex:0 1 auto;
}

ul a:hover, a:hover em {
    color: #3cb4be;
/*background-color: #3cb4be;
color: #444;*/
}

#container {
display: flex; /* or inline-flex */
position: absolute;
width: calc(100% - 26em);
height: 100%;
left: 26em;
flex-direction: column;
flex-wrap: wrap;
}

.item {
display: block;
position: relative;
height: auto;
margin: 0;
background-color: grey;
}

.parent {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
width: 100vw;
height: 100vh;
}

.div1 { grid-area: 1 / 1 / 2 / 2; background-color: beige; }
.div2 { grid-area: 1 / 2 / 2 / 3; background-color: blueviolet; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 2 / 1 / 3 / 2; }
.div5 { grid-area: 2 / 2 / 3 / 3; }
.div6 { grid-area: 2 / 3 / 3 / 4; } 

@media screen and (max-width: 600px) {
  #wrapper {
    left: calc(50% - 12em);
  }
}



@media screen and (max-width: 380px) {
  #wrapper {
    width: 100%;
    left: 0;
    font-size: 0.8em;
  }
}

