@font-face {
  font-family: 'Cinetype';
  src: url("../fonts/GT-Cinetype-Regular.eot"); /* IE9 Compat Modes */
  src: url("../fonts/GT-Cinetype-Regular.eot?#iefix") format('embedded-opentype'), url("../fonts/GT-Cinetype-Regular.woff") format('woff'), url("../fonts/GT-Cinetype-Regular.ttf") format('truetype'), url("../fonts/GT-Cinetype-Regular.svg#d0302eaa9baa2904e902ad889ccb5e9f") format('svg'); /* Legacy iOS */
  font-style: normal;
  font-weight: 500;
}

html,
body {
  margin: 0;
  font-family: 'Cinetype', sans-serif;
  font-size: 12px;
}
* {
  box-sizing: border-box;
}
h1,
h2,
h3 {
  margin: 0;
  padding-left: 20px;
  padding-right: 20px;
}

a:link {
  color: #ff5555;
  background:transparent;
  white-space: pre-wrap;
}

a:visited {
  color:#669999;
  background:#55ffff;
}
a:hover {
  color:#55ffff;
  background:#ff5555;
  size:32;
}

a:active {
  color:#55ffff;
  background:#ff5555;
}

  /* Links */
  a {
    /*background: #ff5555;*/
    color: #000;
    text-decoration: none;
    /*display: inline-block;*/
  }

  a:hover{
    background: #ff5555;
    color: #55ffff;
  }


form {
  padding-left: 20px;
  padding-right: 20px;
}

#menu-wrapper {
  position: relative;
  height: 24px;
  z-index: 100;
}

nav#menu {
  position: fixed;
  z-index: 100;
  top: 0px;
  width: 100%;
  height: 24px;
  line-height: 24px;
  background: #fff;
  padding: 0 0 0 10px;
  z-index: 2;
  border-bottom: 1px solid #000;
}

nav#menu li {
  list-style: none;
  display: inline-block;
  padding: 0;
  margin: 0;
}
nav#menu a {
  margin-right: 60px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  display: inline-block;
  font-weight: 500;
  cursor: pointer;
  padding: 0 10px;
}
nav#menu a:hover,
nav#menu a.selected {
  font-weight: 500;
}

/*@media only screen and (max-width: 470px) {*/
  @media only screen and (orientation: portrait) {
    body {
    }

    #wrapper h1 {
      font-size: 36px;
    }

    nav#menu {
      /*padding: 0;*/
      /*display: flex;*/
      /*justify-content: space-around;*/
    }


    nav#menu > li a {
      margin-right: 0;
      position: relative;
    }

    /* #wrapper {*/
    /*   position: relative; */
    /*   z-index: 2; */
    /*   max-width: 800px; /*
    /* }*/
  }

  nav#menu ul.dropdown {
    width: 260px;
    position: absolute;
    /*left: 10px;*/
    top: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #000;
    border-top: 0;
    display: none;
    background: #fff;
  }

  nav#menu ul.dropdown ul.dropdown {
    left: 100%;
    margin-top: -25px;
    border-top: 1px solid #000;
    display: none;
  }

  nav#menu ul.dropdown li:hover > ul.dropdown {
    display: block;
  }

  nav#menu ul.dropdown li {
    position: relative;
    height: 24px;
    width: 100%;
    margin: 0;
    display: block;
    border-bottom: 1px solid #000;
  }
  nav#menu ul.dropdown li:last-of-type {
    border-bottom: 0;
    height: 23px;
  }
  nav#menu ul.dropdown li a {
    display: block;
    width: 100%;
    font-size: 12px;
    padding: 0 0 0 10px;
  }
  nav#menu ul.dropdown li a:hover {
    font-weight: 500;
  }
  #gallery {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0);
    z-index: 50;
    display: none;
  }
  #gallery #center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border: 1px solid #000;
    background: #fff;
    width: auto;
    max-height: 80vh;
  }
  #gallery #center img {
    width: 100%;
    margin: 0;
    display: block;
  }
  #gallery #center #image-description {
    width: calc(100% - 100px);
    padding: 10px;
    font-size: 10px;
  }
  #gallery #center #image-buttons {
    width: 100px;
    position: absolute;
    right: 0px;
  }
  #gallery #center #image-buttons div {
    float: right;
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
  }
  #accordion .item {
    position: relative;
    border-bottom: 1px solid #000;
  }
  #accordion .item .bar {
    position: relative;
    height: 72px;
    overflow: hidden;
    -webkit-user-select: none;
  }
  #accordion .item .bar h2 {
    line-height: 72px;
    display: inline-block;
    float: left;
    font-size: 65px;
    padding: 0 0 0 20px;
    margin: 0;
    pointer-events: none;
  }
  #accordion .item .bar div {
    display: inline-block;
    padding-top: 44px;
    float: left;
    margin-left: 50px;
    pointer-events: none;
  }
  #accordion .item .bar div span {
    margin-right: 20px;
    font-weight: 500;
  }
  #accordion .item .bar:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
  #accordion .item .content {
    position: relative;
    overflow: hidden;
    height: 0;
    font-size: 65px;
  }
  #accordion .item .content p {
    margin: 0;
    padding: 0 0 20px 20px;
  }
  #accordion .item .content p img {
    height: 50px;
  }
  #accordion .item .content p:hover span {
    border-bottom: 1px solid #000;
    vertical-align: top;
  }
  #wrapper {
    position: relative;
    z-index: 2;
    /*max-width: 800px;*/
  }
  #wrapper h1 {
    font-size: 60px;
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  #wrapper p {
    padding-left: 20px;
    padding-right: 20px;
  }
  #wrapper img {
    width: 100%;
    display: block;
  }
  #wrapper iframe {
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 0 -0 0;
    display: block;
  }
  #wrapper .image-wrapper {
    margin: 0 0 0px 0;
  }

  #wrapper .image-wrapper div {
    font-size: 12px;
    margin-top: -2px;
    opacity: 1
    /*text-align: right;*/
  }

  #wrapper a .image-wrapper {
    color: #000000 !important;
  }

  #wrapper a .image-wrapper:hover div {
    color: #55ffff
  }


  #menu-wrapper a {
    color: #ff5555;
    background: transparent;
  }

  #menu-wrapper a:visited {
    color:#669999;
    background:#55ffff;
  }

  #menu-wrapper a:hover {
    color:#55ffff;
    background:#ff5555;
  }

  #menu-wrapper a:active {
    color:#55ffff;
    background:#ff5555;
  }

  @media all and (min-width: 800px) {
    #wrapper {
      width: 70%;
    }
  }
  canvas {
    z-index: 1;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
  }
