.tabs {
    background: white;
    padding: var(--spacing-lg);
    width: min(80%, 800px);
    height: auto;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-sm);
    min-width: min(240px, 90vw);
    margin-bottom: var(--spacing-xl);
}
  
.tabs input[name="tab-control"] {
    display: none;
}
  
.tabs .content section h2, .tabs ul li label {
    font-family: "Montserrat";
    font-weight: bold;
    font-size: var(--font-size-lg);
    color: #aebdd5;
}
  
.tabs ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
  
.tabs ul li {
    box-sizing: border-box;
    flex: 1;
    width: 25%;
    padding: 0 0px;
    text-align: center;
}
  
.tabs ul li label {
    transition: all 0.3s ease-in-out;
    color: #1C1A1C;
    padding: 5px auto;
    overflow: visible;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    white-space: nowrap;
    -webkit-touch-callout: none;
}
  
.tabs ul li label br {
    display: none;
}
  
.tabs ul li label img {
    height: 40px;
    vertical-align: middle;
    margin-right: 0.2em;
    margin-bottom: 5px;
    transition: all 0.2s ease-in-out;
}
  
.tabs ul li label:hover, .tabs ul li label:focus, .tabs ul li label:active {
    outline: 0;
    color: var(--accent-color);
}
  
.tabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg {
    fill: var(--text-dark);
}
  
.tabs .slider {
    position: relative;
    width: 50%;
    transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
  
.tabs .slider .indicator {
    position: relative;
    width: 70px;
    max-width: 100%;
    margin: 0 auto;
    height: 4px;
    background: #6f366f;
    border-radius: 4px;
}
  
.tabs .content {
    margin-top: 10px;
    color: #000000;
}
.stepcontent {
    display: flex;
    width: auto;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
  
.steptext {
    flex: 1;
    padding: 10px;
}
  
.stepimage {
    flex: 1;
    padding: 10px;
}
  
.stepimage img {
    border-radius: 8px;
    max-width: 450px;
    width: 100%;
    min-width: 200px;
}
  
.tabs .content ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
  
.tabs .content ul li{
    width: auto;
}
  
.tabs .content section {
    display: none;
    animation-name: content;
    animation-direction: normal;
    animation-duration: 0.3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    line-height: 1.4;
}
  
.tabs .content section h2 {
    color: #6f366f;
    display: none;
}
  
.tabs .content section h2::after {
    content: "";
    position: relative;
    display: block;
    width: 100%;
    border-radius: 4px;
    height: 4px;
    background: #6f366f;
    margin-top: 5px;
    left: 1px;
}
  
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
    cursor: default;
    color: #6f366f;
}
  
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg {
    fill: #6f366f;
}
  
@media (max-width: 600px) {
    .tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
        background: rgba(0, 0, 0, 0.08);
    }
}
  
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
    transform: translateX(0%);
}
  
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
    display: block;
}
  
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
    cursor: default;
    color: #6f366f;
}
  
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg {
    fill: #6f366f;
}
  
@media (max-width: 600px) {
    .tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
        background: rgba(0, 0, 0, 0.08);
    }
}
  
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
    transform: translateX(100%);
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
    display: block;
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
    cursor: default;
    color: #6f366f;
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label svg {
    fill: #6f366f;
  }
  
@keyframes content {
    from {
      opacity: 0;
      transform: translateY(5%);
    }
    to {
      opacity: 1;
      transform: translateY(0%);
    }
}

@media (max-width: 1000px) {
    .tabs ul li label {
      white-space: initial;
    }
    .tabs ul li label br {
      display: initial;
    }
    .tabs ul li label svg {
      height: 1.5em;
    }
    .stepcontent {
      display: flex;
      flex-direction: column;
    }
    .steptext {
      order: 1;
      margin-top: -20px;
    }
    .stepimage {
      order: 2;
    }
}

@media (max-width: 750px) {
    .tabs ul li label {
      padding: 5px;
      border-radius: 5px;
    }
    .tabs ul li label span {
      display: none;
    }
    .tabs ul li label br {
        display: none;
    }
    .tabs ul li label {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    .tabs .slider {
      display: none;
    }
    .tabs .content {
      margin-top: 20px;
    }
    .tabs .content section h2 {
      display: block;
    }
}