:root {
    --blanc: #ffffff;
    --rouge: #e40636;
    --noir: #2e2c2c;
    --gris: #e9e8e6;
    font-family: "Prompt", sans-serif;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

body,
html {
    position: relative;
    width: 100%;
    font-size: 16px;
    overflow-x: hidden !important;
}

body {
    max-width: 869px;
    margin: 0 auto;
}

header {
    background-color: var(--noir);
    padding: 1em 0;
}

header>div {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
}

header .container img {
    color: var(--blanc);
    border-right: 1px solid var(--rouge);
    padding-right: 1em;
    line-height: 1em;
    text-transform: uppercase;
}

header .container div {
    color: var(--blanc);
    line-height: 1em;
    margin-left: 1em;
    text-transform: uppercase;
}

.container {
    width: 90%;
    margin: 0 auto;
}

main {
    padding-bottom: 50px;
}

h1 {
    text-transform: uppercase;
    font-size: 30px;
    text-align: center;
    color: var(--noir);
    font-weight: 600;
    line-height: 1em;
    margin-top: .5em;
}

h2 {
    text-transform: uppercase;
    font-size: 15px;
    text-align: center;
    color: var(--rouge);
    font-weight: 600;
    margin-bottom: 1em;
}

h3 {
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1em;
    color: var(--noir);
    font-weight: 700;
}

hr {
    color: var(--rouge);
    background-color: var(--rouge);
    border: 1px solid var(--rouge);
}

ul {
    margin: 2em 0 0 4em;
}

ul li {
    margin-bottom: .5em;
}

ul a {
    color: var(--rouge);
    text-decoration: none;
    font-size: 20px;
}

img {
    width: 100%;
    height: auto;
    display: inline-block;
    max-width: max-content;
}

p {
    color: var(--noir);
    margin-top: 1em;
    margin-bottom: 2em;
    line-height: 1.3em;
}

.card {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.photo picture,
.photo img {
    display: block;
}

.vcf {
    padding: .5em 0;
    background-color: var(--rouge);
    display: flex;
    align-items: center;
    width: 100%;
}

.vcf a {
    color: var(--blanc);
    display: flex;
    align-items: center;
    gap: .5em;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2em;
    text-transform: uppercase;
}

.vcf a img {
    width: 35px;
}

.vcf a span {
    font-size: 30px;
    line-height: 1em;
}

.outils {
    background-color: var(--gris);
    padding: 1em 0;
}

.outils a {
    text-decoration: none;
    color: var(--rouge);
    font-weight: 800;
    font-size: 20px;
}

.reseaux {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.reseaux div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.reseaux div .arrow {
    width: 25%;
}

.reseaux div.link {
    justify-content: flex-end;
    gap: 5px;
}

.reseaux div.link img {
    width: 40px;
}


.compagnie {
    background-image: url('../images/coin-angle.png');
    background-repeat: no-repeat;
    background-size: 25%;
    padding-top: 2em;
    padding-left: 1em;
    margin-top: 1em;
}

footer div {
    text-align: center;
    padding-top: 2em;
}

@media only screen and (min-width: 768px) {

    header {
        padding: 2em 3em;
    }

    header div {
        font-size: 28px;
    }

    h1 {
        font-size: 75px;
    }

    h2 {
        font-size: 35px;
    }

    h3 {
        font-size: 43px;
    }

    .outils {
        padding: 1em 1em;
    }

    .outils a {
        font-size: 40px;
    }

    .compagnie {
        background-image: url('../images/coin-angle.png');
        background-repeat: no-repeat;
        background-size: auto;
        padding-top: 4em;
        padding-left: 2em;
        margin-top: 3em;
    }

    p {
        font-size: 20px;
    }

    .vcf {
        padding: 2em;
    }

    .vcf a {
        font-size: 36px;
    }

    .reseaux div {
        font-size: 30px;
        gap: 30px;
    }

    .reseaux div.link {
        gap: 10px;
    }

    .reseaux div.link img {
        width: 60px;
    }
}


@media only print {

    h1,
    h2,
    h3,
    h4,
    p,
    a,
    li {
        color: #000 !important;
    }

    nav {
        display: none;
    }

}