#slide,
#dinheiro,
#pq,
#final,
#estrutura,
#promessa {
  overflow: hidden;
  position: relative;
}

#slide,
#dinheiro,
#frase,
#estrutura,
#pq,
#promessa,
#final,
#author {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

#slide {
  contain-intrinsic-size: 1px 120px;
  padding-block: 0;
  position: relative;
  margin-top: 0;
}

#author {
  background: #0a0a0a;
  padding-block: 2rem;
}

#author .content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  align-items: center;
}

#author p {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
}

#author a {
  text-decoration: none !important;
  transition: filter 300ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#author a:hover {
  filter: brightness(1.4);
}

#author a p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  margin-top: 1rem;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

header h2 {
  color: #ffffff;
  font-weight: 200;
  line-height: 1;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

header h2 span {
  font-weight: 400;
  color: var(--secondary-color);
  text-shadow: 0 0 18px #41a5cd;
}

header h3 {
  color: var(--color-text);
  font-weight: 400;
  line-height: 1;
  font-size: 1.4rem;
  background: var(--gradient);
  padding: 1rem;
  border-radius: 0.5rem;
}

header h3 span {
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 18px #41a5cd;
}

header p {
  font-size: 1.6rem;
  font-weight: 200;
  color: #b4c0c5;
  margin-bottom: 2rem;
}

header p span {
  font-weight: 400;
  color: #ced8dc;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

#slide .slide-content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  max-width: 99.5%;
}

#slide .slide-content.two {
  transform: rotate(0deg);
  box-shadow: -10px -10px 50px #0000004d;
}

#slide .slide {
  overflow: hidden !important;
  padding: 2rem 0;
  display: flex;
  white-space: nowrap;
  position: relative;
}

#slide .slide.dois {
  background: var(--gradient);
  box-shadow: 0 0 38px #41a5cd94;
}

#slide .slide:before,
#slide .slide:after {
  content: "";
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  z-index: 10;
}

#slide .slide:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #0d1b2a);
}

#slide .slide.dois:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #0d1b2a);
}

#slide .slide:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #0d1b2a);
}

#slide .slide-text {
  animation: slide 40s infinite linear;
  display: flex;
  align-items: center;
}

#slide .slide-text p {
  font-size: 1.2rem;
  margin: 0 1rem;
  position: relative;
  font-weight: 600;
  color: #ffffff;
}

#slide .slide-text p:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #ffffff;
  top: 40%;
  left: -1.2rem;
}

.icon {
  display: inline-flex;
  flex: none;
  color: inherit;
}

.icon-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: currentColor;
}

.icon-arrow {
  width: 1.8rem;
  height: 1.8rem;
  position: relative;
}

.icon-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 25%;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: -0.45rem;
  border-top: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
  transform: rotate(45deg);
}

.icon-check {
  width: 2rem;
  height: 2rem;
  position: relative;
}

.icon-check::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.25rem;
  width: 0.6rem;
  height: 1.1rem;
  border-right: 0.22rem solid currentColor;
  border-bottom: 0.22rem solid currentColor;
  transform: rotate(40deg);
}

#dinheiro {
  padding-top: 10rem;
}

#dinheiro header h2 {
  padding-inline: 5%;
}

#dinheiro .cards,
#final .cards,
#promessa .cards,
#pq .cards,
#pq .boxes,
#estrutura .topics {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#dinheiro .cards,
#promessa .cards,
#pq .cards,
#pq .boxes {
  gap: 2rem;
}

#final .cards,
#estrutura .topics {
  gap: 1rem;
}

#dinheiro .card,
#pq .card,
#final .card {
  padding: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  text-align: left;
  width: 100%;
  border-radius: 16px;
  background: rgba(1, 23, 31, 0.62);
  border: 1px solid rgba(29, 79, 97, 0.3);
  box-shadow: 0 0 8px #41a5cd46;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#final .card {
  background: var(--gradient);
}

#dinheiro .card h3,
#pq .card h3 {
  color: #b4c0c5;
  font-size: 1.4rem;
  font-weight: 400;
}

#final .card h3 {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
}

#dinheiro .card .icon-dot,
#pq .card .icon-dot {
  min-width: 0.8rem;
  min-height: 0.8rem;
  max-width: 0.8rem;
  max-height: 0.8rem;
  color: var(--secondary-color);
}

#final .card .icon-check {
  min-width: 2rem;
  min-height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
  color: #fff;
}

#dinheiro h4,
#estrutura h4 {
  margin-top: 2rem;
  color: #b4c0c5;
  font-size: 1.6rem;
}

#frase {
  background: var(--gradient);
  box-shadow: 0 0 38px #41a5cd94;
  padding: 3rem;
}

#frase header {
  margin-bottom: 0;
}

