.closebutton {
    width: 14px;
    height: 14px;
    cursor: pointer;
    background-color: red;
    border-radius: 50%;
    border: 1px solid black;
}

.closebutton:hover {
    opacity: 0.7;
}
.minbutton {
    width: 14px;
    height: 14px;
    cursor: pointer;
    background-color: gold;
    border-radius: 50%;
    border: 1px solid black;
}
.minbutton:hover {
    opacity: 0.7;
}

.maxbutton {
    width: 14px;
    height: 14px;
    cursor: pointer;
    background-color: limegreen;
    border-radius: 50%;
    border: 1px solid black;
}

.maxbutton:hover {
    opacity: 0.7;
}

.window {
    position: absolute;
    background-color: aqua;
    border: solid thick #003aff;
    border-radius: 16px;
    width: 500px;
    height: 760px;
    padding: 16px;
    margin: 0;
    z-index: 10;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.windowheader {
    user-select:none;
    cursor:move;
    background-color:mediumspringgreen;
    font-family: arial, serif;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    touch-action: none;
}
.headertext {
    margin: 0px;
    color: black;
    font-weight: 3000;
}

#desktopApps {
    position: absolute;
    top: 30px;
    left: 16px;
    z-index: 1;
}

.notepad-content{
    background-color: #fff;
    margin: 6px;
    border-radius: 16px;
    padding: 16px;
    width: calc(100% - 12px);
    height: calc(100% - 80px);
    box-sizing: border-box;
}

.notepad-text {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    resize: none;
    font-family: arial, serif;
    font-size: 16px;
}
.notepad-text::placeholder {
    color: rgba(0,0,0,0.4);
}

.google-container {
    text-align: center;
    width: 600px;
    height: 564px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

body {
    margin: 0;
}

#display {
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
    font-size: 20px;
    text-align: right;
    padding: 5px;
}

.buttons {
    display:grid;
    grid-template-columns: repeat(4, 60px);
    gap: 10px;
    justify-content: center;
}

button {
    height: 79px;
    width: 67px;
    font-size: 18px;
    cursor: pointer;
    background: lightcyan;
    border-radius: 12px;
}

body.locked #taskbar,
body.unlocked #desktopApps,
body.unlocked #desktop {
    filter: blur(8px);
    pointer-events: none;
}

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    color: white;
    text-align: center;
}

.splash-content h1{
    font-size: 4rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.splash-hidden {
    transform: translateY(-100%);
}
html, body {
    cursor: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMiAydjE4bDUtNWg5TDIgMnoiIGZpbGw9IiMwMDdCRkYiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==") 0 0, auto;
}
