/* whats up */

#fadediv {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 10;
    pointer-events: none;
}

.fadestart {
    opacity: 1;
    transition: opacity 5s linear;
}

.fadeend {
    opacity: 0;
    transition: opacity 5s linear;
}

@font-face {
    font-family: 'windows';
    src: url(./font/w95fa.woff) format('woff'),
         url(./font/w95fa.woff2) format('woff2');
}

html, .todo:hover, .todo input:hover {
    font-family: 'windows';
    cursor: url(./pics/pinkpoint.png), auto;
}

html a:hover {
    cursor: url(./pics/pinkselect.png), auto;
}

button {
    border: none;
    font-family: 'windows';
    background-color: #b9b3ac;
    box-shadow:
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
}

button:hover, .menuitem:hover {
    cursor: url(./pics/pinkselect.png), auto;
}

button:active, .startclick {
    background-color: #b0aaa4;
    box-shadow: 
        -1px -1px #fff, 
        inset 1px 1px #0a0a0a, 
        inset -2px -2px #dfdfdf, 
        inset 2px 2px grey;
}

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #808080;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
}

::-webkit-scrollbar-thumb {
   background: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
}

/* grid */

.main {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    background-image: url(./pics/desktopbg.jpg);
    background-size: 100% 100%;
    width: 1000px;
    height: 650px;
    grid-template-columns: 150px 850px;
    grid-template-rows: 590px 60px;
    grid-template-areas: 
        "side mid"
        "taskbar taskbar";
    outline: 5px inset lightgray;
    box-shadow: 
        inset 0 0 5px black,
        0 0 0 8px #b9b3ac;
}

.side {
    grid-area: side;
    padding: 10px;
}

.mid {
    grid-area: mid;
    display: flex;
    position: relative;
    align-items: flex-end;
    justify-content: right;
    padding: 10px;
}

.taskbar {
    grid-area: taskbar;
    background-color: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 7px;
    position: relative;
}

/* taskbar */

.menudiv {
    position: absolute;
    background-color: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    height: 300px;
    width: 210px;
    bottom: 100%;
    left: 0;
    padding: 5px;
    display: none;
}

.menuitem {
    box-sizing: border-box;
    height: 51px;
    margin-bottom: 5px;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.menuitem:active {
    outline: 1.5px dotted gray;
}

.menuitem img {
    height: 100%;
    margin: 0 7px;
}

.taskbar button {
    font-size: 24px;
    padding: 0 15px;
    font-weight: bold;
    align-items: center;
    display: flex;
    letter-spacing: 1px;
    position: relative;
}

.taskbar button img {
    width: 31px;
    height: 31px;
    margin-right: 7px;
    margin-top: 4px;
}

.timedisplay {
    display: block;
    font-size: 24px;
    text-align: center;
    padding: 10px 15px;
    border: 2px inset #dfdfdf;
    margin: 1px 0;
}

.taskbar button.apptask {
    box-sizing: border-box;
    width: 250px;
    font-weight: normal;
    text-align: center;
    padding: 0 15px;
    pointer-events: none;
    letter-spacing: normal;
}

#taskopen {
    display: none;
    background-color: #b0aaa4;
    box-shadow: 
        -1px -1px #fff, 
        inset 1px 1px #0a0a0a, 
        inset -2px -2px #dfdfdf, 
        inset 2px 2px grey;
}

/* mid */

.apps {
    padding: 5px;
    text-align: center;
    width: 100px;
    height: 95px;
    font-size: 18px;
    text-shadow:
        2px 2px 1.5px #0a0a0a,
        0px 0px 1.5px #0a0a0a;
    margin-bottom: 15px;
}

.apps:active {
    outline: 1.5px dotted lightgray;
}

.apps a {
    text-decoration: none;
    color: white;
}

.apps img {
    width: 75px;
    height: 75px;
}

/* music */

.musictab {
    position: absolute;
    right: 5px;
    bottom: 5px;
    background-color: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    width: 300px;
    height: 140px;
    font-size: 20px;
    padding: 50px 7px 7px;
    box-sizing: border-box;
    text-align: center;
}

.musictab .top {
    width: 286px;
}

.musictab h1 {
    margin: 0 0 4px;
    font-size: 20px;
}

.musictab h2 {
    font-weight: normal;
    font-size: 16px;
    margin: 0 0 9px;
}

.musicplayer {
    display: flex;
    justify-content: space-between;
    width: 150px;
    height: 35px;
    justify-self: center;
}

.musicplayer button {
    width: 45px;
}

.musicplayer button img {
    margin: 0 auto;
    height: 20px;
    width: 25px;
    display: block;
}

#pausebutton {
    display: none;
}

/* sticky note */

.snote {
    position: absolute;
    right: 40px;
    top: 9px;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    width: 200px;
    height: 175px;
    display: flex;
    flex-direction: column;
    background-color: #d094a9;
}

.snote .top {
    position: relative;
    width: 196px;
    top: 2px;
    left: 2px;
}

.snote .bottom {
    flex-grow: 1;
    box-sizing: border-box;
    padding: 10px;
}

.todo {
    display: inline-block;
    margin: 0 0 2px 9px;
}

