
.section-benefits {
  background-color: #101B26;
}

.section-benefits .tabs {
  display: flex;
  flex-direction: row;
}

.section-benefits .tab {
  font-family: 'Sequel Sans Book Body', sans-serif;
  font-size: 24px;
  position: relative;
  /* background-color: #141F2B; */
  border-top: 1px dashed #424242;
  border-bottom: 1px dashed #424242;
  border-right: 1px dashed #424242;
  min-width: 50px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.section-benefits .tab.animate:nth-of-type(1) {
  animation: flash 0.6s ease-in-out;
  animation-delay: 0.6s;
  animation-play-state: paused;
}

.section-benefits .tab.animate:nth-of-type(3) {
  animation: flash 0.6s ease-in-out;
  animation-delay: 0.8s;
  animation-play-state: paused;
}

.section-benefits .tab.animate:nth-of-type(4) {
  animation: flash 0.6s ease-in-out;
  animation-delay: 1.0s;
  animation-play-state: paused;
}

@keyframes flash {
  0% {
    background: transparent;
  }
  50% {
    background: gray;
  }
  100% {
    background: transparent;
  }
}

.section-benefits .tab:first-of-type {
  border-left: 1px dashed #424242;
}

.section-benefits .tab-title {
  font-size: 20px;
  display: none;
  color: white;
}

.section-benefits .tab-content {
  display: none;
  color: #B5B5B5;
  line-height: 28px;
  font-size: 16px;
}

.section-benefits .corner-triangle {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 0;
  height: 0;
  border: 6px solid #424242;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-top-color: transparent;
  rotate: 45deg;
}

.section-benefits .tab.active {
  background-color: #141F2B;
  max-width: 767px;
  padding: 20px;
  cursor: default;
}

/* keyframes are in globals.css */
.section-benefits .tab.active .tab-title {
  display: block;
  animation: fadeInUp 0.4s ease-in-out;
}

.section-benefits .tab.active .tab-content{
  display: block;
  animation: fadeInUp 0.4s ease-in-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.section-benefits .tab.active .corner-triangle {
  border-left-color: red;
}

.section-benefits button {
  align-self: center;
  margin-bottom: 50px;
  animation: fadeInUp 0.4s ease-in-out;
  animation-fill-mode: both;
  animation-play-state: paused;
}

@media (min-width: 576px) {
  .section-benefits .tab-title {
    font-size: 24px;
  }

  .section-benefits .tab-content {
    font-size: 22px;
    line-height: 42px;
  }
  
  .section-benefits .tab.active {
    padding: 40px;
  }

  .section-benefits button {
    align-self: center;
    margin-bottom: 200px;
  }
}

@media (min-width: 768px) {
  .section-benefits .tab-title {
    font-size: 24px;
  }

  .section-benefits .tab-content {
    font-size: 24px;
    line-height: 42px;
  }
  
  .section-benefits .tab.active {
    padding: 70px;
  }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}