html {
  overflow-x: hidden;
  width: 100%;
}

@font-face {
  font-family: 'NomeDaFonte'; /* Dê um nome à fonte */
  src: url('') format('truetype'); /* Caminho correto */
  font-weight: normal; /* Peso da fonte (opcional) */
  font-style: normal; /* Estilo (opcional) */
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: white;
  background: black;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

/* Logo do site e animação */
.logo-site {
  display: flex;
  position: absolute;
  z-index: 1;
  padding: 1rem;
  left: 0;
  top: 0;
}

/* Definir a animação */
@keyframes girar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Aplica a animação à imagem */
.logo-girando {
  width: 2rem;
  animation: girar 5s linear infinite;
}

/* Hero Section (tudo fica acima do fundo)*/
.hero {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.hero h1 {
  font-family: "Nova Oval", system-ui;
  font-size: 3rem;
  color: #FAF3D1;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 30px rgba(255, 255, 255, 0.4);
  max-width: 100%;
  margin-top: 15rem;
}

.hero p {
  font-size: 1rem;
  max-width: 100%;
  margin-top: 5rem;
  padding: 0 1rem;
}

/* Seção PUC Minas */
.puc-section {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  max-width: 100%;
  margin-bottom: 5%;
  margin-top: 30%;
}

.puc-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  padding: 0 20px;
  text-align: center;
}

/* Logo + título */
.puc-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 0;
  max-width: 6rem;
}

.puc-logo img {
  max-width: 50px;
  height: auto;
}

.puc-logo h2 {
  margin-top: 10px;
  font-size: 1.8rem;
  color: white;
}

/* Texto */
.puc-text {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.6;
  color: white;
  padding: 0 15px;
}

/* TRANSIÇÃO DO SCROLL*/
.scroll-block {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.scroll-block.show {
  opacity: 1;
  transform: translateY(0);
}

/* CARD CONTAINER - VERSÃO CORRIGIDA */
.card-container {
  position: relative;
  width: 100%;
  min-height: 20rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-items: flex-end;
  padding-bottom: 1rem;
  margin-bottom: 5rem;

}


.card-front {
  width: 17rem;
  height: 3rem;
  background-color: rgba(103, 97, 97, 0.19);
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(43, 41, 41, 0.19);
  position: relative;
  z-index: 2;
  bottom: 0;
}

.card-back {
  width: 20rem;
  height: 20rem;
  background-color: white;
  background-color: rgba(212, 212, 212, 1);
  position: absolute;
  z-index: 1;
  border-radius: 1rem;
  bottom: 0;
}

.img-roover {
  max-width: 100%; /* Limita a largura ao container */
  max-height: 100%; /* Limita a altura ao container */
  object-fit: cover; /* ou 'contain' dependendo do efeito desejado */
  border-radius: 1rem; /* Opcional: mantém o border-radius do pai */
}

.requirement {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 1.5rem;
  max-width: 100%;
  padding: 1rem;
  position: relative;
  margin: 0 1rem 2rem;
  z-index: 1;

  /* Estado inicial para animação */
  opacity: 0;
  transform: translateX(100px);
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  will-change: transform, opacity;
}

.requirement.show {
  opacity: 1;
  transform: translateX(0);
}

.requirement-image {
  width: 4rem;
  height: auto;
  object-fit: contain;
}

.requirement-text p {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  gap: 0.5rem;
}

.requirement-header h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FAF3D1;
  margin: 0;
}

.requirement p {
  font-size: 1rem;
  color: white;
  margin: 0;
  line-height: 1.5;
}

.requirements-title h1 {
  font-size: 1.6rem;
  margin: 0, 3rem;
  color: #FAF3D1;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* -------------------------------------- CELULARES PEQUENOS ------------------------------------- */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 3rem;
  }

  .card-front {
    width: 15rem;
    height: 2rem;
  }

  .card-back {
    width: 16rem;
    height: 16rem;
  }

}

/* -------------------------------------- CELULARES MÉDIOS ------------------------------------- */
@media (min-width: 401px) and (max-width: 480px) {
  .hero h1 {
    font-size: 4rem;
  }

  .puc-logo {
    max-width: 7rem;
  }

  .card-front {
    width: 17rem;
    height: 3rem;
  }

  .card-back {
    width: 18rem;
    height: 18rem;
  }
}

/* -------------------------------------- CELULARES GRANDES ------------------------------------- */
@media (min-width: 481px) and (max-width: 767px) {
  .hero h1 {
    font-size: 4rem;
  }

  .puc-logo {
    max-width: 8rem;
  }


}

/* -------------------------------------- TABLETS ------------------------------------- */
@media (min-width: 768px) {
  .hero {
    padding: 2rem;
    margin-top: 6rem;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .hero p {
    font-size: 1.5rem;
    max-width: 80%;
    margin-top: 2rem;
  }

  .puc-section {
    margin-top: 100px;
    padding: 40px 20px;
  }

  .puc-container {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1000px;
    justify-content: center;
  }

  .puc-logo {
    margin-right: 10px;
    max-width: 10rem;
  }

  .puc-text {
    max-width: 250px;
    padding: 0;
  }

  .card-front {
    width: 24rem;
    height: 3rem;
  }

  .card-back {
    width: 27rem;
    height: 27rem;
  }
}

/* -------------------------------------- DESKTOP PEQUENO ------------------------------------- */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 10rem;
  }

  .hero p {
    font-size: 2rem;
    max-width: 900px;
    margin-top: 1rem;
  }

  .puc-logo {
    max-width: 15rem;
  }

  .puc-text {
    max-width: none;
  }


}

/* -------------------------------------- DESKTOP GRANDE ------------------------------------- */
@media (min-width: 1800px) {
  .hero h1 {
    font-size: 13rem;
  }

  .hero p {
    font-size: 2.5rem;
    max-width: 900px;
    margin-top: 1rem;
    padding: 0;
  }

  .puc-logo {
    max-width: 18rem;
  }

  .puc-text {
    max-width: none;
  }

  .hero h1 {
    margin-top: 4rem;
  }

  .puc-section {
    margin-top: 1rem;
  }

  .requirements-title h1{
    font-size: 4rem;
  }

  .requirement-text p {
    font-size: 1.5rem;
  }

  .requirement-header h1 {
    font-size: 3rem;
  }
}