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

    --nav-bg-color: #b1a897;
    --footer-bg-color: rgb(153, 133, 114);
    --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;
}

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

@supports (font-variation-settings: normal) {
    :root {
        font-family: "Inter var", 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;
}

/* 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;
}
