/*==================== PORTFOLIO campo pesquisar ====================*/
.search-container {
    position: relative;
    max-width: 350px;
    margin: 0 auto 2rem;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--first-color);
    pointer-events: none;
}

.project-search {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    /* backdrop-filter: blur(0px); */
    color: #fff;
    font-size: 0.80rem;
    transition: all 0.3s ease;
}

.project-search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.project-search:focus {
    outline: none;
    border-color: var(--first-color);
    box-shadow:
        0 0 10px rgba(108, 99, 255, 0.3),
        0 0 25px rgba(108, 99, 255, 0.15);

    background: rgba(255, 255, 255, 0.08);
}
.clear-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    background: transparent;
    border: none;
    cursor: pointer;

    color: rgba(255,255,255,.6);
    font-size: 1rem;

    display: none;
    transition: .2s;
}

.clear-search:hover {
    color: rgb(185, 85, 85);
}

/*==================== PORTFOLIO ====================*/
.portfolio__container {
  overflow: initial;
}

.portfolio__content {
  padding: 0 1.5rem;
  /* display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; */
}

.portfolio__images{
  align-items: center;
  text-align: center;
}

.portfolio__img {
  width: 265px;
  border-radius: 0.5rem;
  justify-self: center;
}

.portfolio__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  pointer-events: auto;
}

.portfolio__description {
  margin-bottom: var(--mb-0-75);
  pointer-events: auto;
}

.portfolio__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1rem;
}

.portfolio__tags span {
    padding: .2rem .7rem;
    border-radius: 999px;
    font-size: .7rem;
    background: rgba(108,99,255,.15);
    border: 1px solid rgba(108,99,255,.3);
    color: var(--first-color);
}

.portfolio__button:hover .button__icon {
  transform: translateX(0.25rem);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-portfolio-icon {
  font-size: 2rem;
  color: var(--first-color);
}

.swiper-button-prev {
  left: -0.5rem;
}

.swiper-button-next {
  right: -0.5rem;
}

.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: -2.5rem;
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

.swiper-button-prev,
.swiper-button-next,
.swiper-pagination-bullet {
  outline: none;
}
/*==================== move para esquerda e direita carrossel de projetos ====================*/
.swiper-button-next,
.swiper-button-prev {
  animation: arrowMove 1.5s infinite ease-in-out;
}

@keyframes arrowMove {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(8px);
  }
}

.swiper-button-prev {
  animation-name: arrowMoveLeft;
}

@keyframes arrowMoveLeft {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-8px);
  }
}
/* ==================== EFEITOS NEON INDIVIDUAIS NO HOVER projeto ocultos ao lado ==================== */

/* Seta da Direita (Next) -> Brilho Laranja */
.swiper-button-next:hover {
  background: rgba(100, 210, 255, 0.05);
  border-color: rgba(100, 210, 255, 0.6);
  box-shadow: 0 0 20px rgba(100, 210, 255, 0.4), inset 0 0 10px rgba(100, 210, 255, 0.2);
}
.swiper-button-next:hover .swiper-portfolio-icon {
  color: #64d2ff !important;
  text-shadow: 0 0 15px #64d2ff;
}

/* Seta da Esquerda (Prev) -> Brilho Azul */
.swiper-button-prev:hover {
  background: rgba(100, 210, 255, 0.05);
  border-color: rgba(100, 210, 255, 0.6);
  box-shadow: 0 0 20px rgba(100, 210, 255, 0.4), inset 0 0 10px rgba(100, 210, 255, 0.2);
}
.swiper-button-prev:hover .swiper-portfolio-icon {
  color: #64d2ff !important;
  text-shadow: 0 0 15px #64d2ff;
}
/*==================== esquerda e direita carrossel hover se mostrar projetos ao lado ====================*/
/* Estilo base para as setas do Swiper (prev e next) */
/* .swiper-button-next,
.swiper-button-prev {
    transition: transform 0.3s ease;
} */

/* Altera a cor do ícone interno para laranja ao passar o mouse */
/* .swiper-button-next:hover .swiper-portfolio-icon,
.swiper-button-prev:hover .swiper-portfolio-icon {
    color: #ff6600;
} */

/* Efeito opcional: Uma leve expansão no botão ao passar o mouse */
/* .swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
} */

