@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/Comfortaa-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/Comfortaa-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/Comfortaa-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Italic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
}


:root {
    /* Couleurs */
    --rougeLogo: #a90808;
    --ecriture: #202124;
    --fondSite: #fff;
    --vert:#4e6e5f;
    --grisMarron: #6b6c75;

    /* Polices */
    --font-ecriture: 'Roboto', verdana, sans-serif;
    --font-titre: 'Comfortaa', verdana, sans-serif;

    /* Tailles */
    --miniature: 9px;
    --tresPetit: 12px;
    --petit: 14px;
    --normal: 16px;
    --normalPlus: 22px;
    --grand: 28px;
    --tresGrand: 45px;
    --tresTresGrand: 75px;
}

* {
    margin: 0;
    padding: 0;
    font-family: var(--font-ecriture);
    color: var(--ecriture);
    scroll-behavior: smooth;

}

html {
    scroll-padding-top: 40px;
    /* Permet de scroller jusqu'au titre en laissant un espace */
}

body {
    background-color: var(--fondSite);
}

/* Marges de sécurité de base */
body>*+* {
    margin-top: 130px;
    margin: 20px auto;
    max-width: 160rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* Better line heights */
html {
    line-height: 1.4;
}
.container{
    margin-top: 120px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-family: var(--font-titre);
}

/* Better graphic style than the browser's */
hr {
    max-height: 0;
    line-height: 0;
    border: none;
    border-top: 2px solid currentColor;
    margin-top: 20px;
    margin-bottom: 10px;
}

h1 {
    text-align: left;
    font-size: var(--tresGrand);
    padding-top: 80px;
    padding-bottom: 50px;
}

h2 {
    text-align: left;
    font-size: var(--tresGrand);
    padding-top: 70px;
    padding-bottom: 40px;
}

h3 {
    font-size: var(--grand);
    padding-bottom: 40px;
}

h4 {
    font-size: var(--normalPlus);
    padding-bottom: 30px;
}

p {
    font-size: var(--normalPlus);
    padding-bottom: 20px;
}

a {
    text-decoration: none;

}

a:hover {
    color: var(--vertFonce);
}


img {
    max-width: 100%;
}

.button {
    display: inline-block;
    border-radius: 35px;
    background-color: var(--rougeLogo);
    border: none;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    width: 130px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;

}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
    color: white;

}

.button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -25px;
    transition: 0.5s;

}

.button:hover span {
    padding-right: 25px;


}

.button:hover span:after {
    opacity: 1;
    right: 0;
}


@media (max-width:620px) {
    body>*+* {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (min-width:1600px) {
    .button {
        font-size: 30px;
        padding: 15px;
        width: 350px;
    }
}