.tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
  display: block;
}

.tabset {
  max-width: 100%;
}

.tabset > label {
  position: relative;
  display: inline-block;
  padding: 10px 15px;
  border: 2px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.3em;
}

input:focus-visible + label {
  outline: 2px solid rgba(0,102,204,1);
  border-radius: 3px;
}

.tabset > label:hover,
.tabset > input:focus + label {
  color: #06c;
}

.tabset > input:checked + label {
  color: #06c;
  border-color: #2196F3;
  border-bottom: 2px solid white;
  margin-bottom: -2px;
  background: white;
  position: relative;
  z-index: 1;
}

.tab-panel {
  padding: 0px 0;
  border-top: 2px solid #2196F3;
}

@media (max-width: 768px) {
    .tabset > label {
		padding: 5px 8px;
	}
}
