body::before {
    position: fixed;
    z-index: -1;
    content: "";
    opacity: .25;
    background: url("/img/bg/publisher.png") repeat;
    inset: 0;
}

.hero {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 100vh;
    margin-top: 8rem;
    padding: 4rem 4rem 0 4rem;
    gap: 4rem;
}

.heroText {
    flex: 1;
}

.heroText h1 {
    font-size: 4rem;
    line-height: 1.25;
    color: #003F7F;
}

.heroText p {
    font-size: 1.25rem;
    line-height: 2;
    margin-bottom: 2rem;
    color: #7F7F7F;
}

.heroButtons {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.heroButtons a {
    font-weight: bold;
    padding: 1rem;
    transition: .25s;
    text-decoration: none;
    border-radius: 4rem;
}

.heroButtons a:first-child {
    color: #FFFFFF;
    background: #003F7F;
}

.heroButtons a:last-child {
    color: #003F7F;
    background: #FFFFFF;
    box-shadow: 0 0 1rem #003F7F7F;
}

.heroButtons a:hover {
    transform: translateY(-.25rem);
}

.article {
    position: relative;
    width: 32rem;
    height: 25rem;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2rem);
    }
}

section {
    padding: 4rem 4rem 0 4rem;
}

.sectionTitle {
    margin-bottom: 4rem;
    text-align: center;
    border-bottom: 4px solid #003F7F;
}

.sectionTitle h2 {
    font-size: 2rem;
    margin-top: 1rem;
    color: #003F7F;
}

.shelf {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 35px;
    border-radius: 18px;
    background: #1F3F7F;
    box-shadow: 0 0 1rem #003F7F7F;
    gap: 1rem;
}

.shelf:after {
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1rem;
    content: "";
    border-radius: 0 0 1rem 1rem;
    background: #001F5F;
}

.bookItem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 20rem;
    cursor: pointer;
    transition: .25s;
    text-decoration: none;
    border-radius: .5rem .5rem .25rem .25rem;
    box-shadow: 0 12px 20px #0000003F;
}

.bookItem span {
    font-weight: bold;
    letter-spacing: .25rem;
    color: #FFFFFF;
    writing-mode: vertical-rl;
}

.bookItem:hover {
    transform: translateY(-2rem) scale(1.1);
}

.bc_0 {
    background: #BF1F1F;
}

.bc_1 {
    background: #007F1F;
}

.bc_2 {
    background: #BF7F00;
}

.bc_3 {
    background: #003F7F;
}

.bc_4 {
    background: #3F3F3F;
}

.latest {
    position: relative;
    padding: 10rem 7%;
}

.pins {
    display: flex;
}

.pins .posts {
    display: inline-block;
    overflow-x: auto;
    white-space: nowrap;
}

.pins .post {
    display: inline-block;
    white-space: normal;
}

.posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.post {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    width: 20rem;
    margin: 1rem;
    transition: .5s;
    text-decoration: none;
    border-radius: 1.5rem;
    background-color: #FFFFFF;
    box-shadow: 0 .5rem 1rem #0000007F;
}

.post {
    position: relative;
    overflow: hidden;
    width: 20rem;
    transition: .25s;
    border: 1px solid #7F7F7F;
    border-radius: 1rem;
    background: #FFFFFF;
    box-shadow: 0 0 1rem #000000;
}

.post:hover {
    transform: translateY(-.5rem) rotate(-1deg);
}

.post img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.content {
    padding: 1rem;
}

.content h3 {
    margin-bottom: 1rem;
    color: #000000;
}

.content p {
    line-height: 2;
    margin-bottom: 1rem;
    color: #7F7F7F;
}

.meta {
    font-size: .75rem;
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
    color: #003F7F;
    border-top: 1px dashed #BFBFBF;
}

.numbers {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.numbers div {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
    border-radius: .5rem;
    background: #FFFFFF;
    box-shadow: 0 0 2rem #7F7F7F;
}

.numbers div:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: .25rem;
    content: "";
    background: linear-gradient(to left, #00BFFF, transparent);
}

.numbers strong {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: #003F7F;
}

.numbers span {
    color: #7F7F7F;
}

::-webkit-scrollbar {
    width: 1rem;
}

::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background: #003F7F;
}

::-webkit-scrollbar-track {
    background: #DFDFDF;
}

.post,
.bookItem,
.heroButtons a {
    transition: .25s cubic-bezier(.2, .8, .2, 1);
}

@media(max-width:768px) {
    .book {
        width: 16rem;
        height: 11rem;
    }
}