/* GENERAL */
.disclaimer{
    position: absolute;
    bottom: 35px;
    right: 10px;
    width: 200px;
    font-size: 16px;
    color: black;
    opacity: 0.6;
}
.disclaimer img{
    height: 16px;
}
.disclaimer p{
    margin-bottom: 2px;
}
#hide-disclaimer{
    position: absolute;
    top: 14px;
    right: 0px;
    text-decoration: underline;
    cursor: pointer;
}
@font-face {
    font-family: win95;
    src: url(win95.ttf);
}
* {
    cursor: url(arrow.cur), pointer;
    user-select: none;
}
a{
    color: black;
    text-decoration: none;
}
span, option, select, h1, .dos-text-row, label, p, textarea, input{
    font-family: win95;
}
h1{
    margin: 0px;
}
img{
    image-rendering: pixelated;
}
html, body {
    overscroll-behavior-y: contain;
}
body{
	background-color: white;
    margin: 0px;
    width: 100vw;
    height: 100svh;
}
.strong{
    font-weight: bold;
}
.underline{
    text-decoration: underline;
}
.border-white-top{
    border-width: 2px;
    border-color: white gray gray white;
    border-style: solid;
}
.border-gray-top{
    border-width: 2px;
    border-color: gray white white gray ;
    border-style: solid;
}
.border-white-top-black{
    border-width: 3px;
    border-top-width: 2px;
    border-left-width: 2px;
    border-color: white black black white;
    border-top-style: solid;
    border-left-style: solid;
    border-bottom-style: ridge;
    border-right-style: ridge;
}
/* TODO ewww */
.border-white-top-black2{
    border-width: 3px;
    border-top-color: black;
    border-left-color: black;
    border-right-color: white;
    border-bottom-color: white;
    border-top-style: groove;
    border-left-style: groove;
    border-bottom-style: groove;
    border-right-style: groove;
}
.border-gray-top-black{
    /* TODO top color not the right shade of gray */
    border-width: 3px;
    border-top-color: white;
    border-left-color: white;
    border-bottom-color: black;
    border-right-color: black;
    border-top-style: groove;
    border-left-style: groove;
    border-bottom-style: ridge;
    border-right-style: ridge;
}
.border-white-top-black-gray{
    border-width: 3px;
    border-top-width: 2px;
    border-left-width: 2px;
    border-color: white black black white;
    border-style: ridge;
}
.border-black-top-black-gray{
    border-width: 3px;
    border-top-width: 2px;
    border-left-width: 2px;
    border-color: black white white black;
    border-style: ridge;
}
.border-thin{
    border-width: 2px;
    border-top-width: .75px;
    border-left-width: .75px;
}
.border-medium{
    border-width: 2px;
    border-top-width: 1.75px;
    border-left-width: 1.75px;
}
.border-white-bottom{
    border-width: 2px;
    border-color: gray white white gray;
    border-style: solid;
}
.button-pressed{
    border-width: 2px;
    border-color: gray transparent transparent gray;
    border-style: solid;
}
.border-white-gray{
    border: 3px white;
    border-style: groove;
    /* TODO top color not the right shade of gray */
}
.border-white-gray-top-only{
    border-top: 3px white;
    border-top-style: groove;
    /* TODO top color not the right shade of gray */
}
.border-box{
    box-sizing: border-box;
}
.hidden{
    display: none;
}

/* DESKTOP */
#background{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
	z-index: -1;
    background-color: #55aaaa;
}
#window-manager{
    position: relative;
    z-index: 1;
}
.desktop{
    height: 100%;
    width: 100%;
    overflow: hidden;
}
#selection-box{
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    user-select: none;
    pointer-events: none;
    box-sizing: border-box;
    border: 2px dotted red;
    -o-border-image: url(border-dotted-selection.svg) 18% repeat; /* Opera 11-12.1 */
    -webkit-border-image: url(border-dotted-selection.svg) 18% repeat ; /* Safari 3.1-5 */   
    border-image: url(border-dotted-selection.svg) 18% repeat;
}
#context-box{
    z-index: 8;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    height: fit-content;
}

