@font-face {
    font-family: 'Chicago';
    src: url('../assets/fonts/chicago-12-1.otf.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Chicago', 'Courier New', monospace;
    background-color: white;
    color: black;
    overflow: hidden;
    font-size: 15px;
    image-rendering: pixelated;
    -webkit-font-feature-settings: "liga" 0;
    font-feature-settings: "liga" 0;
    font-variant-emoji: text;
}

.desktop {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 20px; 
    background-image: url('../assets/images/patterns/background.png');
    background-repeat: repeat;
    background-size: auto;
}

.menubar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background-color: white;
    border-bottom: 1px solid black;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
}

.apple-logo {
    margin-right: 20px;
    height: 16px;
    width: 16px;
    display: flex;
    align-items: center;
}

.apple-logo img {
    height: 16px;
    width: 13px;
}

.menu-items {
    display: flex;
}

.menu-items span {
    margin-right: 20px;
    cursor: pointer;
}

.clock {
    margin-left: auto;
}

.desktop-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 120px;
    text-align: center;
    transition: transform 0.1s ease;
}

.desktop-icon:hover {
    transform: scale(1.05);
}

.icon-image {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
    background-color: white;
    border: 2px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.icon-image img {
    width: 48px;
    height: 48px;
}

.icon-label {
    background-color: white;
    padding: 4px 8px;
    border-radius: 0;
    border: 1px solid black;
    font-weight: bold;
    font-size: 12px;
}

.desktop-icon:hover .icon-label, .desktop-icon.selected .icon-label {
    background-color: black;
    color: white;
}

.background-container {
    position: fixed;
    top: 20px; 
    left: 0;
    width: 100%;
    height: calc(100vh - 20px); 
    z-index: -1;
    background-image: url('../assets/images/patterns/background.png');
    background-position: top left;
    background-repeat: repeat;
    background-size: auto;
}


.menu-item {
    position: relative;
    margin-right: 20px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    background-color: white;
    border: 1px solid black;
    min-width: 150px;
    z-index: 1001;
}

.dropdown-menu-item {
    padding: 5px 10px;
    border-bottom: 1px solid #eee;
}

.dropdown-menu-item:hover {
    background-color: black;
    color: white;
}

.menu-item:hover .dropdown-menu {
    display: block;
}


.dropdown-separator {
    height: 1px;
    background-color: black;
    margin: 3px 0;
}


::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background-color: white;
    border-left: 1px solid black;
}

::-webkit-scrollbar-thumb {
    background-color: white;
    border: 1px solid black;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ddd;
}

::-webkit-scrollbar-button {
    background-color: white;
    border: 1px solid black;
    height: 16px;
    width: 16px;
}

::-webkit-scrollbar-button:vertical:start {
    background-color: white;
    border: 1px solid black;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpolygon points='8,4 13,10 3,10' fill='black'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 8px;
}

::-webkit-scrollbar-button:vertical:end {
    background-color: white;
    border: 1px solid black;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpolygon points='8,12 3,6 13,6' fill='black'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 8px;
}

button, .lightbox-close, .pdf-prev, .pdf-next, .pdf-open-new-btn, .pdf-download-btn {
    font-variant-emoji: text !important;
    -webkit-font-feature-settings: "liga" 0;
    font-feature-settings: "liga" 0;
}


* {
    scrollbar-width: thin;
    scrollbar-color: white #ddd;
}