@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --noir: #121212;
    --bleu: #3498db;
    --blanc: #ffffff;
    --vert: #2ecc71;
    --gris: #34495e;
    --gris-clair: #bdc3c7;
}

/* --- BASE --- */
* {
    font-family: "Ubuntu", 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box; /* Pour que le padding ne casse pas la largeur */
}

body {
    background: linear-gradient(180deg, #5973a6 0%, #0D0053 56%);
    background-attachment: fixed; /* Correction de background-position: fixed */
    min-height: 100vh;
    padding: 0;
    color: var(--blanc);
}

main {
    display: flex;
    margin: 0;
    justify-content: center;
    background-color: #2ecc71;
}

.titre {
    color: #34495e;
    text-align: center;
}





.boxFill {
    border: 2px solid black;
    width: 1000px;
    height: 800px;
}


/* --- FOOTER --- */
footer {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    margin-top: 50px;
}

/* --- OPTIMISATION MOBILE --- */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr; 
        padding: 10px;
    }

    .card {
        width: 100%; 
    }

    .info p {
        font-size: 1.1em;
        font-weight: bold;
    }

    .btn-download, .btn-delete, label[style*="background:#3498db"] {
        padding: 12px !important;
        font-size: 14px !important;
        flex: 1;
        text-align: center;
    }
}