/* DESKTOP APPS */
.desktop-window{
    width: fit-content;
    min-width: max-content;
    position: absolute;
    background-color: #c3c7cb;
}
.desktop-window-header{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0px 3px;
    background-color: #868a8e;
    height: 22px;
    border: 1px solid #c3c7cb;
}
.desktop-window-header-focussed{
    background-color: #0000aa;
}
.desktop-window-header-right{
    display: flex;
    flex-direction: row;
}
.desktop-window-header-title{
    color: white;
}
.desktop-window-header-title span{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.desktop-window-content{
    background-color: #c3c7cb;
    clip-path: border-box;
    width: 100%;
    height: calc(100% - 24px);
}
.desktop-window-header-left{
    display: flex;
    flex-direction: row;
    height: 100%;
}
.desktop-window-header-icon{
    display: flex;
    align-items: center;
    margin-right: 5px;
    width: 15px;
}
.desktop-window-header-icon img{
    height: 85%;
}
#resize-bar-left, #resize-bar-right, 
#resize-bar-top, #resize-bar-top-left, 
#resize-bar-top-right, #resize-bar-bottom, 
#resize-bar-bottom-left, #resize-bar-bottom-right{
    position: absolute;
    z-index: 10;
}
#resize-bar-top-left, #resize-bar-top-right, 
#resize-bar-bottom-left, #resize-bar-bottom-right{
    width: 4px;
    height: 4px;
}

#resize-bar-top-left{
    top: -2px;
    left: -2px;
    cursor: nw-resize;
}
#resize-bar-top-right{
    top: -2px;
    right: -2px;
    cursor: ne-resize;
}
#resize-bar-bottom-left{
    bottom: -2px;
    left: -2px;
    cursor: sw-resize;
}
#resize-bar-bottom-right{
    bottom: -2px;
    right: -2px;
    cursor: se-resize;
}
#resize-bar-left{
    left: -2px;
    top: 2px;
    width: 4px;
    height: calc(100% - 4px);
    cursor: w-resize;
}
#resize-bar-right{
    right: -2px;
    top: 2px;
    width: 4px;
    height: calc(100% - 4px);
    cursor: e-resize;
}
#resize-bar-top{
    right: 2px;
    top: -2px;
    height: 4px;
    width: calc(100% - 4px);
    cursor: n-resize;
}
#resize-bar-bottom{
    right: 2px;
    bottom: -2px;
    height: 4px;
    width: calc(100% - 4px);
    cursor: s-resize;
}

