:root {
    --main-bg-color: white;

    --nav-bg-color: #7d725e; /* texte blanc : 4,7:1 (avant #b1a897 : 2,4:1) */
    --footer-bg-color: #826f5e; /* texte blanc : 4,8:1 (avant #998572 : 3,5:1) */
    --primary-bg-color: white;

    --secondary-bg-color: aliceblue;
    --info-color: blue;

    --warning-color: rgb(255, 252, 200);
    --alert-color: red;

    --purple-color: #7c3aed;
    --purple-light-color: #ede9fe;
}

.color-purple {
    color: var(--purple-color);
}

@font-face {
    font-family: "Atkinson";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/atkinson/AtkinsonHyperlegibleNextVF-Variable-91Qz6j3.woff2") format("woff2");
}

:root {
    font-family: "Atkinson", sans-serif;
}

body {
    background-color: var(--secondary-bg-color);
    color: black;
    max-width: 1055px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5rem;
}

body.admin {
    background-color: black;
    color: white;
}

.contenu {
    max-width: 100%;
    background-color: #fff;
    min-height: calc(100vh - 300px);
}

h1 {
    font-size: 30px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 18px;
}
a {
    color: var(--purple-color);
}

strong {
    font-weight: bold;
}
button,
input,
textarea {
    border: none;
}
button:hover {
    cursor: pointer;
}
input {
    padding-left: 10px;
}

.breadcrumb {
    padding-top: 10px;
    padding-bottom: 20px;
}

table.legal {
    border: 1px solid black;
    padding-left: 10px;
    padding-right: 10px;
}

/* Animation toast */
@keyframes toastIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes fadeToastOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        pointer-events: none;
    }
}
.fade-toast {
    animation:
        toastIn 0.3s ease-out,
        fadeToastOut 0.5s 4.5s forwards;
}
/* Fin Animation toast */

.date-form {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.date-hidden {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.date-btn {
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