/* Garante que o Swiper não sobrescreva a cor do ícone interno */
/* .swiper-portfolio-icon {
    transition: color 0.3s ease;
} */
/*==================== esquerda e direita carrossel de projetos novo design ====================*/
.swiper-button-prev,
.swiper-button-next {
  /* Força o alinhamento vertical perfeito no meio do carrossel */
  top: 50% !important;
  transform: translateY(-50%);
  
  /* Tamanho do círculo ao redor da seta */
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Fundo de vidro com opacidade */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* Bordas suaves padrão */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  
  /* Transição para o efeito de hover */
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.swiper-button-prev {
  left: -1rem; /* Ajuste se achar muito colado ou afastado */
}

.swiper-button-next {
  right: -1rem; /* Ajuste se achar muito colado ou afastado */
}

/* 2. Estilo dos Ícones Internos */
.swiper-portfolio-icon {
  font-size: 2.2rem;
  color: var(--first-color);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/*==================== Responsividade para Celulares botoes esquerda direita ====================*/
@media screen and (max-width: 600px) {
  .portfolio_ {
    padding: 0 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    /* Diminui o tamanho do botão para não ocupar tanto espaço na tela do celular */
    width: 45px;
    height: 45px;

    /* Background ainda mais transparente (opacidade de 0.03 para 0.01) */
    background: rgba(255, 255, 255, 0.01);
    
    /* Borda quase invisível para não cortar a leitura das letras */
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }

  /* Aproxima os botões das bordas internas */
  .swiper-button-prev {
    left: 8px;
  }

  .swiper-button-next {
    right: 8px;
  }

  /* Opcional: Diminui um pouco o tamanho do ícone interno no celular */
  .swiper-portfolio-icon {
    font-size: 1.6rem;
  }
}

/* For medium devices */
@media screen and (min-width: 767px) {
  .portfolio__img {
    width: 320px;/*width: 320px;*/
  }
  .portfolio__content {
    align-items: center;
  }
  .project {
    text-align: initial;
  }
  .project__bg {
    background: none;
  }
  .project__container {
    background-color: var(--first-color-second);
    border-radius: 1rem;
    padding: 3rem 2.5rem 0;
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
  }
  .project__data {
    padding-top: 0.8rem;
  }
}

@media screen and (min-width: 1024px) {
  .portfolio__content {
    column-gap: 5rem;
  }

  .project__container {
    padding-bottom: 30px;
  }

  .swiper-portfolio-icon {
    font-size: 3.5rem;
  }
  .swiper-button-prev {
    left: -3.5rem;
  }
  .swiper-button-next {
    right: -3.5rem;
  }
  /* .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: -4.5rem;
  } */

  .swiper-pagination {
  bottom: -2rem;
  }
}
/*==================== PROJECT IN MIND ====================*/
.project {
  text-align: center;
}

.project__bg {
  background-color: var(--first-color-second);
  padding-top: 3rem;
}

.project__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-0-75);
}

.project__description {
  margin-bottom: var(--mb-1-5);
}

.project__title,
.project__description {
  color: #fff;
}

.project__img {
  width: 232px;
  justify-self: center;
}



/*===============================================================*/
/*==============ajutes titulo github contribu .==================*/
.gitlinkcontainer {
  margin-top: 40px;
  text-align: center;

  font-style: italic;
  font-weight: 100;
}

.gitlinkcontainer a {
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
}
.gitlinkcontainer a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}
/*--------------Github less more squares white and green ----------------*/

.squares-container {
  display: flex;
  /* margin: 10px; */
  justify-content: flex-end;
  width: 70% !important;
  margin: 0 auto;
}

.square {
  width: 10px;
  height: 10px;
  /*background-color: #3498db;/*#ebedf0 #9be9a8 #40c463 #30a14e #216e39*/
  margin-right: 4px; /* Espaçamento entre os quadrados */
  margin-top: 4px;
}

/* Ajuste de margem para "Less" e "More" */
.squares-container::before,
.squares-container::after {
  content: "";
  /* flex: 1; */
}

.squares-container::before {
  content: "Less";
  margin-right: 5px; /* Espaçamento entre "Less" e os quadrados */
  /* margin-bottom: 7px; */
}

.squares-container::after {
  margin-left: 10px; /* Espaçamento entre os quadrados e "More" */
}

@media screen and (max-width: 600px) {
  .square {
    width: 6px;
    height: 6px;
    margin-right: 2px;
    margin-top: 2px;
  }

  .squares-container {
    display: flex;
    font-size: 7px; /* Ajuste o tamanho da fonte para "Less" em dispositivos móveis */
  }

  .squares-container::before {
    content: "Less";
    margin-right: 3px; /* Espaçamento entre "Less" e os quadrados */
    /* margin-bottom: 7px; */
  }
}

 /* Impede a seleção de texto para o elemento com a classe "no-select" */
 .no-select {
  user-select: none;
}

/*--Github contributions in the last year-----*/
.github-chart{
  width: 70% !important;
  /* max-width: 160px !important; */
  height: auto !important;
}

@media screen and (max-width: 900px) {
  .github-chart{
    width: 90% !important;
    /* max-width: 160px !important; */
    height: auto !important;
  }
  .squares-container {
    width: 90% !important;
  }
}
@media screen and (max-width: 600px) {
  .github-chart{
    width: 100% !important;
    /* max-width: 160px !important; */
    height: auto !important;
  }
  .squares-container {
    width: 100% !important;
  }
}