.crt::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0.37) 50%, rgba(47, 46, 47, 0.68) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size:
        100% 2px,
        3px 100%;
    pointer-events: none;
}

@keyframes flicker {
    0% {
        opacity: 0.07861;
    }
    5% {
        opacity: 0.14769;
    }
    10% {
        opacity: 1.72;
    }
    15% {
        opacity: 0.08;
    }
    20% {
        opacity: 0.05;
    }
    25% {
        opacity: 0.00626;
    }
    30% {
        opacity: 0.08128;
    }
    35% {
        opacity: 0.13604;
    }
}

.crt::after {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.02);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: flicker 0.1s infinite;
}

:root {
    /********/
    --page-color: #ffffff;
    --accent-color: #472f4a;
    --accent-color2: #fce0ff;
    /********/
}

*,
*::before,
*::after {
    box-sizing: border-box;
    text-decoration: none;
}

@font-face {
    font-family: "PixelMplus12";
    src: url("/util/font/PixelMplus12-Regular.ttf") format("woff");
    font-weight: normal;
    font-style: normal;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

html {
    filter: contrast(1.1) saturate(2.3) brightness(1.1);
}

body {
    background-color: var(--page-color);
    color: var(--accent-color);
    font-family: PixelMplus12, "Times New Roman", Times, serif;
    font-size: 14px;
    image-rendering: pixelated;
    font-smooth: never;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0.97;
    text-underline-position: under;
    background: radial-gradient(var(--page-color), #b39ab3 250%);
    animation: fadein 1s ease-in-out;
    text-shadow:
        2px 0px rgba(255, 0, 0, 0.1),
        -2px 0 rgba(0, 255, 255, 0.1);
    font-style: italic;
    overflow-x: hidden;
}

::selection {
    color: #3939e9;
    background: #ffffff;
    text-decoration: underline;
}

/** basic tooltip from tutorial-baby**/
.tooltip {
    display: inline;
    position: relative;
}
.underline {
    text-decoration: 1px dotted underline;
}
#s-m-t-tooltip {
    max-width: 300px; /*how big the tooltip can be at most*/
    border-radius: 0px; /*change your border radius*/
    padding: 3px 4px 5px 4px; /*padding inside tooltip*/
    margin: 20px 7px -2px 20px; /*distance from word*/
    background-color: var(--page-color); /*background color*/
    border: 1px dotted var(--accent-color); /*border info*/
    color: var(--accent-color); /*tooltip font color*/
}

.center {
    text-align: center;
}

.end {
    text-align: end;
}

.row {
    display: flex;
    gap: 3px;
}

a {
    color: #1400ff;
}

hr {
    border-top: 1px dashed var(--accent-color);
}

.container {
    max-width: 642px;
    margin: 5% auto;
    padding: 20px;
    border: 2px groove white;
    border-radius: 5px;
    background: linear-gradient(rgba(79, 44, 71, 0.09), transparent);
    box-shadow:
        0 0 4px -6px rgba(0, 0, 0, 0.26),
        0 0 26px 7px rgba(0, 0, 0, 0.17);
    position: relative;
    max-height: min-content;
}

.container .content {
    background: var(--page-color);
    box-shadow: 0 0 18px 12px var(--page-color);
    padding: 4px;
    border-radius: 0;
}

.virgostop {
    width: 100%;
}
header {
    height: 200px;
    background: url(https://maid-online.neocities.org/images/misc/virgo-dadan.png);
    background-position: 28px 256px;
    border: 2px groove var(--page-color);
}

header h3 {
    padding: 3px 7px;
    margin: 0;
    text-align: end;
    background: var(--page-color);
}

.title {
    margin: -51px 0 0 0;
    background: linear-gradient(to right, var(--page-color) 50%, rgb(0, 0, 0, 0));
    padding: 10px 5px 10px 5px;
    font-style: italic;
    font-weight: 100;
    font-size: 25;
}

.header i {
    display: block;
    text-align: end;
    margin-top: 1px;
    font-size: 14px;
    text-shadow: none;
    background: linear-gradient(to right, transparent 20%, var(--accent-color));
    color: var(--page-color);
}

.header p {
    margin: 10px;
    font-style: italic;
}

.opening p,
.body,
footer,
.header i {
    border: 1px outset white;
    padding: 6;
    margin: 0;
}

marquee {
    border: 1px dotted;
    font-size: 12px;
}

.main-content {
    border: 2px groove white;
    padding: 4px;
}

.sidebar {
    min-width: 145px;
    border: 2px groove white;
    padding: 5px;
    border-radius: 5px;
}

.sidebar .nav {
    background: var(--page-color);
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 3px;
}

.sidebar .nav:hover a {
    opacity: 0.5;
    transition: all 0.6s ease;
    margin: -3px 0;
}

.sidebar .nav a {
    padding: 6px;
    border: 2px groove var(--page-color);
    color: var(--page-color);
    text-shadow: 0 0 10px var(--accent-color);
    transition: all 0.5s ease-in-out;
    display: block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 12px -5px #7a7a7a;
    background: linear-gradient(var(--accent-color) -40%, transparent);
    border-radius: 4px;
}

.sidebar .nav a::after,
.pollcode::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.77), rgba(255, 255, 255, 0.17));
    transition: background 0.3s ease-in-out;
    border-radius: 0 0 200px 200px;
    padding: 2px;
}

