body {
    overflow: hidden;
    /* Hide scrollbars */
    /* background-color: rgba(0.5, 0.5, 0.5, 1); */
}

img[src=''] {
    display: none;
}

.toolbarContainer {
    transform: scale(0.9);
    width: 100px;
}

.toolbar {
    background-color: var(--theme-mid);
    width: fit-content;
    border-radius: 32px;
    display: flex;
    column-gap: 1px;
    justify-content: space-between;
    align-items: center;
    transform: scale(0.9);
    z-index: 1;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.35);
    transition: var(--animation-time);
}

.toolbar-divider {
    width: 2px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

.battery-widget-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0px;
}

.battery-widget {
    position: absolute;
    width: 240px;
    height: 70px;
    transform: translate(0%, 240%);
    border-radius: 24px;
    background-color: var(--theme-mid);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: var(--animation-time);
}

.battery-widget:hover {
    background-color: var(--theme-hi);
    box-shadow: 0px 0px 0px 2px var(--theme-accent);
    transform: scale(1.05);
    transition: var(--animation-time);
}

.battery-scroll-rect {
    width: 95%;
    height: 100%;
    background-color: transparent;
    display: flex;
    justify-content: left;
    align-items: center;
    align-content: space-around;
    overflow-x: overlay;
    overflow-y: hidden;
}

.battery-data-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    /* background-color: rgba(255, 0, 0, 0.1); */
    /* for debugging */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0px;
}

.media-widget {
    width: 95%;
    height: 60px;
    transform: translate(0%, 140%);
    border-radius: 24px;
    /* background-color: var(--theme-mid); */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--theme-mid);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.35);
}

.media-widget-info-container {
    position: absolute;
    width: 100%;
    height: 60px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    left: 62px;
    gap: 20px;

    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.media-widget-track {
    min-width: 0;
    width: 250px;
    font-size: 16px;
    font-weight: 700;
    font-variation-settings: 'slnt' 48;
}

.media-widget-artist {
    min-width: 0;
    /* font-family: 'Lato', 'Noto Sans'; */
    width: 250px;
    font-size: 12px;
}

.media-widget-icon {
    height: 50px;
    width: 50px;
    max-width: 50px;
    max-height: 50px;
    position: absolute;
    border-radius: 20px;
    background-color: var(--theme-dark);
    object-fit: cover;
    object-position: center;
    left: 5px;
}

.media-widget-controls {
    width: 150px;
    height: 50px;
    background-color: var(--theme-hi);
    position: absolute;
    right: 5px;
    border-radius: 20px;
    display: flex;
    align-items: right;
    transition: var(--animation-time);
}

.media-widget-button {
    border-radius: 20px;
    width: 60px;
    height: 50px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    transition: var(--animation-time);
}

.media-widget-button:hover {
    background-color: var(--theme-hi);
    font-size: 24px;
    box-shadow: 0px 0px 0px 2px var(--theme-accent);
}

.media-widget-button:focus {
    outline: 0;
    animation: click-scale-only;
    animation-duration: 0.3s;
}

.rounded {
    border: none;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
}

.button {
    background-color: transparent;
    border: none;
    border-radius: 32px;
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    transition: 0.25s;
    color: var(--theme-contrasting);
    font-size: 36px;
    box-sizing: content-box;
}

.button-image-container {
    line-height: 0px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.button:hover {
    z-index: 1;
    transform: scale(1.05);
    background-color: var(--theme-hi);
    font-size: 48px;
    /* border-radius: 25%; */
    box-shadow: 0px 0px 0px 2px var(--theme-accent);
    z-index: 5;
}

.button:focus {
    outline: 0;
    animation: click;
    animation-duration: 0.3s;
}

.glass-backdrop {
    background-color: rgba(120, 120, 120, 0.35);
    backdrop-filter: blur(15px);
}

.rounded-background {
    position: absolute;
    border: none;
    border-radius: 32px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--theme-dark);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.35);
    transition: var(--animation-time);
}

