:root {
    --primary: #000000;
    --secondary: #00000070;
    --bg-img: url();
    --bg: #ffffff;
    --red: #E18E86;
    --yellow: #EDC452;
    --green: #CDC39C;
    --blue: rgba(168, 193, 193);
    --pink: #BF40F5;
    --a0: #000000;
    --gb: #D1DDFC;
    --a1: #F1BFCC;
    --s0: #CDC39C;
    --s1: #F2A83B;
    --s2: #00a8f8;
    --s3: #dddddd;
}

.s1-color {
    background-color: var(--s1);
}

#a0Content h4 {
    background-color: var(--a0);
    color: var(--bg);
}

#a1Content h4 {
    background-color: var(--a1);
}

html {
    transition-timing-function: ease-in-out;
    overscroll-behavior: hidden;
}

body {
    position: relative;
    /* background-image: var(--bg-img);
    background-repeat: repeat; */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    color: var(--primary);
    overflow: hidden;
    overscroll-behavior: none;
    font-family: 'satoshi-variable', sans-serif;
    font-size: 12px;
    font-variation-settings: "wght" 400;
    line-height: 16px;


   /* BACKGROUND TO  THE WHOLE WEBSITE */
    background-size: contain;
    background-attachment: fixed;
    background-image: url(img/gy2.gif)
  
}

#w0,
#w1,
#w2,
#w3 {
    box-shadow: 0 0 40px -10px rgba(0, 0, 0, .1),
        0 0 25px -15px rgba(0, 0, 0, .1);
}

.crt::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(#12101000 50%, #0000001a 50%), linear-gradient(90deg, #ff000008, #00ff0005, #0000ff08);
    z-index: 400;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none
}

@keyframes flicker {
    0% {
        opacity: .27861
    }

    5% {
        opacity: .34769
    }

    10% {
        opacity: .23604
    }

    15% {
        opacity: .10626
    }

    20% {
        opacity: .18128
    }

    25% {
        opacity: .10626
    }

    30% {
        opacity: .18128
    }

    35% {
        opacity: .23604
    }
}

.crt::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #12101005;
    opacity: 0;
    z-index: 400;
    pointer-events: none;
    animation: flicker .2s infinite
}

img {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none
}

::selection {
    background: #241f1f22;
}

::-webkit-scrollbar {
    width: 14px
}

::-webkit-scrollbar-corner {
    background: #eee
}

::-webkit-scrollbar-thumb {
    border: 1.5px solid #888;
    border-radius: 24px;
    box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
}

