.services-resume {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  flex-direction: column;
  min-height: 70vh;
}

.resume-body {
  width: 70%;
}

.resume-title {
  margin: 10px;
}

.resume-title__body {
  font-family: Montserrat;
  font-size: 38px;
  font-weight: bold;
  color: #205762;
}

.resume-body__topic-title {
  color: #f96e2a;
  font-size: 22px;
  margin-bottom: 10px;
}
.resume-body__topic-text {
  font-family: Montserrat;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  word-spacing: 2px;
}

.services-filters {
  margin-bottom: 20px;
  text-align: center;
  margin-top: 10px;
}

.hidden {
  display: none !important;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

[data-category="resume"],
.resume-body__service {
  transition: opacity 0.3s ease-in-out;
  margin: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.resume-body__service--title-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #205762;
  list-style-type: disc;
}

.resume-body__services--body_resume {
  font-size: 1rem;
  margin-left: 20px;
  color: #555;
  list-style-type: circle;
}

.resume-body__services--body-topics {
  margin: 10px 0 0 40px;
  padding: 0;
  list-style-type: square;
}

/* Estilo para os tópicos individuais */
.resume-body__services--body-topic {
  margin-bottom: 15px;
}

/* Filtros */
.services-filters {
  margin-bottom: 20px;
  text-align: center;
}

.services-filters__list {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-filters__list--filter {
  cursor: pointer;
  padding: 10px 15px;
  color: #1e1e1e;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-family: Montserrat;
  font-size: 16px;
}

.services-filters__list--filter:hover {
  background-color: #f96e2a;
  color: #fff;
}

.services-filters__list--filter.active {
  background-color: #f96e2a;
  color: #fff;
  font-weight: bold;
}

/* Estilo para os títulos dos tópicos */
.topic-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2a7b8c;
}

/* Estilo para os textos dos tópicos */
.topic-text {
  font-size: 0.9rem;
  margin-left: 20px;
  color: #667;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-category="resume"],
.resume-body__service {
  transition: all 0.5s ease-in-out;
  animation: slideUp 2s ease-out;
  margin: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.resumeGallery-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.resumeGallery-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

.resumeService-list__element {
  display: flex;
  justify-content: center;
}

.list-img {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
}

.list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .resume-body {
    width: 90%;
  }
  .resumeGallery-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .resume-body {
    width: 95%; /* Even wider on smaller screens */
    padding: 10px;
  }

  .resume-body__services--body-topics {
    margin-left: 10px; /* Reduce left margin for better readability */
  }

  .resumeGallery-list {
    grid-template-columns: (1, 1fr); /* Apenas 1 coluna */
    gap: 10px;
  }

  .list-img {
    height: 200px; /* Reduz a altura das imagens */
  }
}

@media (max-width: 480px) {
  .resume-body {
    width: 100%; /* Full width on mobile */
    padding: 5px;
  }

  .services-filters__list {
    font-size: 20px !important; /* Reduce font size for mobile */
  }
  .resumeGallery-list {
    grid-template-columns: 1fr; /* Altera para apenas uma coluna */
    gap: 15px; /* Reduz um pouco o espaçamento para mobile */
  }

  .list-img {
    height: 200px; /* Altura fixa menor para mobile */
  }
}
