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


/* Layout */
.back-link {
    position: absolute; 
    top: 40px;          
    left: 40px;         
   margin-bottom: 30px;
    color: #4A443F;
    text-decoration:none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
    color: blue;
}
.about-page {
    position: relative; 
    min-height: 100vh;
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    justify-content: center;
    padding: 120px 40px 60px 40px; 
}

.about-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /*demander à Gaelle*/
    gap: 100px;
    align-items: center;
}

/* Le Polaroid Style */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.polaroid-frame {
    background: white;
    padding: 25px 25px 65px 25px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transform: rotate(-2deg);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 500px; 
}

.polaroid-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.polaroid-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.polaroid-note {
    font-family: 'Comic Sans MS', sans-serif; 
    text-align: center;
    margin-top: 30px;
    font-size: 1.4rem;
    color: #4A443F;
}

/* Présentation de l'autrice */

h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 40px;
}

.quote-text {
    font-family: "Oranienbaum", 'Times New Roman', Times, serif;
    font-size: 1.6rem;
    font-style: italic;
    color: #4A443F;
    line-height: 1.4;
    margin-bottom: 40px;
    border-left: 3px solid #777e44;
    padding-left: 25px;
}

.main-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #333;
    max-width: 550px;
}

/* Responsive */
@media (min-width: 768px) {

    .about-page {
        position: relative; 
        min-height: 100vh;
        display: flex;
        flex-direction: column; 
        align-items: flex-start; 
        justify-content: center;
        padding: 120px 40px 60px 40px; 
    }

    /* La grille à 2 colonnes a validée avec Gaëlle ;) */
    .about-wrapper {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1.2fr; 
        gap: 80px; 
        align-items: center;
    }

    h1 {
        font-size: 4.5rem; 
    }

    .main-text p {
        max-width: 550px;
    }
}