@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2 {
    font-family: 'Garamond', serif;
}


.motif {
  position: absolute;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.0);
  border-radius: 10px;
  color: #ffffff;
  white-space: nowrap;
  opacity: 0; /* Start fully transparent */
  transition: transform 10s ease-in-out, opacity 10s ease-in-out;
  will-change: transform, opacity;
  font-family: 'Garamond', serif;
}

/* #motifs {
    margin-bottom: 5vh;
} */

@keyframes fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fade 1.5s ease-out;
}

#carousel {
  display: flex;
  overflow-x: hidden;
  align-items: center;
  cursor: pointer; 
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 20px; /* Adds padding on the left and right */
  box-sizing: border-box; /* Ensures padding is included in the element's total width */
}


#carousel img {
  max-height: 95vh;
  max-width: 90vw; 
  object-fit: contain; 
  scroll-snap-align: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.4;
  transform: scale(0.7); 
}

#carousel .active-slide {
  transform: scale(1); 
  opacity: 1; 
}

.cover-placeholder {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 70vh;
  object-fit: contain; 
  margin-top: 2vh;
  margin-bottom: 5vh;
  box-shadow: 0 0 5vh 2vh rgba(0, 0, 0, 0.8);

}


@keyframes pulse {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.5;
  }
}

p {
  font-family: "Space Mono", monospace;
  font-size: 1.25rem;
  animation: fade-in 1.5s ease-out;
  text-shadow:
    0 0 5px #fff,
    0 0 8px #fff,
    0 0 21px #fff;
}

@keyframes fade-in {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}


/* Arrow Styles */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px;
  z-index: 1000;
  user-select: none;
  pointer-events: none;
}

.left-arrow {
  left: 5px;
}

.right-arrow {
  right: 5px;
}

.social-links {
  display: flex;
  justify-content: center;
  padding: 20px;
  /* background-color: #f8f8f8; */
}
.social-links a {
  margin: 0 10px;
  text-decoration: none;
}
.social-links img {
  width: 30px;
  height: 30px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.social-links img:hover {
  filter: grayscale(100%) brightness(70%);
}