@font-face {
  font-family: 'MinecraftFont';
  src: url('/assets/common/fonts/minecraft.eot');
  src: url('/assets/common/fonts/minecraft.woff2') format('woff2'),
       url('/assets/common/fonts/minecraft.woff') format('woff'),
       url('/assets/common/fonts/minecraft.ttf') format('truetype');
}

body {
  font-family: "MinecraftFont", sans-serif;
  padding-top: 96px;
}

/* Gallery styles */

#gallery-container {
  position: relative;
  padding: 64px;
  background-color: var(--transparent-white-color);
  border: 1px solid var(--text-color);
  border-radius: 16px;

  @media screen and (max-width: 767px) {
    padding-top: 16px;
  }
}

#gallery-container > img {
  position: absolute;
  left: 64px;
  top: -80px;

  @media screen and (max-width: 767px) {
    position: relative;
    top: 0;
    left: 0;
    width: 90%;
    height: auto;
  }
}

#gallery-container > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

#gallery-container > div > img {
  object-fit: cover;
  background-size: 100% 100%;
  background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
  background-image: radial-gradient(49% 81% at 45% 47%, #FFFFFF45 0%, #073AFF00 100%),radial-gradient(113% 91% at 17% -2%, #FD83FFFF 1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #FFD38DFF 1%, #FFFFFF94 99%),radial-gradient(142% 91% at -6% 74%, #FF83DEFF 1%, #FF000000 99%),radial-gradient(142% 91% at 111% 84%, #FFFFFFFF 0%, #F700FFFF 100%);
  border-radius: 16px;
  box-shadow: 0 0 4px var(--primary-color);
  padding: 4px;
  width: 25%;

  
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

#gallery-container > div > img:hover {
  filter: brightness(110%);
  cursor: pointer;
  box-shadow: 0 0 6px var(--primary-color);
}

/* Modal styles */

.image-viewer {
  top: 0;
  border: none;
  height: 100%;
  width: -webkit-fill-available;
  background: var(--transparent-purple-color);
  position: fixed;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  display: flex;
  justify-content: center;

  @media screen and (max-width: 767px) {
    max-height: 90%;
    background-color: var(--transparent-white-color);
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    gap: 8px;
  }
}

.image-viewer-image {
  object-fit: cover;
  background-size: 100% 100%;
  background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
  background-image: radial-gradient(49% 81% at 45% 47%, #FFFFFF45 0%, #073AFF00 100%),radial-gradient(113% 91% at 17% -2%, #FD83FFFF 1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #FFD38DFF 1%, #FFFFFF94 99%),radial-gradient(142% 91% at -6% 74%, #FF83DEFF 1%, #FF000000 99%),radial-gradient(142% 91% at 111% 84%, #FFFFFFFF 0%, #F700FFFF 100%);
  border-radius: 16px;
  box-shadow: 0 0 4px var(--primary-color);
  padding: 4px;

  
  @media screen and (max-width: 767px) {
    object-fit: contain;
    width: 90%;
    height: auto;
  }
}

.image-description {
  position: absolute;
  width: 70%;
  background: var(--transparent-purple-color);
  border-radius: 8px;
  bottom: 4px;
  min-height: 80px;

  
  @media screen and (max-width: 767px) {
    width: 90%;
    position: relative;
  }
}

.image-description > p {
  color: #fff;
  margin: 8px;
}

.image-description > p:first-of-type {
  font-weight: bold;
}

.close-button {
  border: none;
  background: transparent;
  border-radius: 16px;
  padding: 4px 8px;
  position: absolute;
  top: -10%;
  right: 10%;
  z-index: 3;
  cursor: pointer;
  font-size: 36px;
  color: #fff;
}

.right-arrow {
  border: none;
  background: transparent;
  border-radius: 16px;
  padding: 4px 8px;
  position: absolute;
  top: 40%;
  right: 10%;
  z-index: 3;
  cursor: pointer;
  font-size: 42px;
  color: #fff;
}

.left-arrow:hover {
  transform: translate(5px, 0px);
  transition: linear;
  transition-duration: 0.1s;
}

.left-arrow {
  border: none;
  background: transparent;
  border-radius: 16px;
  padding: 4px 8px;
  position: absolute;
  top: 40%;
  left: 10%;
  z-index: 3;
  cursor: pointer;
  rotate: 180deg;
  font-size: 42px;
  color: #fff;
}

.right-arrow:hover {
  transform: translate(5px, 0px);
  transition: linear;
  transition-duration: 0.1s;
}

/* Decoration styles */

@keyframes bobble-back {
  0%, 100% {
    top: 150px;
  }
  50% {
    top: 155px;
  }
}

@keyframes bobble-middle {
  0%, 100% {
    top: 190px;
  }
  50% {
    top: 195px;
  }
}

@keyframes bobble-front {
  0%, 100% {
    bottom: 60px;
  }
  50% {
    bottom: 65px;
  }
}

#bee-back {
  animation: bobble-back 2s linear infinite;
  position: fixed;
  z-index: 1;
  right: 150px;
  transform: scaleX(-1);
  filter: brightness(50%);
}

#bee-middle {
  animation: bobble-middle 2s linear infinite;
  position: fixed;
  z-index: 1;
  right: 20px;
}

#bee-front {
  animation: bobble-front 2s linear infinite;
  position: fixed;
  z-index: 1;
  left: 20px;
  transform: scaleX(-1);
}

#lavender-front {
  position: fixed;
  bottom: -30px;
  right: 0;
  z-index: -1;
}

#lavender-back {
  position: fixed;
  bottom: -100px;
  right: 80px;
  z-index: -1;
}

#cloud-front {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  mix-blend-mode: multiply;
}

#cloud-back {
  position: fixed;
  top: 30vh;
  right: 20vw;
  z-index: -1;
  mix-blend-mode: multiply;
  transform: scaleX(-1);
}


@media screen and (max-width: 767px) {
  #bee-front, #bee-middle, #bee-back {
    display: none;
  }
}