body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10vh auto;
    gap: 5vh;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-style: normal;
    
    background: #FFFAFB;
}

h1{
    margin-block: 0;
}

.sur-titre{
    margin-block: 0px;
    font-family: "Caveat", serif;
    font-size: 26px;
    font-optical-sizing: auto;
    font-style: normal;
}

h2{
    display: inline-block;
    background-color: #2E49C2;
    color: #FFF;
    border-radius: 8px;
    padding: 5px 15px;
}

#profile, #liens{
    display: flex;
    flex-direction: row;
}

#profile{
    justify-content: space-between;
    gap: 5vw;
    align-items: center;
}

#img-pp{
    height: 20vh;
    width: 20vh;
    vertical-align: middle;
}

#liens{
    gap: 2vw;
}

#liens a{
    text-decoration: none;
    color: white;
    background-color: grey;
    padding: 8px;
    border-radius: 5px;
}

#liens a:hover {
    background-color: black;
}

.tag{
    padding: 5px 15px;
    background-color: #2E49C2;
    color: white;
    width: auto;
    border-radius: 30px;
    display: inline-block;
    margin: 20px 10px 10px 0px;
}

i{
    margin-right: 10px;
}

.row-chiffre{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.card-chiffre{
    width: 200px;
    padding: 1vw 2vw;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}
.number{
    color: #2E49C2;
    font-size: 32px;
    font-weight: 700;
    align-items: center;
    margin: 0 0 10px 0;
}

.legende, .number{
    margin: 0;
}

.card{
    background: #FFF;
    box-shadow: -2px 2px 15px 0 #00000022;
    backdrop-filter: blur( 8.5px );
    -webkit-backdrop-filter: blur( 8.5px );
    border-radius: 10px;
    width: 60vw;
    padding: 3vw;
}

@media (max-width: 768px) {
    .card{
        width: 75vw;
        display: flex;
        flex-direction: column;
    }
    #profile{
        flex-direction: column;
    }
    
}

@media (max-width: 540px) {
    body{
        margin: 3vh;
    }
    .card{
        width: 85vw;
        display: flex;
        flex-direction: column;
    }
    #profile{
        flex-direction: column;
    }
    .row-chiffre{
        flex-wrap: wrap;
    }
    .card-chiffre{
        width: 100%;
    }
    
}

.position{
    font-weight: bold;
}