#frase header h2 {
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0;
}

#frase header h2 span {
  font-weight: 700;
  color: #ffffff;
}

#estrutura header h3,
#pq header h3 {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

#estrutura header p,
#pq header p,
#promessa header p {
  margin-bottom: 0;
}

#estrutura header p.um,
#pq header p.um {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

#estrutura .topic {
  background: rgba(219, 245, 255, 0.84);
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: start;
  text-align: left;
  width: 100%;
}

#estrutura .topic .icon-arrow {
  color: #000;
}

#estrutura .topic p {
  color: #000;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0;
}

#pq .cards {
  margin-block: 3rem;
}

#pq .box {
  width: 100%;
  background: rgba(1, 23, 31, 0.62);
  border-radius: 16px;
  border: 1px solid rgba(29, 79, 97, 0.3);
  box-shadow: 0 0 8px #41a5cd46;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
}

#pq .box img {
  width: 5rem;
  box-shadow: 0 0 18px #41a5cd46;
}

#pq .box .head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  margin-bottom: 3rem;
}

#pq .box .head::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -1.5rem;
  background: rgba(29, 79, 97, 0.3);
  box-shadow: 0 0 8px #41a5cd46;
}

#pq .box .head h3 {
  color: #fff;
  text-align: left;
  font-size: 1.6rem;
}

#pq .box .topics {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
  padding-block: 1rem;
}

#pq .box .topic {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#pq .box .topic p {
  color: #b4c0c5;
  font-size: 1.3rem;
}

#pq .box .topic p span {
  font-size: 1rem;
}

#pq .box .topic .icon-dot {
  color: #b4c0c5;
}

#final a button {
  margin-top: 3rem;
}

#promessa .cards {
  margin-block: 2rem;
}

#promessa .card {
  width: 100%;
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  background: linear-gradient(to top, #41a5cd20, transparent);
}

#promessa .card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  box-shadow: 0 0 18px #41a5cdc5;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary-color);
}

#promessa .card img {
  width: 4rem;
  box-shadow: 0 0 18px #41a5cd46;
}

#promessa .card h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
}

#promessa .card h3 span {
  font-size: 1.8rem;
  color: var(--secondary-color);
  text-shadow: 0 0 18px #41a5cd;
}

#promessa .card p {
  font-size: 1.6rem;
  font-weight: 200;
  color: #b4c0c5;
}

#promessa header h3 {
  margin-block: 1rem;
}

#promessa header p.dois {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 600;
}

@media (min-width: 1080px) {
  header {
    margin-bottom: 3rem;
  }

  header h2 {
    font-size: 3.5rem;
  }

  header p {
    font-size: 1.6rem;
  }

  #author {
    padding-bottom: 2rem;
  }

  #author .content {
    flex-direction: row;
    justify-content: space-between;
  }

  #author a p {
    margin-top: 0;
    font-size: 1.2rem;
  }

  #slide .slide:before,
  #slide .slide:after {
    width: 25rem;
  }

  #slide .slide-content,
  #slide .slide-content.um,
  #slide .slide-content.dois {
    max-width: none;
  }

  #slide .slide-text p {
    font-size: 1.4rem;
    margin: 0 2rem;
  }

  #slide .slide-text p:after {
    width: 5px;
    height: 5px;
    left: -2.3rem;
  }

  section#slide .slide-text {
    animation: slide 50s infinite linear;
  }

  section#slide .slide.dois:before {
    display: none;
  }

  #dinheiro {
    padding-top: 14rem;
  }

  #dinheiro .cards,
  #final .cards,
  #promessa .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  #pq .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  #pq .boxes,
  #estrutura .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #estrutura .content {
    gap: 8rem;
  }

  #estrutura header {
    text-align: left;
    align-items: start;
    margin-bottom: 0;
  }

  #estrutura .content .box {
    background: rgba(1, 23, 31, 0.62);
    border-radius: 16px;
    border: 1px solid rgba(29, 79, 97, 0.3);
    box-shadow: 0 0 8px #41a5cd46;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 2rem;
  }

  #estrutura .content .topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  #estrutura .content .topic,
  #dinheiro .card,
  #final .card,
  #pq .card,
  #promessa .card {
    height: 100%;
    justify-content: center;
  }

  #pq .card {
    background: rgba(219, 245, 255, 0.84);
  }

  #pq .card h3,
  #pq .card .icon-dot {
    color: #000;
  }

  #dinheiro h4 {
    margin-top: 4rem;
  }

  #final header p,
  #promessa header p {
    font-size: 2rem;
  }

  #promessa .cards {
    margin-bottom: 4rem;
  }

  #promessa header p.um {
    font-size: 1.6rem;
    margin-top: 0.5rem;
  }
}
