html{
  scroll-behavior: smooth;
}


.nav-link{
    color: #fff;
    font-size: 18px;
}

.hero-section-bg{
    background-image: url(../images/background-hero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-section-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
  }
  
  /* Garante que o conteúdo fique acima do overlay */
  .hero-section-bg > * {
    position: relative;
    z-index: 2;
  }

.glass{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border:1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
.hero-h1 {
    padding: 4rem;
    text-align: center;
}

.sobre {
  position: relative; 
  background-color: #1f1f1f; 
  z-index: 0;
}

.sobre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.466), rgba(0,0,0,0));
  z-index: 1;
}

.sobre > * {
  position: relative;
  z-index: 2; /* garante que o conteúdo fique acima do gradiente */
}

.divisor{
  width: 100%;
  padding:  200px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caixa{
  height: 400px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: start;
}

.cartao{
  width: 80px;
  border-radius: .75rem;
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2rem;
  margin: 0 10px;
  display: flex;
  align-items: flex-end;
  transition: .6s cubic-bezier(.28,-0.03,0,.99);
  box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
}

.cartao > .linha {
    color: white;
    display: flex; 
    flex-wrap: nowrap;
}

.cartao > .linha > .icone {
  background: #233;
  color: white;
  border-radius: 50%;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px;
}

.cartao > .linha > .descricao {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  height: 80px;
  width: 520px;
  opacity: 1;
  transform: translateY(0);
  transition-delay: .3s;
  transition: all .3s ease;
}

.descricao p{
  color: white;
}

.descricao h4{
  text-transform: uppercase;
}

input{
  display: none;
}

input:checked + label {
  width: 600px;
}

input:checked + label.descricao{
  opacity: 0 !important;
  transform: translateY(0) !important;
}

.cartao[for="c1"]{
  background-image: url(../images/tindog-c1.png);
}
.cartao[for="c2"]{
  background-image: url(../images/mondrian.jpg);
}
.cartao[for="c3"]{
  background-image: url(../images/git-c3.png);
}

.projetos {
  background-color: #1f1f1f;
  padding-bottom: 100px;
}

.below{
  padding: 100px;
  background-color: #231366;
}

.gradient{
  text-transform: uppercase;
  background: linear-gradient(to right,#fc72ff,#8f68ff,#487bff,#8f68ff,#fc72ff);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient{
  to{
    background-position: 200%;
  }
}

.contato-li{
  list-style: none;
  font-size: 20px;
  padding-top: 10px;
}

.contato-li img {
  margin-right: 10px; 
  width: 24px; 
  height: 24px; 
  vertical-align: middle; 
}

a{
  text-decoration: none;
}

@keyframes appear{
  from{
    opacity: 0;
    scale: 0.5;
  }
  to{
    opacity: 1;
    scale: 1;
  }
}


.bloco{
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
