@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@600&display=swap");
:root {
  --font: #c7c7c7;
  --bg: #525252;
  --square: #c2c2c2;
  --bigLine: #e0e0e04d;
  --smallLine: #e2e2e10d;
  --overlay: transparent;
  --size: 5;
}

.button {
  height: 60px;
  aspect-ratio: var(--size);
  border-radius: 0px;
  border: none;
  outline: 2px solid var(--square);
  padding: 0;
  position: relative;
  background-color: var(--bg);
  cursor: pointer;
}

.button:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 12;
  background-color: rgba(255, 255, 255, 0);
  background-image: linear-gradient(var(--bigLine) 2px, transparent 2px),
    linear-gradient(90deg, var(--bigLine) 2px, transparent 2px), linear-gradient(var(--smallLine) 1px, transparent 1px),
    linear-gradient(90deg, var(--smallLine) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 10px 10px, 10px 10px;
  background-position: -1px -1px, -1px -1px, -5px -5px, -1px -1px;
}

.button:before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  top: -2px;
  z-index: 14;
  background-color: var(--overlay);
  mix-blend-mode: color-burn;
}

.label {
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--font);
  position: absolute;
  left: 4px;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  margin: 0;
  z-index: 5;
}

.squaresContainer {
  z-index: 0;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  opacity: 0.35;
  margin: 0 auto;
  gap: 1px;
}

.square {
  background-color: var(--square);
}

.background {
  position: absolute;
  width: 100%;
  height: 60px;
  left: 0;
}
