/* 🌙 NISHI'S OS — STARGIRL THEME */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');


/* ---------- WHOLE PAGE ---------- */

body {
    margin: 0;
    padding: 60px 10%;

    background: #0b0b1f;
    color: #eee9ff;

    font-family: 'DM Sans', sans-serif;

    text-align: center;
}


/* ---------- MAIN HEADING ---------- */

h1 {
    font-family: 'Playfair Display', serif;

    font-size: 60px;

    color: #f6eaff;

    letter-spacing: 2px;

    margin-bottom: 20px;

    text-shadow:
        0 0 10px #c7a8ff,
        0 0 30px #8065c9;
}


/* ---------- INTRODUCTION ---------- */

h2 {
    font-family: 'Playfair Display', serif;

    color: #d9bfff;

    font-size: 32px;

    margin-top: 50px;
}


/* ---------- PARAGRAPHS ---------- */

p {
    max-width: 650px;

    margin: 20px auto;

    line-height: 1.8;

    font-size: 17px;

    color: #cfc9df;
}


/* ---------- IMAGE ---------- */

img {
    width: 400px;
    height: 400px;

    object-fit: cover;

    border: 3px solid #c9a8ff;

    display: block;

    margin: auto;

    box-shadow:
        0 0 20px rgba(174, 137, 255, 0.4),
        0 20px 50px rgba(0, 0, 0, 0.5);

    transition: 0.4s ease;
}


/* IMAGE HOVER */

img:hover {
    transform: rotate(0deg) scale(1.04);

    box-shadow:
        0 0 35px rgba(196, 157, 255, 0.7);
}


/* ---------- INSTAGRAM LINK ---------- */

a {
    display: inline-block;

    margin: 15px;

    padding: 10px 22px;

    border: 1px solid #c9a8ff;

    border-radius: 30px;

    color: #e5d5ff;

    text-decoration: none;

    transition: 0.3s ease;
}


/* LINK HOVER */

a:hover {
    background: #c9a8ff;

    color: #171329;

    box-shadow: 0 0 20px #9c78d8;

    transform: translateY(-3px);
}


/* ---------- STARGIRL TEXT ---------- */

p:last-child {
    font-family: 'Playfair Display', serif;

    font-size: 22px;

    color: #e5d5ff;

    font-style: italic;

    margin-top: 35px;
}


/* ---------- STAR-LIKE BACKGROUND ---------- */

body::before {
    content: "✦   ˚   ✧       ⋆   ✦       ˚     ✧   ⋆   ✦     ˚";

    position: fixed;

    top: 30px;
    left: 0;

    width: 100%;

    color: #ffffff;

    opacity: 0.35;

    font-size: 18px;

    letter-spacing: 15px;

    pointer-events: none;
}


/* ---------- DESKTOP ---------- */

#desktop {
    height: 100vh;

    margin-top: 60px;

    background: #211d38;

    color: white;

    position: relative;

    overflow: hidden;
}


/* ---------- TOP BAR ---------- */

.topbar {
    height: 50px;

    background: #17142a;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 0 20px;
}


.topbar b {
    color: #f3b7ff;

    margin-right: auto;
}


#clock {
    color: #ffd6f7;
}


/* ---------- DESKTOP ICONS ---------- */

.icons {
    display: flex;

    gap: 40px;

    padding: 40px;

    text-align: center;
}


.desktop-icon {
    cursor: pointer;

    font-size: 15px;

    transition: 0.2s;
}


.desktop-icon:hover {
    transform: scale(1.1);

    color: #f3b7ff;
}


/* ---------- WINDOWS ---------- */

.window {
    display: none;

    position: absolute;

    top: 150px;
    left: 30%;

    width: 350px;

    background: #292440;

    border: 1px solid #b99be8;

    border-radius: 10px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.5);

    overflow: hidden;

    z-index: 10;
}


/* WINDOW TOP */

.window-top {
    height: 40px;

    background: #17142a;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 12px;

    cursor: move;
}


.window-top b {
    color: #f3b7ff;
}


/* CLOSE BUTTON */

.window-top button {
    border: none;

    background: none;

    color: white;

    font-size: 22px;

    cursor: pointer;
}


.window-top button:hover {
    color: #ff9fcf;
}


/* WINDOW CONTENT */

.window-content {
    padding: 20px;

    text-align: left;
}


.window-content p {
    font-size: 15px;
}