/* Importation des polices */
@font-face {
    font-family: 'Garet'; 
    src: url('fonts/garet/Garet-Book.woff2') format('woff2'),
         url('fonts/garet/Garet-Book.woff') format('woff'),
         url('fonts/garet/Garet-Heavy.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat'; 
    src: url('fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
}

body.about-page {
    background: url('img/sangria.jpg') no-repeat center center/cover;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    height: 100vh;
}

.text-container {
    position: absolute;
    top: 50px;
    left: 50px;
    max-width: 500px;
}

.custom-title {
    font-family: 'Garet', sans-serif;
    font-size: 56pt;
    font-weight: bold; 
    line-height: 1.15;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin: 0;
    margin-top: -25px;
}

.bottom-right-text { 
    position: absolute;
    bottom: 75px;
    right: 50px; 
    width: 400px; 
    text-align: right; 
    font-family: 'Garet', sans-serif; 
    font-size: 25pt; 
    font-weight: 900; 
    line-height: 1.4; 
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
    padding: 10px;
    border-radius: 5px;
    margin: 0;
}

.bottom-right-text span {
    display: block; 
    margin: 0; 
    line-height: inherit; 
}

.navigation-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 337px;
    height: 77px;
    background-color: #fd6c51;
    border-radius: 38.5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 16pt;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-align: center;
    line-height: 77px;
}

.divider {
    width: 3px;
    height: 50%;
    background-color: white;
}

/*Responsive*/

/*Grands écrans*/
@media (min-width: 1440px) {
    .custom-title {
      font-size: 56pt;
      top: 50px;
      left: 50px;
      max-width: 500px;
    }
  
    .bottom-right-text {
      width: 400px;
      font-size: 25pt;
      line-height: 1.4;
      right: 50px;
      bottom: 75px;
      padding: 10px;
    }
  
    .navigation-buttons {
      width: 337px;
      height: 77px;
      top: 20px;
      right: 20px;
    }
  
    .nav-button {
      font-size: 16pt;
      line-height: 77px;
    }
  
    .divider {
      width: 3px;
      height: 50%;
    }
  }
  
  /*Tablettes*/
  @media (min-width: 1100px) and (max-width: 1440px) {
    .custom-title {
      font-size: 48pt;
      top: 40px;
      left: 30px;
      max-width: 450px;
    }
  
    .bottom-right-text {
      width: 350px;
      font-size: 22pt;
      line-height: 1.4;
      right: 30px;
      bottom: 60px;
      padding: 10px;
    }
  
    .navigation-buttons {
      width: 320px;
      height: 70px;
      top: 15px;
      right: 15px;
    }
  
    .nav-button {
      font-size: 14pt;
      line-height: 70px;
    }
  
    .divider {
      width: 3px;
      height: 45%;
    }
  }
  
  /*Smartphone*/

  @media (min-width: 0px) and (max-width: 1100px) {
    .custom-title {
      font-size: 36pt;
      top: 20px;
      left: 20px;
      max-width: 350px;
    }
  
    .bottom-right-text {
      width: 300px;
      font-size: 18pt;
      line-height: 1.3;
      right: 20px;
      bottom: 50px;
      padding: 8px;
    }
  
    .navigation-buttons {
      width: 280px;
      height: 65px;
      top: 10px;
      right: 10px;
    }
  
    .nav-button {
      font-size: 12pt;
      line-height: 65px;
    }
  
    .divider {
      width: 2px;
      height: 40%;
    }
  }
  