.section-block_groups {
  padding: 0;
  position: relative;
  margin: 7rem 0;
}
.section-block_groups .background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--black);
}
.section-block_groups .background img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-block_groups .container {
  position: relative;
}
.section-block_groups .container img.heading-icon {
  width: 30px;
  margin: 0 auto 25px;
  display: block;
}
.section-block_groups .container h1, .section-block_groups .container h2 {
  max-width: 600px;
  margin: 0 auto 25px;
  text-align: center;
  font-size: 3.5em;
  font-weight: 600;
}
.section-block_groups .container .text {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75em;
  font-size: 0.9em;
}
.section-block_groups .container > .buttons {
  display: block;
  margin: 75px auto 0;
}
.section-block_groups .container > .buttons .button {
  max-width: -moz-max-content;
  max-width: max-content;
  margin: 0 auto 20px;
}
.section-block_groups .container > .buttons .button:last-child {
  margin-bottom: 0;
}
.section-block_groups .container .tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--black);
  width: -moz-max-content;
  width: max-content;
  margin: 50px auto;
  padding: 3px;
  border-radius: 50px;
}
.section-block_groups .container .tabs:first-child {
  margin-top: 0;
}
.section-block_groups .container .tabs p.tab {
  margin: 0;
  color: var(--white);
  padding: 6px 30px;
  border-radius: 50px;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.2s;
}
.section-block_groups .container .tabs p.tab.active {
  background-color: var(--white);
  color: var(--black);
  font-weight: 500;
}
.section-block_groups .container .groups .group {
  display: none;
}
.section-block_groups .container .groups .group.active {
  display: block;
}
.section-block_groups .container .groups .group h3 {
  margin: 75px 0 25px;
  text-align: center;
  text-decoration: underline;
}
.section-block_groups .container .blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  grid-gap: 30px;
}
.section-block_groups .container .blocks:not(:first-child) {
  margin-top: 50px;
}
.section-block_groups .container .blocks .block {
  width: calc(33% - 20px);
  color: var(--black);
  transition: color 0.2s;
}
.section-block_groups .container .blocks .block .image {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.section-block_groups .container .blocks .block .image:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(var(--primary-rgb), 1), rgba(var(--primary-rgb), 0) 50%);
  transition: all 0.3s;
}
.section-block_groups .container .blocks .block .image img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-block_groups .container .blocks .block .content h4 {
  margin: 0 0 15px;
  font-weight: 600;
  font-size: 1.5em;
  max-width: 230px;
  line-height: 1.2em;
}
.section-block_groups .container .blocks .block .content .text {
  max-width: 300px;
  text-align: left;
  margin: 0;
}
.section-block_groups .container .blocks .block .content .text *:first-child {
  margin-top: 0;
}
.section-block_groups .container .blocks .block .content .text *:last-child {
  margin-bottom: 0;
}
.section-block_groups .container .blocks .block .columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 0;
  border-top: 1px dotted #a9a9a9;
  border-bottom: 1px dotted #a9a9a9;
  margin: 20px 0;
}
.section-block_groups .container .blocks .block .columns .col {
  width: 50%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.9em;
  font-weight: 500;
}
.section-block_groups .container .blocks .block .columns .col:nth-child(2n) {
  padding-left: 10px;
}
.section-block_groups .container .blocks .block .columns .col:not(:nth-child(2n)) {
  padding-right: 10px;
  border-right: 1px solid;
}
.section-block_groups .container .blocks .block .columns .col img {
  width: 12px;
}
.section-block_groups .container .blocks .block .columns .col .text {
  width: calc(100% - 22px);
  text-align: left;
}
.section-block_groups .container .blocks .block .columns .col .text *:last-child {
  margin-bottom: 0;
}
.section-block_groups .container .blocks .block .subtext {
  font-size: 0.8em;
  font-weight: 500;
}
.section-block_groups .container .blocks .block .subtext span.large-subtext {
  font-size: 3.5em;
  line-height: 1.1em;
}
.section-block_groups .container .blocks .block .links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0 0;
}
.section-block_groups .container .blocks .block .links a.button {
  width: -moz-max-content;
  width: max-content;
  font-size: 0.8em;
}
.section-block_groups .container .blocks a.block:hover {
  color: var(--primary);
  text-decoration: none;
}
.section-block_groups .container .blocks a.block:hover .image:before {
  top: 0;
}

@media (max-width: 1000px) {
  .section-block_groups .container .blocks {
    justify-content: center;
  }
  .section-block_groups .container .blocks .block {
    width: calc(50% - 15px);
    max-width: 400px;
  }
}
@media (max-width: 820px) {
  .section-block_groups .container .blocks .block {
    width: 100%;
  }
}
/*

Scroll Animations

*/
.section-block_groups .container .content {
  margin-left: -200px;
  margin-right: 200px;
  opacity: 0;
}
.section-block_groups.scrolled-to .container .content {
  animation: bgContent 1.5s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(1) {
  animation: block1 1s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(2) {
  animation: block2 1.25s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(3) {
  animation: block3 1.5s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(4) {
  animation: block4 1.75s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(5) {
  animation: block5 2s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(6) {
  animation: block6 2.25s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(7) {
  animation: block7 2.5s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(8) {
  animation: block8 2.75s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(9) {
  animation: block9 3s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(10) {
  animation: block10 3.25s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(11) {
  animation: block11 3.5s forwards;
}
.section-block_groups.scrolled-to .block:nth-child(12) {
  animation: block12 3.75s forwards;
}
.section-block_groups.scrolled-to .block {
  animation: block13 4s forwards;
}

@keyframes bgContent {
  0%, 33% {
    margin-left: -200px;
    margin-right: 200px;
    opacity: 0;
  }
  100% {
    margin-left: 0;
    margin-right: 0;
    opacity: 1;
  }
}
@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;
  }
}