::-webkit-scrollbar-thumb:vertical {
    background: linear-gradient(90deg, #eee 45%, #ddd 0, #bbb);
}

::-webkit-scrollbar-thumb:horizontal {
    background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
}

.container {
    margin: 0 !important;
    min-width: 100%;
    padding: 12px 64px;
}

/* text */
h2 {
    font-family: "000webfont", monospace;
    font-size: 18px;
}

h4 {
    font-family: "000webfont", monospace;
    font-size: 18px;
    background: var(--green);
    padding: 2px 12px;
    border: solid 1px var(--primary);
    line-height: 20px;
}

h5 {
    border-right: solid 1px var(--primary);
    border-bottom: solid 1px var(--primary);
    /* box-sizing: border-box; */
    width: 160px;
    font-family: "000webfont", monospace;
    font-size: 18px;
    vertical-align: middle;
    line-height: 26px;
    padding-left: 4px;
    height: 28px;
}

h5 img {
    vertical-align: middle;
}

a {
    color: currentColor;
}

ul.link-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

ul.link-list li {
    padding-left: 12px;
    text-indent: -12px;
    padding-bottom: 4px;
}

ul.link-list li a {
    font-family: "000webfont";
    font-size: 18px;
}

ul.link-list li:before {
    content: "■";
    padding-right: 6px;
    font-size: 8px;
}

.plus-list {
    border-bottom: dashed 1px var(--primary);
    padding-bottom: 8px;
    padding-top: 4px;
}

.plus-list:first-of-type,
.todo-list:first-of-type {
    padding-top: 0px;
}

.plus-list:last-of-type,
.todo-list:last-of-type {
    padding-bottom: 0px;
    border-bottom: none;
}

.plus-list li,
.todo-list li {
    padding-bottom: 2px;
    padding-left: 14px;
    text-indent: -16px;
}

.plus-list li:before {
    content: "☑";
    padding-right: 4px;
    font-size: 13px;
}

.todo-list li:before {
    content: "▢";
    padding-right: 4px;
    font-size: 12px;
}

h3 {
    font-family: "000webfont", monospace;
    font-size: 18px;
    line-height: 18px;
}

.h4-link {
    float: right;
    font-family: 'satoshi-variable', sans-serif;
    font-size: 10px;
}

p {
    font-family: 'satoshi-variable', sans-serif;
    font-size: 12px;
    font-variation-settings: "wght" 400;
    line-height: 16px;
    padding-bottom: 6px;
}

textarea,
textarea:focus {
    font-size: 6px;
    line-height: 8px;
    padding: 4px;
    color: var(--secondary);
    background: #241f1f08;
    border: none;
    resize: none;
    width: 100%;
    outline: none !important;

}



/* windows */
.scrollable {
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scroll-behavior: smooth !important
}

.window {
    background-color: var(--bg);
    background: var(--bg);
    border: solid 1px var(--primary);
    border-radius: 8px;
    position: relative;
    position: absolute;
    transform: scale(0);
    transition: transform 0.2s ease-out;
    width: fit-content;
    box-shadow: 4px 12px 40px #241f1f14;
}

section {
    background: var(--bg);
    border: solid 1px var(--primary);
    border-top: none;
    padding: 12px;
    height: calc(100% - 26px);
}

.browser {
    overflow: hidden;
    border-bottom: solid 1px var(--primary);
    padding: 4px;
    background: var(--primary);
}

.browser h3 {
    border: solid 1px var(--primary);
    border-radius: 90px;
    padding: 2px 12px;
    background: var(--bg);
}

#aboutBrowser {
    background: var(--a0);
}

.bottom-rounded {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow: hidden;
    height: -moz-calc(100% - 93px);
    height: -webkit-calc(100% - 93px);
    height: calc(100% - 93px);
}

.bottom-rounded-no-webnav {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow: hidden;
    height: -moz-calc(100% - 32px);
    height: -webkit-calc(100% - 32px);
    height: calc(100% - 32px);
}

#no-laptop {
    display: none;
    background-color: var(--bg);
    width: 100%;
    position: relative;
}

.windownav * {
    line-height: 32px;
    padding: 0px 12px;
    box-sizing: border-box;
}

.x {
    border-left: solid 1px var(--primary);
    padding: 0px 0px;
}

.embed-full {
    width: 100%;
    height: 600px;
    margin-bottom: -12px;
}

/* browser window */
.a-active-tab {
    background: var(--a0);
    color: var(--bg);
}

.s-active-tab {
    background: var(--s0);
    color: var(--primary);
    border-bottom: solid 1px var(--s0);
}

#socialBrowser {
    background: var(--s0);
}

#w0,
#w3 {
    width: 64%;
    min-width: 840px;
    max-width: 1000px;
    height: 75vh;
    overflow-y: hidden;
}

.status-content {
    background: #00000010;
    padding: 8px 12px;
    border-radius: 16px;
}

#a0Content,
#a1Content,
#a2Content {
    height: 100%;
    background-repeat: repeat;
}

#a0Content {
    background-image: url(img/asteroidbg.png);
}


#s0Content,#a2Content-mobile {
    background-image: url(img/colorfulqstrans.png);
}

#s1Content {
    background-image: url(img/paintdots.png)
}

#a1Content {
    background-image: url(img/pinkpunk.png);
}

