@font-face {
  font-family: "Berlin Sans FB";
  font-style: normal;
  font-weight: normal;
  src: local("Berlin Sans FB"), url("../fonts/BRLNSR.woff") format("woff");
}

@font-face {
  font-family: "Berlin Sans FB Bold";
  font-style: normal;
  font-weight: normal;
  src: local("Berlin Sans FB Bold"), url("../fonts/BRLNSB.woff") format("woff");
}

/* Base Styles */
body {
  background: linear-gradient(to bottom, #000000 0%, #9d1019 10%);
  font-family: "Berlin Sans FB";
}

/* Navbar */
.navbar .navbar-nav .nav-link {
  color: #fdfdfd;
  font-size: 1.1em;
  padding: 0.5em 1em;
  transition: color 0.3s ease;
}
.navbar .navbar-nav .nav-link:hover {
  color: hsl(0, 96%, 21%);
}
.fixed-top {
  transition: background-color 200ms linear;
}
.fixed-top.scrolled {
  background-color: #000000da !important;
}

/* Section 1 : Accueil */
.backgroundcity {
  height: 101vh;
  background: url("../img/background/city.png") repeat center top;
  background-size: cover;
  animation: slide 35s linear infinite reverse;
  mask-image: radial-gradient(circle 61vh at 50% 100%, #fb00009e, #000000);
}

@keyframes slide {
  from {
    background-position: 0px 0px;
  }
  to {
    background-position: 1920px 0px;
  }
}

.buttonhover:hover {
  background-color: #9d1019;
  border: 0px;
  color: #fff;
}

.arrow {
  position: absolute;
  top: 81vh;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.arrow span {
  display: block;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  margin: -10px;
  animation: animate 2s infinite;
}
.arrow span:nth-child(2) {
  animation-delay: -0.2s;
}
.arrow span:nth-child(3) {
  animation-delay: -0.4s;
}
@keyframes animate {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-20px, -20px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(20px, 20px);
  }
}

/*h1 hide SEO*/
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Section Serveur */
#serveur {
  background: url(../img/background/silhouettes.png) no-repeat center,
    radial-gradient(circle 63vh at 50% 1%, #3a0609, #000000);
  background-size: contain;
  padding: 5rem 0;
}
#serveur h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}
#serveur p {
  font-size: 1.1rem;
  color: #ccc;
}

.mb-serv{
  margin-bottom: 8%;
}

.hexagon {
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  overflow: hidden;
  width: 18rem;
  height: 17rem;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.hexagon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-container {
  perspective: 1000px;
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 300px;
  margin: auto;
}

.carousel-inner-custom {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

.carousel-item-custom {
  position: absolute;
  opacity: 0.1;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.carousel-item-custom.active {
  transform: scale(1) translateZ(60px);
  opacity: 1;
  z-index: 2;
}

.carousel-item-custom.left {
  transform: translateX(-160px) rotateY(20deg);
  z-index: 1;
}

.carousel-item-custom.right {
  transform: translateX(160px) rotateY(-20deg);
  z-index: 1;
}

.carousel-wrapper:hover .carousel-item-custom {
  opacity: 0.5;
}

.carousel-wrapper:hover .carousel-item-custom.active {
  opacity: 1;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: rgb(193 37 37 / 64%);
  cursor: pointer;
  z-index: 10;
}

.carousel-nav.left {
  left: -30px;
}
.carousel-nav.right {
  right: -30px;
}

/*animation au scroll*/
.animated-shape {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-in-out;
}
.animated-shape.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Rejoindre */
#rejoindre {
  position: relative;
  background: url("../img/background/city_sunset.png") center/cover no-repeat;
}
#rejoindre .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 43%;
  width: 100%;
  background: linear-gradient(to bottom, rgb(0 0 0), #000000c4 29%, #00000000);
  z-index: 1;
  pointer-events: none;
}
#rejoindre .container {
  z-index: 2;
  position: relative;
}
#rejoindre a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}
#rejoindre a:hover {
  color: #fb00009e;
  text-decoration: none;
}
.bgcadre {
  background-color: #000000bb;
}

/* Footer */
footer {
  background-color: #000;
}
footer a {
  color: #aaa;
  text-decoration: none;
  margin: 0 5px;
}
