.line-shape {
  background: rgb(41, 41, 41);
  margin-top: -70px;
  position: relative;
  z-index: 0;
  color: white;
}

.contagens {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.contagem {
  flex-direction: column;
  background-color: #481C9E;
  padding: 25px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}

.main-container {
  margin-top: -120px;
  background-color: rgb(41, 41, 41);
  height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.main-container h1 {
  font-size: 50px;
}

.main-box-container {
  margin-top: 50px;
  gap: 10px;
  flex-direction: column;
  padding: 40px;
  display: flex;
  border-radius: 30px;
  justify-content: center;
  align-items: center;
  background-color: #481C9E;
}

.cards {
  display: flex;
  gap: 10px;
}

.cardContainer {
  background-color: rgb(255, 255, 255);
  display: flex;
  box-shadow: 2px 1px 10px rgb(0, 0, 0);
  border-radius: 20px;
  color: black;
  flex-direction: column;
  align-items: center;
  transition: calc(.3s);
  justify-content: center;
}
.cardContainer:hover {
  transform: scale(1.025);
  cursor: pointer;
}

.cardbox p {
  font-size: 20px;
  width: auto;
}

/* ===== Breakpoints para Computadores e Notebooks ===== */

/* Resolução 1920x1080 */
@media screen and (max-width: 1920px) {
  .main-container h1 {
    font-size: 45px;
  }
  .main-box-container {
    width: auto;
  }
  .cardContainer {
    width: 380px;
    height: 190px;
    padding: 18px;
  }
  .cardbox p {
    font-size: 19px;
  }
}

/* Resolução 1720x960 */
@media screen and (max-width: 1720px) {
  .main-container h1 {
    font-size: 42px;
  }
  .contagens {
    width: auto;
    flex-direction: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
  .main-box-container {
    width: auto;
  }
  .cardContainer {
    width: 360px;
    height: 180px;
    padding: 16px;
  }
  .cardbox p {
    font-size: 18px;
  }
}

/* Resolução 1600x900 */
@media screen and (max-width: 1600px) {
  .main-container h1 {
    font-size: 38px;
  }
  .cardContainer {
    width: 340px;
    height: 170px;
    padding: 14px;
  }
  .cardbox p {
    font-size: 17px;
  }
}

/* Resolução 1280x720 */
@media screen and (max-width: 1280px) {
  .line-shape {
    width: auto;
    height: auto;
    margin-bottom: 30px;
  }
  .main-box-container {
    width: auto;
  }
  .main-container {
    width: auto;
    height: 100vh; /* Ajuste conforme a necessidade */
    padding: 20px 0;
  }
  .contagem {
    position: relative;
    width: auto;
  }
  .cards {
    flex-direction: flex;
  }
  .contagens {
    width: auto;
    flex-direction: flex;
    position: relative;
  }
  .main-container h1 {
    font-size: 34px;
  }
  .main-box-container {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .cardContainer {
    width: auto;
    height: auto;
    padding: 12px;
  }
  .cardbox p {
    font-size: 16px;
  }
}

/* ===== Breakpoints para Tablets e Celulares ===== */

/* Tablets (até 768px) */
@media screen and (max-width: 768px) {
  .line-shape {
    width: auto;
    margin-top: -50px;
    height: 15vh;
  }
  .main-container {
    height: auto;
    padding: 20px;
  }
  .main-container h1 {
    font-size: 28px;
  }
  .main-box-container {
    width: auto;
    flex-direction: column;
    margin-top: 40px;
  }
  .contagens {
    width: auto;
    flex-direction: column;
  }
  .cards {
    align-items: center;
    flex-direction: column;
  }
  .cardContainer {
    height: auto;
    padding: 15px;
  }
  .cardbox p {
    font-size: 16px;
  }
}

/* Celulares (até 480px) */
@media screen and (max-width: 480px) {
  .line-shape {
    width: auto;
    margin-top: -20px;
    height: 10vh;
  }
  .main-container h1 {
    font-size: 24px;
    padding: 0 10px;
    text-align: center;
  }
  .main-box-container {
    padding: 10px;
    margin-top: 30px;
    flex-direction: column;
  }
  .cardContainer {
    width: 100%;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    padding: 30px;
  }
  .cardContainer h2 {
    font-size: 20px;
    text-align: center;
  }
  .cardbox p {
    font-size: 14px;
    text-align: center;
  }
}
