@charset "utf-8";

body {
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

#background {
  width: 120%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(70px) brightness(90%);
  position: fixed;
  top: -50px;
  right: -70px;
  left: -70px;
  bottom: -40px;
  z-index: -1;
  transform: translateZ(0);
}

#sidebar {
  width: 275px;
  position: fixed;
  right: 0px;
  top: 0px;
  bottom: 0px;
  overflow: hidden;
}

#sidebarIframe,
.ciframe {
  width: 100%;
  outline: none;
  border: none;
  overflow: hidden;
  position: absolute;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("/Asset/loader_standard.gif");
  background-position: center center;
  background-repeat: no-repeat;
}

#main {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 275px;
  gap: 20px;
}

.col {
  width: auto;
}

#col0 {
  display: flex;
  align-items: center;
  width: 300px;
}

.component {
  width: 370px;
  height: 250px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.componentL {
  height: 520px;
}

#clock {
  background-color: transparent;
  border: none;
  outline: none;
  width: 100%;
  height: 400px;
}

.cimg {
  width: 100%;
}

#imgholder {
  position: relative;
}

.imginfo {
  width: 100%;
  background-color: #00000050;
  color: white;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  position: absolute;
  bottom: 0px;
  padding: 5px 10px 5px 10px;
  display: none;
}

.imginfo img {
  position: relative;
  top: 2px;
  margin-right: 5px;
  display: inline-block;
}

#imgholder:hover .imginfo {
  display: block;
}

/*Anpassung für kleinere Bildschirme*/
@media only screen and (max-width: 1800px) {
  .component {
    width : 330px;
    height: 220px;
  }

  .componentL {
    height: 460px;
  }

  #col0 {
    width: 350px;
  }
}

#openMobileMenu {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  text-align: center;
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #1a1a1a;
  border: none;
  z-index: 2;
  display: none;
  background-image: url("icons/menu.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 25px;
}

#openMobileMenu img {
  width: 40px;
}

#openMobileMenu:hover {
  background-color: #414141;
}

/*Anpassung für Mobilgeräte*/
@media only screen and (max-width: 800px) {
  #sidebar {
    width: 100%;
    z-index: 1;
    display: none;
  }

  #main {
    display: block;
    width: 100%;
    left: 0px;
  }

  .col,
  #col0,
  #col1,
  #col2 {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }

  #col0 {
    padding-bottom: 20px;
    padding-top: 20px;
  }

  body {
    padding-bottom: 100px;
    overflow: auto;
  }

  .component {
    margin: auto;
    margin-bottom: 10px;
  }

  #clock {
    height: 300px;
  }

  #openMobileMenu {
    display: block;
  }
}
