@import "_reset.css";

@font-face {
  font-family: "Lobsteroni";
  src: url("../assets/font/Lobsteroni-Regular.woff") format("woff"),
    url("../assets/font/Lobsteroni-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Fedra";
  src: url("../assets/font/FedraSansCondStd-Bold.otf") format("woff2"),
}

@font-face {
  font-family: "Helsinki";
  src: url("../assets/font/Helsinki-Thin.otf") format("woff2"),
}

body {
  font-size: 30px;
  font-family: "Lobsteroni", sans-serif;
  background-color: white;
  overflow-y: scroll;
  overflow-x: hidden;
}

header {
  color: #009640;
  padding: 15px;
  line-height: 110%;
  text-align: center;
  position: fixed;
  width: 100vw;
} 

header h1 {
  font-family: 'Fedra';
  text-transform: uppercase;
}

header h2 {
  font-family: 'Lobsteroni';
  font-size: 24px;
}

.party {
  padding-left: 70px;
  padding-right: 70px;
  padding-top: 60px;
  padding-bottom: 15px;
  height: 100vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 25px;
  row-gap: 10px;
  justify-content: center;
  align-items: center;
}

.figure-wrapper {
  transform: scale(1);
  display: block;
  justify-content: center;
  align-items: center;
  overflow: visible;
  z-index: 0;
  mix-blend-mode: multiply;
  visibility: hidden;
}

.figure {
  z-index: 1;
  display: inline-block;
  height: fit-content;
  overflow: visible;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.figure svg {
  width: 100%;
  height: 100%;
  aspect-ratio: attr(viewBox) / 1; 
  overflow: visible;
}

.question {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 200px;
  opacity: 0;
  text-align: center;
  color: #009640;
  z-index: 1000; 
  text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.7); 
  pointer-events: none;
  font-size: 24px;
  transition: opacity 0.2s ease;
}

.figure-wrapper:hover .figure, .figure-wrapper.active .figure {
  opacity: 0.2;
}

.figure-wrapper:hover .question, .figure-wrapper.active .question {
  opacity: 1;
  z-index: 1000; 
}

.figure-wrapper#about-link {
  opacity: 1 !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.figure-wrapper#about-link:hover,
.figure-wrapper#about-link.active {
  transform: scale(1.1);
}

.figure-wrapper#about-link:hover .figure,
.figure-wrapper#about-link.active .figure {
  opacity: 1 !important;
}

a {
  cursor: pointer;
}

/* @media (max-width: 600px) {
  header {
    top: auto;
    bottom: 0;
  }

  .question {
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translate(0, 0);
  }

  .figure-wrapper {
    transform: scale(1);
  }
} */
