/* CSS Document */
* { 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;
     box-sizing: border-box; 
    -webkit-text-size-adjust: 100%;
}

body {
    width:100%;
    margin: 0;
    padding:0;
    font-family: "Helvetica Neue", "Arial", sans-serif;
    font-size: 1em;
    background-color: #f2f2f2;
/*    background: linear-gradient(#f2f2f2 90%, grey);*/
    word-wrap: break-word;
    text-align: justify;
    color:#333;
}
p{
    margin-top:0;
    margin-bottom:0;
    padding-bottom:0.5em;
}
.sectionintro{
    font-style: italic;
}
h1{
    font-size:1.6em;
    margin-top:0em;
    margin-bottom:0.6em;
}
h2{
    font-size:1.2em;
    margin-top:2em;
    margin-bottom:0.3em;
}
h3{
    font-size:1em;
    font-style:italic;
    font-weight:normal;
    margin-top:1.2em;
    margin-bottom:0.3em;
}





/*LINKS*/
a.footer:link {
    color: #f2f2f2; 
    background-color: transparent; 
    text-decoration: none;
}

a.footer:visited {
    color: #f2f2f2;
    background-color: transparent;
    text-decoration: none;
}

a.footer:hover{
    color: gold;
    background-color: transparent;
    text-decoration: none;
}

a.footer:active{
    color: gold;
    background-color: transparent;
    text-decoration: none;
}


a.text:link{
    color: grey; 
    background-color: transparent; 
    text-decoration: none;
}
a.text:visited {
    color: grey; 
    background-color: transparent; 
    text-decoration: none;
}
a.text:hover{
    color: #333;
    background-color: transparent;
    text-decoration: underline;
}
a.text:active{
    color: #333;
    background-color: transparent;
    text-decoration: none;
}



/*HEADER*/
.header {
    background-color: #f2f2f2;
}

#headerimage{
    background-position: center;
    background-size:cover;
    height: 40vh;
    width: 100%;
}




/*MENU*/
#nav {
    overflow: hidden;
    background-color: #333;
    padding-left: 16px;
    z-index: 100;
}

#nav a {
    float: left;
    display: block;
    color: #f2f2f2;
    font-size: 16px;
    padding: 12px 12px 14px;
    text-decoration: none;
    text-align: center;
    height:44px;
}

#nav a:hover {
    background-color: grey;
}

#nav a.active {
    background-color: #0098D4;
}



/*CONTENT*/
.container {
    padding-left: 16px;
    padding-right:16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right:auto;
}
.sticky {
    position: fixed;
    top: 0;
    width:100%;
}

.sticky + .container{
  padding-top: 44px;
}


.containerelement{
    padding-top: 3em;
    padding-bottom:2em;
    height: a;
    max-width: 100%;
    margin:0;
}

#intro {}
#project {}
#lab {}
#info {}

.sectionendline{
    height:1px;
    border-width:0;
    background-color:grey;
    margin:0;
    margin-top:2em;
}


/*LISTS*/
/*https://kaspars.net/blog/dev/how-to-create-beautiful-and-elegant-html-lists-using-css*/
.list{
    list-style-type: none;
    list-style-position: outside;
    margin:0;
    padding-top:0.3em;
    padding-left:2.6em;
    text-indent:-0.6em;
    text-align:left;
}

.listsimple{
    list-style-type: square;
    list-style-position: outside;
    padding: 0;
    margin: 0 2em;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    list-style-position: outside;
}

.listelement{
    margin-bottom:0.6em;
}

.columntext{
    column-width:300px;
    -webkit-column-gap: 48px; /* Chrome, Safari, Opera */
    -moz-column-gap: 48px; /* Firefox */
    column-gap: 48px;
    text-align:justify;        
    
}



/*LEFT|RIGHT Columns*/
.left{
    width: 50%;
    float: left;
    margin-right: 24px;
}

.right{
    overflow: auto;
    margin-left: 24px;
}


.leftfooter {
    width: 50%;
    float:left;
    margin-right:24px
}

.rightfooter {
    overflow:auto;
    margin-left:24px;
    text-align: right;
}






/*TABS*/
.tab-wrap {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  list-style: none;
  margin:1.8em 0 1.2em;
}

.tab {
    display: none;
}
.tab:checked:nth-of-type(1) ~ .tab__content:nth-of-type(1) {
  opacity: 1;
  position: relative;
  top: 0;
}
.tab:checked:nth-of-type(2) ~ .tab__content:nth-of-type(2) {
  opacity: 1;
  position: relative;
  top: 0;
}
.tab:checked:nth-of-type(3) ~ .tab__content:nth-of-type(3) {
  opacity: 1;
  position: relative;
  top: 0;
}


.tab:checked + label {
    background-color: #0098D4;
    color:#f2f2f2;

}
.tab:checked + label:hover {
    background-color: #0098D4;
    color:#f2f2f2;

}
.tab + label {
    color:#f2f2f2;
    cursor: pointer;
    display: block;
    text-decoration: none;
    flex-grow: 3;
    text-align: center;
    background-color: #333;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    height: 33px;
    box-sizing: border-box;
    padding: 7px 6px 10px;
}
.tab + label:hover {
    background-color: grey;
    color:#f2f2f2;
}
.tab__content {
    padding: 12px 0px 14px;
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: -1;
    opacity: 0;
    left: 0;
}






/*FIGURES in Text*/
figure{
    margin:0;
}

.imagewide{
    margin-top:10px;
    background-position: center;
    background-size: cover;
    max-width: 100%;
}

.figuresmall{
    text-align:center;
}

.imagesmall{
    text-align:center;
    padding-top: 10px;
    max-height: 40vh;
    max-width: 100%;
}

figcaption{
    font-style:italic;
    padding-top:5px;
    padding-bottom:10px;
    color:grey;
}





/*COLOR SET*/
.colorsquare {
    margin:0;
    margin:10px 0;
    height: 1em;
    width: 20%;
    outline: 1px solid #333;
    float:left;
}





/*FOOTER*/
#footer{
    text-align:justify;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: grey;
    padding-top: 5px;
    padding-bottom: 6px;
    background-color: #333;
}

.footertext{
        font-size: 12px;
    }




/*MEDIA QUERIES*/
@media only screen and (max-width:600px){
    .leftfooter, .rightfooter {
        width:100%;
        margin:0;
        text-align:center;
    }
    .columntext{
        text-align: left;        
    }
}

@media only screen and (max-width: 800px){
    .left, .right {
        width: 100%;
        margin: 0;
    }
}


@media only screen and (max-width: 1200px) { 
    .container {
        max-width: 100%;
    }
    body{
        text-align: left;
    }
}