.todo input {
    opacity: 0;
    position: absolute;
}

.box {
    width: 10px;
    height: 10px;
    border: 1.5px solid black;
    display: inline-block;
    margin-right: 3px;
}

.todo input:checked ~ .box {
    background-image: url("./pics/check.png");
    background-size: 100% 100%;
}

.todo input:checked ~ .sitem {
    text-decoration: line-through;
}

/* tab - block */

.tab {
    z-index: 1;
    position: absolute;
    left: 0;
    top: 50px;
    background-color: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    width: 800px;
    height: 490px;
    font-size: 20px;
}

#tab {
    display: none;
}

.top {
    box-sizing: border-box;
    position: absolute;
    top: 7px;
    left: 7px;
    background-color: #ba6b86;
    color: white;
    width: 786px;
    font-weight: bold;
    padding: 4px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top button {
    font-weight: 900;
    font-size: 18px;
}

.tabinner {
    position: absolute;
    outline: 1.5px inset gray;
    background-color: #dfdfdf;
    top: 50px;
    left: 8.5px;
    width: 783px;
    height: 430px;
}

.tabhead {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    width: 100%;
    height: 27px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    box-sizing: border-box;
}

.tabheadsection {
    box-sizing: border-box;
    background-color: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    height: 100%;
    padding: 5px 10px;
}

/* inbox - grid */

#inbox {
    display: none;
    grid-template-columns: 350px 433px;
    position: relative;
}

#inbox div.tabhead {
    padding: 0;
    display: grid;
    grid-template-columns: 18% 37% 45%;
}

.email {
    display: grid;
    align-items: center;
    grid-template-columns: 18% 37% 45%;
    height: 25px;
    box-sizing: border-box;
    font-size: 18px;
}

.email:active {
    border: 1.5px dotted gray;
    box-sizing: border-box;
}

.email > * {
    padding: 5px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email:hover {
    cursor: url(./pics/pinkselect.png), auto;
}

.email img {
    width: 18px;
    height: 18px;
    margin: 0 10px 6px 0;
    justify-self: right;
    padding: 0;
}

.mail {
    background-color: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 410px;
}

.mailinfo {
    display: grid;
    grid-template-columns: 20% 80%;
    box-sizing: border-box;
    height: auto;
    text-align: right;
}

.mailinfo > * {
    margin-bottom: 10px;
}

.mailinfo .info {
    outline: 1.5px inset gray;
    background-color: #dfdfdf;
    text-align: left;
    margin-left: 10px;
    height: 20px;
    padding: 2px;
    box-sizing: border-box;
}

.mailcontent {
    outline: 1.5px inset gray;
    background-color: #dfdfdf;
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    height: 100%;
}

.mailcontent:has(.sqroot) {
    background-color: #1E1916;
    color: white;
}

.mailcontent:has(.tribune) {
    background-image: url("./pics/trib.jpg");
    background-repeat:no-repeat;
    background-size: 101% 100%;
    color: #455564;
}

.mailcontent pre {
    font-size: 18px;
    font-family: 'windows';
    margin: 0;
    white-space: pre-wrap;
}

/* genfile */

.file {
    display: flex;
    box-sizing: border-box;
    padding: 15px;
    flex-wrap: wrap;
    align-content: flex-start;
}

.filediv {
    justify-content: center;
    text-align: center;
    font-size: 16px;
    color: black;
    padding: 5px 5px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border: 1px solid black; */
    width: 100px;
    height: fit-content;
    margin: 5px;
}

.filediv:active {
    outline: 1.5px dotted gray;
}

.filediv:hover {
    cursor: url(./pics/pinkselect.png), auto;
}

.filediv img {
    width: 75px;
    height: 75px;
}

/* photos - flex */

#photos {
    display: none;
}

/* evidence - flex */

#evidence {
    display: none;
}

/* trash - flex */

#trash {
    display: none;
}

/* smalltab - block */

#smalltab {
    display: none;
    z-index: 2;
    position: absolute;
    left: 100px;
    top: 100px;
    background-color: #b9b3ac;
    box-shadow: 
        inset -1px -1px #0a0a0a, 
        inset 1px 1px #dfdfdf, 
        inset -2px -2px #808080, 
        inset 2px 2px #ffffff;
    width: 500px;
    height: 400px;
    font-size: 20px;
}

#smalltab .top {
    width: 486px;
}

.smallinner {
    position: absolute;
    outline: 1.5px inset gray;
    background-color: #dfdfdf;
    top: 50px;
    left: 8.5px;
    width: 483px;
    height: 340px;
    box-sizing: border-box;
    padding: 5px;
    overflow-y: auto;
    overflow-x: hidden;
}

.smallinner img {
    margin: auto;
    display: block;
    height: 100%;
}

.smallinner pre {
    font-size: 18px;
    font-family: 'windows';
    margin: 0;
    white-space: pre-wrap;
}

#smallimg {
    display: none;
}

#smalltext {
    display: block;
}

.ongbruh {
    margin: 0;
}

.ongbruh li {
    margin: 0;
    padding: 0;
}

#fadedivinner {
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    text-align: center;
}

#fadedivinner span {
    font-size: 18px;
    font-style: italic;
}

