:host button {
  appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  font-family: "Mono";
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  min-width: 5em;
  cursor: pointer;
  font-size: 100%;
}

:is(:host button):hover,:is(:host button):focus {
    color: #adff00;
    outline: none;
  }

:host #images {
  transition: 1.5s;
  pointer-events: initial;
}

:is(:host #images) ::slotted(*) {
    transition: filter 0.5s;
  }

@keyframes floating {
  0%,
  100% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 1rem);
  }
}

:host ex-head {
  /* opacity: 0; */
  position: fixed;
  top: calc(100svh - 10rem);
  left: calc(2rem + 4vw);
  height: calc(2vw + 3rem);
  width: calc(2vw + 5rem);
  z-index: 888;
  border-radius: 1rem;
  background-size: cover;
  border: 2px solid #adff00;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
  animation-name: floating;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

.hide:is(:host ex-head) {
    opacity: 0;
  }

.qii:is(:host ex-head) {
    background-image: url("/components/queen.webp");
  }

.mf:is(:host ex-head) {
    background-image: url("/components/morgan.webp");
  }

.da:is(:host ex-head) {
    background-image: url("/components/david.webp");
  }

.ew:is(:host ex-head) {
    background-image: url("/components/emma.jpeg");
  }

.mj:is(:host ex-head) {
    background-image: url("/components/mj.jpeg");
  }

.c3:is(:host ex-head) {
    background-image: url("/components/c3.png");
  }

.hp:is(:host ex-head) {
    background-image: url("/components/harry.jpg");
  }

:host #queen {
  display: flex;
  /* position: fixed;
  bottom: calc(2em + 3vw);
  left: 8vw; */

  text-align: center;
  z-index: 4000;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

:is(.qii:is(:host #queen),.mf:is(:host #queen),.da:is(:host #queen),.ew:is(:host #queen),.mj:is(:host #queen))::before {
      content: "";
      position: absolute;
      top: -3em;
      left: 0;
      width: 5em;
      height: 3em;
      border-radius: 1em;
      background-size: cover;
      background-position: center;
      z-index: 3000;
      pointer-events: none;
    }

:host #queens-parade {
  position: fixed;
  pointer-events: none;
  z-index: 60000;
  text-align: center;
  font-size: clamp(100%, 2vw, 800%);
  width: 100%;
  padding: 2rem 5vw;
  margin: 0;
  box-sizing: border-box;
  text-wrap: balance;
  text-shadow: 0 0 0.3rem black;
  transition: 0.5s;
}

.hide:is(:host #queens-parade) {
    transform: scale(0.9);
    opacity: 0;
  }

:host #images.blur {
  opacity: 0.25;
  z-index: 1;
}

:is(:host #images.blur) slot {
    pointer-events: none;
  }

:is(:host #images.blur) ::slotted(*) {
    filter: blur(20px);
    pointer-events: none;
  }

:host button.next,
:host button.prev {
  padding: 0.25rem 1rem;
  min-width: 2em;
  margin: 0;
  font-family: "Icons";
  position: relative;
  top: 0.08em;
  font-size: 100%;
  line-height: 1rem;
  background: transparent;
}

:is(:host button.next,:host button.prev) svg {
    fill: white;
    width: 1em;
    height: auto;
  }

:is(:is(:host button.next,:host button.prev):hover,:is(:host button.next,:host button.prev):focus) svg {
      fill: #adff00;
    }

:is(:host button.prev) svg {
    transform: rotate(180deg);
  }

:host footer {
  position: fixed;
  pointer-events: initial;
  touch-action: manipulation;
  top: 100svh;
  margin: 0;
  padding: 4em 0 600px;
  transform: translateY(-7em);
  width: 100%;
  text-align: center;
  display: flex;
  z-index: 500;
  align-items: top;
  justify-content: space-around;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 100px);
}

:is(:host footer) section {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
