#hero {
  border-bottom: 0.1rem solid var(--cyan-secondary);
}

#hero picture {
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero img {
  width: 100%;
  height: 100%;
  min-height: 55rem;
  max-height: 800px;
  object-fit: cover;
}

#content {
  display: grid;
  gap: 8rem;
  padding: 8rem 5%;
  background-image: url("../../images/background/sociais-bg.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

#content .acao-social-wrapper {
  display: grid;
  position: relative;
  gap: 4rem;
}

#content .acao-social-text {
  max-width: 70rem;
  margin: auto;
}

#content .acao-social-wrapper h1 {
  position: relative;
  display: inline-block;
  font-size: 2.4rem;
  margin: 0;
  color: var(--cyan-secondary);
  margin-bottom: 4rem;
}

#content .acao-social-wrapper h1::before {
  content: "";
  position: absolute;
  bottom: -1.6rem;
  height: 0.4rem;
  width: 0%;
  background: var(--cyan-secondary);
  border-radius: 0.2rem;
  transition: 300ms;
}

#content .acao-social-wrapper:hover h1::before {
  left: 0;
  width: 25%;
  filter: drop-shadow(0 0 1rem var(--cyan-secondary));
}

#content .acao-social-wrapper p {
  line-height: 2.4rem;
  color: #fff;
}

#content .social-capa {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 70rem;
  max-height: 50rem;
  margin: auto;
  border-radius: 1.6rem;
  overflow: clip;
  box-shadow: 0 0 40px #00ded650;
}

#content .social-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (width >= 500px) {
  #content .acao-social-wrapper h1 {
    font-size: 3.2rem;
  }
  #content .acao-social-wrapper p {
    font-size: 2rem;
    line-height: 3.2rem;
  }
}

@media (width >= 1024px) {
  #content {
    padding: 10rem 5%;
    gap: 20rem;
  }
  #content .acao-social-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  #content .acao-social-text {
    height: fit-content;
    margin: 0;
    position: sticky;
    top: 14rem;
  }
  #content .social-capa {
    position: sticky;
    top: 14rem;
    height: fit-content;
    margin: 0;
  }

  #content .acao-social-wrapper:nth-child(even) .acao-social-text {
    grid-column: 2;
    grid-row: 1;
  }
  #content .acao-social-wrapper:nth-child(even) .social-capa {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (width >= 1440px) {
  #content {
    padding: 20rem 10%;
  }
  #content .acao-social-wrapper h1 {
    font-size: 4rem;
  }
}
