* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
      background:
        radial-gradient(
            ellipse at center,
            transparent 35%,
            rgba(0,0,0,0.95) 100%
        ),
        radial-gradient(
            ellipse at center,
            transparent 35%,
            rgba(0,0,0,0.95) 100%
        ),
        url("https://porcelainpills.neocities.org/me/concrete-wall-2_transparenttextures.png") repeat,
        radial-gradient(circle, #64715a 0%, #45513f 100%) ;
    font-family: 'Georgia', serif;
    letter-spacing: 0.05rem;
    text-shadow: 1px 1px 0 #17e4701e;
    font-size: 13px;
    color: #252525;
    z-index: 3;
}

.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.wrapper::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("https://porcelainpills.neocities.org/me/frame.gif");
    background-size: cover;
    background-position: center;
    image-rendering: pixelated;
    pointer-events: none;
    z-index: 3;
}

.wrapper::after {
    content: "";
    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            rgba(180,190,150,0.15) 0%,
            rgba(0,0,0,0.85) 100%
        );

    pointer-events: none;
}

/* Left texture */
body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 35vw;
    background:
        url("https://porcelainpills.neocities.org/me/39_experimental_textures-g-sm-dithered.jpg")
        repeat center;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Left side */
body::before {
    left: 0;

    mask-image: linear-gradient(to right,
        black 0%,
        black 60%,
        transparent 100%);

    -webkit-mask-image: linear-gradient(to right,
        black 0%,
        black 60%,
        transparent 100%);
}

/* Right side */
body::after {
    right: 0;

    mask-image: linear-gradient(to left,
        black 0%,
        black 60%,
        transparent 100%);

    -webkit-mask-image: linear-gradient(to left,
        black 0%,
        black 60%,
        transparent 100%);
        z-index: 1;
}

.frame {
    position: relative;
    width: 500px;
    height: 450px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: 32px solid transparent;
    border-image-source: url("https://porcelainpills.neocities.org/me/frame.gif");
    border-image-slice: 32;
    border-image-repeat: stretch;
    z-index: 9;
}

.frame::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: radial-gradient(
        circle at center,
        rgba(220, 230, 190, 0.75) 0%,
        rgba(220, 230, 190, 0.35) 45%,
        transparent 75%
    );
    filter: blur(5px);
    z-index: -1;
    pointer-events: none;
}

.frame > * {
    position: relative;
    z-index: 1;
}


/* Heading */

h1 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
    letter-spacing: 1px;
   filter: drop-shadow(4px 1px 0 var(--frame-inner));
     text-shadow: -1px -1px 0 #7E47A1, 1px -1px 0 #17E471, -1px 1px 0 #111, 1px 1px #111;
}

/* Scroll Area */

.content {
    flex: 1;
    z-index: 10;
    overflow-y: auto;
    padding-right: 10px;

    line-height: 1.6;
}

/* Paragraph spacing */

.content p {
    margin-bottom: 1em;
}

/* Links */

a {
    color: #17E471;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #7E47A1;
    text-decoration: underline;
}

