* {
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: Ubuntu;
    font-size: 14px;
    font-weight:500;
}

window#waybar {
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    transition-property: background-color;
    transition-duration: .5s;
}

/* window#waybar.hidden { */
/*     opacity: 0.2; */
/* } */

button {
    border: none;
    border-radius: 0;
}

button:hover {
    background: inherit;
    box-shadow: inset 0 0 #ffffff;
}
#workspaces button {
    padding: 0 8px;
    background-color: transparent;
    color: #ffffff;
}

#workspaces button:hover {
    background-color: #002F5F;
}

#workspaces button.focused {
    background-color: #002F5F;
}

#workspaces button.active {
    background-color: #002F5F;
}

#workspaces button.urgent {
    background-color: #ed8274;
}


#window,
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-updates,
#custom-powermode,
#tray {
    padding: 0 12px;
    border-radius: 5px;
    color: #ffffff;
    background-color: #002F5F;
    margin-left:2px;
    margin-right:2px;
}

#taskbar button {
    padding: 0 12px;
    border-radius: 5px;
    color: #ffffff;
    background-color: #1f2430;
    margin-left:2px;
    margin-right:2px;
}
#taskbar button.active {
    background-color: #002F5F;
}

#window {
    font-weight:400;
    margin-left:0;
}
window#waybar.empty #window {
    background-color: transparent;
}

#clock {
    margin-right:0;
}

#workspaces {
    margin: 0 10px;
}

/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
    margin-left: 0;
}

/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
    margin-right: 0;
}

@keyframes blink {
    to {
        background-color: #ffffff;
        color: #000000;
    }
}

#battery.critical:not(.charging) {
    background-color: #f53c3c;
    color: #ffffff;
    animation-name: blink;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

label:focus {
    background-color: #000000;
}

#custom-media {
    background-color: #66cc99;
    color: #2a5c45;
    min-width: 100px;
}

#custom-media.custom-spotify {
    background-color: #66cc99;
}

#custom-media.custom-vlc {
    background-color: #ffa000;
}

#tray > .passive {
    -gtk-icon-effect: dim;
}

#tray > .needs-attention {
    -gtk-icon-effect: highlight;
    background-color: #eb4d4b;
}
