body {
  background-color: #0b212c;
  overflow: hidden;
}

.details {
  position: absolute;
  display: none;
  z-index: 90;
  background-color: #F7F9F9;
  border-radius: 20px;
  padding: 10px;
  font-family: Roboto, Arial, sans-serif;
  max-height: 85vh;
  overflow: auto;
  font-size: 0.7vw;
}

.details {
  width: 20vw;
  cursor: pointer;
  padding: 1vw;

  border: 8px double gold;
  background: snow;
  color: darkslategray;

}

#ebee-info {
  max-width: 30vw;
  width: auto;
}

.details .info-top {
  display: flex;
}

.details .logo {
  vertical-align: top;
  margin-right: 10px;
}

.details img {
  width: 7vw;
}

.button {
  cursor: pointer;
  background-color: green;
  color: white;
  font-family: sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 10px;
  padding: 10px;
}

.twitter-cont {
  padding-top: 10px;
}

#ebee-info img {
  width: 5vw;
  margin-right: 1vw;
}

.details .info-container {
  padding: 10px;
}

.details .title {
  margin: 0 auto;
  flex: 1;
}

#ebee-info .title {
  font-size: 1vw;
}

.details .teaser {
  padding: 0 20px;
  font-style: italic;
}

.details .description {
  padding: 5px 20px;
}

.flying-ebee {
  position: absolute;
  display: none;
  transition: all 1.5s ease-in-out;
  z-index: 80;
}

.flying-ebee img {
  width: 1.8vw;
}

.selfie {
  transition: all 1.5s ease-in-out;
  z-index: 95;
}

#calendar {
  width: 100%;
  height: 100%;
  margin: auto;
  opacity: 0%;
}

#calendar img {
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  display: block;
}

.loading {
  position: absolute;
  z-index: -5;
  display: flex;
  color: white;
  font-size: 5em;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.loading img {
  width: 100px;
  padding: 50px;
}

.indicator {
  position: absolute;
  display: none;
  height: auto;
  width: auto;
  text-align: center;
  border: 2px solid gold;
  border-radius: 10px;
  top: 2vh;
  right: 6vw;
  margin: 3vh 1vw;
  background: #0d2633;
  color: white;
  font-weight: bold;
  padding: 1em;
  font-size: 1vw;
  letter-spacing: 0.3em;
  font-family: Roboto, Arial, sans-serif;
}

.indicator a {
  text-decoration: none;
  color: beige;
}

.indicator a:hover {
  text-decoration: underline;
}

.blink {
  animation: blinker 2s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.grayed {
  color: grey;
  filter: grayscale(100%);
}

@keyframes blink {
  0% {
    filter: grayscale(0%);
  }
  50% {
    filter: grayscale(100%);
  }
  100% {
    filter: grayscale(0%);
  }
}

.blinking {
  animation: blink 1s infinite;
}

/* Apply the animation to an element */
.rotating {
  animation: rotate 6s linear infinite; /* 5s duration, linear timing, infinite loop */
  filter: brightness(300%);
  z-index: 85;
}

@keyframes rotate {
  0% {
    transform: translateX(0) translateY(0) rotate(45deg);
  }
  12% {
    transform: translateX(20px) translateY(-20px) rotate(90deg);
  }
  25% {
    transform: translateX(40px) translateY(0) rotate(180deg);
  }
  37% {
    transform: translateX(20px) translateY(20px) rotate(270deg);
  }
  50% {
    transform: translateX(0) translateY(0) rotate(270deg);
  }
  62% {
    transform: translateX(-20px) translateY(-20px) rotate(270deg);
  }
  75% {
    transform: translateX(-40px) translateY(0) rotate(180deg);
  }
  87% {
    transform: translateX(-20px) translateY(20px) rotate(90deg);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
}

/* Lab scores */
.average-rating {
  position: relative;
  appearance: none;
  margin: 10px 0;
  color: transparent;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
}

.rating-stars {
  --percent: 50%;
  content: '★★★★★';
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(0,0,0,0.2);
  background:
    linear-gradient(90deg, gold var(--percent), rgba(0,0,0,0.2) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
