/* Header do site */

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 1250px;
  width: 80%;
}

.container-bg {
  width: 100%;
  padding: 15px 0;
  z-index: 999;
  position: fixed;
  /* background: var(--bg-secondary); */
  backdrop-filter: blur(40px);
  box-shadow: 1px 1px #fbfbfb32;
}

[data-theme="light"] .container-bg {
  box-shadow: 1px 1px #0f1e3a42;
}

#menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  border-top: 1px solid #fbfbfb32;
  /* box-shadow: 1px 0 0 #fbfbfb32; */

  /* position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - 66px);
  box-sizing: border-box;

  overflow-y: auto;
  scrollbar-gutter: stable;

  padding: 0;

  z-index: 100;

  backdrop-filter: blur(3px);

  /* 🔒 estado fechado */
  /* transform: translateX(110%);
  transition: transform 0.5s ease;  */
}

[data-theme="light"] #menu {
  border-top: 1px solid #0f1e3a42;
}

#menu {
  display: flex;
  /* background: var(--bg); */
  list-style: none;
  gap: 1rem;
  font-size: 2rem;
  font-weight: 600;
}

#menu-desktop {
  display: flex;
  /* background: var(--bg); */
  list-style: none;
  gap: 1rem;
  /* font-size: 2rem; */
  font-weight: 600;
}

/* #menu-desktop li {
  display: inline-flex;
  align-items: center;
} */
.menu-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  box-sizing: border-box;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-top: 66px;
  background: var(--bg);
  height: 100vh;
  backdrop-filter: blur(3px);
  transform: translateX(110%);
  transition: transform 0.5s ease;
  overflow: hidden;
}

.sections-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sections-flex .text-description {
  font-size: 16px;
  color: var(--text);
}
.sections-flex .text-central {
  font-size: 40px;
  text-align: center;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  font-weight: bold;
  line-height: 100%;
  color: var(--text);
}
.sections-flex .text-content-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sections-flex .text-content-top .bullet-text,
.whatsapp-btn {
  padding: 8px;
  background-color: var(--text);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  max-width: 400px;
  margin-bottom: 24px;
  transition: all 0.5s ease-in-out;
}

.sections-flex .text-content-top .bullet-text {
  cursor: not-allowed;
}
.sections-flex .text-content-top .bullet-text img {
  width: 24px;
  height: 24px;
}
.sections-flex .text-content-top .bullet-text h1 {
  margin: 0;
  font-size: 24px;
}
[data-theme="dark"] .sections-flex .text-content-top .bullet-text h1 {
  color: var(--bs-heading-color);
}

#nav {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  position: relative;
  z-index: 99999;
}

#nav ul:hover li a {
  color: #ffffff50;
}
[data-theme="light"] #nav ul:hover li a {
  color: #0f1e3a50;
}

#nav li a {
  position: relative;
  color: var(--text);
  padding: 0.5rem 1rem;
  font-size: var(--font-size-secudary);
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.5s;
}

#nav li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background-color: var(--text);
  border-radius: 2px;
}

#nav li a:hover::after {
  width: 80%;
  transition: width 0.5s ease-in-out;
}

#menu li a {
  position: relative;
  color: var(--text);
  padding: 0.5rem 1rem;
  font-size: var(--font-size-secudary);
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.5s;
}

#menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background-color: var(--text);
  border-radius: 2px;
}

#menu li a:hover::after {
  width: 80%;
  transition: width 0.5s ease-in-out;
}
.name,
.first-word {
  font-size: var(--font-size-secudary);
  background-image: linear-gradient(
    0deg,
    var(--text),
    /* var(--text-secondary) */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.1rem var(--text);
}

#nav ul li a:hover {
  color: var(--text);
  transform: scale(1.5);
}

#btn-mobile {
  display: none;
  z-index: 5;
}

.theme-toggle {
  width: 60px;
  height: 26px;
  background-color: #0f1e3a;
  border-radius: 13px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

[data-theme="dark"] .theme-toggle {
  justify-content: flex-start;
  background-color: #ffff;
}
[data-theme="dark"] .theme-toggle-circle {
  background-color: #0f1e3a;
}

.theme-toggle-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
}

/* Top site*/

section.section-home {
  /* background: linear-gradient(45deg, rgb(46, 45, 50) 0%, rgba(79, 75, 71, 1) 35%, rgb(91, 106, 109) 100%); */
  box-shadow: #fbfbfb32 0px 0px 0px 1px;
  padding: 100px 0 80px 0;
}

section.section-home .sections-flex {
  justify-content: space-between;
  align-items: center;
}

.section-home .container,
.section-about .container {
  display: block;
}

