body {
    display: flex;
    justify-content: center;
    font-family: "Arial", serif;
    background-color: #f7f7f8;
}
main {
    width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
h2 {
    margin: 0;
    font-size: 1em;
}
h3 {
    margin: 0;
    font-size: 0.9em;
}
p, li, span{
    font-size: 0.9em;
}
header {
    display: flex;
}
.desc {
    width: 67%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.desc div {
    display: flex;
    flex-direction: row;
    align-items: end;
}
.desc h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    background-color: rgb(123, 211, 234);
    width: min-content;
    text-wrap: nowrap;
    padding: 5px 10px;
    border-radius: 10px;
}
.desc h2 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
    width: min-content;
    height: min-content;
    background-color: rgb(249, 250, 171);
    text-wrap: nowrap;
    padding: 5px 10px;
    border-radius: 10px;
}
.content {
    width: 100%;
    display: flex;
    gap: 10px;
}
aside {
    width: 33%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
section {
    width: 67%;
}
.photo {
    width: 33%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.photo img{
    border-radius: 100px;
    height: 200px;
    width: 200px;
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-element {
    position: relative;
    display: flex;
    justify-content: start;
    gap: 10px;
    background-color: rgb(249, 250, 171);
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    color: black;
}
.contact-element:hover::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    left: -10px;
    top: 0;
    background-color: black;
    margin-right: 10px;
}
.contact-element p {
    margin: 0;
}
.container {
    padding: 10px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 4px 2px -4px gray;
}
.langue ul, .hardskills ul, .softskills ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
}
.langue li, .hardskills li {
    display: flex;
    justify-content: space-between;
}

.langue li span {
    display: inline-block;
    width: 150px;
}
.hardskills li {
    align-items: center;
}
.hardskills div{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.progress-bar {
    width: 150px;
    height: 5px;
    background-color: grey;
    border-radius: 100px;
    overflow: hidden;
    box-shadow: 0 4px 2px -4px gray;
    margin: 10px 0;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 100px;
    background-color: #a1eebd;
}
.skill-90 { width: 90%; }
.skill-80 { width: 80%; }
.skill-70 { width: 70%; }
.skill-60 { width: 60%; }
.skill-50 { width: 50%; }
.skill-40 { width: 40%; }
.skill-30 { width: 30%; }
.skill-20 { width: 20%; }

.content section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.experience, .formation, .topics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.experience ul, .formation ul {
    margin: 0;
}
.experience-element p, .formation-element p {
    margin: 0;
}
.topics ul {
    display: flex;
    gap: 10px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}