.container-widget-background {
    position: absolute;
    border: none;
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.background-image-container {
    border-radius: 32px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-image {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 150%;
    transform: scale(0.75) translate(0, -25%);
    transition: var(--animation-time);
}

.background-image-container {
    border-radius: 32px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: var(--animation-time);
}

.background-image-fader {
    width: 100%;
    height: 100%;
    transition: var(--animation-time);
}

.container-align-column {
    flex-direction: column;
    column-gap: -10px;
}

.absolute-centered {
    position: absolute;
    width: fit-content;
    height: fit-content;
}

.position-absolute {
    position: absolute;
}

.overflow-visible {
    overflow: visible;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-clip {
    position: relative;
    overflow: clip;
}

.overflow-masked {
    overflow: clip;
    mask-image: linear-gradient(to bottom, black calc(100% - 48px), transparent 100%);
}

.data-bubble {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: transparent;
    transform: scale(1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin-left: 20px;
}

.clock {
    /* color: var(--theme-contrasting); */
    font-size: 36px;
    font-weight: 400;
    transform: translate(0px, 2.5px);
}

.date {
    /* color: var(--theme-contrasting); */
    font-size: 24px;
    font-weight: 100;
    transform: translate(0px, -2.5px);
}

.time-in-vr {
    /* color: var(--theme-contrasting); */
    font-size: 18px;
    font-weight: 100;
    transform: translate(0px, -2.5px);
}

.percent-text {
    align-items: center;
    justify-content: center;
    font-size: 10px;
    top: 30px;
    /* font-family: 'Lato', 'Noto Sans'; */
}

.time-left-text {
    font-size: 12px;
    font-weight: bold;
    font-family: 'Lato', 'Noto Sans';
    animation: hide-time-left 200ms forwards;
    white-space: nowrap;
}

.device-battery-bar-background {
    border-radius: 8px;
}

.device-battery-bar-foreground {
    border-radius: 8px;
    transform-origin: 0% 50%;
}

.performance-background {
    position: absolute;
    border: none;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-mid);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.35);
    left: 618px;
    overflow: hidden;
    transition: cubic-bezier(0.34, 1.56, 0.64, 1) 400ms;
    transform: translateY(-75px);
    width: 220px;
    height: fit-content;
}

.performance-container-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 6px;
    gap: 6px;
}

.performance-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50%;
}

.performance-container-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50%;
    gap: 6px;
}

.performance-bar-wrapper {
    width: 100%;
    height: fit-content;
    display: block;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
    /* background-color: rgba(1, 1, 1, 0.15); */
}

.performance-bar-item-container {
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.performance-hardware-background {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    background-color: rgba(0, 0, 0, 0.25);
    transition: var(--animation-time);
    border: none;
    padding: 0px;
}

.performance-hardware-background:hover {
    background-color: var(--theme-hi);
    box-shadow: 0px 0px 0px 2px var(--theme-accent);
    transform: scale(1.02);
}

.performance-hardware-background:focus {
    outline: 0;
    transform: scale(0.98);
}

.performance-hardware-background-container-wrapper {
    width: 100%;
    height: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    box-sizing: border-box;
    gap: 6px;
}

/* real css moment */
.performance-hardware-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 6px;
}

.performance-hardware-halfbar-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-sizing: border-box;
}

.performance-bar-text-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    box-sizing: border-box;
    text-wrap: nowrap;
}

.performance-bar-text-name {
    font-size: 14px;
    font-weight: 400;
    text-wrap: nowrap;
    width: 50%;
    font-family: 'Roboto Flex'
}

.performance-bar-text-extra {
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    text-align: right;
    text-wrap: nowrap;
    font-family: 'Roboto Flex'
}

.performance-bar-text-percentage {
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    width: 100%;
    text-wrap: nowrap;
    margin-left: 6px;
    grid-column: 1;
    grid-row: 1;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Roboto Flex';
}

.performance-bar-text-middle-point {
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    width: fit-content;
    text-wrap: nowrap;
    grid-column: 1;
    grid-row: 1;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Roboto Flex';
}

.performance-bar-percent-background {
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.35);
    height: 24px;
    width: 100%;
    overflow: hidden;
    /* grid is a hack to get it to overlay with relative positioning. */
    display: grid;
    align-items: center;
}

.performance-bar-percent-foreground {
    border-radius: 0px;
    transform-origin: 0% 50%;
    background-color: var(--theme-accent);
    height: 100%;
    width: 100%;
    transition: var(--animation-time);
    grid-column: 1;
    grid-row: 1;
}

.performance-bar-graph-container {
    transform: translateY(25%);
    /* background-color: rgba(1, 1, 1, 0.5); */
    height: 65%;
    width: 100%;
}

.performance-bar-graph-datapoint {
    position: absolute;
    background-color: var(--theme-accent);
    width: 4px;
    height: 4px;
    border-radius: 100%;
    opacity: 0.75;
    transition: var(--animation-time);
}

span {
    width: 2px;
    height: 100%;
    background-color: var(--theme-accent);
    border-radius: 3px;
    transition: opacity 1s ease-out;
    animation: bounce 2s ease infinite alternate;
    content: '';
}

.marquee {
    animation: marquee 15s linear infinite;
}

