/* Estilos gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
 background-color: rgb(255, 255, 255);
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.carrossel {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  overflow: hidden; 
  background-color: #000000;
  color: white;
  z-index: 10; 
  
}

.carrossel-images {
  display: flex;
  transition: transform 1s ease-out;
  transform: translateX(var(--scroll-offset, 0px)); /* Posição inicial */
}


.carrossel-images img {
  width: 150px; 
  height: auto;
  margin-right: 50px; 
  border: none; 
}
.header {
  text-align: center;
  margin-bottom: 20px;
  padding: 10px;
}

.header h1 {
  font-size: 2rem;
  color: rgb(0, 0, 0);
  font-style: italic;

}

.header p {
  font-size: 1rem;
  margin-top: 5px;
}

.container {
  display: flex;
  align-items: flex-start; 
  gap: 20px; 
}

.links-container {
  display: flex;
  flex-direction: column; 
  gap: 15px; 
}

.link-item {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 120px;
  max-width: 500px;
}

.link-item img {
  width: 100%; /* Garante que a imagem tenha o mesmo tamanho do contêiner */
  height: 100%; /* Preenche toda a altura do contêiner */
  object-fit: cover; /* Faz com que a imagem cubra todo o botão */
  transition: transform 0.3s ease;
}

.link-item:hover img {
  transform: scale(1.05);
}

.link-item a {
  display: block;
  width: 100%;
  text-decoration: none;
}

.img {
  display: flex;
  align-items: flex-start; 
}

.img img {
  max-width: 300px; 
  height: auto; 
  border: none;
  padding-bottom: 50px;
}
footer {
  width: 100vw; 
  background-color: #333; 
  color: white; 
  text-align: center; 
  padding: 20px; 
  position: relative; 
  font-size: 1rem; 
  left: 50%; 
  transform: translateX(-50%); 
  margin-bottom: -20px;
  margin-top: 30px;

}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .img {
    order: -1;
    margin-bottom: -50px;
    justify-content: center;
    display: flex;
  }

  .img img {
    max-width: 70%;
    height: auto;
  }

  .links-container {
    width: 100%;
    align-items: center;
  }

  .link-item img {
    width: 100%;
    height: 100%; /* Garantir que a imagem ocupe 100% da altura do botão */
    object-fit: cover; /* A imagem vai cobrir a área do botão sem deformar */
  }

  .link-item {
    padding: 0; 
    border: none; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 80px; /* Ajuste a altura para corresponder à imagem */
    max-width: 500px;
  }
  

  footer {
    width: 100%;
    max-width: 100vw;
    padding: 15px;
    margin-top: 50px;
    font-size: 0.85rem;
  }
}

