/* Rucira ecosystem */

main#ecosystem {
  height: 100%;
  width: 100%;
  gap: 2rem;
}

main section#ecosystem-hero {
  min-height: 40vh;
}

section#ecosystem-hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

#ecosystem-hero .ecosystem-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2rem;
  display: grid;
  justify-items: center;
  border-radius: 1rem;
}

#ecosystem-hero .ecosystem-hero-title {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.75rem;
  text-shadow: 0px 0px 9px black;
  text-align: center;
}

#ecosystem-hero .ecosystem-hero-content hr {
  margin-bottom: 1rem;
  animation: underlineHeroTitle 2s linear;
  animation-fill-mode: forwards;
  animation-delay: 500ms;
}

section#rucira-ecosystem h2 {
  text-transform: uppercase;
  letter-spacing: 0.75rem;
  font-weight: 800;
  text-align: center;
  padding-top: 12rem;
  padding-bottom: 6rem;
  padding-left: 4rem;
  padding-right: 4rem;
}

#rucira-ecosystem .hero-content {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
  display: grid;
  justify-items: center;
  border-radius: 1rem;
  justify-self: center;
  align-self: center;
}

#ecosystem-hero .sub-title {
  width: 90%;
  text-align: center;
  font-size: 1.5rem;
  padding-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 2rem;
}

#rucira-ecosystem .hero-description {
  max-width: 90%;
  text-align: center;
}

#rucira-ecosystem .ecosystem-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 2rem;
}

#rucira-ecosystem .ecosystem-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

#rucira-ecosystem .ecosystem-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 1rem;
  object-fit: cover;
}

#rucira-ecosystem .ecosystem-text {
  display: flex;
  align-items: center;
}

#rucira-ecosystem .ecosystem-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#rucira-ecosystem .ecosystem-text li {
  position: relative;
  padding: 0.75rem 0;
  padding-left: 2rem;
  font-size: 1.1rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#rucira-ecosystem .ecosystem-text li:last-child {
  border-bottom: none;
}

#rucira-ecosystem .ecosystem-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-white);
  font-size: 1.5rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #rucira-ecosystem .ecosystem-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }
  
  #rucira-ecosystem .ecosystem-text li {
    font-size: 1rem;
    padding-left: 1.5rem;
  }
}

#rucira-ecosystem .rucira-ecosystem-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, 24rem);
  justify-content: center;
  gap: 2rem;
  align-items: start;
  align-content: center;
}

.rucira-ecosystem-content img,
.rucira-ecosystem-content svg {
  height: 25rem;
  width: 24rem;
  object-fit: cover;
}

.rucira-ecosystem-content .card {
  display: grid;
  grid-auto-flow: row;
  gap: 0.2rem;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.rucira-ecosystem-content .card img {
  object-fit: cover;
  object-position: center;
}

.rucira-ecosystem-content .transition-fade {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  height: 12rem;
  position: absolute;
  width: 24rem;
  top: 15rem;
}

.rucira-ecosystem-content .card span {
  padding: 0.7rem 1.5rem;
  z-index: 1;
}

.rucira-ecosystem-content span.card-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  text-align: center;
}
.rucira-ecosystem-content span.card-headline {
  font-size: 1.15rem;
  text-transform: uppercase;
  text-align: center;
}

.rucira-ecosystem-content span.card-description {
  text-align: justify;
}

/* Rucira ecosystem end */
