#competences {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

p.competences-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white-color);
}

div.competences-flex {
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
}

div.competences-front {
    width: 50%;
    margin-top: 20px;
}

div.competences-back {
    width: 50%;
    margin-top: 20px;
}

div.competences-cms {
    width: 50%;
    margin-top: 20px;
}

p.competences-spe {
    text-align: center;
    margin-top: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #ebdc8a;
}

div.competences-block {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
    transition: 0.3s all ease;
    background-color: var(--white-color);
    border-radius: 10px;
}

div.competences-block:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0 54px 55px, rgba(0, 0, 0, 0.12) 0 -12px 30px, rgba(0, 0, 0, 0.12) 0 4px 6px, rgba(0, 0, 0, 0.17) 0 12px 13px, rgba(0, 0, 0, 0.09) 0 -3px 5px;
}

div.competences-block:hover div.competences-block-image {
    transform: scale(1.1);
}

div.competences-block:hover p.competences-language {
    color: var(--beige-color);
}

div.competences-block-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    transition: 0.2s all ease;
    margin-left: 10px;
}

div.competences-block-texte {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 100px;
    margin-right: 10px;
}

img.competences-image {
    object-fit: contain;
    width: 60%;
    height: 60%;
}

p.competences-language {
    font-size: 22px;
    font-weight: 700;
    transition: 0.3s all ease;
}

@media (width <= 900px) {
    div.competences-front {
        width: 100%;
        margin-top: 20px;
    }

    div.competences-back {
        width: 100%;
        margin-top: 20px;
    }

    div.competences-cms {
        width: 100%;
        margin-top: 20px;
    }

    div.competences-block {
        justify-content: space-evenly;
    }

    p.competences-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 650px) {
    div.competences-block-image {
        width: 80px;
        height: 80px;
    }

    p.competences-language {
        font-size: 20px;
    }
}