/* Content Style */

#content  {
  padding-left:  12rem;
  padding-right: 12rem;
  
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12%;
  margin-bottom: 6%;
}

.content-wrapper-text {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 12%;
  margin-bottom: 6%;
}

/* Sections */

#home {
  margin-top: 10rem;
  height: 50vh;
}

#aboutus {
  margin-top: 4rem;
  height: 120vh;
}

#aboutus p {
  font-size: 120%;
}
#aboutus h2 {
  font-size: 150%;
}

/* Things */

.title {
  text-align: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 6%;
}

.text {
  font-size: 1.2rem;
  color: white;
}

.text i {
  color: rgb(184, 184, 184);
}
.img {
  --a: 8deg; 
  width: 20rem;
  aspect-ratio: 1;
  border-radius: 20px;
  transform: perspective(400px) rotate3d(var(--r,1,-1),0,calc(var(--i,1)*var(--a)));
  
  -webkit-mask: linear-gradient(135deg,#000c 40%,#000,#000c 100%) 100% 100% / 250% 250%;
    
  transition: .4s;
  cursor: pointer;
}

.img.alt {
  --r: 1,1;
  -webkit-mask: linear-gradient(45deg,#000c 40%,#000,#000c 100%) 0 100% / 250% 250%;
}

.img:hover {
  --i: -1;
  -webkit-mask-position: 0 0;
}

.img.alt:hover {
  -webkit-mask-position: 100% 0;
}

/* Button */

.btn {
  margin-top: 6%;

  font-size: 100%;
  color: white;

  background-color: black;
  border: 0.3rem solid white;
  border-radius: 100px;
  padding: 12px 24px;

  transition: all 0.3s ease, box-shadow 0.4s ease;
}

.btn:hover {
  background-color: white;
  color: black;
  transform: scale(1.08);
  box-shadow: 0 0 20px white;
}

/* Animação ao clicar */
.btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 10px white;
}

@media screen and (max-width: 1000px) {
  #content {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .content-wrapper {
    display: flex;
    flex-direction: column; /* <-- empilha os elementos */
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem; /* espaço vertical entre texto e imagem */
  }

  .text {
    text-align: center;
  }

  .img {
    display: none;
  }
}