* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    font-size: 16px;
  }
  
  body {
    font-family: 'Poppins';
    font-weight: 400;
  }

  body a {
    color: inherit;
  }
  
  .header {
    height: 100px;
    width: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    color: white;
    transition: background 0.3s ease;
    align-items: center;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 10;
  }

  .header-container {
    height: 100%;
    width: 100%;
    max-width: 1600px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header p {
    font-family: 'Poppins';
    text-transform: uppercase;
    font-weight: 600;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .video {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .video:hover {
    background-color: white;
    color: black;
  }

  .contact {
    width: 400px;
    display: flex;
    flex-direction: column;
    transform: translateY(calc(50% - 27px));
    gap: 10px;
    align-items: center;
    border-radius: 25px;
    cursor: default;
    transition: all 0.3s ease;
  }

  .contact p {
    padding-top: 15px;
    padding-left: 20px;
    padding-bottom: 15px;
    padding-right: 20px;
    border-radius: 30px;
    cursor: pointer;
  }

  .contact:hover p {
    background-color: white;
    color: black;
  }

  .contact.active p {
    background-color: white;
    color: black;
  }

  .contact-item {
    opacity: 0;
    display: none;
    text-decoration: none;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 25px;
    background-color: white;
    color: black;
    cursor: pointer;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
  }

  .contact.active .contact-item {
    opacity: 1;
    display: flex;
    pointer-events: auto;
  }

  .copy-confirmation {
    display: none;
    opacity: 0;
    position: absolute;
    bottom: -48px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 30px;
    background-color: white;
    color: black;
    transition: all 0.2s ease;
    cursor: default;
  }

  .header-white .copy-confirmation {
    background-color: black;
    color: white;
  }

  .copy-confirmation.visible {
    display: block;
    opacity: 1;
  }

  .contact .contact-item:hover {
    background-color: white;
    color: black;
  }

  .logo-carré {
    height: 100%;
    padding: 10px
  }

  .nom-archal {
    height: 100%;
    padding: 20px
  }

  .header-black {
    background: black;
  }

  .header-white {
    background: white;
  }

  .header-white .video,
  .header-white .contact {
    color: black;
  }

  .header-white .video:hover {
    background-color: black;
    color: white;
  }

  .header-white .contact:hover p {
    background-color: black;
    color: white;
  }

  .header-white .contact.active .contact-item {
    background-color: black;
    color: white;
  }

  .header-white .contact.active p {
    background-color: black;
    color: white;
  }

  .header-white .logo-carré,
  .header-white .nom-archal {
    filter: invert(100%);
  }

  .video-container {
    position: relative;
    width: 100%;
    height: 56.25vw;
    max-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s ease;
  }

  .projets-title {
    opacity: 1;
    position: relative;
    font-size: 4rem;
    z-index: 3;
    color: white;
    transition: all 1s ease;
  }

  .image-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 1s ease;
    z-index: 2;
  }

  #video-presentation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%;
    object-fit: contain;
    background-color: black;
    z-index: 1;
    transition: all 0.3s ease;
  }

  .controls-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 1;
    z-index: 2;
    transition: all 0.3s ease;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0) 10%
    );;
  }

  .controls-container.hidden {
    opacity: 0;
    pointer-events: none;
  }

  .youtube {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    height: 50px;
    padding: 10px;
    margin: 20px;
    display: none;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    z-index: 2;
    color: white;
    transition: all 0.3s ease;
    opacity: 0;
  }

  .youtube img {
    height: 100%;
  }

  .play-zone {
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .play-zone-mobile {
    display: none;
  }

  .controls-zone {
    position: absolute;
    width: 100%;
    padding: 10px;
    padding-top: 0;
    bottom: 0;
  }

  .video-timeline {
    width: 100%;
    cursor: pointer;
    background: transparent;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .video-timeline::-webkit-slider-runnable-track {
    height: 4px;
    background: white;
    border-radius: 2px;
  }

  .video-timeline::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    margin-top: -5.5px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .controls {
    display: flex;
    justify-content: space-between;
    height: 50px;
    width: 100%;
  }

  .play-mute {
    display: flex;
  }

  .play-container,
  .mute-container,
  .fullscreen-container {
    display: flex;
    height: 50px;
    aspect-ratio: 1 / 1;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
  }

  .play {
    width: 0;
    height: 0;
    transform: translateX(3px);
    border-left: 16px solid white;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.85
  }
  
  .pause {
    display: none;
    background-color: white;
    width: 4px;
    height: 20px;
    transform: translateX(-5px);
    transition: all 0.2s ease;
    opacity: 0.85;
  }

  .pause::before {
    position: absolute;
    content: "";
    background-color: white;
    width: 4px;
    height: 20px;
    left: 0;
    transform: translateX(10px);

  }

  .mute,
  .unmute {
    width: 22px;
    height: 20px;
    filter: invert(100%);
    opacity: 0.85;
    transition: all 0.2s ease;
  }

  .mute {
    display: none
  }

  .fullscreen {
    height: 25px;
    filter: invert(100%);
    opacity: 0.85;
    transition: all 0.2s ease;
  }

  .play-container:hover .play,
  .play-container:hover .pause,
  .play-container:hover .pause::before,
  .mute-container:hover .mute,
  .mute-container:hover .unmute,
  .fullscreen-container:hover .fullscreen {
    opacity: 1;
  }

  .video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }
  
  .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
  }
  
  .logo-archal {
    width: 300px;
  }

  .fleche-container {
    position: absolute;
    height: 50px;
    width: 50px;
    border: 3px solid white;
    border-radius: 25px;;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    bottom: 100px;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .fleche-container:hover {
    height: 74px;
    background-color: rgba(255, 255, 255, 0.3);
  }

  .fleche {
    background-color: white;
    height: 25px;
    width: 3px;
    border-radius: 2px;
    position: relative;
    transition: all 0.1s ease-in-out;
  }

  .fleche::before,
  .fleche::after {
    position: absolute;
    content: "";
    background-color: white;
    height: 10px;
    width: 3px;
    bottom: 0;
    border-radius: 2px;
  }

  .fleche::before {
    transform: rotate(45deg);
    transform-origin: right bottom;
  }

  .fleche::after {
    transform: rotate(-45deg);
    transform-origin: left bottom;
  }

  .fleche-container:hover .fleche {
    height: 50px;
  }

  .presentation-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .presentation-element {
    position: relative;
    aspect-ratio: 1 / 1;
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    text-align: center;
    cursor: pointer;
  }

  .presentation-element h1 {
    position: absolute;
    bottom: 180px;
    z-index: 2;
    transition: all 0.3s ease;
  }

  .presentation-element:hover h1,
  .presentation-element.active h1 {
    bottom: 230px;
  }

  .presentation-element.active h1 {
    font-size: 1.8rem;
  }

  .plus-container {
    position: absolute;
    height: 40px;
    width: 40px;
    bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid white;
    z-index: 2;
    opacity: 1;
    transition: all 0.3s ease;
  }

  .plus {
    position: relative;
    width: 3px;
    height: 18px;
    border-radius: 2px;
    background-color: white;
  }

  .plus::before {
    position: absolute;
    content: "";
    background-color: white;
    height: 18px;
    width: 3px;
    left: 0;
    border-radius: 2px;
    transform: rotate(90deg);
  }

  .presentation-element:hover .plus-container,
  .presentation-element.active .plus-container {
    opacity: 0;
  }

  .presentation-element p {
    opacity: 0;
    width: 90%;
    max-width: 400px;
    position: relative;
    bottom: 30px;
    z-index: 2;
    transition: all 0.3s ease;
  }

  .presentation-element:hover p,
  .presentation-element.active p {
    opacity: 1;
  }

  .presentation-element.active p {
    transform: scale(0.9);
  }

  .presentation-element img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .presentation-element::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    transition: all 0.3s ease;
  }

  .presentation-element:hover::before,
  .presentation-element.active::before {
    top: 0
  }

  .footer {
    background-color: black;
    color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    font-size: 0.8rem;
    justify-content: center;
    display: flex;
  }

  .footer-content {
    max-width: 1600px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 25px;
    padding-top: 80px;
  }

  .footer-section h2 {
    margin-bottom: 1rem;
  }

  @media (min-width: 1600px) {
    .contact {
      flex-direction: row;
      width: auto;
      padding-right : 8px;
      transform: translateY(0);
    }
    .contact:hover .contact-item {
      opacity: 1;
    }
    .header-white .contact:hover .contact-item {
      background-color: black;
      color: white;
    }
    .contact-item {
      display: flex;
    }
    .fleche-container {
      height: 60px;
      width: 60px;
      border-radius: 30px;
      border: 4px solid white;
    }
    .fleche-container:hover {
      height: 90px;
    }
    .fleche {
      height: 30px;
      width: 4px;
    }
    .fleche::before,
    .fleche::after {
      height: 14px;
      width: 4px;
    }
    .fleche-container:hover .fleche {
      height: 60px;
    }
    .presentation-element {
      aspect-ratio: 4 / 3;
    }
    .presentation-element h1 {
      bottom: 220px;
    }
    .presentation-element:hover h1,
    .presentation-element.active h1 {
      bottom: 200px;
    }
    .presentation-element p {
      max-width: 600px;
    }
    .footer-content {
      padding-top: 120px;
      padding-bottom: 50px;
    }
  }

  @media (max-width: 1024px) {
    html {
      font-size: 15px;
    }
    .logo-archal {
      width: 300px;
    }
    .video-container {
      aspect-ratio: 1 / 1;
      height: auto;
    }
    .projets-title {
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .controls-container {
      background: rgba(0, 0, 0, 0.4);
    }
    .youtube {
      margin: 6px;
      height: 50px;
    }
    .play-zone {
      display: none;
    }
    .play-zone-mobile {
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      z-index: 2;
      height: 100%;
      width: 100%;
    }
    .controls-zone {
      position: absolute;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }  
    .video-timeline {
      position: absolute;
      bottom: 0;
    }
    .play-mute {
      height: 100%;
      width: 100%;
      justify-content: center;
      align-items: center;
    }
    .mute-container {
      position: absolute;
      top: 6px;
      right: 6px;
    }
    .mute,
    .unmute {
      width: 18px;
      height: 16px;
    }
    .fullscreen-container {
      position: absolute;
      bottom: 8px;
      right: 6px;
    }
    .fullscreen {
      height: 15px;
    }
    .play-container {
      height: 100px;
      width: 100px;
      border-radius: 50%;
    }
    .play {
      display: none;
    }
    .play,
    .pause,
    .mute,
    .unmute,
    .fullscreen {
      opacity: 1;
    }
    .presentation-container {
      grid-template-columns: repeat(2, 1fr);
    }
    .presentation-element {
      aspect-ratio: 4 / 3;
    }
    .presentation-element h1 {
      bottom: 150px;
    }
    .presentation-element:hover h1,
    .presentation-element.active h1 {
      bottom: 190px;
    }
    .plus-container {
      bottom: 80px;
    }
    .presentation-element p {
      max-width: 500px;
      bottom: 25px;
    }
    .footer-content {
      padding-top: 50px;
      padding-bottom: 20px;
    }
  }

  @media (max-width: 768px) {
    .contact {
      padding: 0;
    }
    .nom-archal {
      display: none;
    }
    .presentation-element {
      aspect-ratio: 3 / 4;
    }
    .presentation-element:hover h1,
    .presentation-element.active h1 {
      opacity: 0;
    }
    .presentation-element:hover,
    .presentation-element.active {
      justify-content: center;
    }
    .presentation-element p {
      bottom: auto;
    }
    .footer-content {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 480px) {
    .contact {
      align-items: end;
    }
    .contact p {
      position: absolute;
      left: 0;
    }
    .contact-item {
      text-align: right;
      transform: translateY(65px) translateX(-92px);
    }
    .copy-confirmation {
      right: 0;
    }
    .logo-archal {
      width: 62.5%;
    }
    .youtube {
      height: 40px;
      font-size: 0.8rem;
    }
    .presentation-container {
      grid-template-columns: 1fr;
    }
    .presentation-element {
      aspect-ratio: 1 / 1;
    }
    .presentation-element h1 {
      bottom: 160px;
    }
    .plus-container {
      bottom: 100px
    }
    .presentation-element:hover h1,
    .presentation-element.active h1 {
      opacity: 1;
      bottom: 230px;
    }
    .presentation-element:hover,
    .presentation-element.active {
      justify-content: end;
    }
    .presentation-element p {
      bottom: 40px;
    }
  }