main {
    height: max-content;
    position: absolute;
    top: 34px;
    left: 0;
    width: 100vw;
    display: flex;
}

main>div {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 50px 0px;
    scrollbar-width: none;
}

main>div:last-child {
    align-items: end;
}

a {
    color: white;
}

section {
    margin: 12px 20px;
    color: white;
    width: calc(50vw - 30px);
}

section>h1 {
    font-weight: 100;
    text-transform: lowercase;
    font-size: 48px;
    margin: 0px;
    background-color: black;
    width: max-content;
}

section>p {
    margin: 4px 0px;
    background-color: black;
    max-width: min(800px, 100%);
    width: max-content;
    padding: 2px 10px;
}

#posts>a {
    display: flex;
    justify-content: right;
    align-items: center;
    background-color: black;
    text-decoration: none;
    margin: 20px 0px;
    padding: 2px 10px;
    width: 200px;
}

a {
    color: white;
    padding: 2px 4px;
    margin-left: -2px;
}

a:hover {
    text-shadow: 0px 0px 10px white;
}

#posts>a>p {
    margin: 0;
}

#posts>a>p:first-child {
    margin-right: 10px;
    text-decoration: underline;
}

#posts>a>p:last-child {
    margin-left: 10px;
    width: max-content;
}

#posts {
    margin-left: auto;
}

@media screen and (max-width: 1000px) {
    main {
        flex-direction: column;
    }

    main>div {
        width: 100%;
        height: max-content;
        max-height: unset;
        overflow-y: clip;
    }

    main>div:last-child {
        align-items: start;
    }

    section {
        width: calc(100vw - 40px);
    }

    section>p {
        width: unset;
    }
}

li {
    background-color: black;
}

.dropdown {
    list-style: disclosure-closed;
    display: list-item;
    cursor: pointer;
    user-select: none;
}

.dropdown-detail ul {
    margin: 0;
}

.dropdown-detail>* {
    overflow: hidden;
}

.dropdown-detail {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s;
    border-left: 2px solid white;
    margin-bottom: 0px;
}

.dropdown-visible {
    grid-template-rows: 1fr;
    margin-bottom: 30px;
}