.tabs-container {
  display: flex;
  flex-wrap: wrap;
}

.tabs-container .tab-checkbox {
  display: none;
}

.tab-button {
  min-width: 10em;
  text-align: center;
  padding: 1em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--bg-2);
  transition: background-color 0.3s;
  border: 1px solid var(--gray);
  border-bottom: none;
}


.tab-button:first-of-type {
  border-top-left-radius: 0.5em;
}

.tab-button:last-of-type {
  border-top-right-radius: 0.5em;
}

.tab-button:hover {
  background-color: var(--bg-3);
}


.tab-content {
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 1em;

}

.tab-buttons {
  display: flex;
}

.tab-buttons :first-child {
  border-top-left-radius: 0.5em;
}

.tab-buttons :last-child {
  border-top-right-radius: 0.5em;
}

.tab-buttons :only-child {
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
}

.tab-content {
  display: none;
  order: 1;
}

.tabs-container .tab-checkbox:checked+.tab-button+.tab-content {
  display: flex;
}

.tab-checkbox:checked+.tab-button {
  background-color: var(--yellow);

}

.tab-content {
  border-top: 1px solid var(--gray);

}

.tabs-container .tab-content {
  width: 100%;
}

@media only screen and (max-width: 1000px) {
  .tab-button {
    border-bottom: 1px solid var(--gray);

  }

  .tab-content {
    border-top: none;

  }

  .tab-button {
    width: 100%;
    text-align: center;
    padding: 1em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--bg-2);
  }

  .tab-button:first-of-type {
    border-radius: 0;
    border-top-left-radius: var(--default-round);
    border-top-right-radius: var(--default-round);
  }


  .tab-button:last-of-type {
    border-radius: 0;
    border-bottom-left-radius: var(--default-round);
    border-bottom-right-radius: var(--default-round);
  }

  .tab-button:only-of-type {
    border-radius: var(--default-round);
  }



}
