@media (max-width: 767px) {
	body {
        padding-top: 242px; 
    }
}	
/* ==========================================
   PAGE ABOUT - PRESENTATION
========================================== */

#background-image-about {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
}

/* Conteneur principal */

.presentation {
    max-width: 1400px;
    width: 95%;
    margin: 40px auto 30px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-sizing: border-box;

    background-color: rgba(235, 192, 231, 0.9);
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);

    font-family: 'Trebuchet MS', sans-serif;
    color: #000000;
    line-height: 1.8;
}

/* Bloc de présentation */
.titre {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  color: #7F00FF;
  margin-bottom: 30px;
}
.about-me {
    width: 100%;
    padding: 30px;
    box-sizing: border-box;

    background-color: rgba(235, 192, 231, 0.9);
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
}

.content-about {
    width: 100%;
}

/* Introduction : texte + photo */

.intro-about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 25px;
}

.texte-left-about {
    flex: 1;
    min-width: 0;
    font-size: 1.15rem;
    color: #000000;
    line-height: 1.8;
    text-align: justify;
}

.texte-left-about p {
    margin: 0;
}

/* Photo */

.photo-about {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-about img {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Texte principal */

.texte-about {
    width: 100%;
    font-size: 1.15rem;
    color: #000000;
    line-height: 1.8;
    text-align: justify;
}

.texte-about p {
    margin-bottom: 18px;
}

.texte-about p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   MESSAGE DE CONCLUSION
========================================== */

.closing-message-about {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 25px 30px 15px;
    background-color: #EBC0E7;
    border-radius: 12px;

    color: #850979;
    transition: transform 0.3s ease-in-out;
}

.closing-message-about:hover {
    transform: scale(1.01);
}

.message-text-about {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 1.35rem;
    color: #850979;
    line-height: 1.8;
    font-weight: 750;
    text-align: center;
}

.signature-container-about {
    width: 100%;
    text-align: right;
    margin: 0;
    padding-right: 8%;
    box-sizing: border-box;
}

.signature-text-about {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 750;
    color: #850979;
    margin: 0;
}

.signature-about {
    font-size: 2.7rem;
    font-family: "Brush Script MT", cursive;
    font-weight: bold;
    color: #850979;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
}

/* ==========================================
   PETITS ECRANS : MOBILES
========================================== */

@media screen and (max-width: 767px) {

    .presentation {
        width: 94%;
        margin: 20px auto;
        padding: 12px;
        gap: 15px;
    }

    .about-me {
        padding: 18px 15px;
    }

    .intro-about {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .texte-left-about {
        width: 100%;
        font-size: 1rem;
        text-align: left;
    }

    .photo-about {
        width: 100%;
        flex: none;
    }

    .photo-about img {
        width: 65%;
        max-width: 220px;
    }

    .texte-about {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }

    .texte-about p {
        margin-bottom: 15px;
    }

    .closing-message-about {
        padding: 20px 12px 12px;
        gap: 12px;
    }

    .message-text-about {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .signature-container-about {
        padding-right: 5%;
    }

    .signature-text-about {
        font-size: 1.1rem;
    }

    .signature-about {
        font-size: 2.2rem;
    }
}

/* ==========================================
   TABLETTES
========================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

    .presentation {
        width: 94%;
        padding: 25px;
        gap: 20px;
    }

    .about-me {
        padding: 25px;
    }

    .intro-about {
        gap: 25px;
    }

    .texte-left-about,
    .texte-about {
        font-size: 1.05rem;
    }

    .photo-about {
        flex: 0 0 32%;
    }

    .photo-about img {
        max-width: 280px;
    }

    .message-text-about {
        font-size: 1.2rem;
    }
}

/* ==========================================
   PETITS ORDINATEURS
========================================== */

@media screen and (min-width: 1025px) and (max-width: 1199px) {

    .presentation {
        width: 94%;
        padding: 30px;
    }

    .about-me {
        padding: 25px;
    }

    .texte-left-about,
    .texte-about {
        font-size: 1.1rem;
    }

    .photo-about {
        flex: 0 0 30%;
    }
}

/* ==========================================
   GRANDS ECRANS
========================================== */

@media screen and (min-width: 1200px) and (max-width: 1500px) {

    .presentation {
        width: 94%;
        padding: 35px;
    }

    .about-me {
        padding: 30px;
    }

    .texte-left-about,
    .texte-about {
        font-size: 1.15rem;
    }
}

/* ==========================================
   TRES GRANDS ECRANS
========================================== */

@media screen and (min-width: 1501px) {

    .presentation {
        width: 95%;
    }

}
