.alpine-tabs .tab-list {
  list-style: none;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 5px 5px rgba(186, 186, 186, 0.39);
          box-shadow: 0px 0px 5px 5px rgba(186, 186, 186, 0.39);
  border-radius: 5em;
}
.alpine-tabs li {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  /* Each tab takes equal width */
  margin-right: 5px;
  /* Space between tabs */
}
.alpine-tabs li:last-child {
  margin-right: 0;
  /* No margin for the last tab */
}
.alpine-tabs li button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 1.2rem 3rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: none;
  border-radius: 5em;
  background-color: white;
  cursor: pointer;
  width: 100%;
  /* Active tab styles */
}
.alpine-tabs li button:focus, .alpine-tabs li button[aria-selected=true] {
  outline: none;
  background-color: var(--secondary);
  color: white;
  border-bottom-color: white;
}
.alpine-tabs .tab-panels {
  border: none;
  /* Border around the content area */
  border-radius: 0 0 5px 5px;
  /* Rounded bottom corners */
  padding: 10px;
  /* Padding inside the content area */
  background-color: white;
}

@media (max-width: 810px) {
  .alpine-tabs {
  }
  .alpine-tabs .tab-list {
    max-width: 40rem;
    border-radius: 20px;
  }
  .alpine-tabs ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}