@font-face {
  font-family: 'SourGummyFont';
  src: url('/assets/common/fonts/sourgummy.eot');
  src: url('/assets/common/fonts/sourgummy.woff2') format('woff2'),
       url('/assets/common/fonts/sourgummy.woff') format('woff'),
       url('/assets/common/fonts/sourgummy.ttf') format('truetype');
}

body {
  margin: 0;
  padding: 10vh 10vw;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'SourGummyFont', Fallback, sans-serif;
  font-weight: 400;
  font-style: normal;
  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%);
  
  @media screen and (max-width: 767px) {
    padding: 10px 10px;
  }
}

button {
  font-family: 'SourGummyFont', Fallback, sans-serif;
  font-weight: 400;
  font-style: normal;
}

p, li, button {
  font-size: 0.9rem;
  line-height: 120%;
  color: #AF4231;
}

a {
  font-size: 0.9rem;
  line-height: 120%;
  color: #FBA250;
  text-decoration: none;
}

nav.mobile {
  position: absolute;
  right: 0;

  @media screen and (min-width: 768px) {
    display: none;
  }
}

nav.mobile > button {
  background-color: #FFFFFF80;
  cursor: pointer;
  width: 80px;
  height: 32px;
  border: 1px solid #AF4231;
  border-radius: 8px 8px 0 0;
}

nav.mobile > button:hover {
  background-color: #FFFFFFAA;
}

nav.mobile > button.collapsed {
  border-radius: 8px;
}

nav.mobile > div {
  position: relative;
  width: 100%;
}

nav.mobile #nav-menu-container {
  position: absolute;
  width: 100%;
  background-color: #fff2f2;
  border: 1px solid #AF4231;
  border-radius: 0 0 8px 8px;
}

nav.mobile #nav-menu-container.collapsed {
  display: none;
}

nav.mobile #nav-menu-container > div {
  display: flex;
  gap: 8px;
  flex-direction: column;
  padding: 8px;
}

nav.desktop {
  position: relative;
  align-self: flex-end;

  
  @media screen and (max-width: 767px) {
    display: none;
  }
}

nav.desktop > div {
  display: flex;
  gap: 8px;
  text-align: center;
  border: 1px solid #AF4231;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px 4px 16px;
  background-color: #FFFFFF80;
}

nav.desktop > div > a > p {
  text-decoration: none 2px #FBA250;
  margin: 0;
}

nav.desktop > div > a > img {
  border: 1px solid #FBA250;
  border-radius: 23px;
}

nav.desktop > div > a:hover > p {
  text-decoration: underline 2px #FBA250;
  transition: 200ms ease-in all;
}

nav.desktop > div > a:hover > img {
  box-shadow: 0 0 4px #FBA250;
  transition: 200ms ease-in all;
}

/* Gallery styles */

#gallery-container {
  position: relative;
  padding: 64px;
  background-color: #FFFFFF80;
  border: 1px solid #AF4231;
  border-radius: 16px 0 16px 16px;

  @media screen and (max-width: 767px) {
    border-top-right-radius: 16px;
    padding: 16px;
  }
}

.page-title-container {
  position: relative;
  display: flex;
  width: 100%;
}

.page-title-container > img {
  @media screen and (min-width: 933px) {
    position: absolute;
    top: -140px;
  }

  @media screen and (min-width: 768px) and (max-width: 932px) {
    position: absolute;
    top: -120px;
    width: 55%;
  }

  @media screen and (max-width: 767px) {
    width: 70%;
  }
}

#gallery-container > #gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.section {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.section > h2 {
  font-family: "Audiowide", sans-serif;
  position: absolute;
  left: 16px;
  top: -44px;
  font-size: 28px;
  color: #FFD38D;
  text-shadow: 4px 0 #fff, -4px 0 #fff, 0 4px #fff, 0 -4px #fff,
    4px 4px #fff, -4px -4px #fff, 4px -4px #fff, -4px 4px #fff;

  @media screen and (max-width: 767px) {
    top: -28px;
    font-size: 18px;
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
      2px 2px #fff, -2px -2px #fff, 2px -2px #fff, -2px 2px #fff;
  }
}