.section-home h1,
.section-home h2 {
  color: var(--main-font-color);
  font-size: var(--font-size-secudary);
  text-align: left;
  margin-bottom: var(--margin-separation);
}
.section-home h1 {
  font-size: var(--font-size-primary);
}
.section-home p {
  text-align: left;
  font-size: var(--font-size-third);
  font-weight: 500;
  margin-top: var(--margin-separation);
  color: var(--main-font-color);
}

.section-home h1 span {
  font-weight: bold;
  /* color: var(--text); */
}
.section-home .text-content-top .actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}
.section-home .text-content-top .actions a,
.btn-custom {
  background: var(--text);
  color: var(--main-font-color);
  font-size: var(--font-size-third);
  font-weight: 500;
  border-radius: 2rem;
  display: flex;
  position: relative;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;
}

[data-theme="dark"] .section-home .text-content-top .actions a,
[data-theme="dark"] .btn-custom {
  color: var(--bs-heading-color);
}
[data-theme="light"] .btn-custom:hover {
  color: var(--main-font-color);
}

.btn-custom {
  margin-right: 0.5rem;
  float: right;
}
.section-home .text-content-top .actions a:hover,
.btn-custom:hover {
  background: var(--text);
  transform: scale(1.1);
}

.section-home .img-content-top,
.section-about .about-img {
  position: relative;
  margin-top: 24px;
  max-width: 350px;
  background: #0000001a;
  border-radius: 50%;
  overflow: hidden;
}

.section-home .img-content-top::before {
  content: "";
  position: absolute;
  inset: -10px 140px;
  background: linear-gradient(315deg, #722d06, var(--color-default));
  transition: 0.5s;
  z-index: 1;
  animation: animateBorder 4s linear infinite;
}
.section-home .img-content-top:hover:before {
  inset: -20px 0px;
}
.section-home .img-content-top:hover::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--main-background);
  border-radius: 50%;
  z-index: 2;
}

.section-home .img-content-top .fotoUser,
.section-about .sections-flex .about-img img {
  width: 100%;
  max-width: 250px;
  z-index: 3;
  border-radius: 50%;
  border: 2px solid var(--text);
  position: relative;
  animation: imgFlutuante 2s ease-in-out infinite alternate;
}

/*section home*/

.section-about {
  padding: 80px 0;
  /* background: linear-gradient(
    45deg,
    rgb(46, 45, 50) 0%,
    rgba(79, 75, 71, 1) 35%,
    rgb(91, 106, 109) 100%
  ); */
  box-shadow: #fbfbfb32 0px 0px 0px 1px;
  margin-top: 80px;
  padding-block: clamp(80px, 10vh, 140px);
}

.section-about.active {
  margin-top: 0;
}

.section-about .container .sections-flex {
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-direction: column;
}
.section-about .container .sections-flex .description-paragrafo p {
  color: var(--text);
}
.section-about .container .sections-flex .about-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.section-about .container .sections-flex .title-about {
  /* padding: 40px 0; */
  position: relative;
}
.section-about .container .sections-flex .title-about h2::after,
.section-soft-skills .container .title-soft-skills h2::after,
.slider-projects .projects-title h2::after,
.contact .contact-title::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 3px;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  /* bottom: 0; */
  background-color: var(--text);
  border-radius: 2px;
}
[data-theme="dark"]
  .section-about
  .container
  .sections-flex
  .title-about
  h2::after {
  background-color: rgb(234, 172, 53);
}
[data-theme="dark"]
  .section-soft-skills
  .container
  .title-soft-skills
  h2::after {
  background-color: rgb(234, 172, 53);
}

[data-theme="dark"] .slider-projects .projects-title h2::after {
  background-color: rgb(234, 172, 53);
}
[data-theme="dark"] .contact .contact-title::after {
  background-color: rgb(234, 172, 53);
}
/*section SoftSkills*/
.section-soft-skills {
  /* background: linear-gradient(
    45deg,
    rgb(46, 45, 50) 0%,
    rgba(79, 75, 71, 1) 35%,
    rgb(91, 106, 109) 100%
  ); */
  box-shadow: #fbfbfb32 0px 0px 0px 1px;
  padding: 80px 0;
  padding-block: clamp(80px, 10vh, 140px);
}
.section-soft-skills .container {
  justify-content: center;
  flex-direction: column;
  /* padding: 10px 0; */
}
/* 
.section-soft-skills .container .title-soft-skills {
  padding: 40px 0;
} */

