:root {
    --accent: #1db954;
}
.backdrop {
    background-image: url(bg.jpg);
    background-size: cover;
}
.topbar {
    width: 100%;
    height: 30px;
    background-color: #1d1d1d;
    box-sizing: border-box;

    display: flex;

    position: absolute;
    top: 0%;
    left: 0%;
}
.branding {
    position: absolute;
    left: 0.8%;
    top: 60%;
    transform: translate(-50%, -50%);
}
.logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.time {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'jetbrains-mono', monospace;
    font-weight: 10;
    font-size: 12px;
}
.battery {
    position: absolute;
    left: 98%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'jetbrains-mono', monospace;
    font-weight: 10;
    font-size: 12px;
}
.appdock {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -10%);
    width: 10%;
    height: 50px;
    background-color: #1d1d1d;
    corner-shape: squircle;
    border-radius: 40px;
}
.icons {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%
}
.app-icon-image {
    width: 30px;
    height: 30px;
}
.window {
    border: 10px;
    border-color: black;
    border-radius: 40px 40px 40px 40px;
    corner-shape: squircle;
    background-color: #1d1d1dCC;
    width: 500px;
    height: 450px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.window-header {
    border-color: black;
    background-color: black;
    width: 100%;
    height: 25px;
    position: absolute;
    left: 0%;
    top: 0%;
    corner-shape: squircle;
    border-radius: 40px 40px 0px 0px;
}
.closeButton {
    position: absolute;
    right: 2%;
    transform: translate(-50%, -50%);
    top: 50%;
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 5px;
}
.form {
    height: 95%;
    width: 100%;
    box-sizing: border-box;

}
.notes-form {
    background-color: transparent;
    color: #fff;
    box-sizing: border-box;
    width: 100%;
    height: 90%;
    border-width: 0px;
    position: absolute;
    top: 5%
}
.notes-form:focus {
    outline: none;
}
.button-note-submit {
    color: #FFF;
    background-color: #1d1d1dCC;
    box-shadow: none;
    border: none;
    width: 100%;
    corner-shape: squircle;
    height: 50px;
    position: absolute;
    left: 0%;
    bottom: 0%;
    border-radius: 0px 0px 40px 40px;
    box-sizing: border-box;
}
.submit-text {
    font-family: 'jetbrains-mono', monospace;
    font-size: 12px;
    height: 50px;
    text-align: center;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
}
html::-webkit-scrollbar {
  display: none;
}
.filename {
    font-size: 15px;
    color: #fff;
    font-family: 'jetbrains-mono', monospace;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 30%;
}
.file-selector {
    color: transparent;
    background-color: #1d1d1dCC;
    box-shadow: none;
    border: none;
    width: 100%;
    corner-shape: squircle;
    height: 50px;
    position: absolute;
    left: 0%;
    bottom: 0%;
    border-radius: 0px 0px 40px 40px;
    box-sizing: border-box;
    text-align: center;
}
.file-selector::file-selector-button {
    display: none;
}
.playbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 80%;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    color: #FFF;
    font-family: 'jetbrains-mono', monospace;
}
.time-bar {
    font-size: 12px;
}
input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) 0%, #555 0%, #555 100%);
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}
input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}
.controls {
    display: flex;
    justify-content: center;
    position: absolute;
    transform: translate(-50%, 0%);
    left: 50%;
    bottom: 60px;
}
button {
    background: var(--accent);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
  button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