.section > div {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 16px;
  padding: 24px 16px 16px 16px;
  background-color: #FFFFFF80;
  border: 1px solid #AF4231;
  border-radius: 16px;

  @media screen and (max-width: 767px) {
    justify-content: center;
  }
}

.section > 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: 8px;
  box-shadow: 0 0 4px #b366ff;
  padding: 4px;

  @media screen and (max-width: 767px) {
    max-width: 90%;
  }

  

  @media screen and (min-width: 768px) and (max-width: 932px) {
    max-width: 40%;
  }

  @media screen and (min-width: 933px) {
    max-width: 25%;
  }
}

.section > div > img:hover {
  filter: brightness(110%);
  cursor: pointer;
  box-shadow: 0 0 6px #b366ff;
}

/* Modal styles */

.image-viewer {
  top: 0;
  border: none;
  height: 100%;
  width: -webkit-fill-available;
  background: #96628980;
  position: fixed;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  @media screen and (max-width: 767px) {
    max-width: 100%;
  }

  @media screen and (min-width: 768px) {
    min-width: 500px;
    max-width: 80%;
  }
}

.image-container > div {
  display: flex;
  gap: 32px;
  position: relative;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

#image-title {
  color: #FFD38D;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    2px 2px #fff, -2px -2px #fff, 2px -2px #fff, -2px 2px #fff;
  font-weight: bold;
  font-size: 16px;
  margin: 8px;
}

#image-viewed {
  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: 8px;
  box-shadow: 0 0 4px #b366ff;
  padding: 4px;

  @media screen and (max-width: 767px) {
    max-width: 100%;
  }

  @media screen and (min-width: 768px) {
    min-width: 500px;
    max-width: 80%;
  }
}

.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: #fafafa;
}

.right-arrow {
  position: absolute;
  right: -96px;
  border: none;
  background: transparent;
  border-radius: 16px;
  padding: 4px 8px;
  z-index: 3;
  cursor: pointer;
  font-size: 42px;
  color: #fafafa;

  
  @media screen and (max-width: 767px) {
    display: none;
  }
}

.right-arrow:hover {
  transform: translate(5px, 0px);
  transition: linear;
  transition-duration: 0.1s;
}

.left-arrow {
  position: absolute;
  left: -96px;
  border: none;
  background: transparent;
  border-radius: 16px;
  padding: 4px 8px 12px 8px;
  z-index: 3;
  cursor: pointer;
  rotate: 180deg;
  font-size: 42px;
  color: #fafafa;

  @media screen and (max-width: 767px) {
    display: none;
  }
}

.left-arrow:hover {
  transform: translate(5px, 0px);
  transition: linear;
  transition-duration: 0.1s;
}

/* Decoration styles */

@keyframes bobble-back {
  0%, 100% {
    bottom: 150px;
  }
  50% {
    bottom: 155px;
  }
}

@keyframes bobble-middle {
  0%, 100% {
    bottom: 190px;
  }
  50% {
    bottom: 195px;
  }
}

@keyframes bobble-front {
  0%, 100% {
    top: 110px;
  }
  50% {
    top: 105px;
  }
}

#butterfly-back {
  animation: bobble-back 2s linear infinite;
  position: fixed;
  z-index: 1;
  left: 60px;
  transform: scaleX(-1);

  @media screen and (max-width: 767px) {
    display: none;
  }
}

#butterfly-middle {
  animation: bobble-middle 2s linear infinite;
  position: fixed;
  z-index: 1;
  left: 20px;

  @media screen and (max-width: 767px) {
    display: none;
  }
}

#butterfly-front {
  animation: bobble-front 2s linear infinite;
  position: fixed;
  z-index: 1;
  right: 20px;

  @media screen and (max-width: 767px) {
    display: none;
  }
}

#flowers-bottom {
  position: fixed;
  width: 100vw;
  bottom: -60px;
  z-index: -1;

  @media screen and (max-width: 767px) {
    display: none;
  }
}
