@charset "UTF-8";
:root {
  --background: rgba(0, 0, 74, 0.861);
  --forkertsvar: rgb(177, 26, 26);
  --rigtigtsvar: rgb(117, 219, 28);
  --lockedinsvar: rgb(224, 216, 0);
}

.locked {
  background-color: var(--lockedinsvar);
}

.forkert {
  background-color: var(--forkertsvar);
}

.rigtigt {
  background-color: var(--rigtigtsvar);
}

.highlight {
  background-color: yellowgreen;
  transition: background-color 0.5s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
}

.used {
  opacity: 50%;
  cursor: default !important;
}

.open .logo-video {
  transform: rotateY(90deg);
}

#studio.reveal {
  clip-path: circle(150% at 50% 50%);
}

body {
  height: 100vh;
  background-image: url("img/WWTBAM_Banner_0.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Lightbox container */
}
body #open-lightbox-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 1s ease-in-out;
  perspective: 1200px;
}
body #open-lightbox-btn .logo-video {
  transition: transform 1s ease-in-out;
  transform-origin: left center;
}
body #studio {
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 4s ease-in-out;
  z-index: 0;
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
body #studio video {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100vw;
}
body button {
  justify-self: center;
  align-self: center;
}
body #open-instlb {
  position: absolute;
  bottom: 50px;
  left: 50px;
  background: none;
  border: none;
}
body #open-instlb svg {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
  height: 50px;
  width: 50px;
}
body #open-instlb :hover svg {
  transform: scale(1.1); /* Let animation ved hover */
  fill: #007bff; /* Skift farve ved hover */
}
body .lightbox,
body .instlb {
  display: none; /* Skjult som standard */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Mørk baggrund */
  z-index: 1000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-in-out;
}
body .lightbox.show,
body .instlb.show {
  display: flex; /* Vis lightboxen når 'show' klassen tilføjes */
  opacity: 1;
}
body .lightbox .content,
body .instlb .content {
  border-radius: 15px;
  padding: 20px;
  width: 80%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
body .lightbox .content > p,
body .instlb .content > p {
  color: white;
}
body .lightbox .content-inst,
body .instlb .content-inst {
  border-radius: 15px;
  padding: 20px;
  width: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background-color: var(--background);
}
body .lightbox .content-inst .closeinst,
body .instlb .content-inst .closeinst {
  font-size: 20px;
  cursor: pointer;
  color: white;
}
body .lightbox .content-inst div,
body .instlb .content-inst div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
body .lightbox .content-inst div p,
body .instlb .content-inst div p {
  line-height: 50px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: x-large;
}
body .lightbox .close-btn,
body .instlb .close-btn {
  cursor: pointer;
}
body .game-over-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  width: 40vw;
  height: 20vh;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}
body .game-over-box p {
  font-size: 20px;
  margin-bottom: 15px;
}
body .game-over-box .restart-button {
  background-color: var(--background);
  color: white;
  width: 10%;
  font-size: 18px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
body .game-over-box .restart-button:hover {
  filter: brightness(1.5);
}
body #ring-svar,
body #audience {
  display: none;
  color: white;
  position: absolute;
  background-color: var(--background);
}
body #ring-svar {
  right: 9%;
  top: 30vh;
  width: 200px;
  height: 100px;
}
body #audience {
  right: 3.8%;
  top: 42vh;
  width: 300px;
  height: 200px;
}
body main {
  width: 60vw;
  height: 50vh;
  margin: auto;
  border-radius: 15px;
  box-shadow: 5px;
  display: grid;
  grid-template-columns: 2fr 4fr 4fr 2fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 10px;
  grid-template-areas: "præmie spørgsmål spørgsmål tools" "præmie svar svar tools" "præmie svar svar tools";
}
body main .præmie {
  background-color: var(--background);
  grid-area: præmie;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-evenly;
  align-items: center;
}
body main .præmie div {
  width: 100%;
  display: flex;
  justify-content: center;
}
body main .præmie div li {
  list-style: none;
  color: white;
  border-bottom: solid 2px white;
  border-width: 50%;
  text-align: center;
}
body main .præmie div:nth-of-type(5n + 5) li {
  color: yellow;
}
body main .spørgsmål {
  background-color: var(--background);
  grid-area: spørgsmål;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
body main .svar {
  grid-area: svar;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "svarA svarB" "svarC svarD";
  gap: 10px;
  padding: 20px 0 20px 0;
}
body main .svar .svarA,
body main .svar .svarB,
body main .svar .svarC,
body main .svar .svarD {
  background-color: var(--background);
  align-self: center;
  justify-self: center;
  width: 100%;
}
body main .svar button {
  display: flex;
  width: 100%;
  height: 50px;
}
body main .svar button p:nth-of-type(1) {
  width: 20%;
}
body main .svar button p:nth-of-type(2) {
  width: 80%;
}
body main .svar button p:nth-of-type(1),
body main .svar button p:nth-of-type(2) {
  align-self: center;
}
body main .svar .svarA,
body main .svar .svarC {
  clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0 100%, 0 0);
}
body main .svar .svarB,
body main .svar .svarD {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
}
body main .svar .svarA {
  grid-area: svarA;
}
body main .svar .svarB {
  grid-area: svarB;
}
body main .svar .svarC {
  grid-area: svarC;
}
body main .svar .svarD {
  grid-area: svarD;
}
body main .tools {
  background-color: var(--background);
  grid-area: tools;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
body main .tools li {
  display: flex;
  align-content: center;
  justify-content: center;
  width: 70%;
}
body main .tools li:nth-of-type(3) {
  padding-bottom: 20px;
  border-bottom: solid 1px white;
}
body main .tools img {
  width: 70%;
  height: 55px;
  cursor: pointer;
}/*# sourceMappingURL=style.css.map */