@font-face {
    font-family: 'Blonkra';
    src: url('/fonts/Blonkra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Stack Sans Headline';
    src: url('/fonts/StackSansHeadline.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Akt';
    src: url('/fonts/Akt.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Monilora';
    src: url('/fonts/Monilora.ttf') format('truetype');
}

body { 
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    min-height: 100dvh;
    position: relative;
    }

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3; 

    background-image: radial-gradient(circle, rgba(137, 178, 224, 1) 0%, rgba(217, 229, 214, 1) 50%, rgba(255, 255, 255, 1) 100%, rgba(237, 221, 83, 1) 0%);
    background-repeat: no-repeat;

}

.grain-overlay::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;

    background-image: url("/assets/grain.png");
    background-size: 16%;
    background-repeat: contain;
    opacity: 0.50;
}

.navbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 15%;

}

.navbar-logo {
    width: 6em;
    margin: 0;
    padding-top: 3dvh;
    padding-left: 6dvh;
    padding-bottom:8dvh;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding-left: 3dvh;
    padding-bottom: 5em;
    max-width: 15vh;

}

.navbar a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1em;
    color: royalblue;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: 'Monilora', sans-serif;
    font-weight: 200;
    text-shadow: 0.05rem 0.05rem 0.1rem #7d96bf;
}

.navbar a:hover {
    color: midnightblue;
    font-size: 1.3em;
    transition: color 0.2s, font-size 0.5s;
}

.feed {
    display: flex;
    flex-direction: column;
    width: 60%;
    margin: 0;
    padding: 20dvh 0 20dvh 10dvh;
}

.post {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 1em;
    border: 0.25em double #485D81;
    filter: drop-shadow(0.03em 0.03em 1em rgba(137, 178, 224, 0.7));
    background-color: rgba(255, 255, 255, 0.20);
}

.subfeed {
    display: flex;
    flex-direction: column;
    padding: 0rem 0 3.5rem 0.5rem;
}

.post h1 {
    margin: 0;
    padding: 2rem 0 0.3rem 1.5rem;
}

.post h1 {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}

.post h1 a {
    font-family: 'Monilora', serif;
    width: 100%;
    letter-spacing: -0.05em;
    font-size: 1.8rem;
    color: #070722;
    font-weight: 600;
    text-shadow: 0.1rem 0.1rem 0.1rem #485D81;
    text-decoration: none;
}

.post h1 a:hover {
    font-family: 'Monilora', serif;
    width: 100%;
    letter-spacing: -0.05em;
    font-size: 1.9rem;
    color: #1c1c7b;
    font-weight: 600;
    text-shadow: 0.1rem 0.1rem 0.1rem #485D81;
    transition: color 0.1s, font-size 0.2s;
}

.post h2 {
    font-family: 'Stack Sans Headline', serif;
    font-size: 1.1em;
    color: #485D81;
    margin: 0;
    padding: 0 0 1.5rem 1.7rem;
}

.post p {
    font-size: 1em;
    font-family: 'Stack Sans Headline', sans-serif;
    font-weight: 200;
    color: #283633;
    padding: 0 0 2.5rem 1.8rem;
    text-shadow: 0.07rem 0.08rem 0.08rem #d9e5d6;
}

.post-img {
    display:flex;
    flex-direction: row;
    justify-content: center;
}

.para-crowd {
    width: 94%;
    height: 30dvh;
    background-image: url('/assets/Brooklyn-Paramount-crowd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.5em;
    opacity: 0.7;
}

footer {
    display: flex;
    width: 100%;
    flex-direction: column;
    text-align: center;
    font-family: 'Stack Sans Headline', sans-serif;
    font-weight: 200;
    font-size: small;
    color: midnightblue;
}



@media screen and (max-width: 768px) {

    body { 
        flex-direction: column;
        margin: 0; 
        position: relative;
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
    } 

    body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3; 

    background-image: radial-gradient(circle, rgba(137, 178, 224, 1) 0%, rgba(217, 229, 214, 1) 50%, rgba(255, 255, 255, 1) 100%, rgba(237, 221, 83, 1) 0%);
    background-repeat: no-repeat;

    }

    .navbar {
    width: 100%;    
    max-width: 100%; 
    min-height: auto;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding: 1rem 0;
    box-sizing: border-box;
    }

    .navbar-logo {
    width: 6em;
    margin: 0 0 1rem 0;
    padding: 0;
    }

    .navbar ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    }

    .navbar a {
    padding: 0.5rem 1rem;
    }

    .break {
        flex-basis: 100%;
        height: 0;
    }

    .mobile-break {
        flex-basis: 100%;
        height: 0;
    }

    .post h1 {
        line-height: 5dvw;
        padding-bottom: 4dvw;
        padding: 2rem 1rem 1rem 1rem;
    }

    .post h1 a {
        font-size: 0.7em;
    }

    .post h1 a:hover {
        font-size: 0.75em;
        line-height: 5.1dvw;
    }

    .post h2 {
        font-size: 1em;
        padding: 0 1rem 1rem 1rem;
    }

    .post p {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.8em;
    }
    
    .feed {
        width: 100%;
        flex: 0 0 100%;
        flex-shrink: 0;
        flex-wrap: wrap;
        flex-direction: column;
        padding: 3em 2em 3em 1.3em;
        box-sizing:border-box;
    }

    .subfeed {
        padding: 1.5em 2em;
    }

    footer {
        font-size: x-small;
    }

}