/*
PAGE À PROPOS
*/

/*
Zone Principale 
*/
main {
    max-width: 800px;
    margin: 3rem auto 4rem auto;
    padding: 3rem 2.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    text-align: center;
}

#logo-a-propos {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

main h1 {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

main p {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 2.5rem;
}

/*
Liens Réseaux Sociaux
*/
.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 12px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social a:hover {
    transform: translateY(-4px);
    background-color: #f8fafc;
}

.social img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/*
Utilitaires
*/
.hidden {
    display: none !important;
}

/*
Responsive Design
*/
@media (max-width: 640px) {
    main {
        width: auto; /* annule le width: 100% de global.css pour que les marges ne fassent pas deborder la page */
        margin: 1.5rem 1rem;
        padding: 2rem 1.25rem;
    }

    main h1 {
        font-size: 1.5rem;
    }

    main p {
        font-size: 0.95rem;
        text-align: left;
    }

    .age-popup-box-button {
        flex-direction: column;
    }

    .social {
        gap: 1.2rem;
    }
}