.intro-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--gap);
  min-height: 100vh;
  align-items: center;
}

.intro-text-content,
.intro-img {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
}

.intro-text-content {
  color: var(--white-color);
}

.intro-text-content h2 {
  font-size: 6rem;
  margin-bottom: 5rem;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--white-color);
}

.intro-text-content p {
  color: rgba(255, 255, 255, 0.85);
}

.intro-img {
  align-items: center;
}

.intro-img img,
.intro-img svg {
  max-width: 100%;
  height: auto;
}


.button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;

  box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;

  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  text-decoration: none;
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
  flex-shrink: 0;
}

.svgIcon path {
  fill: white;
}

.button-text {
  position: absolute;
  color: white;
  font-size: 13px;
  opacity: 0;
  white-space: nowrap;
  transition-duration: 0.3s;
  pointer-events: none;
}

@media (hover: hover) {
  .button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: rgb(43, 37, 63);
    align-items: center;
    gap: 8px;
  }

  .button:hover .svgIcon {
    transition-duration: 0.3s;
    transform: translateY(0);
  }

  .button:hover .button-text {
    opacity: 1;
    position: static;
  }
}


.footer {
  background: var(--bg-footer);
  color: var(--white-color);
  padding: 3rem 0;
  text-align: center;
  transition: background 0.4s ease;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-text {
  font-size: 1.4rem;
  opacity: 0.7;
}

.footer-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-icons a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}


@media (hover: hover) {
  .footer-icons a:hover {
    background: #ffffff;
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.45),
      0 0 0 3px rgba(255, 255, 255, 0.15);
    transform: translateY(-4px) scale(1.08);
  }

  .footer-icons a:hover .icon {
    transform: scale(1.15) rotate(-5deg);
  }
}


.footer-icons a:active {
  transform: translateY(-1px) scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition-duration: 0.1s;
}

.icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.footer-icons a:active .icon {
  transform: scale(0.95);
}


section[id],
footer[id] {
  scroll-margin-top: 65px;
  transition: background 0.4s ease, color 0.4s ease;
}



#skills {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.skills-content {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  box-sizing: border-box;

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 8rem 2rem 6rem;
  color: var(--text-primary);
}

.skills-content h2 {
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.skills-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  color: var(--text-secondary);
}


@media (min-width: 1200px) {
  .intro-text-content h2 {
    font-size: 6.5rem;
  }

  .main-content {
    padding: var(--gap) calc(var(--gap) * 1.5);
  }
}

@media (max-width: 1024px) {
  .intro-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .intro-text-content h2 {
    font-size: clamp(3.5rem, 5vw, 6rem);
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .intro-content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 6rem;
    text-align: center;
  }

  .intro-text-content {
    align-items: center;
  }

  .intro-text-content h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
  }

  .intro-text-content p {
    font-size: 1.6rem;
  }

  .intro-img {
    order: 1;
    margin-top: 6rem;
  }

  .button {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .footer-icons {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  #intro {
    scroll-margin-top: 10rem;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 3rem;
  }

  .skills-content {
    padding: 5rem 2rem 4rem;
  }

  .skills-content p {
    width: 100%;
    max-width: 100%;
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .main-content {
    padding: 2rem;
  }

  .intro-content {
    padding-top: 5rem;
    padding-bottom: 5rem;
    gap: 4rem;
    scroll-margin-top: 10rem;
  }

  .intro-text-content h2 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin-bottom: 1.5rem;
  }

  .intro-text-content p {
    font-size: 1.5rem;
  }

  .footer {
    padding: 2rem 0;
  }

  .footer-icons a {
    width: 40px;
    height: 40px;
  }

  .icon {
    width: 18px;
    height: 18px;
  }

  .button {
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
}


#gallery {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--white-color);
}

.gallery-content {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 8rem 2rem 6rem;
}

.gallery-header {
  text-align: center;
  width: 100%;
  max-width: 60rem;
  margin: 0 auto 4rem;
}

.gallery-header h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--white-color);
}

.gallery-header p {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.project-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-color);
}

@media (hover: hover) {
  .project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
  }
}

.project-card.destaque {
  grid-column: span 2;
  background: rgba(255, 255, 255, 0.09);
}

.project-card h3 {
  font-size: 1.8rem;
  color: var(--white-color);
}

.project-card p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.78);
}

.project-card ul {
  font-size: 1.3rem;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.project-card .tech {
  color: rgba(255, 255, 255, 0.55);
}

.status {
  color: #facc15;
  font-weight: 700;
}

.tech {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  display: inline-block;
  margin-top: 0.5rem;
}

.project-card.future {
  opacity: 0.55;
}

@media (max-width: 768px) {
  .project-card.destaque {
    grid-column: span 1;
  }

  .gallery-header p {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-content {
    padding: 5rem 2rem 4rem;
  }

  .project-card {
    padding: 1.5rem;
  }
}


#work {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.work-content {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  box-sizing: border-box;

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 8rem 2rem 6rem;
  color: var(--text-primary);
}

.work-content h2 {
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.work-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  color: var(--text-secondary);
}


.work-content a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.dark-theme .work-content a {
  color: #b4a0ff;
}

@media (hover: hover) {
  .work-content a:hover {
    transform: scale(1.15);
    text-decoration: none;
  }
}

.work-content a:active {
  transform: scale(0.95);
}

@media (max-width: 480px) {
  .work-content {
    padding: 5rem 2rem 4rem;
  }

  .work-content p {
    width: 100%;
    max-width: 100%;
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }
}