*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit,Raleway,Sigmar/Kanit/Kanit-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Kanit_bold';
    src: url('fonts/Kanit,Raleway,Sigmar/Kanit/Kanit-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Kanit_light';
    src: url('fonts/Kanit,Raleway,Sigmar/Kanit/Kanit-ExtraLight.ttf') format('truetype');
}


body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
    font-family: 'Kanit', sans-serif;
}


/* Sections */
section {
    height: 100vh; 
    padding: 10px;
}

/* accueil */

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.hero h1 {
    font-size: 10rem; 
    font-weight: bold;
    font-style: italic;
    margin: 0;
    color: #FF5B87; 
}

.title-line {
    width: 50%; 
    height: 0.5px; 
    background-color: #ffffff; 
    margin: 20px 0; 
}

/* Barre de navigation */
.nav-header {
    margin-top: 15px;
    background-color: black;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Conteneur de navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 20px;
}

.logo-container {
    flex: 0;
}

.logo {
    height: 50px;
    margin-left: 10px;
}

.nav {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.nav a {
    color: #FF5B87;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Kanit_light', sans-serif;
    transition: transform 0.3s,
}

.nav a:hover{
    transform: scale(1.1);
    color: white;
    text-decoration: underline;
}

.nav-line {
    width: 30%; 
    height: 0.5px; 
    background-color: #ffffff; 
    margin: 15px 536px 0; 
}


/* a propos */

.a-propos {
    padding: 50px 20px;
    color: white;
}

.apropos-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.apropos-left {
    flex: 1;
}

.apropos-title {
    color: #FF5B87; 
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Kanit_bold', sans-serif;
}

.apropos-text {
    font-size: 1rem;
    line-height: 1.6;
    padding-top: 10px;
    padding-right: 80px;
    margin-right: 20px;
}

.apropos-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 140px;
    margin-right: 20px;
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 8px 40px;
    border: none;
    font-size: 1rem;
    text-decoration: underline;
    color: black;
    background-color: #FF5B87;
    transition: transform 0.3s, background-color 0.3s;
}

.btn:hover {
    background-color: #e14a75; 
    transform: scale(1.05);
    color: white;
}

.btn-primary {
    margin-bottom: 10px;
}

.btn-secondary {
    margin-top: 10px;
}

/* contact */
.contact {
    margin-top: 150px;
}

.contact h3 {
    color: #FF5B87; 
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Kanit_bold', sans-serif;

}

.contact-links {
    display: flex; 
    gap: 100px; 
    font-size: 1.1rem;
}

.contact p {
    margin: 0;
}

.contact a {
    color: #ffffff;
}

.contact a:hover {
color: #FF5B87;
}


/*  OPQUAST */
.opquast {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.opquast h3 {
    color: #FF5B87;
    text-align: center;
    margin: 0;
    font-size: 1.5rem;
}

.opquast p {
    text-align: center;
    padding: 10px 20px;
    margin: 20px 0;
    max-width: 80%;  
}


/* temoignages */

.temoignages h2{
    color: #FF5B87; 
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Kanit_bold', sans-serif;

}

.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    max-width: 1400px;
    padding: 20px;
  }
  
  .card {
    position: relative;
    width: 460px;
    height: 330px;
    padding: 20px;
    border: 1px solid #FF5B87;
    border-radius: 25px; 
    color: white; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3); 
}
  
  
  /* .symbol {
    font-size: 10rem;
    color: rgba(255, 91, 135, 0.5);
    position: absolute;
    top: 10px;
    left: 20px;
  }
  
  .symbol-invert {
    font-size: 10rem; 
    color: rgba(255, 91, 135, 0.5);
    position: absolute;
    bottom: 40px; 
    right: 20px;
    transform: rotate(180°); 
  } */

  .quote {
    font-size: 1rem;
    font-family: "Kanit_light", sans-serif;
    text-align: center;
    font-style: italic;
    line-height: 1.3;
    color: #ffffff;
    margin-top: auto;
    margin-bottom: 1px;
  }
  
  .quote-hr {
    width: 100%; 
    height: 0.5px;
    background-color: #ffffff;
    margin: 50px auto 20px;
    border: none;
  }
  
  .info {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .quote-pfp {
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    object-fit: cover;
    border: 2px solid #FF5B87;
  }
  
  .prenom-nom {
    font-family: "Poppins", sans-serif;
    color: #ffffff;
  }
  
  .prenom-nom span:first-child {
    font-size: 1rem;
    font-weight: 600;
  }
  
  .prenom-nom .metier {
    font-size: 0.85rem;
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
  }
  
  .prenom-nom a{
    text-decoration: none;
    color: white;
  }
  
  .prenom-nom a:hover{
    text-decoration: underline;
    color: #FF5B87;
  }

/* footer */

footer {
    color: #fff; 
    padding: 5px 10px; 
    font-family: "Poppins", sans-serif;
    position: relative;
    text-align: center;
    font-family: 'Kanit_light', sans-serif;

}

.trait__horizontal {
    height: 0.5px;
    background-color: #FF5B87; 
    width: 100%; 
    margin: 100px 0 10px; 
}

.footer-content {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap;
}

.footer-center {
    flex: 1; 
    text-align: center; 
}

.footer-right {
    display: flex;
    gap: 20px; 
    flex-wrap: wrap; 
}

.footer-right p {
    margin: 0; 
}

.footer-right a {
    color: #ffffff;
    text-decoration: none; 
    font-size: 1rem; 
}

.footer-right a:hover {
    text-decoration: underline; 
}

/* Responsivité */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; 
        text-align: center; 
    }

    .footer-right {
        justify-content: center; 
    }
}