.section-soft-skills .container .sections-flex {
  width: 100%;
  justify-content: space-around;
  padding: 40px 0;
  gap: 2rem;
}
.section-soft-skills .container .sections-flex .soft-skills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  justify-items: center;
  max-height: 225px;
  overflow: hidden;
  padding: 20px 0;
  transition: max-height 0.5s ease-in-out;
}
.section-soft-skills .container .sections-flex .soft-skills.expanded-skills {
  transition: max-height 0.5s ease-in-out;
  max-height: 3000px;
}
.section-soft-skills .container .sections-flex .soft-skills .soft-skill {
  padding: 8px;
  border-radius: 16px;
  background: rgb(42, 67, 132);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.section-soft-skills
  .container
  .sections-flex
  .soft-skills
  .soft-skill
  .soft-skill-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  height: 180px;
  background: #ecf6fe;
  border-radius: 16px;
}
.section-soft-skills .container .sections-flex .soft-skills .soft-skill:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.47);
}
.section-soft-skills
  .container
  .sections-flex
  .soft-skills
  .soft-skill
  .skills-box-label,
.section-soft-skills
  .container
  .sections-flex
  .soft-skills-progress
  .soft-skill
  .skills-box-label {
  color: #142552;
  width: 80px;
  height: 80px;
  position: relative;
}
.section-soft-skills
  .container
  .sections-flex
  .soft-skills
  .soft-skill
  .skills-box-label
  svg,
.section-soft-skills
  .container
  .sections-flex
  .soft-skills-progress
  .soft-skill
  .skills-box-label
  svg {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.section-soft-skills
  .container
  .sections-flex
  .soft-skills
  .soft-skill
  .skills-box-label
  label,
.section-soft-skills
  .container
  .sections-flex
  .soft-skills-progress
  .soft-skill
  .skills-box-label
  label {
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.3s linear;
  color: #0f1e3a;
}
.section-soft-skills
  .container
  .sections-flex
  .soft-skills
  .soft-skill:hover
  .skills-box-label
  label,
.section-soft-skills
  .container
  .sections-flex
  .soft-skills-progress
  .soft-skill:hover
  .skills-box-label
  label {
  top: -5px;
  transition: 0.3s linear 0s;
  opacity: 1;
}
.section-soft-skills .container .sections-flex .soft-skills .subtitle-skills h3,
.section-soft-skills
  .container
  .sections-flex
  .soft-skills-progress
  .subtitle-skills
  h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--main-font-color);
}
.section-about,
.section-soft-skills,
.slider-projects {
  opacity: 0;
  transition: 0.5s;
  transform: translatey(-10rem);
}

.active {
  opacity: 1;
  transform: translatey(0);
}

.cards-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 30px;
  flex-wrap: wrap;
}