.noselect {
    width: fit-content;
    display: flex;

    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.no-select {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

::-webkit-scrollbar-thumb {
    border-radius: 15px;
    background: var(--theme-hi);

}

::-webkit-scrollbar-thumb:hover {
    background: var(--theme-accent);
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
}

svg {
    transform: rotateZ(-90deg);
}

.hidden {
    display: none;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes click {
    0% {
        background-color: var(--theme-dark);
        transform: scale(0.9);
    }

    100% {
        background-color: var(--theme-hi);
        transform: scale(1.05);
    }
}

@keyframes clickColor {
    0% {
        background-color: var(--theme-mid);
    }

    100% {
        background-color: var(--theme-hi);
    }
}

@keyframes click-scale-only {
    0% {
        transform: scale(0.9);
    }

    100% {

        transform: scale(1.05);
    }
}

@keyframes hideToolbarButton {
    0% {
        transform: translateY(0px) scale(1);
    }

    100% {
        transform: translateY(120px) scale(0, 0.65);
    }
}

@keyframes showToolbarButton {
    0% {
        transform: translateY(120px) scale(0, 0.65);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes showWindowToolbarButton {
    0% {
        transform: translateY(-120px) scale(0, 0.65);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes hide-media-player {
    0% {
        transform: translateY(85%) scale(1);
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    99% {
        transform: translateY(0%) scale(1);
        opacity: 0;
    }

    100% {
        transform: translateY(0%) scale(0);
        opacity: 0;
    }
}

@keyframes show-media-player {
    0% {
        transform: translateY(0%) scale(1);
        opacity: 0;
    }

    85% {
        opacity: 1;
    }

    100% {
        transform: translateY(85%) scale(1);
        opacity: 1;
    }
}

@keyframes hide-media-player-move-battery {
    0% {
        transform: translate(0%, 190%);
    }

    100% {
        transform: translate(0%, 135%);
    }
}

@keyframes show-media-player-move-battery {
    0% {
        transform: translate(0%, 135%);
    }

    100% {
        transform: translate(0%, 190%);
    }
}

@keyframes hide-media-player-move-clock-and-toolbar {
    0% {
        margin-top: -80px;

    }

    100% {
        margin-top: 0px;
    }
}

@keyframes show-media-player-move-clock-and-toolbar {
    0% {
        margin-top: 0px;
    }

    100% {
        margin-top: -80px;
    }
}

@keyframes hide-media-player-adjust-height {
    0% {
        height: 190px;
    }

    100% {
        height: 110px;
    }
}

@keyframes show-media-player-adjust-height {
    0% {
        height: 110px;
    }

    100% {
        height: 190px;
    }
}


@keyframes spin {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(-360deg);
    }
}

@keyframes revert {
    100% {
        transform: rotateZ(0deg);
    }
}

@keyframes bounce {
    10% {
        transform: scaleY(0.3);
    }

    30% {
        transform: scaleY(1);
    }

    60% {
        transform: scaleY(0.5);
    }

    80% {
        transform: scaleY(0.75);
    }

    100% {
        transform: scaleY(0.6);
    }
}

@keyframes fade-in {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fade-out {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes fade-in-opacity {
    0% {
        opacity: 0;
        overflow: hidden;
    }

    99% {
        overflow: hidden;
    }

    100% {
        opacity: 1;
        overflow: visible;
    }
}

@keyframes fade-out-opacity {
    0% {
        opacity: 1;
        overflow: hidden;
    }

    99% {
        overflow: hidden;
    }

    100% {
        opacity: 0;
        overflow: hidden;
    }
}

@keyframes default-to-left {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(-615px);
    }
}


@keyframes left-to-default {
    0% {
        transform: translateX(-615px);
    }

    100% {
        transform: translateX(0px);
    }
}

@keyframes fade-background-opacity {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes show-background-opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes show-time-left {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes hide-time-left {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes raise-battery-bar {
    0% {
        transform: translate(0px, 22px);
    }

    100% {
        transform: translate(0px, 13px);
    }
}

@keyframes lower-battery-bar {
    0% {
        transform: translate(0px, 13px);
    }

    100% {
        transform: translate(0px, 22px);
    }
}

@keyframes raise-battery-icon {
    0% {
        transform: translate(0px, -2px);
    }

    100% {
        transform: translate(0px, -8px);
    }
}

@keyframes lower-battery-icon {
    0% {
        transform: translate(0px, -8px);
    }

    100% {
        transform: translate(0px, -2px);
    }
}

@keyframes blink-loop {
    0% {
        opacity: 100%;
    }

    50% {
        opacity: 10%;
    }

    100% {
        opacity: 100%;
    }
}