@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");

@font-face {
  font-family: "TAN Mon Cheri";
  src: url("/assets/fonts/tan-mon-cheri.woff2") format("woff2"),
    url("/assets/fonts/tan-mon-cheri.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  /* font-family: "TAN Mon Cheri", serif; */
  scroll-behavior: smooth;
  background-color: #f8f5f2;
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 1.2rem;
}

.menu-top {
  background-color: #f8f5f2;
}

.hero {
  height: 100vh;
  background: #f8f5f2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  font-family: "TAN Mon Cheri", serif;
}

.hero p {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.navbar-brand {
  font-size: 1.3rem;
  font-family: "TAN Mon Cheri", serif;
}

.navbar.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
}

section {
  padding: 2rem 1rem;
}

/* #map {
  width: 100%;
  height: 400px;
  border-radius: 10px;
} */

.map-section {
  height: 100vh; /* hauteur = 100% de la fenêtre */
  width: 100%;
  padding: 0;
  margin: 0 !important;
  overflow: hidden;
  position: relative;
  margin: 1rem;
}

.map-section iframe {
  width: 100%;
  height: 80%;
  border: 0;
  display: block;
}

.galley-img{
    max-width: 200px;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #888;
  animation: bounce 2s infinite;
  cursor: pointer;
  opacity: 0.7;
}

.mouse {
  animation: fadeIn 1s ease-in-out;
}

.wheel {
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, 8px);
  }
  60% {
    transform: translate(-50%, 4px);
  }
}

.scroll-btn {
  display: block;
  bottom: 20px;
  height: auto;
  left: 0px;
  margin: 0 auto;
  position: absolute;
  right: 0px;
  width: 30px;
}

@-webkit-keyframes scroll {
  0% {
    opacity: 0;
    transform: scaleY(1) translateY(0px);
  }

  5%,
  20% {
    opacity: 1;
    transform: scaleY(1) translateY(0px);
  }

  35% {
    opacity: 0.5;
    transform: scaleY(1.3) translateY(4px);
  }

  60% {
    opacity: 0;
    transform: scaleY(1.3) translateY(10px);
  }

  80% {
    opacity: 0;
    transform: scaleY(1) translateY(10px);
  }

  100% {
    transform: scaleY(1) translateY(15px);
    opacity: 0;
  }
}

@-moz-keyframes scroll {
  0% {
    opacity: 0;
    transform: scaleY(1) translateY(0px);
  }

  5%,
  20% {
    opacity: 1;
    transform: scaleY(1) translateY(0px);
  }

  35% {
    opacity: 0.5;
    transform: scaleY(1.3) translateY(4px);
  }

  60% {
    opacity: 0;
    transform: scaleY(1.3) translateY(10px);
  }

  80% {
    opacity: 0;
    transform: scaleY(1) translateY(10px);
  }

  100% {
    transform: scaleY(1) translateY(15px);
    opacity: 0;
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: scaleY(1) translateY(0px);
  }

  5%,
  20% {
    opacity: 1;
    transform: scaleY(1) translateY(0px);
  }

  35% {
    opacity: 0.5;
    transform: scaleY(1.3) translateY(4px);
  }

  60% {
    opacity: 0;
    transform: scaleY(1.3) translateY(10px);
  }

  80% {
    opacity: 0;
    transform: scaleY(1) translateY(10px);
  }

  100% {
    transform: scaleY(1) translateY(15px);
    opacity: 0;
  }
}

#scroll {
  -webkit-animation: scroll 1.75s linear infinite;
  -moz-animation: scroll 1.75s linear infinite;
  animation: scroll 1.75s linear infinite;
  fill: #000;
}

#mouse-shape {
  fill: #000;
}
