@media screen and (min-width: 701px) and (max-aspect-ratio: 21/8) and (orientation: landscape) {
  /*Normal Gebrauch */
  .collage {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 4%;
    padding-right: 4%;
    border: 1px rgb(228, 228, 228) solid;
    border-radius: 10px;
    cursor: pointer;
  }
  .collage div,
  #recht {
    text-align: center;
    line-height: 20px;
  }
  .collage:hover {
    background-color: rgba(0, 0, 0, 0.008);
    border-color: rgb(196, 195, 195);
  }
  #recht {
    width: 45%;
    padding: 30px;
    border: 1px rgb(228, 228, 228) solid;
    border-radius: 10px;
    cursor: pointer;
  }
  #recht:hover {
    background-color: rgba(0, 0, 0, 0.008);
    border-color: rgb(196, 195, 195);
  }

  #document_popup {
    display: none;
    position: fixed;
    z-index: 10002;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    animation: fade 500ms ease-in;
    background-color: rgba(0, 0, 0, 0.6);
  }
  @keyframes fade {
    0% {
      background-color: rgba(0, 0, 0, 0);
    }
    100% {
      background-color: rgba(0, 0, 0, 0.6);
    }
  }

  #pop_overlay {
    position: fixed;
    display: flex;
    justify-content: space-between;
    z-index: 10002;
    height: 80vh;
    width: 55vw;
    top: 10vh;
    left: 22.5vw;
    right: 22.5vw;
    bottom: 10vh;
    border: 3px #004c66 solid;
    border-radius: 20px;
    background-color: rgb(219, 219, 219);
  }
  #pdf {
    width: 40vw;
    overflow: scroll;
  }
  .button {
    width: 7vw;
  }
  .button img {
    height: 4vw;
    cursor: pointer;
    margin-top: 30vh;
  }

  .button:hover img {
    opacity: 0.8;
  }
  #close {
    font-size: xx-large;
    height: fit-content;
    width: fit-content;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    margin-left: 80%;
    margin-top: 5%;
    cursor: pointer;
  }
  #download {
    background-color: white;
    display: flex;
    width: fit-content;
    font-size: large;
    padding: 8px;
    border-radius: 10px;
    margin-top: 2%;
    margin-left: 79.75%;
    cursor: pointer;
  }
  #download div {
    display: none;
  }
  #download:hover div {
    display: block;
    animation: fade2 200ms ease-in;
  }
  #download img {
    height: 40px;
  }
  @keyframes fade2 {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  #element_box {
    position: absolute;
    left: 45%;
    bottom: 5%;
    height: 35px;
    border-radius: 20px;
    width: 10%;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: x-large;
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    text-align: center;
  }
  #Error {
    display: none;
  }
}

@media screen and (max-width: 822px) {
  #page {
    display: none;
  }
  #Error {
    display: contents;
    font-size: large;
  }
}
@media screen and (min-aspect-ratio: 21/8) {
  #page {
    display: none;
  }
  #Error {
    display: contents;
    font-size: large;
  }
}
