* {
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: "JetBrainsMono Nerd Font";
    font-weight: 500;
    font-size: 16px;

    border-radius: 18px;
    text-shadow: none;
    
    transition-property: background;
    transition-duration: 0.2s;
}

window#waybar {
    background-color: transparent;
}

window#waybar.hidden {
    opacity: 0.2;
}

#clock,
#cpu,
#memory,
#network,
#pulseaudio,
#tray,
#mode,
#window,
#workspaces {
    margin-top: 6px;
    padding: 0 12px;
}

#workspaces {
    padding: 3px;
	background: rgba(31, 31, 31, 1.0);
	transition: none;

    font-size: 12px;
}

#workspaces :first-child {
    margin-left: 0;
}

#workspaces button {
    border: none;
    padding: 0 6px;
    background: transparent;
    color: #ffffff;
    margin-left: 3px;
}

#workspaces button:hover {
    background: rgba(255, 255, 255, 0.5);
}

#workspaces button.empty {
    color: rgba(255, 255, 255, 0.25);
}

#workspaces button.active {
    background: #f0f7ff;
    color: #1f1f1f;
}

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

#mode {
    background-color: #64727D;
    border-bottom: 3px solid #ffffff;
}

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

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

#clock {
    background-color: #eefff1;
    color: #000000;
}

#cpu {
    background-color: #FE968B;
    color: #000000;
}

#memory {
    background-color: #FFEAAA;
    color: #000000;
}

#pulseaudio {
    background-color: #b0f5e5;
    color: #000000;
}

#network {
    background-color: #a4e4fe;
    color: #000000;
}

#tray {
    background-color: rgba(16, 20, 24, 0.5);
}

#window {
    font-family: 'JetBrainsMono Nerd Font', 'Noto Sans CJK SC', sans-serif;
    font-weight: 400;
    background-color: #cbecff;
    color: #000000;
}
