@font-face {
    font-family: 'Pepe';
    src: url(./font/Parisian-BT/PARISNN.TTF);
}

@font-face {
    font-family: 'Pepo';
    src: url(./font/Jost/Jost-VariableFont_wght.ttf);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

.about-section {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
    margin: 50px 0;
}

.infoandphoto-container_1,
.infoandphoto-container_2,
.infoandphoto-container_3 {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3em;
    margin-bottom: 50px;
}

.about-section img {
    width: 18vw;
    height: 18vw;
    min-width: 180px;
    min-height: 180px;
    border-radius: 50%;
}

.text-section {
    display: flex;
    width: 90%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.text-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    width: 100%;
    background-color: #FFF1E7;
}

/* Media Queries pour les différentes tailles d'écran */
@media (max-width: 1200px) {
    .infoandphoto-container_1,
    .infoandphoto-container_2,
    .infoandphoto-container_3 {
        flex-direction: column;
        width: 90%;
        gap: 1em;
    }
    
    .infoandphoto-container_2 {
        flex-direction: column-reverse;
    }

    .text-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 30px 0;
        margin: 30px 0;
    }

    .infoandphoto-container_1,
    .infoandphoto-container_2,
    .infoandphoto-container_3 {
        width: 100%;
        gap: 1em;
    }

    .about-section img {
        width: 30vw;
        height: 30vw;
        min-width: 150px;
        min-height: 150px;
    }

    .text-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .text-section h2 {
        font-size: 1.8rem;
    }

    .infoandphoto-container_1,
    .infoandphoto-container_2,
    .infoandphoto-container_3 {
        gap: 0.5em;
    }
}