.window-action-icon{
    width: 18px;
    height: 16px;
    background-color: #c3c7cb;
    display: flex;
}
.window-action-icon-disabled img{
    filter: opacity(0.2);
}
.text-disabled{
    color: #85898d
}
.window-action-icon img{
    width: 100%;
}
.window-action-icon-close{
    margin-left: 2px;
}
.window-padding{
    padding: 10px;
}
.fill{
    width: 100% !important;
    height: calc(100vh - 35px) !important;
    top: 0px !important;
    left: 0px !important;
}
#app-icon-manager{
    display: flex;
    flex-direction: column;
    height: 100vh;
    flex-wrap: wrap;
    width: fit-content;
}
.app-icon-wrapper{
    display: flex;
    flex-direction: column;
    width: 90px;
    margin-bottom: 20px;
    height: 95px;
}
.app-icon-img-wrapper{
    position: relative;
    display: flex;
    justify-content: center;
    padding: 3px 0px;
}
.app-icon-img-wrapper img{
    width: auto;
    height: 50px;
}
.app-icon-text{
    color: white;
    text-align: center;
    width: 95%;
    margin: auto;
    margin-top: 0;
    padding: 3px 0px;
    overflow-wrap: break-word;
}
.icon-overlay{
    display: none;
}
.app-icon-selected .icon-overlay{
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: radial-gradient(#0000aa 0.3px, transparent 0px) 0 0 / 1px 1px;
    background: repeating-conic-gradient(transparent 0% 25%, #0000aa 25% 50%);
    background-size: 4px 4px;
}
.icon-overlay-mask{
    display: none;
}
.app-icon-selected .icon-overlay-mask{
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    -webkit-mask: url(../images/win95-minesweeper.png) no-repeat;
    -webkit-mask-size: 55%;
    -webkit-mask-position-x: 50%;
    -webkit-mask-position-y: 50%;
    mask: url(../images/win95-minesweeper.png) no-repeat;
    mask-size: 55%;
    mask-position: 50% 50%;
}
.app-icon-selected .app-icon-text{
    padding: 0px 0px;
    border: 3px dotted yellow;
    background-color: #0000aa;
    -o-border-image: url(border-dotted.svg) 18% repeat; /* Opera 11-12.1 */
    -webkit-border-image: url(border-dotted.svg) 18% repeat ; /* Safari 3.1-5 */   
    border-image: url(border-dotted.svg) 18% repeat;
}
.error-content{
    padding: 20px;
    display: flex;
    align-items: center;
}
#error-message{
    margin-left: 20px;
}
.error-button{
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.error-button #error-button{
    width: 80px;
}

/* WELCOME WINDOW */
.welcome-window-background{
    background: radial-gradient(yellow 0.3px, white 0px) 0 0 / 1px 1px;
    background: repeating-conic-gradient(white 0% 25%, yellow 25% 50%);
    background-size: 10px 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.welcome-window-header{
    margin-bottom: 3px;
}
.welcome-window-text{
    width: fit-content;
    margin: auto;
}
.welcome-window-image{
    width: fit-content;
    margin: auto;
    margin-top: 20px;
}
.welcome-window-info-icon{
    position: absolute;
    top: 14px;
    left: 12px;
}

/* INTERNET WINDOW */
.internet-window{
    width: 100%;
    height: 100%;
    clip-path: border-box;
}
.fill .internet-window{
    width: 100%;
    height: calc(100vh - 35px);
}
.internet-window iframe{
    width: 100%;
    height: 100%;
    min-width: 600px;
    min-height: 400px;
    background-color: white;
    box-sizing: border-box;
}
.no-pointer-events{
    pointer-events: none;
}
.options-header{
    display: flex;
    flex-direction: row;
}
.options-header-large{
    height: 28px;
}
.adress-bar{
    background-color: white;
    height: 54%;
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
}
.adress-bar span{
    line-height: 15px;
    font-size: 12px;
    margin-left: 2px;
    vertical-align: top;
}
.window-action-icon-refresh{
    height: 18px;
    width: 22px;
}

/* TASKBAR */
.taskbar{
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 35px;
    width: 100%;
    background-color: #c3c7cb;
    padding: 3px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 10;
}
.taskbar-left{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: left;
    overflow: hidden;
}
.taskbar-home-button{
    height: 100%;
    width: 60px;
}
.taskbar-time-container{
    height: 100%;
    padding: 2px 4px;
    width: 65px;
    text-align: right;
    flex-shrink: 0;
    margin-left: 4px;
}
#taskbar-time{
    width: 100%;
    display: block;
    white-space: nowrap;
    text-align: center;
}
#taskbar-app-container{
    width: 100%;
    height: 100%;
    margin: 0px 5px;
    display: flex;
    flex-direction: row;
}
.taskbar-app-button{
    height: 100%;
    max-width: 150px;
    margin-right: 2px;
}
.taskbar-app-text{
    padding: 0px 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.taskbar-app-wrapper{
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}
.taskbar-app-wrapper img{
    height: 80%;
    margin: 0px 3px;
}
.start-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    padding: 2px;
    justify-content: space-between;
    align-items: center;
}

