@import url("../base.css");

@import url("../partials/header.css");
@import url("../partials/footer.css");

@import url("memories-shared.css");

@import url("../partials/top-jump-btn.css");


/* ── Header background (memories page only) ─────────────────── */

#header:has(~ #highlights)::before {
    background: 
        linear-gradient(rgba(190, 186, 186, 0.056), rgba(190, 186, 186, 0.146)),
        url("../../../images/purple-flowers.jpg") center center;
    background-attachment: fixed;
    background-size: cover;
    background-size: 100% auto;

    filter: blur(2px);
    -webkit-filter: blur(2px);
    transform: scale(1.2);
}


/* ── Flourishes ─────────────────────────────────────────────── */

#memory-top .flourish {
    opacity: 0.75;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
#memory-top .flourish img{
    height: 32px;
}
#memory-top .flourish#btm{
    margin-top: 15px;
}
#memory-top .flourish#top{
    margin-bottom: 15px;
}


#memory-top.wrapper.style2 {
    padding: 70px 0 7em 0;
}

#memory-top p.style1.prompt {
    font-size: 20px;
    font-family: "Nunito Sans", sans-serif;
    letter-spacing: 0.02em;
    margin-bottom: 0;
    color: var(--nature-brown);
    text-align: center;
}


#memory-top #prompt-box {
    margin-right: auto;
    margin-left: auto;
    width: 95%;
    justify-content: center;
    border-radius: 30px;
    padding: 40px;
    
    border: 1px solid var(--pale-nature-brown);
    box-shadow: 
        0 0 0 3px var(--pale-nature-brown),
        0 0 0 6px var(--pale-green),
        0 0 0 8px var(--pale-nature-brown);
}

#memory-top header.style1 p {
    margin-bottom: -25px;
    font-family: var(--fancy-font);
    display: flex;
    flex-direction: column;
    align-items: center;

    color: var(--nature-green);
    display: block;
    margin: 0;

    font-size: var(--fancy-size);
    letter-spacing: 0.01em;
    line-height: 1.5em;
}

#highlights .flourish {
    display: flex;
    justify-content: center;
    padding-top: 5px;
}


#memory-player-box {
    margin-top: 40px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    border: 6px solid var(--pale-green);

    outline: 2.45px solid var(--nature-gold);
    outline-offset: -13px;
    box-shadow:
        inset 0 0 0 3px #e8d8ab,
        0 4px 16px rgba(0,0,0,.12);
}

/* ── Mobile ─────────────────────────────────────────────────── */

@media (max-width: 600px) {
    #header:has(~ #highlights)::before {
        transform: scale(1.5);

        filter: blur(2px);
        -webkit-filter: blur(2px);
    }
}

@media (max-width: 700px) {
    #header:has(~ #highlights) {
        background-size: cover;
        background-size: auto 100%;
    }

    
    #tributes .flourish#btm{
        margin-top: 5px;
    }
    #tributes .flourish#top{
        margin-bottom: 5px;
    }    
    
    #memory-top p.style1.prompt {
        font-size: 18px;
    }

    #memory-top header.style1 p {
        font-size: 28px;
        line-height: 1.2;
    }
}