#posts {
    width: 100%;
    min-height: 50dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2vw 0 0 0;

    ul {
        width: 98%;
        min-height: 100%;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        margin: 0.2vw 0 0 0;

        a {
            width: calc(100% / 4 - (0.1vw * 4));
            min-height: 60dvh;
            max-height: 60dvh;
            margin: 0.2vw;
            overflow: hidden;

            li {
                background: var(--lines);
                border-radius: 0.5vh;
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                position: relative;

                img {
                    width: calc(100% - 1vw);
                    height: calc(100% - 10vw);
                    border-radius: 0.5vw;
                    object-fit: cover;
                    margin: 1dvw 0 0 0;
                }

                div {
                    display: flex;
                    margin: 0.5vw;
                    width: 100%;
                    border-bottom: solid 1px;
                    align-items: center;
                    overflow: hidden;

                    label {
                        width: calc(100% - 40%);
                        overflow: hidden;
                        font-family: "Alan Sans", sans-serif;
                        font-weight: 500;
                        font-size: 1em;
                        text-transform: uppercase;
                        padding: 0 0 0 0.5vw;
                    }

                    h3 {
                        width: calc(100% - 60%);
                        text-align: right;
                        padding: 0 0.5vw 0 0;
                        border-left: solid 1px;
                    }
                }

                p {
                    padding: 1dvh 0 0 0;
                    width: 95%;
                    min-height: 15%;
                    max-height: 15%;
                    font-family: "Vollkorn", serif;
                    font-weight: 800;
                    font-size: 1em;
                    word-break: break-word;
                }

                hgroup {
                    position: absolute;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    bottom: 1vw;
                    right: 1vw;
                    padding: 0.5dvh;
                    border-radius: 1dvh;
                    background-color: var(--bg-light);
                }
            }
        }
    }

    #rodape {
        opacity: 0;
        transform: translateX(100vw);
    }
}

@media (width < 600px) {
    #posts {
        ul {
            a {
                margin: 0 0 4dvw 0;
                width: calc(100% - (0.1vw * 4));
                min-height: 65dvh;
                max-height: 65dvh;
                li {
                    img {
                        width: min(90vw, 44dvh);
                        height: min(90vw, 44dvh);
                        border-radius: 0.5vw;
                    }
                    div {
                        display: flex;
                        justify-content: center;
                    }
                }
            }
        }
    }
    #rodape {
        width: 80%;
    }
}
