/* Ajoutez ce code CSS à la suite de votre CSS existant */

/* BASE BUTTONS */
.button-container {
    text-align: center;
    position: relative;
    z-index: 1000; /* Assurez-vous que le bouton est au-dessus des éléments existants */
}

.animated-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    text-decoration: none;
    background-color: #3498db;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: background-color 0.4s, transform 0.4s;
    margin-top: 10px;
}

.animated-button::before {
    content: "";
    position: absolute;
    background-color: rgb(240, 131, 7);
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    transition: width 0.4s, transform 0.4s; /* Modification de la transition */
    z-index: -1;
}

.button-container:hover .animated-button::before {
    transform: translateY(-5px); /* Déplacement vers le haut */
}

.button-container:hover .animated-button {
    background-color: #f07700; /* Modification de la couleur de fond au survol */
    transform: translateY(-5px); /* Déplacement vers le haut */
}

/* SOCIAL BUTTONS */

.social-buttons {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-button {
    position: relative; /* Ajoutez une position relative pour positionner le ::before */
    display: inline-block;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    overflow: hidden; /* Masquer le dépassement du ::before */
}

.social-button img {
    width: 50px; /* Ajustez la taille de l'icône selon vos besoins */
    height: 50px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1; /* Empilez l'icône au-dessus du ::before */
    transition: filter 0.3s; /* Transition pour ajouter un filtre sur l'icône */
}

/* Animation au survol */
.social-button:hover {
    background-color: #ff6600; /* Couleur de fond au survol */
    transform: translateY(-15px);
    color: #fff; /* Couleur du texte au survol */
}

.social-button:hover img {
    filter: grayscale(0%); /* Supprimez l'effet de désaturation au survol */
}

.github {
    background-color: #000000; /* Couleur de fond Facebook */
    color: #fff; /* Couleur du texte */
}


.linkedin {
    background-color: #1DA1F2; /* Couleur de fond Twitter */
    color: #fff; /* Couleur du texte */
}

.itchio {
    background-color: #E4405F; /* Couleur de fond Instagram */
    color: #fff; /* Couleur du texte */
}
