/* css/2pb.css */
@import url("https://fonts.googleapis.com/css?family=Manrope:400,400i,500,500i");
body {
	font-family: Manrope, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
}

section { margin-left: 30px; }

.waves {
  vertical-align: -3px;
  margin-left: -14px;
}

.attention {
  animation: waveGlow 3s ease-in-out infinite;
}
@keyframes waveGlow {
  0%, 100% {
      stroke-width: 1.2;
      opacity: 1;
  }
  50% {
      stroke-width: 2;
      opacity: 0.5;
  }
}

.hover-expand {
  position: relative;
  max-width: 100%;
  transition: transform 0.2s ease;
  transform-origin: center center;
}
.hover-expand:hover {
  transform: scale(3);
  z-index: 1000;
}

.splash-container {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.splash-container img,
.splash-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#splash-play-btn {
  position: absolute;
  z-index: 10;
  bottom: 8.3px;
  right: 44px;
  font-size: 14px;
  color: white;
  text-shadow: 0 0 6px black;
}
#splash-mute-btn {
  position: absolute;
  z-index: 10;
  bottom: 8px;
  right: 8px;
  padding: 1.6px 2px 1.4px 2px;
}

button.tiny-button {
  font-size: 10px;
  padding: 1px 3px;
  line-height: 1.0;
  margin-left: 10px;
}

.legend-box {
  width: 40px;
  height: 20px;
  margin: 10px;
  background: white;
  border-radius: 10px;
  position: relative;
  box-shadow:
    0 3px 8px rgba(0,0,0,0.12),
    0 10px 24px rgba(0,0,0,0.08);
}

.has-game {
  background-image:
    repeating-linear-gradient(
      150deg,
      rgba(0, 0, 0, 0.15) 0px,
      rgba(0, 0, 0, 0.15) 2px,
      transparent 2px,
      transparent 12px
    );
}

.clickable {
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

.top-container {
  position: relative;
  display: inline-block;
}
.top-container img {
   display: block;
}

.info-top {
  position: absolute;
  bottom: 8px;
  left: 8px;

  width: 18px;
  height: 18px;

  color: white;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  text-align: center;

  cursor: pointer;
  user-select: none;
}
.info-top:hover .tooltip {
  display: block;
}

.tooltip {
  position: absolute;
  bottom: 24px;
  left: 0;

  display: none;

  min-width: 180px;
  padding: 8px 10px;

  background: rgba(0,0,0,0.85);
  color: white;
  border-radius: 6px;

  font-size: 13px;
  line-height: 1.4;

  z-index: 100;
}
