.closebutton {
    background: #E53935;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: solid;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #CCCCDD;
    flex-direction: column;
    padding: 20px;
}

#desktopApps {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 22px;
    color: #111100;
    margin: 0;
    padding: 3px 10px;
    z-index: 10;
    gap: 6px;
}

#appIcons {
    display: flex;
    gap: 40px;
    padding-bottom: 5px;
}

.appwrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.appdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    visibility: hidden;
}

.appdot.visible {
    visibility: visible;
}

.applabel {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #FFFFFF;
}

.windowheader {
    background-color: #AAAADD;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
    /* Stretch the header across the whole top of the window,
       counteracting the window's 12px padding so it reaches the edges. */
    margin: -20px -20px 20px -20px;
}

.appicon {
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid;
    box-sizing: border-box;
    width: 70px;
    height: 70px;
}

.selected {
    border-color: aqua;
    border-width: 1px;
}

.sidebarElement {
    width: fit-content;
    display: flex;
    gap: 7px;
    cursor: pointer;
}

.sidebarElementParagraph {
    padding: 5px 8px;
    margin: 0;
    border: solid black 1px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.notesElementDot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: Black;
    align-self: center;
    display: none;
}

#notescontentwrapper {
    padding-left: 15px;
    margin-left: 15px;
    border-left: solid black 2px;
}

#notecontentTitle {
    font-size: 30px;
    margin: 0;
}

#notecontentContent {
    font-size: 20px;
    max-width: 250px;
    overflow-wrap: break-word;
    margin-top: 0px;
    border-bottom: solid #9999BB 1px;
    padding-bottom: 7px;
    margin-bottom: 11px;
}

#notecontentTitle:focus {
    outline: 2px solid #BBAAFF;
    border-radius: 5px;
    background-color: rgba(187, 170, 255, 0.2);
}

#notecontentContent:focus {
    outline: 2px solid #BBAAFF;
    border-radius: 5px;
    background-color: rgba(187, 170, 255, 0.2);
}

#notesEditButton {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 20px;
    border: black 1px solid;
    background-color: #BBAAFF;
    cursor: pointer;
    align-self: center;
}

#notesNewButton {
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 15px;
    border: black 1px solid;
    background-color: #BBAAFF;
    cursor: pointer;
    align-self: center;
    margin-top: 15px;
}

#calculatorDisplay {
    width: 250px;
    overflow-wrap: break-word;
    min-height: 100px;
    height: auto;
    border-radius: 20px;
    background-color: #AAAAAA;
    border: solid black 3px;
    font-size: 50px;
    font-weight: 700;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 15px;
}

.calculatorButton {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 50%;
    border: 2px black solid;
    background-color: #FFBB88;
    cursor: pointer;
}

.calculatorButtonContainer {
    display: flex;
    justify-content: space-between;
}

#calculatorClearButton {
    margin-top: 20px;
    height: 50px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
    background-color: #DD88FF;
    border: 2px black solid;
    width: 100%;
    cursor: pointer;
}
