* {
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: FiraCode;
    font-feature-settings: "zero";
}

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

window#waybar.hidden {
    opacity: 0.2;
}

/*
window#waybar.empty {
    background-color: transparent;
}
window#waybar.solo {
    background-color: #FFFFFF;
}
*/

.modules-left {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    font-size: 20px;
    padding: 0 5px
}
.modules-center {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    font-size: 16.5px;
    padding: 0 15px
}
.modules-right {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    font-size: 16.5px;
    padding: 0 15px
}

button {
    /* Use box-shadow instead of border so the text isn't offset */
    /* Avoid rounded borders under each button name */
    border: none;
}

/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
    box-shadow: none
}

#workspaces button {
    padding: 0 10px;
    background-color: transparent;
    color: #5e5e5e;
}

#workspaces button.active {
    color: white;
}

#workspaces button:hover {
    background: none
}


#mode {
    background-color: #64727D;
    box-shadow: inset 0 -3px #ffffff;
}

#battery,
#cpu,
#memory,
#temperature,
#backlight,
#network,
#mode,
#mpd {
    padding: 0 10px;
}

#window,
#workspaces {
    margin: 0 4px;
}

