body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    font-family: 'Figtree', serif;
}

.header-container, .footer-container {
    margin: 0 auto;
    padding: 50px;
    display: flex;
    justify-content: space-between;
}

.header-container {
    align-items: flex-start;
}

.footer-container {
    align-items: flex-end;
}

.logo-title {
    display: flex;
    align-items: flex-start;
}

#logo {
    height: 150px;
    padding-bottom: 0px;
}

#upload-button-container {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

#upload-button {
    background-color: #333333;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

#upload-button:hover {
    background-color: #0f0f0f;
}

.logout-button {
    display: inline-block;
    /* margin-left: 20px; */
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.logout-button:hover {
    background-color: #d32f2f;
}


@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column-reverse;
    }

    .header-container, .footer-container {
        align-items: center;
        justify-content: center;
    }

    .logo-title {
        display: flex;
        align-items: flex-start;
    }

    #logo {
        height: 100px;
    }
}

#presentation, #presentation2 {
    min-height: 50vh;
    font-size: 2em;
    font-weight: 600;
    line-height: 1em;
    text-transform: uppercase;
    padding-bottom: 50px;
}

#presentation2 {
    color: yellow;
}

@media (max-width: 600px) {
    #presentation, #presentation2 {
        font-size: 1em;
    }
}

.social-icons img {
    height: 40px;
}

.social-icons a {
    /* margin-left: 20px; */
    display: inline-block;
}

.social-icons a:first-child {
    margin-left: 0;
}

@media (max-width: 600px) {
    .social-icons img {
        height: 30px;
    }
    .social-icons a {
        margin-left: 40px;
        display: inline-block;
    }
    #bas {
        padding-bottom: 20px;
    }
    #haut {
        padding-top: 20px;
    }
}

main {
    margin: 0 auto;
    padding: 0 50px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3px;
    width: 100%;
    margin: auto;
    padding-bottom: 3px;
}

.image-grid div {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.image-grid div.selected {
    border: 2px solid #007bff;
}


.image-grid img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.disabled-link {
    pointer-events: none;
    cursor: default;
}

#haut, #bas {
    display: flex;
    gap: 20px;
}

form {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 250px;
    align-items: center;
    gap: 15px;
}

.login-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* align-content: center; */
    align-items: center;
    height: 100vh;
}

#contextual-toolbar {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: yellow; /* Couleur de fond lumineuse */
    color: #000; /* Couleur de texte contrastée */
    padding: 10px;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

button#delete-button {
    padding: 10px;
    border-radius: 25px;
    background-color: #ffffa2;
    font-size: 1em;
    font-weight: bolder;
    animation: blink 1.5s linear infinite; /* Ajout de l'animation de clignotement */

}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

button#delete-button:hover {
    background-color: #d0d000;
}