.card {
  width: 320px;
  background: #0d1b37; /* Azul escuro igual da imagem */
  padding: 25px;
  border-radius: 6px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .card {
  background: #ecf6fe; /* Cor clara para o tema claro */
  color: #142552;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.47);

  /* border-color: rgba(155, 81, 224, 0.2); */
}

.card-icon {
  width: 120px;
  display: block;
  margin: 0 auto 20px auto;
  opacity: 0.9;
}

[data-theme="dark"] .card-icon {
  filter: brightness(0) saturate(100%) invert(9%) sepia(20%) saturate(1100%)
    hue-rotate(189deg) brightness(96%) contrast(96%);
  fill: #142552;
}
.card h3 {
  margin: 10px 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.card-footer {
  margin-top: 25px;
}

.footer-icon {
  width: 35px;
  cursor: pointer;
  opacity: 0.9;
  transition: 0.3s;
}

.footer-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/*  fotter */

footer {
  background-color: #333;
  box-shadow: #fbfbfb32 0px 0px 0px 1px;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
footer .sections-flex {
  gap: 1rem;
  align-items: center;
}
footer .container .footer-autor h3 {
  margin-bottom: 1rem;
}

footer .container .contato a {
  font-size: 2rem;
  color: #fff;
}

/*  */
.modal-body .sections-flex img {
  max-width: 400px;
}

.contact {
  background: #93a6c8;
  padding: 80px 20px;
  text-align: center;
  color: #0f234a;
}
[data-theme="dark"] .contact {
  background: #142552;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.contact .container {
  flex-direction: column;
}

.contact-subtitle {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px !important;
}

/* GRID PRINCIPAL */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

/* CAIXAS */
.contact-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.whatsapp-btn {
  color: var(--main-font-color);
  font-weight: 600;
}
[data-theme="dark"] .whatsapp-btn {
  color: #142552;
}

/* BOTÃO WHATSAPP */
/* .whatsapp-btn {
  background: #eef6ff;
  color: #243c74;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
} */

/* ITENS DE CONTATO */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-weight: 600;
}

/* ÍCONES BASE */
.icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--text);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.icon.phone {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1V20a1 1 0 01-1 1C10.07 21 3 13.93 3 5a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.59a1 1 0 01-.25 1.01l-2.2 2.19z'/%3E%3C/svg%3E");
}
[data-theme="dark"] .icon.phone {
  background-image: url("data:image/svg+xml,%3Csvg fill='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1V20a1 1 0 01-1 1C10.07 21 3 13.93 3 5a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.59a1 1 0 01-.25 1.01l-2.2 2.19z'/%3E%3C/svg%3E");
}

.icon.mail {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
[data-theme="dark"] .icon.mail {
  background-image: url("data:image/svg+xml,%3Csvg fill='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* REDES */
.social-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--text);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
  transition: all 0.3s ease;
}
.social:hover,
.whatsapp-btn:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.social.linkedin {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.98 3.5C4.98 4.88 3.88 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1 4.98 2.12 4.98 3.5zM.5 8h4v12h-4zM8.5 8h3.8v1.7h.1c.5-.9 1.7-1.8 3.6-1.8 3.9 0 4.6 2.6 4.6 6v6.1h-4v-5.4c0-1.3 0-3-1.8-3s-2.1 1.4-2.1 2.9v5.5h-4z'/%3E%3C/svg%3E");
}
[data-theme="dark"] .social.linkedin {
  background-image: url("data:image/svg+xml,%3Csvg fill='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.98 3.5C4.98 4.88 3.88 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1 4.98 2.12 4.98 3.5zM.5 8h4v12h-4zM8.5 8h3.8v1.7h.1c.5-.9 1.7-1.8 3.6-1.8 3.9 0 4.6 2.6 4.6 6v6.1h-4v-5.4c0-1.3 0-3-1.8-3s-2.1 1.4-2.1 2.9v5.5h-4z'/%3E%3C/svg%3E");
}

.social.github {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .5C5.73.5.5 5.73.5 12c0 5.08 3.29 9.39 7.86 10.92.58.11.79-.25.79-.56v-2c-3.2.7-3.87-1.37-3.87-1.37-.53-1.33-1.29-1.68-1.29-1.68-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.03 1.77 2.7 1.26 3.36.96.1-.75.4-1.26.73-1.55-2.56-.29-5.25-1.28-5.25-5.7 0-1.26.45-2.29 1.19-3.1-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.18 1.18a11.1 11.1 0 015.8 0c2.21-1.49 3.18-1.18 3.18-1.18.63 1.58.23 2.75.11 3.04.74.81 1.19 1.84 1.19 3.1 0 4.43-2.69 5.41-5.26 5.7.41.35.77 1.03.77 2.08v3.08c0 .31.21.67.8.56A11.51 11.51 0 0023.5 12C23.5 5.73 18.27.5 12 .5z'/%3E%3C/svg%3E");
}
[data-theme="dark"] .social.github {
  background-image: url("data:image/svg+xml,%3Csvg fill='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .5C5.73.5.5 5.73.5 12c0 5.08 3.29 9.39 7.86 10.92.58.11.79-.25.79-.56v-2c-3.2.7-3.87-1.37-3.87-1.37-.53-1.33-1.29-1.68-1.29-1.68-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.03 1.77 2.7 1.26 3.36.96.1-.75.4-1.26.73-1.55-2.56-.29-5.25-1.28-5.25-5.7 0-1.26.45-2.29 1.19-3.1-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.18 1.18a11.1 11.1 0 015.8 0c2.21-1.49 3.18-1.18 3.18-1.18.63 1.58.23 2.75.11 3.04.74.81 1.19 1.84 1.19 3.1 0 4.43-2.69 5.41-5.26 5.7.41.35.77 1.03.77 2.08v3.08c0 .31.21.67.8.56A11.51 11.51 0 0023.5 12C23.5 5.73 18.27.5 12 .5z'/%3E%3C/svg%3E");
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--text);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}

[data-theme="dark"] .scroll-top i {
  color: #142552;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
}

.card-image {
  position: relative;
  display: inline-block; /* garante que o tamanho da imagem seja respeitado */
  overflow: hidden; /* evita que o dropdown “vaze” da imagem */
  border-radius: 8px; /* opcional, para suavizar cantos */
}

.dropdown {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  flex-direction: column; /* caso haja múltiplos itens */
  border-radius: 6px;
  padding: 0.5rem 0;
  z-index: 10;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.card-project:hover .dropdown,
.dropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-toggle::after {
  content: none;
}
/* Estilo dos links dentro do dropdown */
.dropdown a {
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.dropdown a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: rgb(42, 67, 132);
}

.badge-private {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 6px;
  /* background: #f1f3f5; */
  color: #d9e2f1;
}

[data-theme="dark"] .badge-private {
  color: #0f2450;
}

[data-theme="dark"] .skill-icon.especial path {
  fill: #142552;
}
.skill-icon.especial {
  fill: #142552;
}

@keyframes animateBorder {
  0% {
    transform: rotate(0deg);
  }
  0% {
    transform: rotate(360deg);
  }
}

@keyframes imgFlutuante {
  0% {
    top: 0;
    left: 0;
  }
  100% {
    top: 5px;
    left: 5px;
  }
}
