:root {
  --margin-top-base: 20px;
}

@media (max-width: 768px) {
  :root {
    --max-width: 100%;
  }

  .contato {
    padding-left: 5%;
    padding-right: 5%;
  }

  header {
    padding-left: 5%;
    padding-right: 5%;
  }

  body::before,
  body::after {
    width: 0%;
    /* Largura da linha */
    height: 0px;
    /* Altura da linha curta */
  }

  .projeto-recentes {
    width: 100%;
    /* Um boxe por linha */
    margin-bottom: 20px;
    /* Espaçamento entre os blocos */
  }

  .projeto-recentes:hover img {
    filter: brightness(1);
  }
}

.contact-button {
  background-color: #914832;
  /* Cor de fundo similar */
  color: white;
  /* Cor do texto */
  font-size: 16px;
  /* Tamanho da fonte */
  padding: 10px 20px;
  /* Espaçamento interno */
  border: none;
  /* Sem borda */
  cursor: pointer;
  /* Cursor de ponteiro ao passar o mouse */
  text-transform: uppercase;
  /* Texto em maiúsculas */
  font-family: Arial, sans-serif;
  /* Fonte semelhante */
}

.contact-button:hover {
  background-color: #612918;
  /* Cor de fundo ao passar o mouse */
}

.button-container {
  display: flex;
  /* Habilita o flexbox */
  justify-content: center;
  /* Centraliza o botão horizontalmente */
  align-items: center;
  /* Centraliza o botão verticalmente */
  height: 10vh;
  /* Definindo uma altura para a div (100% da altura da tela) */
  margin-bottom: 20px;
}

.contact-link {
  text-decoration: none;
  /* Remove o sublinhado */
  display: inline-block;
  /* Permite estilizar o conteúdo do link sem afetar o botão */
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.prev-btn,
.next-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  font-size: 20px;
  cursor: pointer;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.project-images {
  display: flex;
  transition: transform 0.5s ease;
}

.project-images img {
  max-width: 100%;
  display: none;
}

.project-images img.active {
  display: block;
}

.margin-top-base {
  margin-top: var(--margin-top-base);
}

.header-slider {
  padding-top: var(--margin-top-base);
  margin: 0 auto; /* Centraliza o carrossel horizontalmente */
}

.testimonials-slider {
  margin: 30px auto;
  text-align: center;
  color: #333;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #ffffff;
  /* Fundo branco */
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  flex: 0 0 100%;
  /* Cada depoimento ocupa 100% da largura */
  padding: 25px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.user-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* Foto circular */
  margin-right: 10px;
  border: 2px solid #ddd;
}

.user-info {
  text-align: left;
}

.user-name {
  font-weight: bold;
  font-size: 16px;
  display: block;
}

.post-time {
  font-size: 12px;
  color: #888;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  color: #555;
}

.nav-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: black;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

.prev-slider-btn {
  left: 10px;
}

.next-slider-btn {
  right: 10px;
}

.nav-slider-btn:hover {
  color: #f2e3da;
  /* Efeito hover nas setas */
}

.projeto-detalhe {
  box-shadow: none;
  padding: 0;
}

.project-container {
  width: 100%;
  max-width: 100%;
}

.projeto-recentes {
  margin-bottom: var(--margin-top-base);
  /* Espaçamento entre os blocos */
}

.landing-block {
  max-width: var(--max-width);
  width: var(--max-width);
  margin: 0 auto; /* Centraliza horizontalmente */
}

@media (max-width: 768px) {
  .testimonials-slider {
    max-width: var(--max-width);
    width: var(--max-width);
  }

  .landing-block {
    padding-left: 5%;
    padding-right: 5%;
  }
}