/* ================================================== Page des projets ==================================================  */

.projets h2 {
    color: #FF5B87;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Kanit_bold', sans-serif;
    text-align: right;
}

.projets {
    text-align: center;
    padding: 50px 20px;
}

.projets-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.projet-item a {
    text-decoration: none;
    color: #FF5B87;
    display: block;
    transition: color 0.3s ease;
}

.projet-item {
    position: relative;
    width: 100%;
    height: 200px;
    color: #FF5B87;
    font-family: "Kanit_bold", sans-serif;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    overflow: hidden;
    border-top: 1px solid #FF5B87;
    border-bottom: 1px solid #FF5B87;
    transition: background-color 0.3s ease;
}

.projet-item-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 2;
    position: relative;
    color: #FF5B87;
    transition: color 0.3s ease;
}

.projet-item-content .number {
    font-size: 3rem;
    font-weight: bold;
    margin-right: 10px;
}

.projet-item-content h3 {
    font-size: 1.8rem;
    margin: 0;
    white-space: nowrap;
}

.projet-background {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1;
}


.projet-item:hover .projet-background {
opacity: 1;
transform: scale(1.1);
}

.projet-item:hover .projet-background {
    opacity: 1;
    transform: translateY(-100%);
}

.projet-item:hover .projet-item-content {
    color: white; 
}

.projet-item:hover a {
    color: white;
}

.projet-item.fishtival .projet-background {
    background-image: url("images/fishtival.png");
}

.projet-item.journal .projet-background {
    background-image: url("images/jdq.png");
}

.projet-item.itw .projet-background {
    background-image: url("images/itw.png");
}

.projet-item.pawsitive .projet-background {
    background-image: url("images/pawsitive.png");
}

.projet-item.photo-montage .projet-background {
    background-image: url("images/photoed.png");
}

.projet-item.backmarket .projet-background {
    background-image: url("images/backmarket.png");
}


/* ===================================== page de description de projet ============================================== */

/* partie gauche */

.project-description {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    flex-wrap: wrap;
}

.left-column {
    flex: 1;
    padding-right: 20px;
}

.project-title {
    font-size: 3rem;
    font-family: 'Kanit_bold', sans-serif;
    color: #FF5B87;
    margin-bottom: 10px;
}

.underline {
    width: 45%;
    height: 1px;
    background-color: #ffffff;
    margin-bottom: 20px;
}

.project-description-text {
    font-size: 1rem;
    font-family: 'Kanit_light', sans-serif;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-collaborations {
    font-size: 1rem;
    margin-bottom: 20px;
}

.project-collaboration a {
    text-decoration: none;
    color: white;
    font-family: 'Kanit_light', sans-serif;
}

.project-collaboration a:hover{
text-decoration: underline;
color: #FF5B87;
font-family: 'Kanit_bold', sans-serif;}
.project-details {
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: 'Kanit', sans-serif;
    border: solid 1px #FF5B87; /* Bordure rose autour du texte */
    padding: 10px;
    display: inline-block; /* Bordure autour du texte uniquement */
}

.project-details span {
    margin: 0 20px; /* Ajoute un espace de chaque côté des spans */
}

.project-details span:first-child {
    margin-left: 0; /* Supprime l'espace à gauche du premier élément */
}

.project-details span:last-child {
    margin-right: 0; /* Supprime l'espace à droite du dernier élément */
}

.project-link {
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: underline;
    font-family: 'Kanit_light', sans-serif;
}

.project-link:hover{
    text-decoration: underline;
    color: #FF5B87;
}


/* Partie droite  */

.right-column {
    flex: 1;
    overflow-y: auto;
    max-height: 700px; 
    padding-left: 20px;
}

.image-slider {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-slider img {
    max-width: 100%;
}

.right-column {
    cursor: pointer;
}

/* la scrollbar */
.right-column::-webkit-scrollbar {
    width: 10px;
}

.right-column::-webkit-scrollbar-thumb {
    background-color: #FF5B87; 
    border-radius: 10px;
    border: 2px solid #FF5B87;  
}

.right-column::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}