/* PROJECT WINDOW */
.project-window-image{
    object-fit: cover;
    width: 50%;
    max-width: 400px;
}
.fill .project-window-image{
    max-width: 550px;
    width: 70%;
}
.project-window-content{
    display: flex;
    flex-direction: row;
    width: 100%;
    min-width: 300px;
    max-width: 700px;
}
.fill .project-window-content{
    max-width: 100%;
    justify-content: center;
}
.project-window-description{
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    width: 100%;
}
.project-window-title{
    padding-bottom: 5px;
}
.fill .project-window-title{
    text-align: center;
}
.project-window-text{
    padding-bottom: 10px;
    max-width: 500px;
}
.project-window-tech-container{
    display: flex;
    flex-direction: row;
    padding: 5px;
    margin-bottom: 10px;
    width: fit-content;
}
.project-window-tech-container img{
    width: 35px;
    padding-right: 4px;
}
.button{
    background-color: #c0c7c8;
    text-align: center;
    max-width: 160px;
}
.project-buttons{
    display: flex;
    width: 100%;
}
.project-buttons .button{
    width: 120px;
    margin-right: 20px;
}

/* DISPLAY PROPERTIES WINDOW */
.generic-row{
    display: flex;
    flex-direction: row;
}
.display-preview{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 250px;
    position: relative;
    width: 350px;
    margin: auto;
    margin-bottom: 20px;
}
.display-tab-row{
    display: flex;
    flex-direction: row;
}
.background-preview, .background-preview-overlay{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}
.background-preview{
    background-color: #55aaaa;
    width: 229px;
    height: 168px;
    top: 24px;
    left: 61px;
}
.background-preview-overlay img{
    height: 100%;
    margin: auto;
    display: block;
}
.border-overlay-text{
    position: absolute;
    top: -13px;
    left: 7px;
    background-color: #c3c7cb;
    z-index: 5;
}
.input-boundry{
    position: relative;
}
.scroll-selection{
    height: 125px;
    overflow-y: scroll;
    margin: 10px;
}
.scroll-selection-item{
    padding-left: 6px;
    color: black;
    background-color: white;
}
.scroll-selection-item-selected, .scroll-selection-item:hover{
    color: white;
    background-color: #0000aa;
}
.display-properties-container .button{
    width: 80px;
}
.button-row{
    margin-top: 10px;
    gap: 10px;
    justify-content: end;
}
.display-tab-container{
    padding: 20px;
    padding-top: 10px;
}
.radio-row{
    justify-content: center;
    margin-bottom: 10px;
}
.display-tab{
    background-color: #c3c7cb;
    padding: 0px 8px;
    margin-bottom: -2px;  /* overlap with border lower container*/
    border-color: white black black white;
    border-width: 2px;
    border-style: ridge;
    border-top-right-radius: 4px;
}
.display-tab-first {
    border-bottom: 0px;
    border-top-left-radius: 4px;
}
.display-tab-middle, .display-tab-last{
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    margin-bottom: -1px;
    margin-top: 2px;
    border-left: 0px;
}
.display-tab:nth-child(n + 3) {
    border-top-left-radius: 4px;
}
/* DOS WINDOW */
.dos-container{
    width: 100%;
    height: 100%;
    padding: 2px;
}
.dos-divider{
    border-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
    height: 5px;
}
.dos-body{
    background-color: black;
    height: calc(100% - 4px);
    width: 100%;
    min-height: 200px;
    min-width: 500px;
    margin: 0px;
    overflow-y: scroll;
}
.dos-text-row{
    color: white;
    letter-spacing: 1px;
    display: flex;
    flex-flow: row;
    align-items: end;
    max-width: 500px;
}
#dos-blinker{
    width: 10px;
    height: 2px;
    background-color: white;
    animation: blink 1s step-start 0s infinite;
    display: block;
    margin-bottom: 4px;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}
