@font-face {
    font-family: 'Nerwus';
    src: url('../fonts/nerwus.woff2');
    font-display: swap;
}

body {
    background: #fff;
}

.hero {
    padding: 10vh 0 0 0;
    height: 100vh;
    text-align: center;
    color: #fff;
    position: relative;
}

.mobile .hero {
    background: #000 url('../img/background.webp') top center no-repeat / auto 75vh;
}

.hero-title {
    font-size: 3rem;
    font-family: 'Nerwus',
        arial;
    font-weight: normal;
    margin: 0 0 3rem 0;
}

.scroll-down-cta {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.scroll-down-cta i {
    animation: bounce 2s infinite;
    font-size: 1rem;
    margin-top: 20px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.intro {
    font-size: 1rem;
    margin: 0 auto;
    background: #000;
    color: #fff;
}

.intro-content {
    width: 90%;
    margin: 0 auto;
    padding: 60px 0 0 0;
}

#chapters-list {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 20px auto;
}

.chapter-box {
    display: block;
    max-width: 300px;
    width: 300px;
    height: 300px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    margin: 1rem;
}

.chapter-box.scheduled {
    filter: grayscale(1);
}

.chapter-thumbnail {
    z-index: -1;
}

.chapter-thumbnail img {
    width: auto;
    height: 300px;
}

.chapter-title {
    font-family: 'Caveat', cursive;
    flex-direction: column;
    flex-wrap: wrap;
    background: #101217;
    text-align: center;
    height: 65px;

    position: absolute;
    bottom: 0;
    width: 100%;
}

.pub-date {
    position: absolute;
    top: -30px;
    font-size: 1.3em;
    transition: .3s;
}

.chapter-title h2 {
    font-size: 1.5rem;
}

.chapter-title h3 {
    color: #9b9b9b;
}

.chapter-excerpt {
    top: 3.5em;
    height: 250px;
    padding: 0 1em;
    background: rgba(16, 18, 23, 0.7);
    opacity: 0;
    text-align: justify;
}

.chapter-box,
.chapter-text,
.chapter-thumbnail,
.chapter-excerpt {
    transition: .3s ease;
}

.chapter-box:hover {
    transform: scale(1.1);
}

.chapter-box:hover .chapter-thumbnail {
    transform: translate(-50%, -50%) scale(1.1);
}

.chapter-box:hover .chapter-excerpt {
    opacity: 1;
}

.chapter-box.scheduled:hover .pub-date {
    opacity: 0;
}

.papper-effect {
    height: 200px;
    background: url('../img/torn-papper-1.svg') bottom center no-repeat / cover;
}

.papper-effect.bottom {
    height: 300px;

    background: url('../img/torn-papper-2.svg') top center no-repeat / cover;
}

.papper-effect.rotate {
    transform: rotate(180deg);
}

/* 
.gallery {
    background: #000;
} */