input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* Accordion styles */

.tabs {
  border-radius: 0px;
  overflow: hidden;
}

.tab {
  width: 100%;
  color: white;
  overflow: hidden;
}

.tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: #262626;
  font-weight: normal;
  cursor: pointer;
  text-align: left;
}

.tab-label:hover {
  background: #eac42b;
}

.tab-label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}

.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #1d1d1d;
  background: white;
  transition: all 0.35s;
  text-align: left;
}

.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #262626;
  cursor: pointer;
}

.tab-close:hover {
  background: #eac42b;
}

input:checked + .tab-label {
  background: #eac42b;
}

input:checked + .tab-label::after {
  transform: rotate(90deg);
}

input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 1em;
  padding-bottom: 80px;
}

