* {
    box-sizing: border-box;
}
body {
    margin: 0;

    width: 100vw;
    height: 100vh;

    overflow: hidden;

    background-color: #294669;

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;
}
.taskbar {

    position: fixed;

    top: 10px;
    left: 10px;
    right: 10px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 15px;

    color: white;

    background:
        rgba(0, 0, 0, 0.20);

    backdrop-filter: blur(12px);

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 17px;

    z-index: 1000;
}
.os-name {

    font-weight: 700;

    background:
        rgba(255, 255, 255, 0.12);

    padding: 8px 14px;

    border-radius: 16px;
}
.os-message {

    background:
        rgba(255, 255, 255, 0.15);

    padding: 8px 14px;

    border-radius: 16px;

    text-align: center;
}
.taskbar-right {

    display: flex;

    align-items: center;

    gap: 10px;
}
.clock {

    background:
        rgba(255, 255, 255, 0.12);

    padding: 8px 14px;

    border-radius: 16px;

    white-space: nowrap;
}
.taskbar-button {

    border: none;

    padding: 8px 14px;

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.15);

    color: white;

    cursor: pointer;
}
.taskbar-button:hover {

    background:
        rgba(255, 255, 255, 0.25);
}
#desktopApps {

    position: absolute;

    top: 85px;
    left: 20px;

    display: flex;

    flex-direction: column;

    gap: 5px;
}
.desktop-icon {

    width: 120px;

    padding: 10px;

    text-align: center;

    color: white;

    border-radius: 12px;

    cursor: pointer;

    user-select: none;
}
.desktop-icon:hover {

    background:
        rgba(255, 255, 255, 0.15);
}
.desktop-icon:active {

    background:
        rgba(255, 255, 255, 0.25);
}
.desktop-icon img {

    width: 64px;
    height: 64px;

    object-fit: cover;

    border-radius: 16px;

    filter:
        drop-shadow(0 0 8px black);
}
.desktop-icon p {

    margin: 5px 0 0;

    color: white;

    font-size: 14px;
}
.hub-icon {

    width: 64px;
    height: 64px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 38px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #525EA7,
            #8f9cff
        );

    filter:
        drop-shadow(0 0 8px black);
}
.window {

    position: absolute;

    width: 500px;

    display: flex;

    flex-direction: column;

    border:
        2px solid
        rgba(255, 255, 255, 0.3);

    border-radius: 16px;

    overflow: hidden;

    background:
        rgba(20, 20, 30, 0.90);

    backdrop-filter: blur(10px);

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.5);

    z-index: 100;

    user-select: none;
}
.welcome-window {

    top: 180px;
    left: 300px;
}
#libraryWindow {

    display: none;

    top: 150px;
    left: 250px;
}
#shriyanHubWindow {

    display: none;

    top: 100px;
    left: 200px;

    width: 700px;

    max-width:
        calc(100vw - 30px);

    max-height:
        calc(100vh - 110px);
}
.window-header {

    width: 100%;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-left: 15px;

    background-color: #525EA7;

    color: white;

    cursor: grab;

    flex-shrink: 0;
}
.window-header:active {

    cursor: grabbing;
}
.window-title {

    font-weight: 600;
}
.window-controls {

    display: flex;

    height: 100%;
}
.window-button {

    width: 45px;

    height: 100%;

    border: none;

    background: transparent;

    color: white;

    font-size: 20px;

    cursor: pointer;
}
.window-button:hover {

    background:
        rgba(255, 255, 255, 0.2);
}
.close-button:hover {

    background-color: #d9534f;
}
.window-content {

    padding: 30px;

    text-align: center;

    color: white;

    user-select: text;
}
.window-content h1 {

    margin-top: 0;

    color: #8f9cff;
}
.hub-content {

    padding: 25px;

    overflow-y: auto;

    color: white;

    user-select: text;
}
.hub-content h1 {

    margin:
        0 0 5px;

    color: #8f9cff;
}
.hub-subtitle {

    margin-top: 0;

    opacity: 0.7;
}
.hub-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-top: 20px;
}
.hub-card {

    padding: 18px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    cursor: pointer;

    transition:
        transform 0.15s,
        background 0.15s;
}
.hub-card:hover {

    transform:
        translateY(-3px);

    background:
        rgba(255, 255, 255, 0.15);
}
.hub-card-icon {

    font-size: 28px;
}
.hub-card h2 {

    margin:
        8px 0 4px;

    font-size: 18px;
}
.hub-card p {

    margin: 0;

    font-size: 13px;

    opacity: 0.7;
}
.projects-section {

    margin-top: 25px;
}
.projects-section h2 {

    font-size: 20px;
}
.project {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 12px;

    margin-bottom: 8px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.07);
}
.project > span {

    font-size: 25px;
}
.project strong {

    font-size: 15px;
}
.project p {

    margin:
        3px 0 0;

    font-size: 12px;

    opacity: 0.6;
}
.window.maximized {

    top: 80px !important;

    left: 10px !important;

    width:
        calc(100vw - 20px) !important;

    height:
        calc(100vh - 90px) !important;
}
@media (max-width: 650px) {

    .os-message {
        display: none;
    }

    .hub-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}