/* links window */
#s0Content,
#s1Content,
#s2Content,
#s3Content {
    height: 100%;
}

#webrings>* {
    margin: 0 auto;
    margin-bottom: 12px;
}

#lb-button {
    transform: scale(1.2);
    transform-origin: top left;
    image-rendering: pixelated;
}

.table td:first-child {
    width: 25%;
}

#nekowebring .webring-prev img,
#nekowebring .webring-next img {
    width: 8px;
    height: 16px;
}

#cutie-club table {
    width: 100%;
}

#webrings {
    display: none;
}

/* art window */
.artcontent {
    position: relative;
    width: 921px;
    height: 480px;
}

#artimg-23 {
    border: solid 1px black;
    opacity: 1;
}

.artimg-img {
    object-fit: cover;
    width: 90px;
    height: 90px;
    float: left;
    border: dotted 1px var(--primary);
    margin: 4px;
    opacity: 0.4;
}

#gallery {
    float: left;
    padding: 8px;
    box-sizing: border-box;
    height: 480px;
    border-left: solid 1px var(--primary);
}

#previewer {
    height: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-bottom-left-radius: 8px;
    background-color: #241f1f62;
}

#preview-img {
    overflow: hidden;
    width: 480px;
    object-fit: contain;
    height: 480px;
    margin: auto;
    display: block;
}

#preview-img img {
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* guestbook window */
#w4 {
    width: 700px;
    height: 750px;
}

.box20 {
    box-shadow: 0 0 40px -10px rgba(0, 0, 0, .2),
        0 0 25px -15px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    margin: 20px 0;
    border: none;
    padding: 32px 16px;
    position: relative;
    width: 100%;
}

.icon01 {
    background: url(img/msg.gif) no-repeat;
    height: 62%;
    position: absolute;
    right: 10px;
    top: -13px;
    width: 27px;
}

.guestbookcontent {
    background-image: url(img/starybg.png);
    background-repeat: repeat;
}

.guestbookcontent input[type=text],
.guestbookcontent input[type=url],
.guestbookcontent textarea {
    width: 100%;
    padding: 4px 0px 2px 0px;
    margin-bottom: 2px;
    border: none;
    border-bottom: dotted 1px var(--primary);
    background-color: transparent;
    box-sizing: border-box;
    color: var(--primary);
    font-weight: 300;
    font-size: 0.7rem;
    background-position: 0px 6px;
    background-repeat: no-repeat;
    padding-left: 16px;
    background-size: 10px 10px;
}

.guestbookcontent input[type=text]:focus,
.guestbookcontent input[type=url]:focus,
.guestbookcontent textarea:focus {
    outline: none;
    border-bottom: solid 1px var(--primary);
    background-color: transparent;
}

#guestbook-pages{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
}
#guestbook-pages p{
    display: inline;
    text-align: center;
    padding: 4px;
}

.gb-active-page{
    text-decoration: underline;
    color: var(--black);
}


input[type=submit] {
    background-color: #241f1f12;
    box-sizing: border-box;
    color: var(--primary);
    font-weight: 300;
    font-size: 0.7rem;
    border: solid 0.5px var(--primary);
    border-radius: 12px;
    padding: 4px 8px;
    width: 100%;
    font-family: "000webfont";
    font-size: 14px;
}

input[type=submit]:hover {
    background-color: var(--primary);
    color: var(--bg);
}

#guestbooks___guestbook-messages-container {
    font-family: "satoshi-variable", sans-serif;
    padding: 16px 24px;
    background: #ffffff88;
    border-radius: 12px;
}

#guestbooks___guestbook-messages-container div {
    border-bottom: dotted 1px var(--primary);
    padding: 16px 0px;
    margin-bottom: 4px;
}

#guestbooks___guestbook-messages-container div:last-of-type {
    border-bottom: dotted 0px var(--primary);
    padding: 16px 0px;
    margin-bottom: 0px;
}

