/* LOCAL FONT PATHS */
@font-face {
    font-family: "perfectdos";
    src: url(perfectdos.ttf) format("truetype");
}

@font-face {
    font-family: "cmod_bonus";
    src: url(cmod_bonus.otf) format("opentype");
}

@font-face {
    font-family: "cmod_font";
    src: url(/fonts/cmod_font.otf) format("opentype");
}

@font-face {
    font-family: "8bitlimitbrk";
    src: url(8bitlimitbrk.ttf) format("truetype");
}

@font-face {
    font-family: "bubble";
    src: url(/fonts/bubble.ttf) format("truetype");
}

/* UPLOADED FONT PATHS */
/* @font-face {font-family: "perfectdos"; src: url(https://videosonntag.com/more/attention/fonts/perfectdos.ttf) format("truetype");}
@font-face {font-family: "cmod_bonus"; src: url(https://videosonntag.com/more/attention/fonts/cmod_bonus.otf) format("opentype");}
@font-face {font-family: "cmod_font"; src: url(https://videosonntag.com/more/attention/fonts/cmod_font.otf) format("opentype");}
@font-face {font-family: "8bitlimitbrk"; src: url(https://videosonntag.com/more/attention/fonts/8bitlimitbrk.ttf) format("truetype");}
@font-face {font-family: "bubble"; src: url(https://videosonntag.com/more/attention/fonts/bubble.ttf) format("truetype");} */



* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    outline: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: none;
    font-family: 'perfectdos', monospace;
}

body {
    position: fixed;
    width: 100%;
    height: 100%;

}

.whole_page {
    height: 100%;
}

.cmod_icon {
    width: 40px;
    padding: 5px;
    cursor: pointer;
}

.cmod {
    font-family: "cmod_bonus", monospace
}

.limitbrk {
    font-family: "8bitlimitbrk";
}

.bubble_font {
    font-family: "bubble";
}

.cmod_f {
    font-family: "cmod_font", monospace;
}

.cmod_icon img {
    width: 30px;
    position: relative;

}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}

.column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
}


/****************/
/*  ANIMATIONS  */
/****************/

@-webkit-keyframes huey {
    0% {
        -webkit-filter: hue-rotate(0deg);
        filter: hue-rotate(0deg)
    }

    50% {
        -webkit-filter: hue-rotate(180deg);
        filter: hue-rotate(180deg)
    }

    to {
        -webkit-filter: hue-rotate(359deg);
        filter: hue-rotate(359deg)
    }
}

@keyframes huey {
    0% {
        -webkit-filter: hue-rotate(0deg);
        filter: hue-rotate(0deg)
    }

    50% {
        -webkit-filter: hue-rotate(180deg);
        filter: hue-rotate(180deg)
    }

    to {
        -webkit-filter: hue-rotate(359deg);
        filter: hue-rotate(359deg)
    }
}

.huey {
    -webkit-animation: huey 8s infinite;
    animation: huey 8s infinite;
}

.huey_slow {
    -webkit-animation: huey 15s infinite;
    animation: huey 15s infinite;
}


/***************/
/*   OVERLAY   */
/***************/
#desktop_overlay {
    pointer-events: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 5000000;
}

#desktop_overlay img {
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

/******************/
/*    DESKTOP     */
/******************/
#desktop {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 6;
    overflow: hidden;
}

#desktop_background {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.2em;
    color: green;
    width: 100%;
    height: 100%;
    background-color: blue;
    overflow: hidden;
}

#desktop_background img {
    width: 100%;
    height: 100%;
}

.desktop_main_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95%;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#desktop .prog_column {
    width: 50%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    margin: 15px 0;
}

#left_column {
    -ms-flex-line-pack: start;
    align-content: flex-start;
}

#right_column {
    -ms-flex-line-pack: end;
    align-content: flex-end;
}

#desktop .prog_container,
#desktop .prog_container_2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 70px;
    height: 80px;
    margin: 35px;
    font-size: 1em;
    cursor: pointer;
}

#desktop .prog_container img,
#desktop .prog_container_2 img {
    width: 100%;
}

