* {
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: "JetBrainsMono Nerd Font";
    border: none;
    min-height: 0;
    margin: 1px 3px;
}

#waybar {
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    transition-property: background-color;
    transition-duration: .5s;
    font-size: 15px;
    font-weight: normal;
}

/* Module */
#clock,
#cpu,
#memory,
#network,
#pulseaudio,
#tray,
#mpd,
#disk,
#battery,
#backlight,
#workspaces {
    padding-left: 0.7em;
    padding-right: 0.7em;
    color: #D8DEE9;
    margin: 1px 2px;
    background: #000000;
	border-radius: 5px;
	border: 0.3px solid #ffffff;
}

#memory {
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

#workspaces button {
    font-weight: bold; /* Somewhy the bar-wide setting is ignored*/
    padding: 0;
    border-radius: 5px;
    font-size: 0.9em;
    margin: 2px 2px;
}
#workspaces button.active {
    border-radius: 5px;
    color: #008080;
    margin: 2px 2px;
}

#battery.charging, #battery.plugged {
    color: #ffffff;
}

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

#custom-menu {
	padding-left: 0.1em;
    padding-right: 0.3em;
	background-color: #000000;
	border-radius: 5px;
	border: 0.3px solid #ffffff;
}

#custom-power {
	padding-left: 0.1em;
    padding-right: 0.3em;
	background-color: #000000;
	border-radius: 5px;
	border: 0.3px solid #ffffff;
}

#custom-filemanager {
	background-color: #000000;
	padding-left: 0.1em;
	padding-right: 0.2em;
	background-color: #000000;
	border-radius: 5px;
	border: 0.3px solid #ffffff;
}
#custom-browser {
	background-color: #000000;
	padding-left: 0.1em;
	padding-right: 0.2em;
	background-color: #000000;
	border-radius: 5px;
	border: 0.3px solid #ffffff;
}
#custom-libre {
	background-color: #000000;
	padding-left: 0.1em;
	padding-right: 0.2em;
	background-color: #000000;
	border-radius: 5px;
	border: 0.3px solid #ffffff;
}
#custom-cycle_wall {
	background-color: #000000;
	padding-left: 0.4em;
	padding-right: 0.2em;
	background-color: #000000;
	border-radius: 5px;
	border: 0.3px solid #ffffff;
}

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