body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

main.post {
    background-color: black;
    width: 770px;
    justify-content: inherit;
    margin-top: 100px;
    margin-bottom: 100px;
    border-image: url("/res/bg/border-blur.webp") 50 / 100px / 100px;
    position: relative;
    left: inherit;
    transform: none;
}

main > * {
    z-index: 1;
}

.post-background {
    width: calc(770px + 200px);
    height: 100%;
    left: 50%;
    translate: -50%;
    position: fixed;
    background: repeating-radial-gradient(
        circle, var(--black) 0px, var(--black) 35px,
        var(--background-accent) 35px,
        var(--background-accent) 53px
    ) no-repeat center center fixed black;
    z-index: 0;
    opacity: 0.1;
    user-select: none;
}

.post-background > * {position: absolute}
.post-background > *:nth-child(1) {background: linear-gradient(black 20px, transparent); width: 100%; height: 25%; top: 0}
.post-background > *:nth-child(2) {background: linear-gradient(to top, black 20px, transparent); width: 100%; height: 25%; bottom: 100px}
.post-background > *:nth-child(3) {background: linear-gradient(to right, black, transparent); width: 25%; height: 100%; left: 0}
.post-background > *:nth-child(4) {background: linear-gradient(to left, black, transparent); width: 25%; height: 100%; right: 0}

.idiots {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    user-select: none;
}

#neso {
    height: 40px;
    width: 80px;
    margin: 0;
    animation: yay-yippee infinite 1s linear;
    pointer-events: none;
}

#me {
    filter: var(--hover-shadow);
    height: 150px;
    width: 200px;
    margin: 0;
    margin-left: -30px;
    animation: fuck infinite 0.7s linear;
    transform-origin: bottom center;
}

img {
    max-width: 80%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 35px;
    transition: 0.4s;
}

img:hover {
    transform: scale(1.015);
    filter:
        drop-shadow(#ff56134b 0px 0px 30px)
}

p {
    font-size: 1.15em;
    margin-top: 0;
    transition: 0.4s;
}

p:last-of-type {margin-bottom: 0}

.italic {font-style: italic}
a {transition: 0.4s}

h1 {
    margin: 0;
    font-size: 2.5em;
}

small {
    opacity: 0.8;
    font-size: 1.05em;
    font-style: italic;
}

.tooltip-hoverable {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 12%;
    cursor: help;
    color: var(--text);
    transition: 0.4s;
}

@keyframes fuck {
    0%, 100% {transform: scaleY(1)}
    50% {transform: scaleY(0.95)}
}

@keyframes yay-yippee {
    0% {transform: rotate3d(0, 1, 0, 0deg) scaleX(1.1);}
    50% {transform: translateY(-50px) rotate3d(0, 1, 0, 180deg) scaleX(0.9)}
    100% {transform: rotate3d(0, 1, 0, 360deg) scaleX(1.1)}
}

:has(main > #tooltip.active) :is(main > img) {
    opacity: 0.3;
    transition: 0.4s;
}

:has(main > #tooltip.active) :is(main > p, span:not(.tooltip-hoverable:hover), a) {
    color: var(--glow);
    transition: 0.4s;
}

@media screen and (max-width: 1310px) {
    .idiots {
        scale: 0.7;
        left: -30px;
        bottom: -10px;
    }

    .idiots > :not(img) {scale: 1.4}
}

@media screen and (max-width: 1130px) {
    .idiots {
        scale: 0.6;
        left: -55px;
        bottom: -25px;
    }

    .idiots > :not(img) {scale: 1.6}
}

@media screen and (max-width: 1030px) {
    .idiots {display: none}
}

@media screen and (max-width: 815px) {
    main.post {
        width: calc(100% - 65px);
        padding: 40px;
        margin-top: 20px;
        margin-bottom: 20px;
        padding-right: 25px;
    }

    .post-background {
        width: calc(100% - 65px);
    }
}

@media screen and (max-width: 570px) {
    img {
        max-width: 100%;
    }
}