* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background-image: url("./Images/background.jpg");
    background-size: cover;
    background-position: center;
}

.top-bar {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    background: #ffffffd1;
    backdrop-filter: blur(10px);
    border: 1px solid #000;
    border-radius: 10px;
    box-shadow: 0 4px 20px #0003;
    z-index: 1000;
}

.top-bar p {
    margin: 0;
    color: #010a0e;
    font-weight: bold;
}

#desktop {
    padding: 75px 16px 16px;
    display: flex;
    gap: 15px;
}

.app-icon {
    width: 150px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
}

.app-icon img {
    display: block;
    width: 100%;
}

.app-icon.selected {
    background: #0ceeee34;
}

.app-icon.selected img {
    transform: scale(.95);
}

.window {
    position: absolute;
    display: none;
    width: 500px;
    min-height: 350px;
    background: #ffffffd1;
    backdrop-filter: blur(10px);
    border: 1px solid #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px #0004;
    z-index: 10;
}

.window-header {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    background: #7a797965;
    cursor: move;
    user-select: none;
}

.window-header span {
    font-weight: bold;
}

.window-header button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.window-header button:hover {
    background: #ff5c5c;
    color: white;
}

.window-content {
    padding: 20px;
}

.welcome-window {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
}

.welcome-window h1,
.welcome-window h2,
.welcome-window h5,
.welcome-window h6 {
    text-align: center;
}

.pfp {
    display: block;
    width: 100px;
    height: 100px;
    margin: 20px auto 5px;
    object-fit: cover;
    border-radius: 50%;
}

.stopwatch {
    text-align: center;
    padding: 40px 10px;
}

#stopwatchTime {
    font-size: 48px;
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.stopwatch-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.stopwatch-buttons button {
    padding: 10px 20px;
    border: 1px solid #000;
    border-radius: 8px;
    background: #ffffffaa;
    cursor: pointer;
}

.stopwatch-buttons button:hover {
    background: #0ceeee;
}

.socials {
    padding: 10px;
}

.social-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    margin-bottom: 20px;
}

.social-profile img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.social-profile h1 {
    margin: 0;
    font-size: 24px;
}

.social-profile p {
    margin: 5px 0 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;

    color: #010a0e;
    text-decoration: none;

    background: #ffffff88;
    border: 1px solid #0002;
    border-radius: 10px;
}

.social-links a:hover {
    background: #0ceeee;
}

.social-links span {
    font-weight: bold;
}

.social-links small {
    opacity: .6;
}

.cookie-game {
    text-align: center;
    padding: 20px;
}

#cookieCount {
    font-size: 28px;
    font-weight: bold;
}

#cookieMultiplier {
    margin-top: 5px;
    opacity: .6;
}

#cookie {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 30px auto 15px;
    cursor: pointer;
    user-select: none;
    transition: transform .1s;
}

#cookie:hover {
    transform: scale(1.05);
}

#cookie.cookie-click {
    transform: scale(.9);
}

.cookie-game p {
    margin: 0;
    opacity: .6;
}

#cookieClicker {
    border-radius: 50%;
}

#cookieClicker img {
    border-radius: 50%;
}

#cookieClicker.selected {
    border-radius: 50%;
}

.about-me {
    text-align: center;
}

.about-me > img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
}

.about-me h1 {
    margin: 10px 0 0;
}

.about-me > p {
    margin-top: 5px;
    opacity: .6;
}

.about-section {
    margin-top: 20px;
    padding: 12px;
    text-align: left;
    background: #ffffff66;
    border: 1px solid #0002;
    border-radius: 10px;
}

.about-section h2 {
    margin: 0 0 5px;
    font-size: 16px;
}

.about-section p {
    margin: 0;
    line-height: 1.5;
}

#aboutMe {
    border-radius: 35%;
}

#aboutMe img {
    border-radius: 35%;
    transform: scaleX(-1);
}

.terminal {
    height: 280px;
    padding: 15px;
    background: #111;
    color: #eee;
    border-radius: 8px;
    font-family: monospace;
    font-size: 14px;
    overflow: hidden;
}

#terminalOutput {
    height: 235px;
    overflow-y: auto;
    line-height: 1.5;
}

.terminal-command {
    color: #0ceeee;
}

.terminal-input {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.terminal-input input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #eee;
    font-family: monospace;
    font-size: 14px;
}