@font-face {
  font-family: 'Nunito';
  src: url("../fonts/Nunito-VariableFont_wght.ttf");
  font-style: normal;
}

body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #001f1f;
  color: #eff1f1;
}

a {
  color: #eff1f1;
  text-decoration: none;
  font-size: 1.5rem;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 600;
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 1000;
}

a:hover {
  color: #007f5c;
  transition: color 0.2s ease;
}

#gallery {
    border: 2px solid oklch(0.432 0.095 166.913);
    background-color: #003025;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.gallery > * {
  z-index: 1;
}
area:hover {
  cursor: pointer;
}
.gallery-control-panel {
  padding: 2px;
  font-family: sans-serif;
  display: flex;
  justify-content: space-evenly;
  background-color: oklch(0.432 0.095 166.913);
  color: oklch(0.97 0 0);
}
.gallery-control-panel > button {
  display: block;
  flex: 1;
  user-select: none;

}
.gallery-control-panel > button:hover {
  cursor: pointer;
  background-color: oklch(0.378 0.077 168.94);
  outline: 0;
  border: 0;
}
.gallery-map-tooltip {
  background-color: oklch(0.924 0.12 95.746);
  color: oklch(0.205 0 0);
  font-family: var(--font-sans);
  padding: 5px;
  border: 2px solid oklch(0.879 0.169 91.605);
  border-radius: 4px;
  max-width: 200px;
  position: absolute;
  z-index: 3;
  font-size: 0.8rem;
  transition: opacity 0.1s ease-in-out;
  opacity: 0;
  user-select: none;
}
.gallery-map-tooltip.visible {
  opacity: 0.8;
}
#photos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.gallery-photo {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.gallery-control-panel {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.loader > div {
    width: 16px;
    height: 16px;
    margin: 4px;
    background: oklch(0.432 0.095 166.913);
    border-radius: 50%;
    display: inline-block;
    animation: loader-bounce 0.8s infinite alternate;
}
.loader > div:nth-child(2) { animation-delay: 0.2s; }
.loader > div:nth-child(3) { animation-delay: 0.4s; }

@keyframes loader-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

body {
    background-color: rgb(255, 255, 255);
}

.photo-button {
    height: 100%;
    width: 10%;
    position: absolute;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #eafff6;
    font-size: 2rem;
    z-index: 1000;
}

.previous-photo-button {
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to left, rgba(245, 243, 243, 0), rgba(245, 243, 243, 0.2));
}

.next-photo-button {
    right: 0px;
    top: 50%;
    background: linear-gradient(to right, rgba(245, 243, 243, 0), rgba(245, 243, 243, 0.2));
    transform: translateY(-50%);
}