

/*======= Home Section =======*/


.home h1{
  font-size: 4.1em;
  font-weight: 600;
  margin-bottom: 60px;
}

.home .sample-cards{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.5em;
  font-size: 1.1em;
  font-weight: 300;
}

.home .sample-cards .card{
  height: 100px;
  width: 165px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

.color-01{
  background: #ff5492;
}

.color-02{
  background: #e4b941;
}

.color-03{
  background: #22cb6d;
}

.color-04{
  background: #2b8ae9;
}

/*======= Section 02, 03, 04, 05 =======*/
.main-container{
  display: grid;
  place-items: center;
}

.main-container h2{
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 90px;
}

.main-container .cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 1.7em;
  column-gap: 1.5em;
}

.cards .text-card{
  width: 300px;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 25px 15px;
  border-radius: 5px;
}

.text-card h3{
  font-size: 1.7em;
  font-weight: 600;
  margin-bottom: 20px;
}

.text-card p{
  font-size: 1em;
  font-weight: 300;
}

/*======= Media queries (max-width: 1010px) =======*/
@media screen and (max-width: 1010px) {
  .home h1{
    font-size: 3.8em;
  }

  .main-container .cards{
    grid-template-columns: repeat(2, 1fr);
  }
}

/*======= Media queries (max-width: 825px) =======*/
@media screen and (max-width: 825px) {
  .home h1{
    font-size: 3em;
  }

  .home .sample-cards{
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.7em;
  }
}

/*======= Media queries (max-width: 690px) =======*/
@media screen and (max-width: 690px) {
  .main-container .cards{
    grid-template-columns: repeat(1, 1fr);
  }
}

/*======= Media queries (max-width: 425px) =======*/
@media screen and (max-width: 425px) {
  section{
    padding: 0 20px;
  }

  .home h1{
    font-size: 2.5em;
  }

  .home .sample-cards{
    grid-template-columns: repeat(1, 1fr);
  }

  .main-container h2{
    font-size: 2em;
  }

  .cards .text-card{
    width: 100%;
    height: fit-content;
    padding: 50px 15px;
  }
}

/*======= Reveal Elements CSS =======*/
.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 2s ease;
  transition-property: transform, opacity;
}

.reveal.active{
  transform: translateY(0px);
  opacity: 1;
}