*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Nutgame';
  src: url('font/nutgame/NutgameDEMO-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Nutgame';
  src: url('font/nutgame/NutgameDEMO-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Nutgame';
  src: url('font/nutgame/NutgameDEMO-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'NoirPro';
  src: url('font/NoirPro/NoirPro-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NoirPro';
  src: url('font/NoirPro/NoirPro-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'NoirPro';
  src: url('font/NoirPro/NoirPro-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'NoirPro';
  src: url('font/NoirPro/NoirPro-BoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'NoirPro', sans-serif;
  font-style: normal;
  background-color: #f8f9fa;
  color: #0f0f0f;
}

/* CSS for desktop */

.menu {
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

.menu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin-inline: auto;
  padding: 15px;
}

.logo {
  display: block;
  width: 100px;
}

.logo img {
  width: 100%;
}

.menu-list {
  display: flex;
  list-style: none;
  align-items: center;
}

.menu-list a {
  text-decoration: none;
  color: #0f0f0f;
  padding: 30px;
  font-size: 1.3rem;
  font-family: 'Nutgame', sans-serif;
}

.menu-list a:hover {
  color: #A6A6A6;
  transition: ease 500ms;
}

.mobile-menu {
  width: 100%;
  top: 0;
  height: 80px;
  background-color: #fff;
  z-index: 10000;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.material-symbols-outlined {
  cursor: pointer;
  position: absolute;
  right: 20px;
}

@media (width <= 768px) {
  .menu-container {
      width: 100%;
      flex-direction: column;
      justify-content: center;
  }

  .mobile-menu {
      display: flex;
  }

  .menu-list {
      flex-direction: column;
      padding: 0;
  }

  .menu-list a {
      box-sizing: border-box;
      display: block;
      font-size: 1.2rem;
  }

  .logo {
      margin-bottom: 20px;
      width: 120px;
  } 

  .menu {
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
      top: 80px;
      position: absolute;
      background-color: #f8f9fa;
  }

  .logo-mobile {
      display: block;
      width: 100px;
  }
}

.banners-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin: 20px;
  border: #0f0f0f 1px solid;
  border-radius: 25px;
}

.title {
    font-size: 1.5rem;
    font-family: 'Nutgame', sans-serif;
    color: #0f0f0f;
    text-align: center;
    margin: 30px;
}

.description {
    text-align: center;
    font-family: 'NoirPro', sans-serif;
}

.poster img {
    width: 500px;
}

.posters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 20px;
    border: #0f0f0f 1px solid;
    border-radius: 25px;
}

.maps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 20px;
    border: #0f0f0f 1px solid;
    border-radius: 25px;
}

.map img {
    width: 500px;
}

.model-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 20px;
    border: #0f0f0f 1px solid;
    border-radius: 25px;
}

.model img {
    width: 400px;
}

.footer {
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #0f0f0f;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer p {
    margin: 0;
    font-size: 1rem;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    font-family: 'Nutgame', sans-serif;
    font-size: 1.5rem;
  }
  
  .footer-links li {
    margin: 0 15px;
  }
  
  .footer-links a {
    color: #0f0f0f;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #A6A6A6;
  }

  @media (width <= 768px) {

    .banners-container,
    .posters-container,
    .maps-container,
    .model-container {
        padding: 10px;
        margin: 5px;
        border-radius: 15px;
    }

    .poster img,
    .map img,
    .model img {
        max-width: 250px;
    }

    /* Conteneurs */
    .banners-container,
    .posters-container,
    .maps-container,
    .model-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .poster img,
    .map img,
    .model img {
        width: 100%;
        max-width: 300px;
    }

    /* Titres */
    .title {
        font-size: 1.2rem;
    }
}

@media (width <= 1250px){
    .banner img,
    .poster img,
    .map img,
    .model img {
        max-width: 300px;
    }
}

@media (width <= 800px) {
    .banners-container {
        flex-direction: column;
    }
}

@media (width <= 768px) {
    .footer-links {
      font-size: 1.2rem;
      margin: 0;
      margin-bottom: 20px;
      margin-top: 10px;
    }
  
    .footer {
      padding: 5px;
      margin-top: 30px;
    }
  }