#desktop .prog_container .prog_title,
#desktop .prog_container_2 .prog_title {
    padding: 5px;
    text-align: center;
}

#desktop #desktop_foot {
    width: 100%;
    height: 50px;
    border-top: 2px solid black;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    justify-content: space-between;
    font-size: 1.2em;
    position: fixed;
    bottom: 0;
    background-color: lightgray;
    z-index: 10000;
}

#icon_start {
    text-align: center;
    height: 50px;
    width: 280px;
    color: rgb(0, 247, 255);
    background-color: gray;
    padding: 8px;
    font-family: '8bitlimitbrk', monospace;
    font-size: 2em;
}

#popup_start {
    width: 400px;
    height: 400px;
    position: absolute;
    bottom: 50px;
    left: 0;
    background-color: grey;
    display: none;
    font-size: 0.9em;
}

#popup_start_inner {
    margin-left: 30px;
}

#popup_start_inner>div {
    cursor: pointer;
    padding: 5px;
    margin: 5px 10px;
}

#xray_vision_button {
    position: relative;
}

#xray_selection {
    width: 300px;
    position: absolute;
    bottom: 0;
    left: 380px;
    background-color: darkgray;
    font-size: 0.9em;
    display: none;
}

#xray_selection div {
    cursor: pointer;
    padding: 5px;
    margin: 5px 10px;
}

#start_sidebar {
    position: absolute;
    height: 100%;
    top: 0;
    width: 40px;
    background-color: springgreen;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -ms-flex-line-pack: end;
    align-content: flex-end;
}

#vertical_text {
    font-size: 2em;
    position: absolute;
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    color: purple;
    padding: 5px;
    word-break: keep-all;
    word-wrap: normal;
}

#clock {
    padding: 8px;
}

#open_programs_foot {
    width: 65%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}

.bottom_icons {
    height: 50px;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.open_program {
    height: 38px;
    width: 130px;
    margin: 0 5px;
    border: 3px outset grey;
    background-color: darkgray;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
}

.open_prog_icon {
    margin: 0 4px;
    width: 20px;
}

.open_prog_icon img {
    width: 20px;
}


/******************/
/*  SCREENSAVER   */
/******************/
#screensaver {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000000;
}

#screensaver img {
    width: 100%;
    height: 100%;
}

#screensaver video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/******************/
/* PROGRAM WINDOW */
/******************/
.program_window {
    height: 80%;
    width: 90%;
    border: 5px gray outset;
    background-color: white;
    z-index: 1000;
    position: absolute !important;
    overflow: hidden;
    top: 50px;
    left: 50px;
}

@media only screen and (max-width: 600px) {
    .program_window {
        height: 95%;
        width: 100%;
        border: 5px gray outset;
        background-color: white;
        z-index: 1000;
        position: absolute !important;
        overflow: hidden;
        top: 0px;
        left: 0px;
    }
}

.program_window_title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 2px;
    width: 100%;
    text-align: center;
    background-color: white;
    background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black),
        linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    border-bottom: 5px grey outset;
}

.program_window_title_inner {
    background-color: white;
    padding: 2px 5px;
}

.program_window_icon {
    font-family: "cmod_bonus";
}

.program_window_nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    padding: 2px;
    border-bottom: 5px grey outset;
    background-color: white;
}

.program_window_nav_item {
    padding: 0px 7px;
}

.program_window_nav_item::first-letter {
    text-decoration: underline;
}

.close_program {
    cursor: pointer;
}

.program_window_inner {
    width: 100%;
    border-top: 5px grey outset;
    position: relative;
    overflow: scroll;
}

.ui-effects-transfer {
    border: 5px outset gray;
}

.browser_window {
    overflow: scroll;
}




/******************/
/*   DESKTOP BG   */
/******************/
#desktop_bg_program {
    width: 700px;
    top: 2%;
    left: 20%;
}

#desktop_bg_program_inner {
    background-color: #e7e7e7;
    height: 100%;
}

.desktop_bg_img_container {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    overflow: scroll;
    margin-bottom: 50px;
}

.desktop_bg_img_container div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    padding: 20px
}

.desktop_bg_img {
    width: 150px;
}