@font-face {
    font-family: "Windows 95";
    src: url('./font/W95FA.woff') format('woff'),
         url('./font/w95fa.woff2') format('woff2');
}

html {
    overflow: hidden;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: 'Windows 95', sans-serif;
    /* height: 100vh; */
}

/* body.grabbing {
    cursor: grabbing;
} */

section {
    background-color:darkcyan;
}

.container {
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
    height: 100svh;

    position: relative;
}

.h-flex {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.h-flex.align-center {
    align-items: center;
    justify-content: center;
}

.button {
    font-size: 18px;
    font-weight: 100;
    
    cursor: pointer;
    user-select: none;
}

.emboss {
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
}

.embed {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.deep-embed {
    border-top: 2px solid #444;
    border-left: 2px solid #444;
    border-right: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

/* #region TASKBAR */

.taskbar {
    height: 40px;
    width: 100%;
    z-index: 999;
    position: absolute;
    bottom: 0;

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    box-sizing: border-box;

    padding: 2px;

    /* Shadow for depth */
    /* box-shadow: 1px 1px 0px #000000 inset; */
}

.start {
    width: 72px;
    background-color: #C0C0C0;
    display: flex;
    flex-direction: column;
    text-align: right;
    justify-content: center;
    margin-right: 10px;

    position: relative;
}

.taskbar-program-wrapper {
    width: 100%;
}

.taskbar-program {
    margin-left: 5px;
    padding: 10px;

    width: 256px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#time {
    width: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* #endregion */

/* #region DESKTOP */

.desktop-wrapper {
    flex: 1;
}

.desktop {
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: repeat(auto-fill, auto);
    grid-auto-columns: 64px;
    align-content: start;

    grid-gap: 20px;

    padding: 20px;
}

.program-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column-start: 1;

    cursor: pointer;
    color: white;
}

.program-name {
    width: 100%;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

.program-icon {
    aspect-ratio: 1;
    object-fit: contain;

    height: 100%;
}

.program-icon.desktop {
    padding: 0px;
    width: 64px;
    height: 64px;
}

.program-tile.second-column {
    grid-row-start: 1;
    grid-column-start: 2;
}

.start-menu {
    position: absolute;
    bottom: 36px;
    z-index: 999;

    background-color: #C0C0C0;

    min-width: 250px;
    height: 300px;
}

.header-bar.vertical {
    width: 20px;
    height: auto;

    background-image: linear-gradient(to bottom, #000080, #1084D0);
}

.start-menu-list {
    padding: 10px;
}

.menu-program {
    padding: 5px;

    display: flex;
    align-items: center;

    cursor: pointer;
}

.menu-program-icon {
    width: 24px;
    height: 24px;
}

.menu-program-name {
    text-align: left;
    margin: 10px;
}

/* #endregion */

/* #region WINDOW */

.window {
    display: block;

    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;

    position: absolute;
    width: 800px;
    height: 600px;
    padding: 2px;

    position: absolute;
}

.window-content {
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.header-bar {
    box-sizing: border-box;
    width: 100%;
    height: 20px;

    padding: 2px;

    background-image: linear-gradient(to right, #000080, #1084D0);

    cursor: grab;
    user-select: none;
}

.header-bar.grabbing {
    cursor: grabbing;
}

.header-bar.h-flex {
    justify-content: space-between;
    align-items: center;
}

.window-footer {
    box-sizing: border-box;
    width: 100%;
    height: 20px;

    margin-top: 2px;
}

.window-name-wrapper {
    height: 100%;
    display: flex;
    flex-direction: row;
}

.window-name {
    text-align: left;
    color: #fff;
    font-size: 12px;

    padding-left: 5px;
}

.vertical-align-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vertical-align-center.text {
    margin-top: 4px;
}

.close-window {
    height: 12px;
    width: 12px;

    background-color: #c0c0c0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.h-divider {
    box-sizing: border-box;
    width: 100%;
    margin-top: 1px;
    margin-bottom: 1px;
    border-width: 1px;
}

.window-body {
    box-sizing: border-box;
    height: 100%;
}

.terminal {
    background-color: #000;
    padding-left: 10px;
    color: green;
}

.explorer {
    background-color: white;
    background-image: linear-gradient(
        to bottom right,
        cyan 0%, 
        white 25%
    );
}

/* #region MY SKILLS */

.skill-description-container {
    height: 100%;
    width: 35%;

    box-sizing: border-box;
    padding: 10px;
}

.skill-list-container {
    height: 100%;
    width: 65%;
    
    box-sizing: border-box;
    padding: 10px;

    display: flex;
    flex-wrap: wrap;
    align-content: baseline;
}

.skill-description-header {
    height: 25%;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: end;

    border-style: none none solid none;
    border-width: 2px;
}

.skill-description {
    box-sizing: border-box;
    max-height: 75%;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;

    border: none;
}

.skill.selected {
    border-style: dotted;
}

.program-icon.skill {
    height: 48px;
    width: 48px;
    margin: 0px;
}

.file-count {
    padding: 2px;
    width: 75%;

    font-size: 12px;
}

.location {
    width: 25%;
    margin-left: 2px;
}

/* #endregion */

/* #region MY WORK */

/* .browser {

} */

/* .browser.nav {
    height: 32px;
} */

.handle {
    margin: 2px;
}

.address-bar {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 1px;

    background-color: white;
}

.address-icon {
    height: 20px;
    width: 20px;
    margin: 3px;
}

.address-text {
    display: flex;
    align-items: center;
}

.website {
    box-sizing: border-box;
    overflow: scroll;
}

.website-screencap {
    width: 100%;
}

.bookmark-bar {
    position: relative;
}

.bookmark {
    padding: 5px;
    padding-top: 7px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;

    display: flex;
    flex-direction: row;
}

.bookmark:hover {
    background-color: #ddd;
}

.bookmark-popup {
    background-color:  #c0c0c0;

    position: absolute;
    left: -256px;
    top: -2px;
    width: 250px;
    /* min-height: 200px; */

    z-index: 999;
    padding-top: 10px;
    padding-bottom: 10px;
}

.favicon {
    height: 16px;
    margin-right: 5px;
}

/* #endregion */

/* #region CONTACT ME */

.window.contact {
    width: 500px;
    height: 450px;
}

.contact-form-wrapper {
    height: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #fff;
}

/* #endregion */

.hide {
    display: none;
}

/* #endregion */

@media only screen and (max-width: 768px) {
    .desktop-wrapper {
        display: none;
    }

    /* .taskbar {
        position: absolute;
        bottom: 40px;
        z-index: 999;
        height: 40px;
    } */

    .taskbar-program-wrapper {
        display: none;
    }

    .container {
        width: 100vw;
    }

    .window {
        /* position: static; */
        width: 100%;
        height: calc(100% - 40px);
        left: 0px;
        top:0xp;
        box-sizing: border-box;

        overflow: hidden;
    }

    .terminal {
        padding: 10px;
    }
    
    .terminal-text {
        width: 100%;
        font-size: 12px;
        text-wrap: balance;
    }
    
    .ascii-name {
        font-size: 2.5vw;
        letter-spacing: 1px;
    }

    .skill-list-container {
        overflow: scroll;
    }

    .skill {
        margin: 10px;
    }

    .skill-description {
        display: none;
    }

    .program-icon.skill {
        width: 48px;
    }

    .bookmark-popup {
        background-color:  #c0c0c0;

        position: absolute;
        left: -2px;
        top: 38px;
        width: 250px;
        /* min-height: 200px; */

        z-index: 999;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}