.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.titre-aboutme {
    text-align: center;
    width: 60%;
    padding: 5px 0px 5px 0px;
    background: linear-gradient(90deg,
            rgba(220, 220, 220, 1) 0%,
            rgb(102, 126, 234) 30%,
            rgb(118, 75, 162) 70%,
            rgba(220, 220, 220, 1) 100%);
}

.container-aboutme {
    width: 80%;
    height: min-content;
    margin: 20px;
    padding: 20px;
    background: rgb(240, 240, 240);
    display: grid;
    grid-template-columns: 20% 80%;
    grid-template-rows: 100%;
    box-shadow: 0px 0px 20px 0px rgb(0, 0, 0, 0.24);
    border-radius: 4px;
}

.soustitre-aboutme {
    text-align: center;
    border-right: 2px solid black;
    margin: 10px;
    padding: 10px;
}

.infoperso-aboutme {
    margin: 35px;
}

ul {
    list-style: square;
}

/* CSS études */
.etudes-aboutme {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 35px;
    gap: 50px;
}

.etude-item-aboutme {
    flex: 0 0 calc(50% - 57px);
    height: max-content;
    box-shadow: 1px 1px 8px rgb(180, 180, 180);
    border: 2px solid white;
    padding: 10px;
    border-radius: 8px;
}

/* CSS compétences */
.competences-aboutme {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 35px;
    gap: 50px;
}

.competence-item-aboutme {
    flex: 0 0 calc(33.33% - 57px);
    height: 300px;
    border-radius: 8px;
    box-shadow: 1px 1px 8px rgb(180, 180, 180);
    border: 2px solid white;
    padding: 5px
}

.competence-item-aboutme h3 {
    border: 1px solid rgb(53, 53, 53);
    text-align: center;
    border-radius: 8px;
}

.competence-item-aboutme ul {
    list-style: none;
    padding-left: 20px;
}

.competence-item-aboutme ul li {
    position: relative;
    padding-left: 20px;
}

.competence-item-aboutme ul li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

/* CSS docummentation */

.doc-aboutme {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 35px;
    gap: 50px;
}

.btn-doc {
    padding: 10px 15px 10px 15px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    border-radius: 20px;
    background: rgb(31, 31, 31);
    transition: box-shadow 0.3s ease, border 0.3s ease, transform 0.3s ease;
}

.btn-doc:hover {
    box-shadow: 1px 1px 12px rgb(160, 160, 160);
    transform: translateY(-5px);
}

/* CSS fin de page CV */
.button-container-about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    margin-bottom: 35px;
    margin-top: 20px;
}

.btntxt {
    background: var(--primary-gradient);
    box-shadow: 2px 2px 4px grey;
    font-size: 15px;
    width: 25%;
    color: white;
    font-weight: bold;
    padding: 5px;
    text-decoration: none;
    text-align: center;
}

@media only screen and (max-width: 576px) {
    .btntxt {
        font-size: 12px;
        width: 40%;
    }

    .container-aboutme {
        grid-template-columns: 100%;
        grid-template-rows: 20% 80%;
    }

    .soustitre-aboutme {
        border-bottom: 2px solid black;
        border-right: none;
        margin: auto;
    }

    .etudes-aboutme {
        flex-direction: column;
        margin: 25px;
        gap: 10px;
    }

    .competences-aboutme {
        flex-direction: column;
        gap: 10px;
    }

    .btn-doc {
        padding: 7px 12px 7px 12px;
        font-size: 13px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 768px) {
    .btn-doc {
        padding: 9px 14px 9px 14px;
        font-size: 14px;
    }

    .container-aboutme {
        grid-template-columns: 30% 70%;
        grid-template-rows: 100%;
    }

    .soustitre-aboutme {
        font-size: 18px;
    }

    .competences-aboutme {
        gap: 10px;
    }

    .competence-item-aboutme ul {
        font-size: 14px;
    }
}