main {
    padding: 2rem 0;
}

.hero {
    overflow: hidden;
    width: 90%;
    margin: 1rem auto;
    padding: 1rem;
    border-radius: 2rem;
    background: #FFFFFF7F;
}

.hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

section {
    margin-bottom: 4rem;
}

section h2 {
    line-height: 1.5;
    margin: 1rem;
    padding-bottom: 1rem;
    color: #3F3F3F;
    border-bottom: 1px solid #3F3F3F;
}

.pins .posts {
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
}

.pins .post {
    display: inline-block;
    white-space: normal;
}

.pins article {
    flex-direction: column;
    gap: 0;
    width: 16rem;
    height: 32rem;
}

.pins article p {
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.post {
    text-decoration: none;
}

article {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 1rem;
    margin: 1rem;
    padding: 1rem;
    transition: .25s ease;
    border-radius: 2rem;
    background: #FFFFFF;
}

article:hover {
    transform: translateY(-.125rem);
    border-color: #ccc;
    box-shadow: 0 .625rem 1.875rem rgba(0, 0, 0, .06);
}

article img {
    width: 16rem;
    height: 16rem;
    border-radius: 1rem;
    background: #BFBFBF;
    object-fit: cover;
}

article .content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

article h3 {
    font-weight: bold;
    margin: 0 .5rem;
    text-align: center;
    color: #000000;
}

article p {
    margin: 0 .5rem;
    color: #7F7F7F;
}

article .info {
    font-size: .75rem;
    line-height: 1.5;
    text-align: center;
    color: #7F7FBF;
    margin-top: 1rem;
}

.posts-search {
    display: flex;
    gap: 1rem;
    margin: 2rem;
}

.posts-search input {
    font-family: inherit;
    flex: 1;
    min-width: 0;
    height: 3rem;
    padding: 0 1rem;
    transition: .25s ease;
    color: #3F3F3F;
    border: 2px solid #FFFFFF;
    border-radius: 0 .5rem.5rem 0;
    outline: none;
    background: #FFFFFF;
    box-shadow: 0 1rem 1rem #BFBFBF;
}

.posts-search input:hover {
    border-color: #7F7F7F;
}

.posts-search input:focus {
    border-color: #3F3F3F;
}

.posts-search button {
    font-family: inherit;
    height: 3rem;
    padding: 0 1rem;
    cursor: pointer;
    transition: .25s ease;
    color: #FFFFFF;
    border: none;
    border-radius: .5rem 0 0 .5rem;
    background: #3F3F3F;
    box-shadow: 0 1rem 1rem #BFBFBF;
}

.posts-search button:hover {
    background: #000000;
}

#posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

#posts article {
    height: 20rem;
}

#posts article p {
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.pages {
    margin: 1rem;
    text-align: center;
    direction: ltr;
}

.pages a {
    font-weight: bold;
    display: inline-block;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin: .25rem;
    padding: .5rem;
    transition: all .25s;
    text-decoration: none;
    color: #000000;
    border-radius: .5rem;
    box-shadow: 0 0 .5rem #0000007F;
    backdrop-filter: blur(1rem);
}

.pages a:hover {
    color: #00BF00;
    background-color: #FFFFFF;
}

.pages .page {
    background: radial-gradient(circle, #00BF00, #FFFFFF);
}

@media (max-width: 768px) {
    article img {
        width: 8rem;
        height: 8rem;
    }

    #posts {
        grid-template-columns: 1fr;
    }
}