/* General reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
}

:root {
  --bg-color: #fcfaff;
  --second-bg-color: #e3cfe2;
  --main-color: #5a276c;
  --text-color: #fff;
  --second-color: #666;
  --other-color: #cfb4d1;
  --contrast-color: #603f3a;
  --h1-font: 7rem;
  --h5-font: 2rem;
  --h2-font: 3.5rem;
  --p-font: 1.1rem;
  --h2-ih: 5rem;
  --menu-font: 1.3rem;
  --body-font: "Work Sans", sans-serif;
  --title-font: "Mulish", serif;
}

body,
html {
  overflow-x: hidden;
}

header {
  height: 10vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: white;
  position: relative;
  transition: top 0.3s;
  z-index: 1000;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
}

.container-fluid.sticky {
  transition: top 0.3s ease-in-out;
}

.main {
  margin-top: 10vh;
}

/* Hamburger menu icon styling */
#menu-toggle {
  display: none;
}

.menu-button-container {
  display: none;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  background-color: #000;
  height: 4px;
  width: 30px;
  transition: transform 400ms;
  border-radius: 2px;
  position: relative;
}

.menu-button::before {
  content: "";
  position: absolute;
  top: -8px;
}

.menu-button::after {
  content: "";
  position: absolute;
  top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  transform: rotate(45deg);
  top: 0;
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  transform: rotate(-45deg);
  top: 0;
}
/*  */

/*                                                                       Image Hero  section                                                              */
/* .row {
  width: 100%;
} */

/* Animation name*/
.wordCarousel {
  font-size: clamp(
    2rem,
    5vw,
    4rem
  ); /* Tamanho mínimo de 2rem, cresce com 5% da largura da tela, e máximo de 4rem */
  font-weight: 600;
  color: #430f53;
  font-family: var(--title-font);
  /* background-color: #860b0b; */
  width: 90%;
  margin: 0 auto; /* Centraliza o carousel */
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .wordCarousel {
    font-size: clamp(
      1.5rem,
      4vw,
      3.5rem
    ); /* Tamanho mínimo de 2rem, cresce com 5% da largura da tela, e máximo de 4rem */
    font-weight: 600;

    padding: 0;
  }
}

.wordCarousel span {
  /* background-color: #652ee6; */
  padding: 0 10px; /* Espaçamento ao redor do texto fixo */
}

.wordCarousel ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.wordCarousel div {
  overflow: hidden;
  position: relative;
  display: inline-block;
  height: 70px; /* Altura fixa, igual à altura de um item */
}

.wordCarousel li {
  font-family: var(--title-font);
  color: #430f53;
  font-weight: 800;
  line-height: 70px;
  height: 70px;
  display: block;
  width: 80vw;
  overflow: hidden;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .wordCarousel li {
    font-weight: 900;
  }
}

/* Animações */
.flip2 {
  animation: flip2 6s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}
.flip3 {
  animation: flip3 8s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}
.flip4 {
  animation: flip4 10s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}
.flip5 {
  animation: flip5 12s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}
@keyframes flip2 {
  0% {
    margin-top: -140px; /* -2 linhas */
  }
  5% {
    margin-top: -70px; /* -1 linha */
  }
  50% {
    margin-top: -70px; /* Pausa na linha 2 */
  }
  55% {
    margin-top: 0px; /* Linha 1 */
  }
  100% {
    margin-top: -140px; /* Reinicia ciclo */
  }
}

@keyframes flip3 {
  0% {
    margin-top: -210px; /* -3 linhas */
  }
  5% {
    margin-top: -140px; /* -2 linhas */
  }
  33% {
    margin-top: -140px;
  }
  38% {
    margin-top: -70px; /* -1 linha */
  }
  66% {
    margin-top: -70px;
  }
  71% {
    margin-top: 0px; /* Linha 1 */
  }
  100% {
    margin-top: -210px;
  }
}

@keyframes flip4 {
  0% {
    margin-top: -280px; /* -4 linhas */
  }
  5% {
    margin-top: -210px; /* -3 linhas */
  }
  25% {
    margin-top: -210px;
  }
  30% {
    margin-top: -140px; /* -2 linhas */
  }
  50% {
    margin-top: -140px;
  }
  55% {
    margin-top: -70px; /* -1 linha */
  }
  75% {
    margin-top: -70px;
  }
  80% {
    margin-top: 0px; /* Linha 1 */
  }
  100% {
    margin-top: -280px;
  }
}

