@media all and (min-width: 821px) {
  body {
    /*font-family: 'Geo', sans-serif;*/
    /*font-family: 'Aldrich', sans-serif;*/
    overflow: none;
    font-family: "Courier New", Courier, monospace;
    overflow: hidden;
    background-color: black;
    color: rgb(120, 120, 120);
  }

  a {
    color: rgb(200, 200, 200);
    text-decoration: none;
  }
  a:hover {
    color: rgb(255, 255, 255);
    text-decoration: none;
    -webkit-animation-name: linkHover; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 0.1s; /* Safari 4.0 - 8.0 */
    animation-name: linkHover;
    animation-duration: 0.1s;
  }

  button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    text-align: center;
    text-decoration: none;
  }

  /* Safari 4.0 - 8.0 */
  @-webkit-keyframes linkHover {
    0% {
      color: rgb(200, 200, 200);
    }
    25% {
      color: rgb(220, 220, 220);
    }
    50% {
      color: rgb(235, 235, 235);
    }
    100% {
      color: rgb(255, 255, 255);
    }
  }

  /* Standard syntax */
  @keyframes linkHover {
    0% {
      color: rgb(200, 200, 200);
    }
    25% {
      color: rgb(220, 220, 220);
    }
    50% {
      color: rgb(235, 235, 235);
    }
    100% {
      color: rgb(255, 255, 255);
    }
  }

  .p5Canvas {
    z-index: -1;
    position: fixed;
    max-height: 100%;
    max-width: 100%;
    height: 100%;
    width: 100%;
    top: 0px;
  }

  .noCopy {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    user-drag: none;
    -webkit-user-drag: none;
    cursor: default;
  }

  #video {
    z-index: -1;
    position: fixed;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    top: -50px;
    width: 100%;
  }

  #title {
    font-size: 50px;
    font-family: "Share Tech Mono", monospace;
    color: rgb(200, 200, 200);
    text-align: center;
  }

  #subTitle {
    font-size: 25px;
    text-align: center;
  }

  .arrow {
    top: 40%;
    font-size: 55px;
    color: rgb(200, 200, 200);
    background-color: rgba(0, 0, 0, 0);
    border: none;
    text-decoration: none;
  }
  .arrow:hover {
    color: rgb(255, 255, 255);
    cursor: pointer;
    -webkit-animation-name: linkHover; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 0.1s; /* Safari 4.0 - 8.0 */
    animation-name: linkHover;
    animation-duration: 0.1s;
  }
  .arrow:active {
    color: rgb(255, 255, 255);
  }

  #leftA {
    position: absolute;
    left: 25px;
  }

  #rightA {
    position: absolute;
    right: 25px;
  }

  #infoButton {
    display: none;
    cursor: pointer;
  }

  #description {
    display: auto;
    position: absolute;
    left: 25px;
    bottom: 35px;
  }

  #description:hover {
    color: white;
    background: rgba(200, 200, 200, 0.6);
    -webkit-animation-name: descriptionHover; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 0.1s; /* Safari 4.0 - 8.0 */
    animation-name: descriptionHover;
    animation-duration: 0.1s;
  }

  /* Safari 4.0 - 8.0 */
  @-webkit-keyframes descriptionHover {
    0% {
      background-color: rgba(200, 200, 200, 0);
    }
    25% {
      background-color: rgba(200, 200, 200, 0.2);
    }
    50% {
      background-color: rgba(200, 200, 200, 0.4);
    }
    100% {
      background-color: rgba(200, 200, 200, 0.6);
    }
  }

  /* Standard syntax */
  @keyframes descriptionHover {
    0% {
      background-color: rgba(200, 200, 200, 0);
    }
    25% {
      background-color: rgba(200, 200, 200, 0.2);
    }
    50% {
      background-color: rgba(200, 200, 200, 0.4);
    }
    100% {
      background-color: rgba(200, 200, 200, 0.6);
    }
  }

  #codeLinkContainer {
    z-index: 10;
    display: auto;
    position: absolute;
    bottom: 0px;
    left: 0px;
    margin-left: 25px;
    margin-bottom: 10px;
  }
  #codeLink {
    z-index: 10;
    bottom: 0px;
    left: 0px;
  }

  #mail {
    position: absolute;
    font-size: 30px;
    bottom: 10px;
    text-align: center;
    width: 100%;
  }

  #handtekening {
    position: absolute;
    bottom: 0px;
    right: 10px;
    width: 100px;
  }

  .btn {
    background-color: lightgrey;
    border-radius: 5px;
    border-style: solid;
    border-width: 1xp;
    border-color: black;
  }

  .brn:hover {
    cursor: pointer;
  }

  .functionBtn {
    background-color: lightyellow;
  }

  .functionBtn:hover {
    cursor: pointer;
  }

  .container {
    width: 200px;
    margin-top: 50px;
  }

  #display {
    padding-top: 15px;
    height: 50px;
    background-color: white;
    color: black;
  }
}