/* GUEST BOOK */
.guest-book-header{
    text-align: center;
}
.guest-book-header p{
    margin: 5px;
}
.guest-book-input{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    width: 200px;
    margin-right: 10px;
}
.guest-book-input textarea{
    resize: vertical;
}
.guest-book-messages{
    background-color: white;
    overflow-y: scroll;
    height: 300px;
    width: 100%;
    min-width: 200px;
    padding: 5px;
    max-width: 350px;
}
.guest-book-body{
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#book-apply-button{
    margin-left: auto;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
}
.guest-book-row{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

/* START MENU */
.start-menu-wrapper{
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    border: 2px solid #c3c7cb;
}
.start-wrapper span{
    margin-left: 2px;
}
.start-wrapper img{
    height: 95%;
}
.start-menu{
    position: absolute;
    left: 3px;
    width: 200px;
    height: 264px;
    bottom: 32px;
    background-color: #c3c7cb;
    z-index: 15;
}
.start-menu-graphic{
    display: flex;
    justify-content: center;
    align-items: end;
    width: 30px;
    height: 100%;
    background-color: #868a8e;
    flex-shrink: 0;
}
.start-menu-graphic img{
    width: 70%;
    object-fit: contain;
    margin-bottom: 7px;
}
.start-menu-items{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.start-menu-item{
    display: flex;
    flex-direction: row;
    height: 28px;
    padding: 4px 11px;
    align-items: center;
    justify-content: space-between;
}
.start-menu-item span{
    padding-left: 5px;
    width: 100%;
    text-align: left;
}
.start-menu-item img{
    height: 80%;
}
.start-menu-arrow{
    height: 30% !important;
}
.context-menu-arrow{
    height: 60% !important;
}
.start-menu-item:hover{
    background-color: #0000aa;
    color: white;
}
.start-menu-item:hover .start-menu-arrow{
    filter: invert(1); /* Makes the black image white */
}
.start-menu-expanded-item:hover .context-menu-arrow{
    filter: invert(1); /* Makes the black image white */
}
.start-menu-expanded{
    position: absolute;
    bottom: 200px;
    left: 196px;
    background-color: #c3c7cb;
    padding: 2px;
    width: 140px;
    z-index: 16;
}
.start-menu-expanded-item, .start-menu-expanded-item-disabled{
    display: flex;
    flex-direction: row;
    height: 15px;
    padding: 4px;
    align-items: center;
    justify-content: space-between;
}
.start-menu-expanded-item span{
    padding-left: 4px;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.start-menu-expanded-item img{
    height: 80%;
}
.start-menu-expanded-item:hover{
    background-color: #0000aa;
    color: white;
}
#start-menu-expanded-settings{
    bottom: 165px;
}
#start-menu-expanded-games{
    bottom: 177px;
}
#start-menu-expanded-apps{
    bottom: 11px;
}

