:root {
    --color-dark: #0e2b2b;
    --color-muted: #729b9b;
    --color-light: #b8c9c9;
    --color-accent: #243f3f;
    --color-background: #fff;
    --color-second-background: #c2bdb7;
    --title-font-size: 2.7rem;
    --col-margin: .8rem;
    --colour-vertf: #3b5458;
    --colour-vertc: #99a8af;
    --colour-grisc: #c3c8cf;
    --colour-marronf: #b99d91;
    --colour-marronc: #ded3cd;
    --colour-beige: #e3e4df;
    --colour-grisf: #a8a9ac;

}

body {
    background-color: #E3E4DF;
    font-family: "Frank Ruhl Libre", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    color: rgb(54, 54, 54);
}

/* text */

h2 {
    color: var(--color-accent);
    font-size: 1.8rem;
    color: black;
    font-weight: 500;
    margin-left: 0;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: .5rem;
    color: #8d1e2c;
}

p {
    margin-bottom: 0.6rem;
}

a {
    color: var(--colour-vertf)
}


a:hover {
    color: var(--colour-vertc);
}

/* footer */

footer {
    text-align: center;
    background-color: #373432;
    color: white;
    font-size: 1rem;
    padding: 0.8rem;
    padding-bottom: 2rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    opacity: 0.65;
    color: white;
}

footer p {
    font-size: 0.8rem;
    color: white;
}

footer h3 {
    color: white;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: none;
    font-size: 1.1rem;
}

footer .address {
    font-variant: small-caps;
}


/* custom elements */

.container {
    background-color: white;
    border-right: 1px solid rgb(29, 29, 29);
    border-left: 1px solid rgb(29, 29, 29);
}

.container.first {
    border-top: 1px solid rgb(29, 29, 29);
}

.container.noborder {
    padding: 0;
    overflow: hidden;
}

.haut {
    height: 4rem;
}

.logo {
    display: inline-block;
    vertical-align: baseline;
    width: 8rem;
}

.navbar-toggler {
    color: rgba(0, 0, 0, .55);
    border-color: rgba(0, 0, 0, .1);
    margin-bottom: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-item {
    padding: 2rem;
}

.nav-item a {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--colour-vertf);
    border-top: 1px solid #3B5458;
    border-bottom: 1px solid #3B5458;
}

.nav-item a:visited {
    color: var(--colour-vertf);
}

.nav-item a:hover {
    color: var(--colour-vertc);
    border-color: var(--colour-vertc);
}

.nav-link.active {
    font-weight: 600;
    border-top: 2px solid #3B5458;
    border-bottom: 2px solid #3B5458;
}

.section {
    padding-bottom: 2rem;
}

.soustitre {
    color: dimgrey;
    font-weight: 300;
    font-size: 1rem;
    margin-top: 0.8rem;
}

.spacer {
    padding: 0 0.7rem;
}

.title {
    display: inline-block;
    color: #373432;
    font-size: var(--title-font-size);
    font-weight: 500;
    font-size: 3rem;
    padding: 0;
    margin: 0;
    letter-spacing: -0.1rem;
}

.title-box {
    font-family: "PT Serif", serif;
    padding: 2rem 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: .6rem
}


.paragraph {
    width: 38rem;
    max-width: 100%;
}

.paragraph h2 {
    text-align: center;
}

.paragraph p {
    text-align: justify;
    font-size: 1.1rem;
}


/* version mobile */

@media screen and (max-width: 700px) {
    .logo {
        width: 5rem;
    }

    .title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 991px) {
    .navbar-nav {
        background-color: rgb(247, 247, 247);
    }

    .nav-item {
        padding: 0.2rem;
        margin-left: 3rem;
    }

    .nav-item a {
        font-size: 0.9rem;
        font-weight: 300;
        color: var(--colour-vertf);
        border: none;
    }

    .nav-item a:visited {
        color: var(--colour-vertf);
    }

    .nav-item a:hover {
        color: var(--colour-vertc);
        text-decoration: underline;
    }

    .nav-link.active {
        font-weight: 500;
        border: none;
    }

    .acc-web {
        display: none;
    }

    h3 {
        font-size: 1.1rem;
    }

    .no-mobil {
        display: none;
    }

    .access {
        margin-top: 2rem;
        padding-right: 3rem;
        padding-left: 2rem;
    }
}


@media screen and (max-width: 575px) {
    .haut {
        display: none;
    }

}

@media screen and (min-width: 992px) {
    .acc-mobile {
        display: none;
    }
}