@import "colors/mocha.css";

/* margin: top right bottom left */
/* Spacing outside the element */

/* padding: top right bottom left */
/* Spacing inside the element */

* {
  font-family: FiraCode Mono Nerd Font;
  font-size: 15px;
}

window#waybar {
  background-color: #0A0A0A;
  color: @text;
  transition-property: background-color;
  transition-duration: 0.5s;
  border-radius: 0px;
  transition-duration: .5s;
  margin: 16px 16px;
}

window#waybar.hidden {
  opacity: 0.2;
}

#workspaces button {
  color: #A9A1E1;
  background: #191919;
  border-radius: 8px;
  padding: 0px 10px 0px 10px;
  margin: 10px 5px 10px 5px;
  transition: all 0.3s ease-in-out;
}

#workspaces button:hover {
  background: @surface0;
  color: @text;
}

#workspaces button.active {
  color: #A9A1E1;
  background: #141414;
  border-bottom: 2px solid #A9A1E1;
  border-radius: 8px;
  padding: 0px 10px 0px 10px;
  margin: 10px 5px 10px 5px;
}

#custom-launcher,
#clock,
#battery,
#cpu,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-dunst,
#custom-powermenu{
  padding: 20px 20px;
  margin: 7px 0px 10px 0px;
  border-radius: 10px;
  color: @crust;
}

#window,




#custom-audio_idle_inhibitor {
  padding: 0px 15px 0px 10px;
  margin: 7px 0px 10px 10px;
  background-color: #C678DD;
  color: @joksi-bg;
  border-radius: 10px;
  font-size: 20px;
}



#custom-launcher {
  padding: 0px 15px 0px 10px;
  margin: 7px 0px 10px 10px;
  background-color: #C678DD;
  color: @joksi-bg;
  border-radius: 10px 0px 0px 10px;
  font-size: 20px;
}

#custom-pkgs {
  padding: 0px 15px 0px 10px;
  margin: 7px 0px 10px 0px;
  background-color: @joksi-bg;
  color: #C678DD;
  border-radius: 0px 10px 10px 0px;
}

#custom-cpu {
  background-color: #51AFEF;
  color: @joksi-bg;
  border-radius: 10px 0px 0px 10px;
  padding: 0px 10px 0px 10px;
  margin: 7px 0px 10px 10px;

  font-size: 20px;
}

#cpu {
  background: #141414;
  color: #51AFEF;
  border-radius: 8px 0px 0px 8px;
  border-bottom: 2px solid #51AFEF;
  padding: 0px 10px 0px 10px;
  margin: 10px 0px 10px 0px;

}

#custom-temp {
  background: #141414;
  color: @joksi-bg;
  border-radius: 10px 0px 0px 10px;
  padding: 0px 10px 0px 10px;
  margin: 7px 0px 10px 10px;

  font-size: 20px;
}


#temperature {
  background: #141414;
  color: #51AFEF;
  border-bottom: 2px solid #51AFEF;
  border-radius: 0px 8px 8px 0px;
  padding: 0px 10px 0px 10px;
  margin: 10px 5px 10px 0px;

}



#backlight {
  background-color: #CCCCCC;
  padding: 0px 10px 0px 10px;
  border-radius: 10px 0px 0px 10px;
}


#pulseaudio {
  background-color: @joksi-bg;
  color:#A9A1E1;
  padding: 0px 10px 0px 10px;
  border-radius: 10px 0px 0px 10px;

}




#custom-net {
  background-color: #A9A1E1;
  color: @joksi-bg;
  border-radius: 10px 0px 0px 10px;
  padding: 0px 15px 0px 10px;
  margin: 7px 0px 10px 10px;

  font-size: 20px;
}

#network {
  color: #A9A1E1;
  background: #141414;
  border-bottom: 2px solid #A9A1E1;
  border-radius: 8px;
  padding: 0px 5px 0px 5px;
  margin: 10px 5px 10px 5px;
  font-size: 15px;
}



#custom-bat {
  background-color: #EC5F67;
  color: @joksi-bg;
  border-radius: 10px 0px 0px 10px;
  padding: 0px 15px 0px 10px;
  margin: 7px 0px 10px 10px;

  font-size: 20px;
}


#battery {
  background-color: @joksi-bg;
  color: #EC5F67;
  border-radius: 0px 10px 10px 0px;
  padding: 0px 10px 0px 10px;
  margin: 7px 0px 10px 0px;
}


#custom-clock {
  color: @joksi-bg;
  background-color: #98BE65;
  font-size: 20px;
  border-bottom: 2px solid #98BE65;
  border-radius: 0px;
  padding: 0px 15px 0px 10px;
  margin: 7px 0px 10px 10px;
}

#clock {
  padding: 0px 10px 0px 10px;
  margin: 10px 5px 10px 5px;
  color: #98BE65;
  border-bottom: 2px solid #98BE65;
  border-radius: 8px;
  background: #141414;
}



@keyframes blink {
  to {
    background-color: rgba(30, 34, 42, 0.5);
    color: #abb2bf;
  }
}

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

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


