*,
*::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: #6A6A6A;
    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 (max-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;
    }
  }
  

h1 {
    text-align: center;
    margin: 50px;
    color: #0f0f0f;
    font-size: 3rem;
    font-family: 'Nutgame', sans-serif;
}

.logoJPO {
  width: 350px;
}

.img1-project {
  width: 100%;
  border-radius: 25px;
}

.img2-project { 
  width: 100%;
  border-radius: 25px;
}

.itw {
  width: 100%;
  border-radius: 25px;
}

iframe {
  width: 100%;
  border-radius: 25px;
}

.container {
  display: flex;
  width: 80%;
  margin: 0 auto;
  border: #0f0f0f solid 1px;
  border-radius: 25px;
  padding: 20px;
  margin-top: 50px;
}

.left, .right {
  padding-right: 20px;
  box-sizing: border-box;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
}

.right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 20px;

}

.project-title {
  margin-top: 0;
  font-family: 'Nutgame', sans-serif;
  font-size: 2rem;
}

.title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.title-container h1 {
  animation: opacity 2s ease-in;
}

@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.project-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

}

.project-description {
  margin: 0;
}

.link-project {
  color: #0f0f0f;
}

.container .left {
  flex: 0 0 50%;
}

.container .right {
  flex: 0 0 50%;
}

.container.alt .left {
  flex: 0 0 50%;
}

.container.alt .right {
  flex: 0 0 50%;
}

.mobile {
  display: none;
}

.footer {
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #0f0f0f;
  margin-top: 30px;
}

.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: #6A6A6A;
}

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

  .mobile {
    display: flex;
  }

  .left {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
  } 

  .logo24 {
    width: 200px;
    display: flex;
    justify-content: center;
    border-radius: 0px;
    margin-top: 20px;
  }

  .logoJPO {
    width: 200px;
    display: flex;
    justify-content: center;
  }

  .img1-project {
    width: 400px;
    margin-block: 20px;
  }

  .img2-project {
    width: 400px;
    margin-bottom: 20px;
  }

  .project-medias {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .itw {
    margin-block: 20px;
  }

  .desktop {
    display: none;
  }
}

@media (width <= 510px) {
  .img1-project {
    width: 250px;
  }

  .img2-project {
    width: 250px;
  }

  .itw {
    width: 250px;
  }
}

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

  .footer {
    padding: 5px;
    margin-top: 30px;
  }
}