/* Fim animaçao name*/

/*animaçao wave*/

.wave {
  display: inline-block;
  animation: wave-animation 1.5s infinite;
  transform-origin: 70% 70%; /* Define o ponto de rotação do aceno */
}

@keyframes wave-animation {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-20deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

/* Fim animaçao wave*/

.image-hero {
  height: 100%;

  display: flex;
  width: 100%;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .image-hero {
    background-color: aqua !important;
  }
}

.ih-text {
  overflow: hidden;
  height: 80vh;

  padding: 10% 0% 10% 12%;

  /* background-color: rgb(52, 99, 33); */
}

@media (min-width: 1440px) {
  .ih-text {
    overflow: hidden;
    height: 80vh;

    padding: 5% 0% 13% 12%;

    /* background-color: rgb(52, 99, 33); */
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .ih-text {
    overflow: hidden;
    height: 80vh;

    padding: 15% 0% 8% 7%;

    /* background-color: rgb(52, 99, 33); */
  }
}

.ih-text p {
  font-size: var(--menu-font);

  color: #4c4a64;
  line-height: 180%;

  width: 80%;

  /* background-color: rgb(163, 154, 123); */
  z-index: 1;
  margin: 2% 0 5% 5%;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .ih-text p {
    font-size: 1rem;
  }

  #ih-title {
    margin: 0;
    padding: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .ih-text p {
    font-size: 1rem;

    color: #4c4a64;
    line-height: 180%;

    width: 80%;

    /* background-color: rgb(163, 154, 123); */
    z-index: 1;
    margin: 2% 0 5% 7%;
  }
}

/* Definindo a animação para mover a posição do ícone */
@keyframes moveIcons {
  0% {
    background-position: 40% 50%, bottom right, bottom right;
  }
  50% {
    background-position: 40% 55%, bottom right, bottom right;
  }
  100% {
    background-position: 40% 50%, bottom right, bottom right;
  }
}

/* Aplicando a animação apenas à primeira imagem de fundo */
.ih-img {
  margin-top: -5%;
  background-image: url(/Assets/img/imgh-icons.svg),
    url(/Assets/img/personagem.svg), url(/Assets/img/imagem-hero-background.svg);
  background-repeat: no-repeat;
  background-position: 40% 50%, bottom right, bottom right;
  background-size: 20%, 70%, 70%;

  /* Aplicando a animação definida a seguir */
  animation: moveIcons 2s infinite ease-in-out;
}

@media (min-width: 1440px) {
  .ih-img {
    margin-top: 0%;
    background-size: 18%, 85%, 80%;
    background-position: 20% 55%, bottom right, bottom -10%;
    /* background-color: burlywood; */
  }
  @keyframes moveIcons {
    0% {
      background-position: 33% 45%, bottom right, bottom right;
    }
    50% {
      background-position: 33% 50%, bottom right, bottom right;
    }
    100% {
      background-position: 33% 45%, bottom right, bottom right;
    }
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .ih-img {
    margin-top: -10%;
    background-size: 20%, 100%, 100%;
    background-image: url(/Assets/img/imgh-icons.svg),
      url(/Assets/img/personagem.svg),
      url(/Assets/img/imagem-hero-background.svg);
    background-position: 20% 55%, bottom right, bottom -10%;
    /* background-color: burlywood; */
  }
  @keyframes moveIcons {
    0% {
      background-position: 20% 55%, bottom right, bottom right;
    }
    50% {
      background-position: 20% 60%, bottom right, bottom right;
    }
    100% {
      background-position: 20% 55%, bottom right, bottom right;
    }
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .ih-img {
    width: 50vw;
    margin: 0;
    padding: 0;
    background-position: 8% 55%, bottom right, bottom right;
    background-size: 20%, 120%, 100%;
    /* background-color: burlywood; */
  }
  @keyframes moveIcons {
    0% {
      background-position: 8% 55%, bottom right, bottom right;
    }
    50% {
      background-position: 8% 60%, bottom right, bottom right;
    }
    100% {
      background-position: 8% 55%, bottom right, bottom right;
    }
  }
}

@media (max-width: 768px) {
  .row {
    display: flex;
    flex-direction: column; /* Altera o layout para coluna */
    align-items: center; /* Centraliza os elementos, se necessário */
    gap: 20px; /* Espaçamento entre os itens */
    /* width: 100vw; */
  }

  .col-6 {
    width: 100%; /* Garante que cada elemento ocupe toda a largura */
    text-align: center; /* Opcional, alinha o conteúdo ao centro */
  }

  .ih-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 15% 0;

    height: fit-content;
  }

  .ih-text p {
    padding: 0 10%;
    margin: 0;
    text-align: center;

    margin-bottom: 2%;
  }

  .ih-img {
    display: none;
  }

  @keyframes moveIcons {
    0% {
      background-position: 60% 35%, bottom right, bottom right;
    }
    50% {
      background-position: 60% 45%, bottom right, bottom right;
    }
    100% {
      background-position: 60% 35%, bottom right, bottom right;
    }
  }
}

.btn {
  width: 32vw;
  border-radius: 40px;
  display: inline-block;
  padding: 16px 45px;
  background: #b068aa;
  color: var(--text-color);
  font-size: var(--h5-font);
  font-weight: 600;
  transition: all ease 0.5s;

  margin: 2% 0 5% 5%;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .btn {
    width: 32vw;
    padding: 10px 45px;
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .btn {
    width: 32vw;
    padding: 10px 45px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .btn {
    width: 40vw;
    padding: 10px 45px;
    font-size: 1.5rem;
  }
}

.btn:hover {
  background-color: #581c5c;
  transform: scale(102%);
  color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
}

/*                                                                                 about me                                                                  */

.about {
  background-color: #5a276c;
  /* height: 60vh; */
  overflow: hidden;
  width: 100%;
}

@media (min-width: 1440px) {
  .about {
    background-color: #5a276c;
    overflow: hidden;
    width: 100vw;
  }
}

.s2-about-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5%;
  padding-left: 8%;

  /* background-color: rgb(122, 233, 159); */
}

.s2-about-img img {
  height: 40vh;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .s2-about-img img {
    height: 32%;

    /* background-color: #e7ae22; */
  }

  .s2-about-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding-left: 0;

    /* height: 90vh; */
    /* background-color: rgb(122, 233, 159); */
  }

  .s2about-text p {
    line-height: 152%;
    width: 90%;
    margin-bottom: 2%;
  }
  .s2about-text {
    padding: 2% !important;
  }
}

.s2about-text {
  /* background-color: darksalmon; */
  padding: 5% 5% 5% 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.s2about-text p {
  font-size: var(--menu-font);
  color: #ffffff;
  line-height: 250%;
  width: 90%;
  margin-bottom: 5%;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .s2about-text p {
    font-size: 1.2rem;
    line-height: 152%;
    width: 90%;
    margin-bottom: 2%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s2about-text p {
    font-size: 1rem;
  }

  .s2about-text h5 {
    font-size: 2rem;
  }
}

.s2about-text h5 {
  font-size: var(--h5-font);
  font-weight: 900;
  color: #ffffff;
  font-family: var(--title-font);

  overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s2about-text h5 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .s2-about-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding-left: 0;

    margin-top: 5%;

    height: fit-content;
    width: 100%;

    /* background-color: rgb(122, 233, 159); */
  }

  .s2about-text {
    /* background-color: rgb(43, 63, 50); */
    margin: 0;

    width: 100%;
    height: fit-content;

    display: flex;
    align-items: center;

    padding: 0 5% 5% 5%;
  }

  .s2about-text p:first-of-type {
    margin-bottom: 5%;
  }

  .s2about-text p {
    margin-bottom: 0;
    font-size: 1rem;
  }
}

/*                                                                        portifolio                                                                        */

/* Portfolio Section */
.portfolio-section {
  display: flex;
  max-width: 100vw;
  /* max-width: 1200px; */
  font-family: Arial, sans-serif;
  z-index: 1;
  height: fit-content;
  /* background-color: rgb(30, 124, 58); */

  justify-content: center;

  margin: 2% 0 10% 0;
}

/* Estilo para botões de filtro */
.filters {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.filters button {
  padding: 8px 15px;
  border: none;
  background-color: var(--bg-color);
  color: var(--main-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: 1px solid var(--main-color);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .filters button {
    font-size: 1rem;
  }
}

.filters button:hover {
  background-color: #f0f0f0; /* Cor de fundo ao passar o mouse */
}

.filters button.active {
  background-color: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

/* Portfolio Grid */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap; /* Permite que os itens se movam para a linha seguinte */
  gap: 5%;
  height: fit-content;
  width: 70%;

  justify-content: center;

  /* background-color: rgb(153, 129, 83); */
}

@media (min-width: 1440px) {
  .portfolio-grid {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens se movam para a linha seguinte */
    gap: 5%;
    height: fit-content;
    width: 70%;
    margin-bottom: 5%;

    justify-content: center;

    /* background-color: rgb(153, 129, 83); */
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .portfolio-grid {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens se movam para a linha seguinte */
    gap: 5%;
    height: fit-content;
    width: 70%;
    margin-bottom: 8%;

    justify-content: center;

    /* background-color: rgb(153, 129, 83); */
  }

  .portfolio-header h5 {
    font-size: 2.5rem !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .portfolio-grid {
    /* height: fit-content; */
    margin-bottom: 5%;
    /* background-color: rgb(153, 129, 83); */
  }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 2%;
  height: 300px; /* Altura fixa */
  width: calc(33.33% - 5%); /* Largura ajustada para 3 itens por linha */
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.portfolio-item.active {
  opacity: 1;
}

/* Classe para esconder itens */
.hide {
  display: none;
}

/* Additional styles for the portfolio section */
.portfolio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  height: fit-content;
  z-index: 0;
}

.portfolio-header h5 {
  font-size: var(--h2-font);
  font-weight: 900;
  color: var(--main-color);
  font-family: var(--title-font);
}

.portfolio-search {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .portfolio-header h5 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-header h5 {
    font-size: 2rem !important;
  }
}

/* Card Effect */
.card__background {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  cursor: pointer;

  /* Começo das alterações */
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover; /* Garante que a imagem cubra todo o contêiner */
  object-position: center; /* Centraliza a imagem */
  /* Fim das alterações */
}

.card__content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.card__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.portfolio-item:hover .card__background {
  transform: scale(1.1);
}

.portfolio-item:hover .card__content {
  transform: translateY(0);
}
@media (min-width: 768px) and (max-width: 1024px) {
  .portfolio-item.active {
    margin: 5%;
  }
}

/*                                                                  section services                                                                         */

.services {
  background-color: #5d3160;
  width: 100vw;
  height: fit-content;
  /* margin-top: 9%; */
}

#services-wave {
  margin-top: -300px;
  width: 100%;
  z-index: 100;
}

.services-container {
  padding: 0 10%;
  margin-top: -8%;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  #services-wave {
    margin-top: -200px !important;
    width: 100%;
    z-index: 100;
  }

  .service-title h5 {
    display: flex;
    margin-top: 5%;
    justify-content: center;
  }

  .services-container {
    padding: 0 !important;
    margin-top: -8%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .services-container {
    padding: 0 !important;
    margin-top: -8%;
  }

  #services-wave {
    margin-top: -200px;
  }
}

.service-title h5 {
  font-family: var(--title-font);
  color: #ffffff;
  font-size: var(--h2-font);
  font-weight: 800;
  margin-bottom: 3%;

  overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .service-title h5 {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    font-size: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  #services-wave {
    margin-top: -110px;
  }

  .service-title h5 {
    font-size: 2rem !important;

    display: flex;
    justify-content: center;
  }
}

.services-container-cards {
  display: flex;
  height: 100%;
}

.s-card {
  width: 50%;
  background-color: #fff;
  margin-right: 3%;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 8%;
  box-sizing: content-box;
  /* background-color: aqua; */
  overflow: hidden;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .services-container-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .s-card {
    width: 50%;
    margin-right: 3%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 8%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .services-container-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .s-card {
    width: 50%;
    margin-right: 3%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 8%;
  }
}

@media (max-width: 768px) {
  .services-container {
    margin: 2% 0;
  }

  .services-container-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .s-card {
    width: 90%;
    margin-right: 3%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 8%;
  }
}

.s-card-icon-container {
  width: 100%;
  border-radius: 12px;
  height: 20%;

  display: flex;
  align-items: flex-start;

  overflow: hidden;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .s-card-icon-container {
    width: 100%;
    border-radius: 12px;
    height: 29%;

    display: flex;
    align-items: flex-start;

    overflow: hidden;
  }

  .s-card-text p {
    padding-bottom: 5% !important;
  }
}

.s-card-icon-b,
.s-card-icon-u,
.s-card-icon-w {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  height: 50px;
  width: 50px;
  background-color: #c2a0cc;
  border-radius: 50%;
  margin: 5%;
}

.s-card-icon-b {
  background-image: url(../Assets/img/branding.svg);
  fill: #fff;
}

.s-card-icon-u {
  background-image: url(../Assets/img/UX.svg);
}

.s-card-icon-w {
  background-image: url(../Assets/img/web.svg);
}

.s-card-text {
  margin: 0 10%;
  height: 100%;

  overflow: hidden;

  /* background-color: rgb(108, 136, 136); */
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s-card-text {
    margin: 0 10%;
    height: 100%;
  }
  .s-card-icon-container {
    height: 26%;
  }
}

.s-card-text h6 {
  font-family: var(--title-font);
  color: #666666;
  font-size: 2rem;
  font-weight: 800;
  margin: 4% 0;

  overflow: hidden;
}

.s-card-text p {
  line-height: 160.5%;
  font-size: 1.25rem;
  padding-bottom: 2%;
  color: var(--second-color);
  padding-bottom: 20%;

  overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s-card-text p {
    padding-bottom: 0;
    font-size: 1rem;
  }

  .s-card-text h6 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .s-card-text p {
    padding-bottom: 0;
    font-size: 1.2rem;
  }

  .s-card-icon-container {
    height: 24%;
  }

  .s-card-text h6 {
    font-size: 1.7rem;
  }
}

#s-card-btn {
  background-color: #e7ae22;
  line-height: 140.5%;
  font-size: 1rem;
  padding: 3% 5%;
  color: #2c0606;
  font-weight: 600;
  border-radius: 12px;
  align-items: flex-end;
  margin: 5%;
  cursor: pointer;
  transition: all ease 0.5s;
}

#s-card-btn:hover {
  background-color: rgb(104, 71, 19);
  color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: scale(105%);
}

/*                                                                          section banner                                                                        */

.banner {
  width: 100%;
  height: fit-content;
  background-color: #ffffff;
}

.banner-container {
  display: flex;
  justify-content: center;
}

.banner-outside {
  width: 80%;
  height: 40vh;

  background-color: #a555c1;
  background-image: url(../Assets/img/banner-computer.svg),
    url(../Assets/img/banner-tablet.svg), url(../Assets/img/banner-cup.svg),
    url(../Assets/img/banner-pantone.svg), url(../Assets/img/banner-pen.svg),
    url(../Assets/img/banner-last-obj.svg), url(../Assets/img/banner-wave02.svg),
    url(../Assets/img/banner-wave01.svg);

  background-repeat: no-repeat;
  background-position: right 1vw top 3vh, right 5vw bottom 2vh,
    right 25vw bottom 6vh, left bottom, left 16vw bottom 5vh, left 2vw top 3.5vh,
    right bottom, right bottom;

  background-size: 15%, 10%, 5%, 15%, 8%, 9%, cover, cover;

  justify-content: center;
  margin: 2% 5%;
  border-radius: 2.5em;
  display: flex;
  flex-direction: column;
}

.banner-text {
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .banner-text {
    height: 80%;
  }

  .banner-text h6 {
    font-family: 1.8rem;
    padding: 0 20% !important;
  }

  .banner-outside {
    width: 100%;
    height: 35vh;
  }
}

.banner-text h6 {
  font-family: var(--title-font);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 140%;
  text-align: center;

  height: fit-content;
  margin-top: 10%;
  padding: 0 30%;
  margin-bottom: 5%;

  hyphens: none;

  /* background-color: #e6642e; */
}

@media (min-width: 768px) and (max-width: 1024px) {
  .banner-text h6 {
    margin-top: 12%;
    padding: 0 15%;
    margin-bottom: 2%;
    font-size: 1.5rem;
  }

  .banner-outside {
    width: 98%;
    height: 35vh;
    background-size: 13%, 8%, 4%, 13%, 7%, 8%, cover, cover;
  }
}

@media (max-width: 768px) {
  .banner-text h6 {
    margin-top: 12%;
    padding: 0 5%;
    margin-bottom: 2%;
    font-size: 1.5rem;
  }

  .banner-outside {
    width: 98%;
    height: 35vh;
    background-size: 13%, 8%, 4%, 13%, 7%, 8%, cover, cover;
  }

  .banner-button button {
    font-size: 1.3rem !important;
    margin: 2% !important;
  }
}

.banner-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30%;
  margin-bottom: 5%;

  overflow: hidden;
}

.banner-button button {
  background-color: #caa4cd;
  font-family: var(--title-font);
  font-size: 1.5rem;
  padding: 1% 5%;
  color: #2b132d;
  font-weight: 700;
  border-radius: 12px;
  align-items: flex-end;
  margin: 5%;
  cursor: pointer;
  transition: all ease 0.5s;
}

.banner-button button:hover {
  background-color: #581c5c;
  transform: scale(105%);
  color: #dbc7dd;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
}

/*                                                               blog                                                                   */

article {
  --img-scale: 1.001;
  --title-color: black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;

  flex: 1; /* Allow articles to grow and share space equally */
  min-width: 320px; /* Set a minimum width to prevent items from becoming too small */
  /* max-width: 400px; Optional: cap the article's width */
  background-color: white;
  border-radius: 8px;

  width: 100vw !important;
}

article a::after {
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  cursor: pointer;
  content: "";
}

/* basic article elements styling */
article h2 {
  margin: 0 0 18px 0;
  font-family: var(--title-font);
  font-size: 1.9rem;
  letter-spacing: 0.06em;

  font-weight: 800;
  color: var(--title-color);
  transition: color 0.3s ease-out;

  overflow: hidden;
}

figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

article figure {
  max-width: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}

.article-body {
  padding: 24px;
  font-family: var(--body-font);
}

article a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--main-color);
}

article a:focus {
  outline: 1px dotted var(--main-color);
}

article a .icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: translateX(var(--link-icon-translate));
  opacity: var(--link-icon-opacity);
  transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: #5a276c;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

/************************ 
Generic layout (demo looks)
**************************/

.articles {
  display: flex;
  flex-direction: column; /* Empilha os elementos (título, artigos, botão) */
  background-color: #5d3160;
  padding: 2% 10%;
  gap: 20px; /* Espaço entre título, artigos e botão */
}

.article-title {
  font-size: var(--h2-font);
  font-weight: bold;
  color: white;
  margin: 0; /* Remove margens padrão */
}

.article-container {
  display: flex; /* Flexbox para os artigos */
  flex-wrap: wrap; /* Permite que os artigos quebrem linha */
  justify-content: center; /* Alinha os artigos ao início */
  gap: 20px; /* Espaço entre os artigos */
}

.article-readmore {
  align-self: center; /* Centraliza o botão */
  /* background-color: #e7ae22; */
  padding: 10px 20px;
  border-radius: 5px;
}

.article-readmore a {
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

.article-readmore a:hover {
  text-decoration: underline;
}

.article-wrapper {
  /* Estilo para o contêiner */
  width: 100%; /* ou qualquer largura que você deseje */
  max-width: 800px; /* Exemplo de largura máxima */
  margin: 0 auto; /* Centraliza o contêiner */
  overflow: hidden; /* Garante que nada ultrapasse os limites do contêiner */
}

.article-wrapper figure {
  margin: 0;
  padding: 0;
}

.article-wrapper img {
  width: 100%; /* Faz com que a imagem ocupe 100% da largura do contêiner */
  height: auto; /* Mantém a proporção da imagem */
  display: block; /* Remove o espaço abaixo da imagem */
  object-fit: cover; /* Ajusta a imagem para cobrir o contêiner sem distorção */
}

@media screen and (max-width: 960px) {
  article {
    container: card/inline-size;
  }
  .article-body p {
    display: none;
  }
}

@container card (min-width: 380px) {
  .article-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .article-body {
    padding-left: 0;
  }
  figure {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  figure img {
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
}

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .article-container {
    display: flex;
    flex-direction: column; /* Empilha os artigos em uma coluna */
    align-items: center; /* Centraliza os artigos horizontalmente */
    gap: 20px; /* Espaço entre os artigos */
  }

  article {
    flex: none; /* Remove o comportamento de crescimento do flex */
    width: 100%; /* Faz os artigos ocuparem toda a largura do contêiner */
    max-width: 400px; /* Define uma largura máxima para os artigos */
    min-height: 300px; /* Define uma altura mínima consistente */
    display: flex;
    flex-direction: column; /* Organiza o conteúdo interno como uma coluna */
    justify-content: space-between; /* Distribui o conteúdo uniformemente */
  }

  figure {
    width: 100%; /* Faz com que a imagem ocupe toda a largura do card */
    height: auto; /* Ajusta a altura automaticamente */
    margin: 0; /* Remove margens extras */
    overflow: hidden; /* Garante que nada ultrapasse os limites */
  }

  figure img {
    width: 100%; /* A imagem ocupa toda a largura do elemento pai */
    height: auto; /* Mantém a proporção */
    display: block; /* Remove o espaço abaixo da imagem */
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorção */
  }

  .article-wrapper {
    display: grid;
    grid-template-columns: none; /* Remove as colunas */
    grid-template-rows: auto auto auto; /* Três linhas: imagem, texto e link */
    gap: 16px; /* Espaçamento entre as linhas */
  }

  .article-body {
    padding: 5%;
  }

  .article-body h2 {
    font-size: 1.5rem;
  }

  .article-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
  }

  .article-readmore a {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .article-container {
    display: flex;
    flex-direction: column; /* Empilha os artigos em uma coluna */
    align-items: center; /* Centraliza os artigos horizontalmente */
    gap: 20px; /* Espaço entre os artigos */
  }

  article {
    flex: none; /* Remove o comportamento de crescimento do flex */
    width: 100%; /* Faz os artigos ocuparem toda a largura do contêiner */
    max-width: 400px; /* Define uma largura máxima para os artigos */
    min-height: 300px; /* Define uma altura mínima consistente */
    display: flex;
    flex-direction: column; /* Organiza o conteúdo interno como uma coluna */
    justify-content: space-between; /* Distribui o conteúdo uniformemente */
  }

  figure {
    width: 100%; /* Faz com que a imagem ocupe toda a largura do card */
    height: auto; /* Ajusta a altura automaticamente */
    margin: 0; /* Remove margens extras */
    overflow: hidden; /* Garante que nada ultrapasse os limites */
  }

  figure img {
    width: 100%; /* A imagem ocupa toda a largura do elemento pai */
    height: auto; /* Mantém a proporção */
    display: block; /* Remove o espaço abaixo da imagem */
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorção */
  }

  .article-wrapper {
    display: grid;
    grid-template-columns: none; /* Remove as colunas */
    grid-template-rows: auto auto auto; /* Três linhas: imagem, texto e link */
    gap: 16px; /* Espaçamento entre as linhas */
  }

  .article-body {
    padding: 5%;
  }

  .article-body h2 {
    font-size: 1.5rem;
  }

  .article-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
  }

  .article-readmore a {
    font-size: 1.6rem;
  }
}

/*                                                                              contact section                                                                      */

.contact-container {
  width: 100vw;
  height: fit-content;
  background-color: #fdfbfd;
  display: flex;
flex-direction: row;
}

.cont-img-wrapper {
  width: 50%;
  /* background-color: #ce9999; */
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.contact-text {
  width: 50%;
  /* background-color: #99cec3; */
  display: flex;
  align-items: center;
}

.c-text-container {
  /* background-color: #ce99be; */
  padding: 15%;
}

.c-text-container h4 {
  /* background-color: #a2ce99; */
  font-size: 4rem;
  font-weight: 800;
  color: #5a276c;
}

.c-text-container h5 {
  /* background-color: #a2ce99; */
  font-size: 1.8rem;
  font-weight: 700;
  color: #5a276c;
}

.c-text-container p {
  /* background-color: #ce99a6; */
  font-size: 1.2rem;
  color: #080808;
  margin-bottom: 5%;
}

#c-text-bold {
  font-weight: 700;
  font-size: 2rem;
}

#c-email,
#c-email a {
  font-size: 1.8rem;
  color: #5a276c;
  font-weight: 800;
  margin-bottom: 9%;
  /* background-color: #ce99a6; */
  width: 50vw;
  text-decoration: none;
}

#c-email a:hover {
  color: #b387c4;
  cursor: pointer;
}

.btn {
  width: 32vw;
  border-radius: 40px;
  display: inline-block;
  padding: 16px 45px;
  background: #b068aa;
  color: var(--text-color);
  font-size: var(--h5-font);
  font-weight: 600;
  transition: all ease 0.5s;

  margin: 2% 0 5% 5%;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .btn {
    width: 32vw;
    padding: 10px 45px;
    font-size: 1.3rem;
  }

  .contact-container {
    display: flex;
    flex-direction: row !important;
    align-items: center;
  }

  .cont-img-wrapper {
    width: 80%;
    margin-left: 3%;
    /* background-color: #ce9999; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 5%;
    height: 100vh;
  }

  figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
  }
  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-text {
    width: 100%;
    /* background-color: #99cec3; */
    display: flex;
    align-items: center;
  }

  .c-text-container p {
    text-align: center;
  }

  .c-text-container {
    /* background-color: #ce99be; */
    padding: 5% 20% 0% 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .btn {
    width: 32vw;
    padding: 10px 45px;
    font-size: 1rem;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }
  .cont-img-wrapper {
    width: 50%;
    /* background-color: #ce9999; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 5%;
  }

  figure img {
    width: 125%;
    height: 100%;
    display: block;
    object-fit: contain;
  }
  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-text {
    width: 100%;
    /* background-color: #99cec3; */
    display: flex;
    align-items: center;
  }
  .c-text-container {
    /* background-color: #ce99be; */
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .container-fluid.sticky,
  .container-fluid  {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw;
    display: flex;
    justify-content: space-between;
  }
  .container-fluid.sticky #logo-img img,  .container-fluid.sticky #logo-img img  {
    width: 39vw;
    margin: 5% 0;
  }
  .menu-button-container {
    display: flex;
    left: 90% !important;
    top: 0 !important;
    font-size: 0.8rem;
    color: #350b33;
    padding: 5%;
  }

  .menu-button,
  .menu-button::before,
  .menu-button::after {
    background-color: #5d3160;
  }
  .btn {
    width: 40vw;
    padding: 10px 45px;
    font-size: 1.5rem;
    flex-direction: column;
  }
  .contact-container {
    display: flex;
    flex-direction: column;
  }
  .cont-img-wrapper {
    width: 50%;
    /* background-color: #ce9999; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 5%;
  }

  figure img {
    width: 125%;
    height: 100%;
    display: block;
    object-fit: contain;
  }
  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-text {
    width: 100%;
    /* background-color: #99cec3; */
    display: flex;
    align-items: center;
  }
  .c-text-container {
    /* background-color: #ce99be; */
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 650px) {
  .btn {
    width: 40vw;
    padding: 10px 45px;
    font-size: 1.5rem;
    flex-direction: column;
  }
  .contact-container {
    display: flex;
    flex-direction: column;
  }
}

.btn:hover {
  background-color: #581c5c;
  transform: scale(102%);
  color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
}

/*                                                                                social media                                                                        */

.social-media {
  width: 100vw;
  height: fit-content;
  background-color: #5d3160;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
  height: 100%;
  justify-content: center;
  margin-top: -95px;
}

.container-logo-end {
  background-color: #e6642e;
  border-radius: 50%;
  width: 15%;
  margin: 5% 0;
}

.container-logo-end img {
  width: 100%;
  padding: 15%;
  margin-bottom: 5%;
}

.social_media-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sm_icon {
  display: flex;
  width: 40%;
  justify-content: center;
  margin-bottom: 20px;
}

.end-text p {
  font-family: var(--title-font);
  color: #fff;
  text-align: center;
  margin-bottom: 3%;
}

.sm_icon img {
  width: 10%;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  padding: 0.5% 1%;
  border: 0.5px dashed #fff;
  border-radius: 50%;

  margin-left: 3%;
}

.sm_icon img:hover {
  transform: scale(120%);
  background: rgba(201, 184, 195, 0.1);
}

.scroll-btn i {
  position: fixed;
  right: 2.2rem;
  bottom: 2.2rem;
  color: var(--text-color);
  background: var(--main-color);
  font-size: 23px;
  padding: 9px;
  border-radius: 0.8rem;
}

.card-mob-group {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  display: none;
}

.popup {
  display: none; /* escondido por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #000;
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}