@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

svg {
  width: 25px;
}

header {
  width: 1200px;
  max-width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  grid-template-rows: 50px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}

header .logo {
  font-weight: bold;
}

header .menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
}

/* css slider */
.container-fluid {
  --bs-gutter-x: 0 !important;
  /* Remove o espaçamento horizontal */
}

/* .slider {
  width: 100%; 
  max-width: 1264px; 
  height: 300px; 
  position: relative;
} */



.slider .list .item {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: .5s;
}

.slider {
  position: relative;
  margin-top: 0;
  overflow: visible;
}

.slider .list .item img {
  width: 100%;
  height: 100%;
  /* object-fit: fill; */
  /* cover/ fill */
  pointer-events: none;
}

/* efeito escuro em baixo */
/* .slider .list .item::after {
  content: '';
  width: 100%;
  height: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(to top, #000000c9 10%, transparent);
} */

.slider .arrows,
.slider .list .item .content {
  pointer-events: auto;
  /* Permite cliques apenas nos botões e conteúdos */
}

.slider .list .item .content {
  position: absolute;
  left: 10%;
  /* top: 40%; */
  font-size: 25px;
  top: 25%;
  width: 500px;
  max-width: 80%;
  z-index: 1;
  color: white;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 1),
    -2px -2px 4px rgba(0, 0, 0, 1),
    2px -2px 4px rgba(0, 0, 0, 1),
    -2px 2px 4px rgba(0, 0, 0, 1);
}

.slider .list .item .content p:nth-child(1) {
  text-transform: uppercase;
  letter-spacing: 10px;
}

.slider .list .item .content h2 {
  font-size: 90px;
  /* antes era 100px */
  margin: 0;

}

.slider .list .item.active {
  opacity: 1;
  z-index: 10;
}

@keyframes showContent {
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s .7s ease-in-out 1 forwards;
}

.slider .list .item.active h2 {
  animation-delay: 1s;
}

.slider .list .item.active p:nth-child(3) {
  animation-duration: 1.3s;
}

.arrows {
  position: absolute;
  top: 30%;
  right: 50px;
  z-index: 100;
}

.arrows button {
  background-color: rgba(238, 238, 238, 0.20);
  backdrop-filter: blur(5px);
  /* efeito vidro como a info-bar */
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  font-family: monospace;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  font-size: x-large;
  color: #eee;
  transition: .5s;
}

.arrows button:hover {
  background-color: #eee;
  color: black;
}

.info-bar {
  position: absolute;
  left: 50%;
  bottom: -40px;
  /* metade fora do banner */
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  padding: 20px 20px;
  /* Efeito vidro branco */
  background: rgba(195, 195, 195, 0.25);
  /* branco translúcido */
  backdrop-filter: blur(10px);
  /* desfoque para efeito vidro */
  -webkit-backdrop-filter: blur(10px);
  /* compatibilidade Safari */
  color: #000000;
  /* texto escuro para contraste */
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* sombra leve */
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 10;
}

.info-bar p {
  margin: 0;
  font-weight: 400;
}

@media screen and (max-width: 678px) {
  .slider .list .item .content {
    font-size: 18px;
    position: absolute;
    left: 10%;
    top: 20%;
    width: 200px;
    max-width: 80%;
    z-index: 1;
    color: white;
    text-shadow:
      2px 2px 4px rgba(0, 0, 0, 1),
      -2px -2px 4px rgba(0, 0, 0, 1),
      2px -2px 4px rgba(0, 0, 0, 1),
      -2px 2px 4px rgba(0, 0, 0, 1);
  }

  .slider {
    min-height: 27vh !important;
  }

  .arrows {
    display: none;
  }

  .slider {
    min-height: 10vh;
    height: 120px;
    margin: auto;
  }
  .info-bar {
    background: rgba(255, 255, 255, 0.25);
    bottom: -95px;
  }

}