@font-face {
    font-family: 'Chicago';
    src: url('../font/ChicagoKare-Regular.otf');
}

@font-face {
    font-family: 'Charcoal';
    src: url('../font/CHARCOAL.TTF');
}

@font-face {
    font-family: 'Monaco';
    src: url('../font/Monaco.ttf');
}

body {
    background: url("../img/bg-tile.jpg") repeat center;
}

/* Nav bar */
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 26px;
    overflow: hidden;

    background-color: rgb(221, 221, 221);
    border-bottom: 2px solid black;

    font-family: 'Chicago';
    font-size: 24px;
}

.navbar #navbar-left,
.navbar #navbar-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0px 10px;

    list-style-type: none;
}

.navbar li {
    display: flex;
    align-items: center;
    height: 26px;
    padding: 0 8px;
}

.navbar li:hover {
    background-color: rgb(54, 46, 151);
    color: white;
}

.navbar li a {
    display: block;

    text-align: left;
    text-decoration: none;
}

.navbar-icon {
    max-height: 20px;
}

/* Window styling */
.os-window-outer.active {
    outline-width: 1px;
    outline-color: black;
    outline-style: solid;

    border-width: 0 5px 5px 5px;
    border-color: rgb(202, 202, 202);
    border-style: solid;

    background-color: rgb(202, 202, 202);
    box-sizing: border-box;
    padding: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.os-window-inner.active {
    width: 100%;
    flex: 1;

    background-color: white;

    border: 1px solid black;
    overflow-y: auto;
    box-sizing: border-box;
}

.os-window-outer.inactive {
    outline-width: 1px;
    outline-color: black;
    outline-style: solid;

    border-width: 0 5px 5px 5px;
    border-color: rgb(221, 221, 221);
    border-style: solid;

    background-color: rgb(221, 221, 221);
    box-sizing: border-box;
    padding: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    color: rgb(171, 171, 171);
}

.os-window-inner {
    width: 100%;
    flex: 1;

    background-color: white;

    border: 1px solid black;
    overflow-y: auto;
    box-sizing: border-box;
}

.os-window-inner::-webkit-scrollbar {
    display: none;
}

.os-window-title {
    margin: 0;
    flex-shrink: 0;

    text-align: center;
    font-size: 20px;
    font-family: 'Chicago';

    background-color: rgb(221, 221, 221);
}

.os-window-outer.active .os-window-title {
    background: repeating-linear-gradient(to bottom, #FFFFFF 0px, #FFFFFF 2px, rgb(119, 119, 119) 2px, rgb(119, 119, 119) 4px);
}

.os-window-outer.active .os-window-title span {
    padding: 4px 4px;
    background-color: rgb(202, 202, 202);
}

.os-window-subtitle {
    padding: 5px;

    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;

    text-align: center;
    font-family: 'Monaco';
    font-size: 12px;
}

.os-window-outer.active .os-window-subtitle {
    margin-top: 7px;
}


#social-links {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* width */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-button {
    width: 15px;
    height: 15px;
    background: red;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgb(170, 170, 170);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(152, 152, 245);
    border: 1px solid black;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}