@import url('https://fonts.googleapis.com/css2?family=Playwrite+AU+VIC:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Playwrite+AU+VIC:wght@100..400&display=swap');

:root {
    --bg: #0d0e0f;
    --ink: #fff;
    --muted: #dbb778;
}

body {
    background-color: #0d0e0f;
    color: #dbb778;
    font-family: 'Playwrite AU VIC', cursive;
    background-image: url('/assets/img/bg.png');
    line-height: 1.6em;
    background-attachment: fixed;
}

bl {
    color: #FFF;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #dbb778;
}

l:after {
    content: "● ";
    color: #FFF;
    display: inline;
}

main {
    padding: 20px;
    text-align: center;
}

.f2 {
    font-family: 'EB Garamond', serif;
    color: #fff;
    text-transform: uppercase;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: normal;
    letter-spacing: 0.2em;
    margin-top: 0;
}

h2 {
    font-size: 1.5em;
    margin: 0;
    font-weight: normal;
    letter-spacing: 0.2em;
}

h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

h4 {
    font-size: 1em;
    margin-bottom: 5px;
}

h5 {
    font-size: 0.8em;
    margin-bottom: 2px;
}

h6 {
    font-size: 0.6em;
    margin-bottom: 1px;
}

input {
    border: 1px solid #dbb778;
    border-radius: 30px;
    font-size: 1em;
    background-color: #0d0e0f;
    color: #fff;
    font-family: 'Playwrite AU VIC', cursive;
    line-height: 1em;
    padding: 0.5em 1.5em;
    box-shadow: 0 0 0px #dbb778;
    border: 1px solid #dbb778;
    outline: 0px solid #dbb778;
    animation: input-animation 1s ease-in-out infinite reverse;
}

input:hover,
input:focus {
    box-shadow: 0 0 12px #dbb778;
    border: 1px solid #FFF;
    outline: 1px solid #FFF;
}

@keyframes input-animation {
    0% {
        box-shadow: 0 0 0px #dbb778;
        border: 1px solid #FFF;
        outline: 1px solid #FFF;
    }

    50% {
        box-shadow: 0 0 12px #dbb778;
        border: 1px solid #FFF;
        outline: 1px solid #FFF;
    }

    100% {
        box-shadow: 0 0 0px #dbb778;
        border: 1px solid #FFF;
        outline: 1px solid #FFF;
    }
}

input::placeholder {
    color: #dbb77866;
}

button {
    display: inline-block;
    margin: 0 auto;
    border: 1px solid #dbb778;
    border-radius: 30px;
    font-size: 1em;
    margin-bottom: 10px;
    background-color: #dbb778;
    color: #0d0e0f;
    font-family: 'Playwrite AU VIC', cursive;
    line-height: 1.6em;
    padding: 0.5em 1.5em;
    cursor: pointer;
}

.reveal {
    color: var(--muted);

    /* masque */
    background: linear-gradient(90deg, var(--muted) 0%, var(--muted) 50%, transparent 60%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* état initial */
    filter: blur(4px);
    opacity: 0;
    transform: translateY(14px);
    transition: background-position 900ms ease, filter 900ms ease, opacity 900ms ease, transform 900ms ease;
    background-size: 220% 100%;
    background-position: 100% 0;
}

.reveal.in {
    background-position: 0% 0;
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
}