
@font-face {
    font-family: "Teletext";
    src: url("../assets/fonts/EuropeanTeletext.ttf");
}



body {
    margin: 0;
    background-color: black;
  }

  #scroll_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    z-index: 900;
  }

  canvas {
      position: fixed;
      top: 0px;
      left: 0px;
      overflow-x: hidden;
      overflow-y: hidden;
    }

  .movie-renderer {
    transition: opacity 1s ease;
    opacity: 1;
  }

  .details-renderer {
    transition: opacity 1s ease;
    opacity: 0;
  }

  .renderer_fade_out {
    opacity: 0 !important;
  }

  .renderer_fade_in {
    opacity: 1 !important;
  }

  #details_scroll_wrapper {
     position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: 900;
    overflow-x: hidden;
  } 

 #loading_screen {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100dvh;  
  transition: opacity 1s ease;
  opacity: 1;
  flex-direction: column-reverse;
}

#loading_text {
  color: white;
  font-family: Teletext;
  font-size: larger;
}

#loading_screen img {
  width: 300px;
  height: 300px;
}

#search_page {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  float: left;
  align-items: center;
  justify-content: center;  /* horizontal zentrieren */
}

#search_field {
    width: 50vw;
    height: 70px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 10px;
    padding-right: 10px;
    border: 1.5px rgb(143, 138, 138) solid;


  }


#search_input {
  font-size: 25px;
  background-color: transparent;
  outline: none;
  border: none;
  color: white;
  font-family: "Teletext";
  width: 100%;
}

#search {
  flex: 1;
}



#search_text {
  width: 35px;
  height: 35px;
  padding-right: 4px;
  fill: white;
  border-right: 2px white solid;
  cursor: pointer;

}

#search_delete_icon {
  width: 35px;
  height: 35px;
  fill: white;
  cursor: pointer;
}