.sidebar .nav a:hover {
    opacity: 1;
    filter: saturate(3);
    font-size: 19px;
    margin: 3px 0;
}

.pollcode {
    font-size: 12px;
    color: var(--accent-color);
    border: 2px groove white;
    margin: 3px 0;
    padding: 7px;
    border-radius: 5px;
    background: linear-gradient(var(--accent-color) -300%, transparent 50%);
    position: relative;
}

.pollcode::after {
    height: 10%;
}

@keyframes floaty {
    0%,
    50%,
    100% {
        top: 0;
    }
    25% {
        top: 1px;
    }
    75% {
        top: -1px;
    }
}

.floaty {
    position: relative;
    animation: floaty infinite 3s steps(5);
}

.pollcode * {
    transition: 0.3s ease-in-out;
    font-family: unset
}

.pollcode p {
    margin: 0;
    font-style: italic;
    font-size: 13px;
}

.pollcode p:hover {
    font-size: 15px;
}

.pollcode input:hover {
    color: #3939e9;
    filter: brightness(1.1);
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease-in-out;
}

.pollcode input:hover + label {
    color: #3939e9;
    cursor: pointer;
    font-size: 14px;
}

.pcb input {
    border: 2px groove white;
    font-size: 12px;
    margin: 2px 0 0 0;
    display: inline-block;
    border-radius: 5px;
    transition: 0.5s ease-in-out;
}

.pcb input:active {
    border: 2px ridge white;
    filter: brightness(0.7);
}

.body {
    margin: 3px 0;
    padding: 5px;
}

.body p {
    margin: 3px 0;
    padding: 3px;
}

.image {
    min-width: 160px;
    min-height: 200px;
    border: 2px ridge var(--accent-color2);
    margin: 3px 0;
    background: url(https://maid-online.neocities.org/images/misc/virgo-card.jpg);
    background-size: 500px;
    background-position: 266px -42px;
}

.hehe span {
    display: block;
    padding: 5px 10px;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-in-out;
    background: #fff0f5;
}

.tab-content.is-open {
    max-height: 1000px; /* Needs to be larger than your actual content */
}

button {
    background: var(--accent-color2);
    font-family: unset;
    margin: 6px 0;
    border: 2px groove var(--accent-color2);
    color: var(--accent-color);
}

button:active {
    filter: brightness(0.9);
    border: 2px ridge var(--accent-color2);
}

footer {
    text-align: end;
    margin: 5px 0 0 0;
    padding: 5px;
}

.quickthing {
    position: absolute;
    border: 2px groove white;
    background: var(--page-color);
    margin: 0 -50px 0 0;
}
.quickthing p {
    margin-left: 135px;
}
.imagery {
    background: url(https://i.pinimg.com/736x/f9/7a/e9/f97ae95437ba0f034c18e166af9512af.jpg);
    height: 100px;
    background-position: center;
    margin-top: 3px;
    border: 3px groove white;
    border-radius: 5px;
}
.calendar {
    position: relative;
    cursor: move;
    max-width: 200px;
}
#widget-calendar table {
    margin: -50px 0 0 -66px;
    position: absolute;
    background: var(--page-color);
    border: 2px groove var(--page-color);
    color: #000;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-style: italic;
}

#widget-calendar td {
    border: 2px groove var(--page-color);
    text-align: center;
    padding: 2px;
}

#widget-calendar .month {
    text-align: center;
    color: blue;
}

#widget-calendar .days {
    color: blue;
}

#widget-calendar .today {
    font-weight: bold;
    color: blue;
}

#widget-calendar .blank {
    background-color: #dedede;
}

#prefSuccess {
    opacity: 0;
}
.himesama {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-family: monospace;
}

.himesama:hover {
    font-size: 15px;
    box-shadow: 0 0 5px 1px var(--accent-color);
    padding: 0 8px;
}

@media only screen and (max-width: 700px) {
    .m-hide {
        display: none;
    }
    body {
        font-size: 15px;
    }
    .row {
        display: unset;
    }
    header {
        background-position: center;
    }

    .container {
        max-width: 642px;
        margin: 7% 20px;
        padding: 20px;
        border: 2px groove white;
        border-radius: 5px;
        background: linear-gradient(rgba(79, 44, 71, 0.09), transparent);
        box-shadow:
            0 0 4px -6px rgba(0, 0, 0, 0.26),
            0 0 26px 7px rgba(0, 0, 0, 0.17);
        position: relative;
        min-height: max-content;
    }

    .quickthing {
        display: block;
        position: unset;
        border: 2px groove white;
        background: var(--page-color);
        margin: 3px 0;
    }

    .quickthing p {
        margin-left: 0;
        padding: 10px;
        margin: 5px;
    }

    #widget-calendar table {
        margin: auto;
        position: unset;
    }
}