#guestbooks___guestbook-messages-container a {
    text-decoration: underline;
}

#guestbooks___guestbook-messages-container small {
    font-weight: 300;
    padding-left: 4px;
}


/* cursors */
html {
    scroll-behavior: smooth !important;
    cursor: url(../imgs/cursors/default.cur), auto;
}

a:hover {
    cursor: url(../imgs/cursors/pointer.cur), pointer;
}

input:hover,
textarea:hover {
    cursor: url(../imgs/cursors/text.cur), text;
}

input[type=submit] {
    cursor: url(../imgs/cursors/pointer.cur), pointer;
}

.icons .row:hover {
    cursor: url(../imgs/cursors/pointer.cur), pointer;
}

#sitemap li:hover {
    cursor: url(../imgs/cursors/pointer.cur), pointer;
}

#copy-open li:hover {
    cursor: url(../imgs/cursors/pointer.cur), pointer;
}

.x:hover {
    cursor: url(../imgs/cursors/pointer.cur), pointer;
}

.item:hover {
    cursor: url(../imgs/cursors/pointer.cur), pointer;
}

.windownav:active {
    cursor: url(../imgs/cursors/drag.cur), auto;
}

.alert {
    background: var(--a1);
    position: absolute;
    left: 80%;
    top: 49%;
    padding: 12px;
    width: 240px;
    text-align: left;
}

#macnav {
    width: 100%;
    background: var(--bg);
    z-index: 99;
    border-top: solid 1px var(--primary);
    position: fixed;
    bottom: 0px;
    height: 40px;
    box-sizing: border-box;
    font-family: "000webfont", sans-serif;
    font-size: 18px;
}

#macnav * {
    box-sizing: border-box;
}

#macnav li {
    line-height: 40px;
}

#copy-open, #date, #time{
    font-size: 20px;
}

#openwindows li {
    margin-right: 4px;
    border: dotted 1px var(--primary);
    width: 120px;
    display: inline-block;
    height: 32px;
    padding-left: 2px;
    line-height: 28px;
}

#openwindows li.active {
    border: solid 1px var(--primary);
}

#date-time {
    display: flex;
    justify-content: space-between;
    border-left: solid 1px var(--primary);
    padding-left: 12px;
}

#sitemap {
    border-top: solid 1px var(--primary);
    border-right: solid 1px var(--primary);
    border-left: none;
    position: fixed;
    bottom: 39px;
    padding: 0px 12px;
    box-sizing: border-box;
    transform-origin: bottom left;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background: var(--bg);
    left: 0px;
}

.sitemap-list,
.sitemap-list ul {
    border-left: solid 1px var(--primary);
    box-sizing: border-box;
    position: relative;
}

.sitemap-list ul {
    margin-left: 12px;
}

.sitemap-list li {
    text-decoration: underline;
    padding-left: 12px;
    text-indent: -12px;
    line-height: 18px !important;
    font-family: "000webfont";
    font-size: 18px;
}

.sitemap-list li p {
    padding-left: 18px;
    text-indent: 0px;
    line-height: 18px !important;
    display: inline-block;
    text-decoration: none;
}

.sitemap-list li:before {
    content: "————•";
    display: inline-block;
    text-decoration: none;
    padding-right: 6px;
    letter-spacing: -2px;
    font-size: 12px;
    line-height: 18px;
    padding-left: 12px;
}

.center {
    position: fixed;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-height: 100vh;
    text-align: center;
}


.windownav {
    height: 32px;
    width: 100%;
    border-bottom: solid 1px var(--primary);
    display: flex;
    justify-content: space-between;
    background: var(--gradient);
}



#laptop,
main,
html,
body {
    display: block;
    overflow: hidden !important;
    overscroll-behavior: none !important;
    height: 100vh;
}

.icon img {
    width: 72px;
}

