/* ========================================
   AF-AE STORY
   Première direction artistique
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: #11100f;
    color: #f5f0e8;
}


/* ÉCRANS */

.screen {
    display: none;
    min-height: 100vh;
    width: 100%;
    padding: 40px 24px;

    position: relative;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.screen.active {
    display: flex;

    animation: fadeIn 1.3s ease;
}

.content {
    width: 100%;
    max-width: 750px;
}


/* TYPOGRAPHIE */

.eyebrow {
    margin-bottom: 25px;

    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 5px;

    color: #9a938b;
}

h1 {
    font-size: clamp(70px, 15vw, 150px);
    font-weight: normal;
    font-style: italic;

    letter-spacing: -5px;

    margin-bottom: 30px;
}

h2 {
    font-size: clamp(38px, 7vw, 75px);
    font-weight: normal;

    line-height: 1.08;

    margin-bottom: 40px;
}

.subtitle {
    font-size: 20px;
    line-height: 1.7;

    color: #c8c0b7;

    margin-bottom: 55px;
}

.text {
    font-size: 19px;
    line-height: 1.8;

    color: #c8c0b7;

    margin-bottom: 45px;
}

.question {
    font-size: 16px;
    font-style: italic;

    margin-bottom: 25px;

    color: #9f978f;
}


/* BOUTONS */

button {
    border: 1px solid #777068;

    padding: 15px 32px;

    background: transparent;
    color: #f5f0e8;

    font-family: Arial, sans-serif;
    font-size: 11px;

    letter-spacing: 3px;
    text-transform: uppercase;

    cursor: pointer;

    transition: all 0.4s ease;
}

button:hover {
    background: #f5f0e8;
    color: #11100f;
}


/* MOT DE PASSE */

input {
    display: block;

    width: min(320px, 90%);
    margin: 0 auto 25px auto;

    padding: 15px 5px;

    border: none;
    border-bottom: 1px solid #777068;

    background: transparent;

    color: #f5f0e8;

    text-align: center;

    font-family: Georgia, serif;
    font-size: 18px;

    outline: none;
}

input::placeholder {
    color: #625d58;
}

#error {
    height: 30px;

    margin-top: 25px;

    color: #a88072;

    font-style: italic;
    font-size: 14px;
}


/* DATES */

.date-bottom {
    position: absolute;

    bottom: 30px;
    left: 0;
    right: 0;

    font-family: Arial, sans-serif;
    font-size: 9px;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: #5e5954;
}

.big-date {
    display: flex;
    flex-direction: column;

    margin-bottom: 45px;

    font-size: clamp(60px, 12vw, 110px);
    line-height: 0.85;
}

.big-date .month {
    margin: 17px 0;

    font-family: Arial, sans-serif;
    font-size: 13px;

    letter-spacing: 8px;

    color: #659aa4;
}

.huge-date {
    font-size: clamp(45px, 10vw, 100px);

    letter-spacing: -2px;

    margin-bottom: 30px;
}

.location {
    margin-bottom: 40px;

    font-family: Arial, sans-serif;
    font-size: 11px;

    letter-spacing: 5px;
    text-transform: uppercase;

    color: #659aa4;
}


/* HISTOIRE */

.story-text {
    margin-bottom: 30px;

    font-size: clamp(25px, 5vw, 43px);
    line-height: 1.4;
}

.story-subtext {
    margin-bottom: 50px;

    font-size: 17px;
    font-style: italic;

    line-height: 1.7;

    color: #8f8880;
}

.separator {
    width: 35px;
    height: 1px;

    margin: 40px auto;

    background: #659aa4;
}


/* ÉCRANS SPÉCIAUX */

.story {
    background: #151412;
}

.chapter {
    background: #eee9e0;
    color: #181614;
}

.chapter .eyebrow,
.chapter .story-subtext {
    color: #726c65;
}

.chapter button {
    color: #181614;
    border-color: #918a82;
}

.chapter button:hover {
    color: #eee9e0;
    background: #181614;
}

.august {
    background: #171311;
}

.ending {
    background: #0d1214;
}

.heart {
    margin: 40px 0;

    font-size: 30px;

    color: #659aa4;
}


/* ANIMATION */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* SMARTPHONE */

@media (max-width: 600px) {

    .screen {
        padding: 30px 22px;
    }

    h1 {
        letter-spacing: -3px;
    }

    .subtitle {
        font-size: 18px;
    }

}
