@font-face {
    font-family: futuraMR;
    /*src: url(webfonts/futura-medium-r.woff) format('woff');
    font-family: 'webfontregular';*/
    src: url('webfonts/futura-medium-webfont.woff2') format('woff2'),
         url('webfonts/futura-medium-webfont.woff') format('woff');
}
html {
    scroll-behavior: smooth;
    background-color: #ccc;
    }
body {
    margin:0px;
    background-color: #ccc;
}
/* selected text*/
body ::-moz-selection {
    color: black;
    background:#ccc;
}
body ::selection {
    color: black;
    background:#ccc;
}
#w100p {
  margin:0px;
  padding: 0px;
  width:100%;
  background: red;
  opacity: 0;
}
#measureR{
    position:fixed;
    top:10px;
    display:block;
    width:40px;
    height:40px;
  /*  z-index: 1010;*/
    background: red;
    transform: rotate(45deg);
    opacity:0;
}
#measureB{
    position:fixed;
    top:10px;
    display:block;
    width:40px;
    height:40px;
  /*  z-index: 1011;*/
    background: blue;
    transform: rotate(45deg);
    opacity:0;
}
#top{
    position:absolute;
    left:0px;
    top:0px;
}

#fadeScrollContainer{
  position:fixed;
  margin: 0px;
  padding:0px;
  left:0px;
  top:0px;
  width:100%;
  height:100%;
  text-align:center;
  display:block;
  overflow: hidden;
}
#videoContainer{
  position:fixed;
  /*z-index:5;*/
  transition: opacity 1s;
  opacity: 0;
  display: block;
  padding: 0px;
  margin:0px;
  background:#ccc;
}
#splash{
  position:relative;
/*  z-index:10;*/
  display: inline-block;
  text-align:center;
  white-space: nowrap;
  opacity:0;
  transition: opacity 1s;
}



/*--------------------------------------------------------- banner (Niklas Roy) */
#banner {
  font-family: futuraMR;
  font-size: 85px;
  letter-spacing: 7px;
  color: white;
  font-weight: normal !important;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

#dist0{/*distance between top of screen and banner*/
  display:block;
}
#dist1{/*distance between banner and underline*/
  display:block;
}
#dist2{/*distance between underline and buttons*/
  display:block;
}
#underline {
  font-family: futuraMR;
  font-size: 45px;
  color: white;
  font-weight: normal !important;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

#buttons{
  width:100vw;
  white-space: nowrap;
  font-family: futuraMR;
  font-size: 36px;
  /*z-index: 50;*/
}
#buttons a{
  padding: 5px;
  background: #0af;
  border: solid 5px white;
  outline: 0;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  text-shadow:1px 1px 2px rgba(0,0,0,0.3);
  text-decoration: none;
  color:#fff;
  transition: all .3s;

}
#buttons a:hover{
  background: #fff;
  color:#0af;
  border:solid 5px #0af;
}
#diary{
  display: inline-block;
  margin: auto;
  width: 15%;
}

#about {
  display: inline-block;
  margin: auto;
  width: 15%;
}

#projects {
  display: inline-block;
  margin: auto;
  width: 15%;
}

#contact{
  display: inline-block;
  margin: auto;
  width: 15%;
}

#menuTop{ /*positions anchor, aligned to menu-top by JS*/
  position:absolute;
  display:block;
  opacity:0;
  width:100px;
  height:100px;
  background:magenta;

/*  z-index:103;*/
}
#menu{
  position: absolute;
  z-index:100;
  display: block;
  width: 100%;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cccccc+0,cccccc+100&0+0,1+27 */
  background: -moz-linear-gradient(top, rgba(204,204,204,0) 0%, rgba(204,204,204,1) 27%, rgba(204,204,204,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(204,204,204,0) 0%,rgba(204,204,204,1) 27%,rgba(204,204,204,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(204,204,204,0) 0%,rgba(204,204,204,1) 27%,rgba(204,204,204,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00cccccc', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */

  left:0px;
}
/*-----------space below the menu - reveals footer*/
#menuBottom{
  position: absolute;
  display: block;
  width: 100%;
}

img {
  opacity: 0;
  transition: opacity 1s;
}

#footerWrap{
  position: fixed;
  display:flex;
  align-items: center;
  justify-content: center;
  text-align:center;
  width:100%;
  height:100%;
  z-index:3;
  display: none;
}

#footer{
/*  visibility: hidden;*/
  position: relative;
  width: 70%;
  font-family: Georgia, Times, serif;
  font-size: 24px;
  line-height: 40px;
  color:#444;
  z-index:4;
}

@media screen and (max-width: 877px) {
  #footer {
    font-size: 20px;
    line-height: 33px;
  }
}

a:link {/* unvisited link */
    color:#444;
}
a:visited {/* visited link */
    color:#444;
}
a:hover {/* mouse over link */
    color:#444;
}
a:active {/* selected link */
    color:#444;
}

#debug{
  position:fixed;
  left:5px;
  top: 5px;
  z-index: 1000;
  background:rgba(255,255,255,.5);
  color: black;
  font-size: 12px;
}
