/* This CSS is used to create the accordion for the Palettes */
input[name="rd"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* Accordion styles */
.tabs {
  overflow: hidden;
}

.tab {
  width: 100%;
  color: white;
  overflow: hidden;
  font: Bold 14px Lato, sans-serif
}
.tab-label {
  display: flex;
  justify-content: space-between;
  padding: 0.5em;
  background: #627f91;
  cursor: pointer;
}
.tab-label:hover {
  background: #1E40AF;
}
.tab-label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.tab-content {
  max-height: 0;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #1E40AF;
  cursor: pointer;
}
.tab-close:hover {
  background: #1E40AF;
}

input:checked + .tab-label {
  background: #1E40AF;
}
input:checked + .tab-label::after {
  transform: rotate(90deg);
}
input:checked ~ .tab-content {
  max-height: 100vh;
}