.section-tabs .background {
  position: absolute;
  inset: 0;
}
.section-tabs .background img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-tabs .container {
  position: relative;
  z-index: 1;
}
.section-tabs .container .content {
  max-width: 700px;
}
.section-tabs .container .tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  grid-gap: 50px;
  margin-top: 50px;
}
.section-tabs .container .tabs .links {
  background-color: var(--white);
  color: var(--black);
  padding: 10px;
  border-radius: 15px;
  width: calc(40% - 50px);
}
.section-tabs .container .tabs .links .tab {
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.section-tabs .container .tabs .links .tab:not(:last-child) {
  margin-bottom: 5px;
}
.section-tabs .container .tabs .links .tab .row {
  display: flex;
  align-items: center;
  grid-gap: 20px;
}
.section-tabs .container .tabs .links .tab .row img {
  width: 30px;
  height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.section-tabs .container .tabs .links .tab .row h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.2em;
}
.section-tabs .container .tabs .links .tab .html {
  display: none;
}
.section-tabs .container .tabs .links .tab.active, .section-tabs .container .tabs .links .tab:hover {
  background-color: var(--primary);
  color: var(--white);
}
.section-tabs .container .tabs .links .tab.active .row img, .section-tabs .container .tabs .links .tab:hover .row img {
  filter: brightness(0) invert(1);
}
.section-tabs .container .tabs .tab-content {
  width: 60%;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.section-tabs .container .tabs .tab-content.fade-out {
  opacity: 0;
}
.section-tabs .container .tabs .tab-content img.image {
  width: 100%;
  aspect-ratio: 1.8;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-tabs .container .tabs .tab-content h3 {
  font-weight: 500;
  font-size: 2em;
  margin-top: 0;
}
.section-tabs:has(.background) {
  margin: 0;
  padding: 10em 0;
}
.section-tabs:has(.background) .container .content {
  color: var(--white);
}
.section-tabs:has(.background) .container .content p.subheading {
  color: var(--white);
}
.section-tabs:has(.background) .container .tabs .tab-content {
  color: var(--white);
}

@media (max-width: 1000px) {
  .section-tabs:has(.background) {
    padding: 5em 0;
  }
  .section-tabs .container .tabs .links {
    width: 100%;
    display: flex;
    grid-gap: 5px;
    padding: 5px;
    flex-wrap: wrap;
  }
  .section-tabs .container .tabs .links .tab {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    margin-bottom: 0 !important;
  }
  .section-tabs .container .tabs .links .tab .row {
    grid-gap: 10px;
  }
  .section-tabs .container .tabs .links .tab .row img.icon {
    width: 20px;
    height: 30px;
  }
  .section-tabs .container .tabs .links .tab .row h3 {
    font-size: 0.9em;
    font-weight: 400;
  }
  .section-tabs .container .tabs .tab-content {
    width: 100%;
  }
  .section-tabs .container .tabs .tab-content img.image {
    max-height: 300px;
    -o-object-position: 50% 20%;
       object-position: 50% 20%;
  }
}
/*

Options > Tab BG Secondary

*/
.section-tabs[options~=tab-bg-secondary] .container .tabs .links {
  background-color: var(--secondary);
  color: var(--white);
}

/*

Options > Tab Top

*/
.section-tabs[options~=tab-top] .container .tabs {
  display: block;
}
.section-tabs[options~=tab-top] .container .tabs .links {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.section-tabs[options~=tab-top] .container .tabs .links .tab {
  flex: 1;
}
.section-tabs[options~=tab-top] .container .tabs .tab-content {
  position: relative;
  padding-left: calc(50% + 25px);
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
  margin-top: 25px;
}
.section-tabs[options~=tab-top] .container .tabs .tab-content img.image {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(50% - 25px);
  max-height: 100%;
}

/*

Options > Tab Hide Header

*/
.section-tabs[options~=tab-hide-header] .container .tabs .tab-content > h3 {
  display: none;
}

/*

Scroll Animations

*/
.section-blocks.scrolled-to .block:nth-child(1) {
  animation: block1 0.5s forwards;
}
.section-blocks.scrolled-to .block:nth-child(2) {
  animation: block2 0.6s forwards;
}
.section-blocks.scrolled-to .block:nth-child(3) {
  animation: block3 0.7s forwards;
}
.section-blocks.scrolled-to .block:nth-child(4) {
  animation: block4 0.8s forwards;
}
.section-blocks.scrolled-to .block:nth-child(5) {
  animation: block5 0.9s forwards;
}
.section-blocks.scrolled-to .block:nth-child(6) {
  animation: block6 1s forwards;
}
.section-blocks.scrolled-to .block:nth-child(7) {
  animation: block7 1.1s forwards;
}
.section-blocks.scrolled-to .block:nth-child(8) {
  animation: block8 1.2s forwards;
}
.section-blocks.scrolled-to .block:nth-child(9) {
  animation: block9 1.3s forwards;
}
.section-blocks.scrolled-to .block:nth-child(10) {
  animation: block10 1.4s forwards;
}
.section-blocks.scrolled-to .block:nth-child(11) {
  animation: block11 1.5s forwards;
}
.section-blocks.scrolled-to .block:nth-child(12) {
  animation: block12 1.6s forwards;
}
.section-blocks.scrolled-to .block:nth-child(13) {
  animation: block12 1.7s forwards;
}
.section-blocks.scrolled-to .block:nth-child(14) {
  animation: block12 1.8s forwards;
}
.section-blocks.scrolled-to .block:nth-child(15) {
  animation: block12 1.9s forwards;
}
.section-blocks.scrolled-to .block:nth-child(16) {
  animation: block12 2s forwards;
}
.section-blocks.scrolled-to .block:nth-child(17) {
  animation: block12 2.1s forwards;
}
.section-blocks.scrolled-to .block:nth-child(18) {
  animation: block12 2.2s forwards;
}
.section-blocks.scrolled-to .block {
  animation: block13 2.3s forwards;
}

@keyframes block1 {
  from {
    margin: -50px 0 50px;
    opacity: 0;
  }
  to {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block2 {
  0%, 20% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block3 {
  0%, 33% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block4 {
  0%, 43% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block5 {
  0%, 50% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block6 {
  0%, 55% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block7 {
  0%, 60% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block8 {
  0%, 64% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block9 {
  0%, 67% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block10 {
  0%, 70% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block11 {
  0%, 72% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block12 {
  0%, 74% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block13 {
  0%, 75% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}