.usecase {
    background: var(--pastel-color-1);
    padding: 20px;
}

.usecase h1, .why h1, .tech h1, .how h1 {
    margin: 0;
    text-align: center;
    font-size: 40px;
    text-transform: uppercase;
}

.usecasecard {
    max-width: 800px;
    width: 100%;
    margin: 130px auto;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.usecasecard.reverse {
    flex-direction: column;
}

.usecasecard .sep {
    width: 60px;
    height: 5px;
    border-radius: 30px;
    background-color: black;
    opacity: 80%;
    margin-top: 40px;
}

.usecasecard img {
    max-width: max(80%, 350px);
    margin: auto;
    width: 100%;
    height: 350px;
    border-radius: 8px;
    object-fit: cover;
}

.usecasecard .text {
    margin: 0px auto;
}

.usecasecard .subtitle {
    font-size: 40px;
    text-transform: capitalize;
    font-weight: bold;
    text-align: center;
}

.usecasecard .desc {
    opacity: 50%;
    max-width: 300px;
    font-size: 14px;
}

.top, .why, .tech, .how {
    background-color: var(--main-color);
    color: white;
    padding: 80px 20px;
}

.top {
    color: black;
}

.top h1 {
    margin: 0;
    font-size: 60px;
    font-weight: bold;
    margin-top: -100px;
    text-transform: uppercase;
    text-align: center;
}

.top h1 span {
    font-size: 20px;
    opacity: 90%;
}

.top h1 span.litle {
    font-size: 20px;
    transform: translate(10px, 70px);
    display: block;
}

.top h2 {
    font-size: 25px;
    font-weight: normal;
    opacity: 80%;
    text-align: center;
}

.top p.info {
    opacity: 70%;
    text-align: center;
}

.ctacontainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.cta, .secondcta {
    background-color: var(--main-cta);
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--second-color);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px 20px;
    display: flex;
    text-align: center;
    margin-left: 0;
}

.secondcta {
    background-color: var(--second-color);
    color: white;
    opacity: 95%;
}


.why {
    background-color: var(--pastel-color-2);
    padding-top: 70px;
    color: black;
}

.whycards {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 50px;
}

.whycard {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 350px;
    margin: 30px 10px;
}

.whycard p {
    margin: 0;
    padding: 0;
}

.whycard .number {
    font-size: 80px;
    font-weight: bold;
    opacity: 100%;
    margin-right: 5px;
}

.whycard .desc {
    font-size: 20px;
    font-weight: bold;
    opacity: 100%;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.whycard p {
    font-size: 13px;
    opacity: 80%;
}

.tech {
    color: black;
    background: var(--pastel-color-2);
}

.how {
    color: black;
    background: var(--main-color);
}

.howcards {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-top: 40px;
    max-width: 700px;
    width: 100%;
}

.howcard {
    max-width: 700px;
    margin: 5px 0px;
}

.howcard .desc {
    opacity: 70%;
    text-align: justify;
    border-left: 2px solid rgba(178, 178, 178, 0.596);
    margin-left: 20px;
    padding-left: 35px;
    margin-top: 0px;
}
.howcardtitle {
    display: flex;
    flex-direction: row;
    font-weight: bold;
    align-items: center;
    font-size: 19px;
    text-transform: uppercase;
}

.howcardtitle .number {
    border: 3px solid rgba(178, 178, 178, 0.912);
    border-radius: 30px;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    opacity: 70%;
}

.techcards {
    display: flex;
    flex-direction: row;
    align-items: self-start;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 50px;
}

.techcard {
    background-color: var(--fourth-color);
    color: white;
    max-width: 355px;
    width: 100%;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 10px;
}

.techcard img {
    width: 15px;
    margin-top: 5px;
    margin-bottom: 12px;
}

.techcard p {
    margin: 0;
    opacity: 80%;
    font-size: 12px;
    margin-bottom: 5px;
    text-align: justify;
}

.techcard .subtitle {
    font-size: 19px;
    font-weight: bold;
    opacity: 100%;
    text-transform: uppercase;
    margin-bottom: 10px;
}

@media only screen and (min-width: 900px) {
  .ctacontainer {
    flex-wrap: nowrap;
    justify-content: left;
  }

  .top h1 {
    font-size: 90px;
    text-align: left;
  }


  .top h2 {
    text-align: left;
  }

  .top p.info {
    text-align: left;
  }

  .top h1 span.litle {
    transform: translate(10px, 110px);
  } 

  .top, .why {
    padding: 150px 20px;
  }

  .usecasecard {
    margin: 130px auto;
    flex-direction: row;
  }

  .usecasecard .sep {
    margin-top: 80px;
  }

  .usecasecard.reverse {
    flex-direction: row-reverse;
  }

  .usecasecard img {
    max-width: 350px;
  }
}
