﻿@media (hover: hover) {
  .presentation-element:hover img {
    transform: scale(1.2);
  }
}

@media (min-width: 560px) {
  .header-menu {
    right: 0;
    width: 220px;
    max-width: calc(100vw - (2 * var(--page-padding)));
  }

  .presentation-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .presentation-element {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 700px) {
  .carousel-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 22px;
  }

  .carousel-project-info {
    max-width: 100%;
  }

  .carousel-arrows {
    display: none;
  }

  .carousel-hero-heading {
    font-size: 1.35rem;
  }

  .titre {
    font-size: 2.3rem;
  }
}

@media (min-width: 900px) {
  :root {
    --header-height: 96px;
  }

  .logo-simple {
    max-height: 64px;
  }

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    padding-top: 56px;
  }
}

@media (min-width: 1200px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 76px;
    padding-bottom: 18px;
  }
}

@media (max-width: 380px) {
  .menu-toggle {
    height: 42px;
    width: 42px;
  }

  .menu-line {
    width: 16px;
  }

  .carousel-bottom-bar {
    bottom: 20px;
    gap: 20px;
  }

  .carousel-project-info {
    max-width: 100%;
  }

  .home-intro {
    padding-top: 34px;
  }
}
