.makr75-content {
  --panel-max-content-width: 500px;
  --panel-padding: 4rem 2rem;
  --megamenu-height: 60px;
  --navigation-height: 80px;
  --keyboard-width: 400px;
}

.makr75-content img {
  user-select: none;
  pointer-events: none;
}

.padding-panel {
  padding: var(--panel-padding);
}

.makr75-content :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #fff;
}

.makr75-content h2 {
  font-size: 2.25rem;
}

.makr75-content ul {
  list-style-type: disc;
  list-style-position: inside;
}

.makr75-content p,
.makr75-content li,
.makr75-content td {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}

.makr75-content .block-subtitle {
  letter-spacing: 0.15em;
  color: #ece81a;
  font-weight: 500;
  font-size: 0.875rem;
}

.makr75-content .block-cta {
  color: black;
  background-color: #ece81a;
  padding: 0.75rem 2rem;
  font-weight: 600;
  width: fit-content;
  font-size: 1rem;
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .makr75-content {
    --panel-max-content-width: 640px;
    --panel-padding: 6rem;
    --keyboard-width: 500px;
  }

  .makr75-content h2 {
    font-size: 3.25rem;
  }

  .makr75-content p,
  .makr75-content li {
    font-size: 1.125rem;
  }

  .makr75-content .block-subtitle {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1280px) {
  .makr75-content {
    --panel-max-content-width: 1280px;
    --panel-padding: 8rem 6rem;
    --keyboard-width: 700px;
  }

  .makr75-content h2 {
    font-size: 3.25rem;
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 1600px) {
  .makr75-content {
    --panel-max-content-width: 1440px;
  }
}

@media screen and (min-width: 1920px) {
  .makr75-content {
    --panel-max-content-width: 1600px;
  }
}

@media screen and (min-height: 1100px) {
  .makr75-content {
    --keyboard-width: 900px;
  }
}

@media screen and (min-height: 1200px) {
  .makr75-content {
    --keyboard-width: 1024px;
  }
}

#switches-panel,
#keycaps-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
  background: #191919;
}

#switches-panel .keyboard-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#switches-panel .block-header,
#switches-panel .swatches-group {
  max-width: var(--panel-max-content-width);
}

#switches-panel .block-media {
  max-width: var(--keyboard-width);
  position: relative;
  width: 100%;
  height: 100%;
}

#switches-panel .swatches-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  justify-items: start;
}

#switches-panel .swatches-group-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
}

#switches-panel .swatch-item-button {
  width: 64px;
  height: 64px;
  border: 1px solid transparent;
  border-radius: 50%;
  flex-shrink: 0;
}

#switches-panel .swatch-item-button img {
  object-fit: contain;
}

#switches-panel .swatch-item-button {
  border: 1px solid #ffffff88;
}

#switches-panel .swatch-item-description {
  display: flex;
  flex-direction: column;
  text-align: left;
}

#switches-panel .block-footer {
  text-align: center;
  color: #ece81a;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

#switches-panel .switches-listen {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #ece81a;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  align-self: flex-start;
  margin-top: 0.5rem;
}

#switches-panel .switches-listen .stop-icon {
  display: none;
  width: 9px;
  margin: 0 3px;
  height: 9px;
  border-radius: 1px;
  background: #ece81a;
}

#switches-panel .switches-listen .play-icon {
  display: block;
}

#switches-panel .switches-listen.active .stop-icon {
  display: block;
}

#switches-panel .switches-listen.active .play-icon {
  display: none;
}

@media screen and (min-width: 768px) {
  #switches-panel .swatch-item-button {
    width: 96px;
    height: 96px;
  }

  #switches-panel .swatch-item-description {
    font-size: 1.125rem;
  }

  #switches-panel .block-description {
    max-width: 1200px;
  }

  #keycaps-panel .swatches-tabs-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

#keycaps-panel .keyboard-keycaps,
#keycaps-panel .keyboard-keycaps-clone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#keycaps-panel .keyboard-keycaps {
  z-index: 99;
}

#keycaps-panel .block-header,
#keycaps-panel .swatches-container {
  max-width: var(--panel-max-content-width);
}

#keycaps-panel .block-media {
  max-width: var(--keyboard-width);
  position: relative;
  width: 100%;
}

#keycaps-panel .swatches-container {
  display: flex;
  width: 100%;
  justify-content: center;
}

#keycaps-panel .swatches-group-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: var(--keyboard-width);
}

#keycaps-panel .swatches-tabs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  justify-items: center;
}

#keycaps-panel .swatches-tabs-title,
#keycaps-panel .swatches-group-title,
#frame .swatches-group-title {
  color: #b3b3b3;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

#keycaps-panel .swatches-tabs-list .tab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  color: white;
}

#keycaps-panel .swatches-tabs-list .tab-button img {
  margin-bottom: 0.5rem;
  width: 80%;
}

#keycaps-panel .tab-name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.375rem;
}

#keycaps-panel .tab-description {
  font-size: 0.625rem;
  line-height: 1.25;
}

#keycaps-panel .swatches-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  justify-items: start;
  width: 100%;
}

#keycaps-panel .swatches-group-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#keycaps-panel .swatches-group-item .swatch-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 100%;
  color: white;
}

#keycaps-panel .swatches-group-item.active .swatch-icon {
  border: 2px solid #ece81a;
}

#keycaps-panel .swatches-group-item span {
  color: white;
  font-size: 1rem;
  line-height: 1.25;
  text-align: left;
}

#breakpoint-keycaps {
  position: relative;
  top: -450px;
}

@media screen and (min-width: 1280px) {
  #keycaps-panel .swatches-group {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

#build-yours {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  background: #191919;
}

#build-yours .block-media {
  max-width: var(--keyboard-width);
}

#build-yours .block-copy {
  max-width: var(--panel-max-content-width);

  display: flex;
  flex-direction: column;
  align-items: center;
}

#build-yours .block-title {
  margin-bottom: 0.5rem;
}

#build-yours .block-description {
  margin-bottom: 1rem;
}

a[href="#undefined"] {
  position: relative;
  outline: 1px solid red;
}

a[href="#undefined"]::after {
  content: "MISSING URL";
  color: red;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  transform: translateY(100%);
}