.icon-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.icon {
    width: 80px;
    height: 100px;
    text-align: center;
   
    border-radius: 24px;
    z-index: 1;
    position: fixed;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#w0icon {
    left: calc(50% - 200px);
    top: calc(50% - 40px);
}

#w2icon {
    left: calc(50% - 80px);
    top: calc(50% - 140px);
}

#w3icon {
    left: calc(50% + 240px);
    top: calc(50% - 20px);
}

#w4icon {
    left: calc(50% + 170px);
    top: calc(50% + 100px);
}

#openwindows img{
    width: 28px;
    height: 28px;
    float: left;
    margin-right: 4px;
}

.icon h3 {
    font-size: 18px;
    /* color: white; */
    display: inline-block;
    padding: 0px 6px;
}
#w0icon h3{
    background: var(--red);
}
#w3icon h3{
    background: var(--yellow);
}
#w2icon h3{
    background: var(--green);
}
#w4icon h3{
    background: var(--blue);
}


/* dressup (oudated) */


#w1 {
    width: 640px;
}

.item {
    float: left;
    font-family: 'Instrument Serif', serif;
    text-transform: lowercase;
    padding-right: 12px;
}

#w1 .windowcontent .dressup-text {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 65%;
}

.dressup-section {
    padding: 32px;
    border-bottom: dotted 1px var(--black);
}

.dress-up img {
    position: absolute;
    height: 520px;
    box-sizing: border-box;
    right: 0;
    padding-bottom: 8px;
}





/** This stuff is necessary !! **/
.explode>p {
    position: fixed;
    cursor: inherit;
    z-index: 200;
}

.explode {
    transform: translate(-10px, -20px);
    position: fixed;
    pointer-events: none;
    z-index: 200;
}

#mobilenav{
    display: none;
}



@media screen and (max-width: 991.98px) {

    .mobile-active{
        background: var(--primary);
        color: var(--bg);
        padding: 4px;
        border-radius: 24px;
        margin-top: -4px;
    }
    .mobile-inactive{
        background: #00000010;
        padding: 4px;
        border-radius: 24px;
        margin-top: -4px;
    }

    #mobilenav{
        position:fixed;
        display: block;
        bottom:0;
        width: 100%;
        text-align: center;
        height: 40px;
        background: var(--bg);
    }

    #w0, #w3{
        transform: scale(1);
        min-width: 100% !important;
        max-width: 100% !important;
        height: calc(100dvh - 40px);
        position: fixed;
        top:0;
        display: block;
        overflow-x:hidden;
    }

    /* #about-mobile{
        text-decoration: underline;
    } */

    #w3{
        display: none;
    }

    .container {
        padding: 12px 12px;
    }

    .x{
        display: none;
    }

    .mobile-none{
        display: none;
    }

}



@media screen and (pointer:none),
(pointer:coarse) and (min-width: 0px) and (max-width: 1200px) {


    .mobile-active{
        background: var(--primary);
        color: var(--bg);
        padding: 4px;
        border-radius: 24px;
        margin-top: -4px;
    }
    .mobile-inactive{
        background: #00000010;
        padding: 4px;
        border-radius: 24px;
        margin-top: -4px;
    }

    #mobilenav{
        position:fixed;
        display: block;
        bottom:0;
        width: 100%;
        text-align: center;
        height: 40px;
        background: var(--bg);
    }

    #w0, #w3{
        transform: scale(1);
        min-width: 100% !important;
        max-width: 100% !important;
        height: calc(100dvh - 40px);
        position: fixed;
        top:0;
        display: block;
        overflow-x:hidden;
    }

    /* #about-mobile{
        text-decoration: underline;
    } */

    #w3{
        display: none;
    }

    .container {
        padding: 12px 12px;
    }

    .x{
        display: none;
    }

    .mobile-none{
        display: none;
    }


}

/* @media screen and (min-width: 0px) and (max-width: 767px) {

}


@media only screen and (pointer:none),
(pointer:coarse) and (orientation: landscape) {} */