body {
  margin: 0;
  padding: 0;
  background: black;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(255, 255, 255, 0.5) black;
}

::selection {
  background: #ffffff;
  color: #000000;
}

.site-footer {
  background: linear-gradient(180deg, #0f0f0f, #090909);
  color: #9a9a9a;
  font-size: 0.85rem;
  padding: 24px 10px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

nav {
  position: fixed;
  width: 80%;
  margin-left: 8%;
  margin-top: 1rem;
  border-radius: 50px;
  padding: 0.75rem 1rem;
  border: 1px solid #ffffff50;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

ul {
  display: flex;
  align-items: center;
  height: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  margin-right: 1rem;
  margin-left: 1rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-8px, -8px);
}

.nav-links {
  color: white;
  text-decoration: underline #ffffff35;
  font-size: 20px;
  transition: all 0.5s ease;
  border-radius: 10px;
  padding: 5px;
  margin: 5px;
}

.nav-links:hover {
  text-decoration: underline #ffffff;
}

.theme {
  position: fixed;
  height: 30px;
  width: 30px;
  right: 2rem;
  border: 1px solid #5c5c5c;
  border-radius: 30%;
  background-color: #000000b0;
  z-index: 1001;
}

.btn-theme {
  background: url("../assets/icons/dark-mode.svg") no-repeat center center/cover;
  height: 80%;
  width: 80%;
  margin: 10%;
  cursor: pointer;
}

@media (max-width: 575px) {
  nav {
    width: 80%;
    margin-left: 6%;
    margin-top: 1rem;
    border-radius: 50px;
    border: 1px solid #ffffff50;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: 0;
    top: 60px;
    flex-direction: column;
    width: 90%;
    padding: 1rem;
    border-bottom: 1px solid #ffffff50;
    gap: 0;
    transform: translateX(-120%);
    transition: transform 0.3s ease;
    height: 225px;
    overflow-y: auto;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.8);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-links {
    width: 89%;
    padding: 1rem !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: block;
    text-align: left;
    font-size: 20px;
    border-bottom: 1px solid #ffffff20;

    text-decoration: underline #ffffff35;
    transition: all 0.5s ease;
  }

  .nav-links:hover {
    text-decoration: underline #ffffff;
  }

  .nav-links:last-child {
    border-bottom: none;
  }

  .theme {
    z-index: 1001;
    right: 2rem;
  }
}

.projet-titre {
  margin: 0;
  padding-top: 10rem;
}

.bannière {
  background: linear-gradient(135deg, #d37676, #df3636);
  height: 30vh;
  max-height: 300px;
  min-height: 100px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stop-motion-detail {
  background: #ffffff1c;
  backdrop-filter: blur(50px);
  text-align: center;
  margin: 0 auto;
  margin-left: 300px;
  margin-right: 50px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid #9a9a9a;
  border-radius: 10px;
  margin-top: 100px;
  display: flex;
}

.image {
  width: 100%;
}

.video {
  width: 100%;
}

.detail {
  margin: 10px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
