html {
    height: 100%;
}
body {
    min-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
    margin: 50px;
}
.container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin: 20px 30px;
}
.intro {
    width: 220px;
    flex-shrink: 0;
}
.jauge-ensemble {
    margin-top: 45px;
}
.intro > img {
    width: 200px;
    height: 260px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}
.logo-competances {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    gap: 12px;
}
.logo-competances img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.jauge {
    width: 100%;
    height: 20px;
    background-color: #ddd;
    border-radius: 20px;
    overflow: hidden;
}
.competance {
    height: 100%;
    background: linear-gradient(#8E86B5, #ACAEED);
}
.html, .css {
    width: 40%;
}
.langue {
    width: 70%;
}
.educ {
    width: 60%;
}
.natation {
    width: 85%;
}
.text-acceuil {
    flex: 1;
}
.text-acceuil h2 {
    font-size: 2.5em;
    margin-top: 20px;
    font-family: 'Montserrat' , sans-serif;
}
.text-acceuil p {
    line-height: 2;
    margin-bottom: 15px;
}
@media all and (max-width: 768px){
    .container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 15px;
    }
    .intro {
        width: 100%;
        display: contents;
    }
    .intro > img {
        order: 1;
        width: 60%;
        height: 290px;
        max-width: 250px;
        margin: 0 auto 20px auto;
    }
    .text-acceuil {
        order: 2;
        width: 100%;
        max-height: 570px;
        overflow: scroll;
        padding-right: 0;
        margin-bottom: 25px;
    }
    .text-acceuil h2 {
        font-size: 2em;
        margin-top: 8;
        text-align: center;
    }
    .jauge-ensemble {
        order: 3;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .logo-competances {
        width: 80%;
        max-width: 350px;
        margin-bottom: 30px;
    }
}