
@font-face {
    font-family: "Frank Ruhl Hofshi";
    src: url('font/FrankRuhlHofshi-Regular.ttf') format("opentype");
}

/* ============================ BACKGROUND =========================== */

#background {
    position: fixed;
    height: 100vh;
    width:  100%;

    background-size: cover;
    background-attachment: fixed;
    background-position: center;  
    background-image: url("/img/you_beautiful_sleeper/background2.jpg");
    filter: brightness(0.8);
}

/* ============================== TEXTE ============================== */

.title {
/*    color: #B40000;*/
    color: white;
    font-size: 22px;
    font-family: "Frank Ruhl Hofshi";
    letter-spacing: 0.2em;
    text-transform: uppercase;

    margin-bottom: 10px;
}

.subtitle {
/*    color: #2c2c2c;*/
    color: white;
    font-size: 15px;
    font-family: "Frank Ruhl Hofshi";
    letter-spacing: 0.2em;
    text-transform: none;

    margin-bottom: 10px;
}

.section-title {
    color: white;
    font-size: 18px;
    font-family: "Frank Ruhl Hofshi";
    letter-spacing: 0.2em;

    margin-bottom: 10px;
}

/* ================================ CADRES =========================== */

.page-content {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    scroll-snap-align: start;
/*    justify-content: center;*/
}

.grid-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer {
    position: absolute;
    bottom: 25px;
}

/* ============================= BOUTONS ============================== */

.button {
    position: relative;
    width: 500px;
    background-color: rgb(255,255,255,0.95);
    border: 2px solid rgb(255,255,255,0.95);  
    border-radius: 2px;  
    padding: 15px;
    margin: 5px;

    color: #B40000;
    font-size: 16px;
    font-family: "Frank Ruhl Hofshi";
    letter-spacing: 0.1em;
    text-align: center;

    transition: 0.3s;
}
.button:hover {
    background-color: rgb(255,255,255,0.25);
    color: white;
    text-decoration: none;
}

.button img {
    position: absolute;
    left: 15px;
    top: 13px;
    width: 30px;
}
.button:hover img {
    /* https://isotropic.co/tool/hex-color-to-css-filter/ */
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(330deg) brightness(100%) contrast(106%);
}

@media (max-width: 768px) {
    .button {
        max-width: 300px;
    }
}

/* ============================= FOOTER ============================== */

#footer a {
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-size: 12px;
    font-family: "Frank Ruhl Hofshi";
    letter-spacing: 0.2em;

    transition: 0.3s;
}
#footer a:hover {
    opacity: 0.7;
}