.tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

/* 
les onglets (inputs) qui sont cocher (:checked) et les panneaux d'onglets (.tab-panel) correspondants qui doivent être affiches.

tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child : Lorsque le premier input est coche, le premier .tab-panel à l'intérieur de .tab-panels est affiche.

tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2) : Lorsque le troisième input est coché, le deuxième .tab-panel à l'intérieur de .tab-panels est affiché.

De manière similaire, les règles suivantes ciblent les inputs pairs et affichent les .tab-panel je ne suis pas sur que ca  soit la meilleur methode mais j'ai fais de mon mieux. */
.tabset .tab-panel {
  display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child {
  display: block;
}

.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2) {
  display: block;
}

.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3) {
  display: block;
}

.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4) {
  display: block;
}

.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5) {
  display: block;
}

.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
  display: block;
}

.tabset > label:hover,
.tabset > input:focus + label,
.tabset > input:checked + label {
  background: #fff;
  box-shadow: 1px 4px 13px -6px #7b1e56;
}

.tab-panel {
  padding: 30px 0;

}

*,
*:before,
*:after {
  box-sizing: border-box;
}

.tabset {
  max-width: 65em;
  position: relative;
}

@media screen and (max-width: 768px) {
  .tabset label {
    position: relative;
    font-family: var(--passion-one);
    left: 55px;
    padding: 5px;
    cursor: pointer;
    width: 86px;
    height: 19px;
    border-radius: 59.5px;
    background: #fff;

    color: #1a1b1e;
    font-size: 12px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    margin: 0 5px;
  }

  .tabset::before {
    content: "";
    width: 303px;
    height: 63px;
    border-radius: 59.5px;
    background: #fff;
    position: absolute;
    top: -30px;
    left: 40px;
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .tabset {
    max-width: 100% !important;
    position: relative;
  }

  .tabset label {
    position: relative;
    font-family: var(--passion-one);
    padding: 5px;
    cursor: pointer;
    border-radius: 59.5px;
    background: #fff;
    left: 29%;
    padding: 10px 28px;
    width: 163px;
    height: 37px;
    color: #1a1b1e;
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    margin: 0 5px;
  }

  .tabset::before {
    content: "";
    width: 574px;
    height: 119px;
    top: -50px;
    left: 28%;
    border-radius: 59.5px;
    background: #fff;
    position: absolute;
  }
}

@media screen and (min-width:1440px){
  .tabset label {
    left: 32.5%;
}

.tabset::before {
    left: 31.5%;
}
}

@media screen and (max-width: 375px) {
  .tabset label {
    left: 55px;
  }

  .tabset::before {
    top: -30px;
    left: 40px;
  }
}

@media screen and (min-width: 376px) and (max-width: 425px) {
  .tabset label {
    left: 75px;
  }

  .tabset::before {
    top: -30px;
    left: 60px;
  }
}
