* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.headline {
  position: relative;
  margin: 1rem 2rem;
  z-index: 10;
}

details {
  cursor: pointer;
  background-color: white;
  width: fit-content;
}

.intro-images {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  pointer-events: none;
}

.intro-item {
  position: absolute;
  width: min(200px, 20vw);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
}

.intro-item:active {
  cursor: grabbing;
}

.intro-item img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.intro-item.show {
  opacity: 1;
  visibility: visible;
}

.intro-item img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-item figcaption {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.2;
}

.circle {
  aspect-ratio: 1/1;
  border-radius: 50%;
  width: 125px;
  background-color: blue;

  position: relative;
  display: flex;
  z-index: 11;
  inset: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.back-home a {
  color: white;
  text-decoration: none;
}

/* media queries */

@media (max-width: 768px) {
  .intro-item {
    width: 35vw;
    max-width: 150px;
  }

  .intro-item figcaption {
    margin-top: 0.25rem;
  }
}