/* CRT effect made by unknown user, source: */
/* https://aleclownes.com/2017/02/01/crt-display.html */
@keyframes flicker {
    0% {
      opacity: 0.27861;
    }
    5% {
      opacity: 0.34769;
    }
    10% {
      opacity: 0.23604;
    }
    15% {
      opacity: 0.90626;
    }
    20% {
      opacity: 0.18128;
    }
    25% {
      opacity: 0.83891;
    }
    30% {
      opacity: 0.65583;
    }
    35% {
      opacity: 0.67807;
    }
    40% {
      opacity: 0.26559;
    }
    45% {
      opacity: 0.84693;
    }
    50% {
      opacity: 0.96019;
    }
    55% {
      opacity: 0.08594;
    }
    60% {
      opacity: 0.20313;
    }
    65% {
      opacity: 0.71988;
    }
    70% {
      opacity: 0.53455;
    }
    75% {
      opacity: 0.37288;
    }
    80% {
      opacity: 0.71428;
    }
    85% {
      opacity: 0.70419;
    }
    90% {
      opacity: 0.7003;
    }
    95% {
      opacity: 0.36108;
    }
    100% {
      opacity: 0.24387;
    }
}
@keyframes textShadow {
    0% {
        text-shadow: 0.4389924193300864px 0 1px rgba(0,30,255,0.5), -0.4389924193300864px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    5% {
        text-shadow: 2.7928974010788217px 0 1px rgba(0,30,255,0.5), -2.7928974010788217px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    10% {
        text-shadow: 0.02956275843481219px 0 1px rgba(0,30,255,0.5), -0.02956275843481219px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    15% {
        text-shadow: 0.40218538552878136px 0 1px rgba(0,30,255,0.5), -0.40218538552878136px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    20% {
        text-shadow: 3.4794037899852017px 0 1px rgba(0,30,255,0.5), -3.4794037899852017px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    25% {
        text-shadow: 1.6125630401149584px 0 1px rgba(0,30,255,0.5), -1.6125630401149584px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    30% {
        text-shadow: 0.7015590085143956px 0 1px rgba(0,30,255,0.5), -0.7015590085143956px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    35% {
        text-shadow: 3.896914047650351px 0 1px rgba(0,30,255,0.5), -3.896914047650351px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    40% {
        text-shadow: 3.870905614848819px 0 1px rgba(0,30,255,0.5), -3.870905614848819px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    45% {
        text-shadow: 2.231056963361899px 0 1px rgba(0,30,255,0.5), -2.231056963361899px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    50% {
        text-shadow: 0.08084290417898504px 0 1px rgba(0,30,255,0.5), -0.08084290417898504px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    55% {
        text-shadow: 2.3758461067427543px 0 1px rgba(0,30,255,0.5), -2.3758461067427543px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    60% {
        text-shadow: 2.202193051050636px 0 1px rgba(0,30,255,0.5), -2.202193051050636px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    65% {
        text-shadow: 2.8638780614874975px 0 1px rgba(0,30,255,0.5), -2.8638780614874975px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    70% {
        text-shadow: 0.48874025155497314px 0 1px rgba(0,30,255,0.5), -0.48874025155497314px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    75% {
        text-shadow: 1.8948491305757957px 0 1px rgba(0,30,255,0.5), -1.8948491305757957px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    80% {
        text-shadow: 0.0833037308038857px 0 1px rgba(0,30,255,0.5), -0.0833037308038857px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    85% {
        text-shadow: 0.09769827255241735px 0 1px rgba(0,30,255,0.5), -0.09769827255241735px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    90% {
        text-shadow: 3.443339761481782px 0 1px rgba(0,30,255,0.5), -3.443339761481782px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    95% {
        text-shadow: 2.1841838852799786px 0 1px rgba(0,30,255,0.5), -2.1841838852799786px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    100% {
        text-shadow: 2.6208764473832513px 0 1px rgba(0,30,255,0.5), -2.6208764473832513px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
}
.crt::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 99;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}
.crt::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 99;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}
.crt {
    animation: textShadow 1.6s infinite;
}

/* CRT effect made by monkeytype, source: https://monkeytype.com/ */
.crt-light{
    text-shadow: 3px 0 1px color-mix(in srgb, currentColor 20%, transparent), -3px 0 color-mix(in srgb, currentColor 30%, transparent), 0 0 3px;
}
.crt-light::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background-image: repeating-linear-gradient(0deg, black 0px, black 1px, transparent 2px, transparent 5px);
    opacity: .2;
    pointer-events: none
}
.crt-light-scanline {
    width: 100%;
    height: 100px;
    z-index: 70;
    position: absolute;
    bottom: 100%;
    opacity: .1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, black 10%, rgba(0, 0, 0, 0.1) 100%);
    animation: scanline 10s linear infinite;
    pointer-events: none;
}
@keyframes scanline {
    0% {
        bottom: 100%;
    }
    80% {
        bottom: 100%;
    }
    100% {
        bottom: 0%;
    }
}