body {
  background-color: black;
  color: white;
  font-family: "Press Start 2P", system-ui;
  margin: 20px;
  display: grid;
  gap: 40px;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    to bottom,
    black 0px,
    black 4px,
    blue 4px,
    blue 8px
  );
  mix-blend-mode: lighten;
  opacity: 0.3;
  z-index: -1;
}

body.playing::before {
  animation: glitch 0.5s infinite;
}

body.playing #live {
  display: block;
}

body.playing .rock {
  animation: rock 0.6s ease-in-out infinite alternate;
}

@keyframes glitch {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(1px); }
  40%  { transform: translateY(-1px); }
  60%  { transform: translateY(2px); }
  80%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.p10 {
  padding: 10px;
}

.header {
  display: flex;
  border: 6px solid rgb(132, 204, 22);
  box-shadow: 6px 6px  rgb(232 121 249);
  margin: 0;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 30px;
  padding: 20px;
}

h1, h2, h3, h4, h5, ul, li {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 50px;
  color:  rgb(163 230 53);
  text-shadow: 4px 4px blue;
}

.rock {
  font-size: 40px;
  text-shadow: 1px 1px white, 2px 2px blue;
  display: block;
}

.rocking {
  animation: rock 0.6s ease-in-out infinite alternate;
}

@keyframes rock {
  from {
    transform: rotate(-10deg);
  }
  to {
    transform: rotate(32deg);
  }
}

.main a {
  display: inline-block;
  padding: 20px 20px;
  size: 17px;
  background-color: rgb(132, 204, 22);
  border: 4px solid rgb(190, 242, 100);
  box-shadow: rgb(54, 163, 2) 4px 4px 0px 0px;
  color: black;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  opacity: 0.8;
}

a.alt {
  box-shadow: rgb(2, 130, 163) 4px 4px;
  background-color: rgb(6, 182, 212);
  border-color: rgb(103, 232, 249);
}

.main a:hover {
  background-color: rgb(163, 230, 53);
}

a.alt:hover {
  background-color: rgb(34 211 238);
}

.main {
  display: flex;
  gap: 40px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  width: 350px;
  gap: 20px;
}

li {
  list-style-type: none;
  font-size: 14px;
  margin-bottom: 15px;
}

small {
  font-size: 60%;
}

.sidebar small {
  color: rgb(240 171 252);
  font-size: 60%;
}

h3 {
  font-size: 17px;
  border-bottom: 3px solid  rgb(232 121 249);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

h2, h4 {
  margin: 12px 0;
  font-size: 22px;
  text-align: center;
  margin-bottom: 20px;
  padding: 0 10px;
  color: rgb(103 232 249);
}

h4 {
  font-size: 15px;
  padding: 0 20px;
}

.section {
  position: relative;
  border: 4px solid  rgb(232 121 249);
  color: rgb(232 121 249);
  position: relative;
  padding: 16px;
}

.synth {
  flex: 1;
}

.wrapper {
  position: relative;
}

#live {
  display: none;
  font-size: 10.5px;
  padding: 3.5px 7px;
  border-radius: 2px;

  position: absolute;
  top: 5px;
  right: 7px;
  text-transform: uppercase;
  background-color: rgb(6, 182, 212);
  color: black;;
  box-shadow: rgb(0, 0, 0) 2px 2px 0px 0px;
  line-height: 1rem;
}

.footer {
  border-top: 3px dashed cyan;
  text-align: center;
  padding-top: 12px;
  font-size: 10.5px;
  text-shadow: 1px 1px red;
}

.footer a {
  color: white;
  text-decoration: none;
}

#instruments {
  display: flex;
  flex-wrap: wrap;;
  align-items: center;
  justify-content: center;
  align-content: center;
}

.sound {
  width: 360px;
  margin: 10px;
  padding: 12px;
  border: 3px dashed coral;
}


.tag, .tag-a {
  display: inline-block;
  text-transform: uppercase;
  font-size: 10px;
  padding: 3px 7px;
  background-color: rgb(14, 165, 233);
  color: black;
  line-height: 14px;
  margin: 4px 0;
}

.tag-alt, .tag-b {
  background-color: rgb(99, 102, 241);
}

.tag-alt-alt, .tag-3 {
  background-color: rgb(234, 179, 8);
}

h5 {
  text-align: left;
  padding: 0;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

h5 *:first-child {
  flex-grow: 1;
}

.volume-bar {
  width: 6px;
  height: 14px;
  background: #333;
  position: relative;
  flex-grow: 0;
}

.bar-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: green;
  border-top: 1px solid lime;
  transition: height 0.1s;
  opacity: 0.8;
}
