html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: Open Sans;
    font-size: 16px;
    color: #2D2F29;
    background-color: #EAEAEA;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 64px;
    margin: 0;
    padding-bottom: 16px;
}

h2 {
    font-size: 32px;
    margin: 0;
}

h3 {
    font-size: 21px;
    margin: 0;
    line-height: 160%;
    padding: 16px 0 8px 0;
}

p {
    font-size: 18px;
    line-height: 150%;
    padding-bottom: 8px;
    margin: 0;
}

p > a {
    text-decoration: none;
    color: #FF8E4F;
    font-weight: 600;
}

p > span {
    font-weight: 600;
}

ul {
    margin: 4px 0 16px 0;
    font-size: 18px;
    list-style: none; /* Remove default bullets */
}

li {
    margin-bottom: 4px;
}

ul li:before {
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: #FF8E4F;
    font-weight: bold; /* If you want it to be bold */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
}

.navbar-container {
    background-color: #EAEAEA;
    padding: 16px 21px;
}

.navbar-content {
    max-width: 900px;
    margin: auto;
    font-size: 18px;
    font-weight: 600;
}

.navbar-content a {
    padding-right: 16px;
    color: #2D2F29;
    text-decoration: none;
    transition: 0.3s;
}

.navbar-content a:hover {
    color: #FF8E4F;
}

.navbar-content a.active {
    color: #FF8E4F;
}

.navbar-content a:last-child {
    padding-right: 0;
}

.home-container {
    padding: 48px 21px;
}

.home-content {
    max-width: 900px;
    margin: auto;
}

.presentation-container {
    display: flex;
    align-items: center;
    padding-bottom: 32px;
}

.presentation-container img {
    padding-right: 32px;
}

@media screen and (max-width: 650px) {
    .presentation-container img {
        display: none;
    }
}

.contact-container {
    background-color: #555;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 21px;
    text-align: center;
}

.contact-content p {
    color: #ffffff;
    font-weight: 500;
    font-size: 21px;
    padding-top: 12px;
}

.contact-content a:last-child {
    padding-right: 0;
}

.contact-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.logo-img {
    text-decoration: none;
    padding-right: 16px;
}

.logo-img:last-child {
    padding: 0;
}

.contact-content img {
    width: 32px;
    transition: 0.3s;
}

.contact-content img:hover {
    opacity: 0.7;
}

/* CV page */

.cv-container {
    padding: 48px 21px;
}

.cv-content {
    max-width: 900px;
    margin: auto;
    font-size: 21px;
    line-height: 140%;
    color: #2D2F29;
}

.cv-row {
    padding-bottom: 12px;
}

.cv-row-title {
    padding-bottom: 8px;
}

.cv-description {
    padding-bottom: 32px;
    font-size: 18px;
}

.cv-download {
    padding-bottom: 32px;
}

.cv-download img {
    vertical-align: middle;
    padding-right: 8px;
}

.cv-download a {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    line-height: 140%;
    color: #2D2F29;
    /* transition: 0.3s; */
}

.cv-download a:hover {
    /* color: #FF8E4F; */
    /* Pour le changement de couleur du SVG sans avoir plusieurs images */
    filter: invert(73%) sepia(33%) saturate(3380%) hue-rotate(324deg) brightness(102%) contrast(101%);
}

@media screen and (max-width: 600px) {
    .home-container {
        padding-top: 24px;
    }

    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 24px;
        margin: 0;
    }
    
    h3 {
        font-size: 18px;
        padding: 12px 0;
    }
    
    p {
        font-size: 16px;
        line-height: 150%;
        padding-bottom: 8px;
        margin: 0;
    }
    
    ul {
        margin: 0;
        font-size: 16px;
        margin: 0 0 12px 0;
    }

    .contact-content p {
        font-size: 16px;
    }

    .cv-container {
        padding-top: 24px;
    }

    .cv-content {
        font-size: 16px;
        line-height: 130%;
    }

    .cv-description {
        font-size: 16px;
    }
  }