@media all and (max-width: 820px) {
  body {
    /*font-family: 'Geo', sans-serif;*/
    /*font-family: 'Aldrich', sans-serif;*/
    overflow: none;
    font-family: "Courier New", Courier, monospace;
    background-color: black;
    color: rgb(120, 120, 120);
  }

  a {
    color: rgb(200, 200, 200);
    text-decoration: none;
  }
  a:active {
    color: rgb(255, 255, 255);
  }

  .p5Canvas {
    z-index: -1;
    position: fixed;
    max-height: 100%;
    max-width: 100%;
    /*width:50%;*/
    top: 0px;
  }

  .noCopy {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    user-drag: none;
    -webkit-user-drag: none;
  }

  #video {
    z-index: -1;
    position: fixed;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    top: -50px;
    width: 100%;
  }

  #title {
    position: fixed;
    width: 100%;
    color: rgb(200, 200, 200);
    font-size: 30px;
    font-family: "Share Tech Mono", monospace;
    text-align: center;
  }

  #title:active {
    color: rgb(255, 255, 255);
  }

  #subTitle {
    width: 100%;
    top: 40px;
    position: fixed;
    font-size: 25px;
    text-align: center;
  }

  .arrow {
    z-index: 2;
    top: 40%;
    font-size: 35px;
    color: rgb(200, 200, 200);
    background-color: rgba(0, 0, 0, 0);
    border: none;
    text-decoration: none;
  }

  .arrow:active {
    color: rgb(255, 255, 255);
  }
  #leftA {
    position: absolute;
    left: 25px;
  }

  #rightA {
    position: absolute;
    right: 25px;
  }

  #infoButton {
    z-index: 3;
    position: fixed;
    background-color: grey;
    font-size: 35px;
    color: rgb(80, 80, 80);
    border-radius: 30px;
    left: 10px;
    bottom: 10px;
  }

  #infoButton:active {
    background-color: rgb(180, 180, 180);
  }

  #description {
    z-index: 2;
    border-radius: 0px 0px 0px 10px;
    visibility: hidden;
    position: fixed;
    background: rgba(200, 200, 200, 0.8);
    left: 10px;
    bottom: 10px;
  }

  #codeLinkContainer {
    visibility: hidden;
  }
  #codeLink {
    visibility: hidden;
  }

  #mail {
    position: fixed;
    font-size: 15px;
    bottom: 10px;
    text-align: center;
    width: 100%;
  }

  #handtekening {
    position: fixed;
    bottom: 20px;
    right: 15px;
    width: 100px;
  }

  .btn {
    background-color: lightgrey;
    border-radius: 5px;
    border-style: solid;
    border-width: 1xp;
    border-color: black;
  }

  .functionBtn {
    background-color: lightyellow;
  }

  .functionBtn:hover {
    cursor: pointer;
  }

  .container {
    width: 300px;
    margin-top: 50px;
  }

  #display {
    height: 50px;
    background-color: white;
    color: black;
  }
}
