/* =========================================================
   ELYAS EMANUEL PORTFOLIO
   CSS organizado por: base, layout, componentes, páginas,
   animações e responsivo.
========================================================= */


/* =========================================================
   01. VARIÁVEIS E RESET
========================================================= */

:root {
  --bg: #020c28;
  --text: #f4f1ea;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --muted-strong: rgba(255, 255, 255, 0.72);
  --line: rgba(244, 241, 234, 0.12);
  --accent: #ffdd00;
  --nav: #2d354d;
  --nav-hover: rgba(45, 53, 77, 0.42);
  --dark-text: #020817;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-card: 20px;

  --max: 1180px;
  --left-column: 360px;
  --layout-gap: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
}


/* =========================================================
   02. NAVBAR
========================================================= */

.icon-nav {
  position: relative;
  z-index: 10;

  width: fit-content;
  height: 46px;
  margin: 28px auto 54px;
  padding: 0 14px;

  display: flex;
  align-items: center;

  background: var(--nav);
  border-radius: var(--radius-sm);
}

.icon-nav a {
  position: relative;

  width: 56px;
  height: 28px;

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

  color: var(--white);
}

.icon-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;

  width: 1px;
  height: 20px;

  background: rgba(255, 255, 255, 0.35);
}

.icon-nav svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-nav a:hover svg {
  transform: translateY(-2px);
  opacity: 0.85;
}

.icon-nav a::before {
  content: attr(data-label);

  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);

  padding: 5px 12px;

  color: var(--white);
  background: var(--nav);
  border-radius: 9px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon-nav a:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* =========================================================
   03. LAYOUT PRINCIPAL
========================================================= */

.main-layout {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: var(--left-column) 1fr;
  gap: var(--layout-gap);
  align-items: start;
}

.profile-column {
  position: sticky;
  top: 28px;
  align-self: start;
  min-height: calc(100vh - 28px);
}

.content-column {
  min-width: 0;
}

.content-column .section {
  width: 100%;
  padding-bottom: 72px;
}


/* =========================================================
   04. CARD AMARELO / PERFIL
========================================================= */

.profile-card {
  width: 100%;
  max-width: var(--left-column);
  padding: 42px 34px 36px;

  color: var(--dark-text);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-card);
  box-shadow: none;
  text-align: center;
}

.avatar-wrap {
  width: 100%;
  max-width: 255px;
  margin: 0 auto 28px;

  overflow: hidden;
  aspect-ratio: 1 / 1;

  background: #111;
  border-radius: var(--radius-md);
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card h1 {
  margin: 0 0 24px;

  color: var(--dark-text);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.profile-card p {
  max-width: 300px;
  margin: 0 auto 30px;

  color: #3d4150;
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: var(--dark-text);
  font-size: 16px;
  font-weight: 500;
}

.instagram-link svg {
  width: 20px;
  height: 20px;

  stroke: currentColor;
  stroke-width: 2;
}


/* =========================================================
   05. HOME / HERO
========================================================= */

.hero {
  min-height: 480px;
  display: flex;
  align-items: flex-start;
  padding: 0;
}

.hero.section {
  padding-top: 0;
  padding-bottom: 0;
}

.hero-copy {
  width: 100%;
  padding-top: 0;
}

.hero-copy .eyebrow,
.hero-copy h2 {
  margin: 0;

  font-size: clamp(72px, 5vw, 118px);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: var(--white);
}

.hero-copy h2 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.12);
}

.intro {
  max-width: 560px;
  margin: 0 0 74px;

  color: var(--white);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.stats-grid {
  display: flex;
  align-items: flex-start;
  gap: 58px;
}

.stats-grid article {
  min-height: auto;
  padding: 0;

  display: block;

  background: transparent;
  border: none;
  border-radius: 0;
}

.stats-grid strong {
  display: block;

  color: var(--white);
  font-size: 58px;
  line-height: 0.85;
  font-weight: 600;
}

.stats-grid span {
  display: block;
  margin-top: 18px;

  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}


/* =========================================================
   06. TÍTULOS E BOTÕES COMPARTILHADOS
========================================================= */

.section-title {
  margin-bottom: 54px;
}

.section-title h2 {
  margin: 0;

  text-transform: uppercase;
  line-height: 1;
}

.section-title h2 span,
.section-title h2 strong {
  display: block;

  font-size: clamp(72px, 5vw, 118px);
  font-weight: 600;
}

.section-title h2 span {
  color: var(--white);
}

.section-title h2 strong {
  color: rgba(255, 255, 255, 0.12);
}

.full-button {
  width: 100%;
  height: 46px;
  margin-top: 34px;

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

  color: var(--white);
  background: var(--nav);
  border-radius: var(--radius-sm);

  font-size: 16px;
  font-weight: 800;

  transition: transform 0.2s ease, opacity 0.2s ease;
}

.full-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}


/* =========================================================
   07. LISTAS COMPARTILHADAS / HOVER / SETAS
========================================================= */

.project-row,
.career-row,
.software-item,
.extra-row {
  position: relative;

  border-radius: var(--radius-lg);

  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    padding 0.25s ease;
}

.project-row,
.extra-row {
  margin-left: -18px;
  margin-right: -18px;
  padding: 14px 18px;
}

.career-row {
  margin-left: -22px;
  margin-right: -22px;
  padding: 24px 22px;
}

.software-item {
  margin-left: -14px;
  margin-right: -14px;
  padding: 12px 14px;
}

.project-row:hover,
.career-row:hover,
.software-item:hover,
.extra-row:hover {
  background: var(--nav-hover);
}

.row-arrow {
  justify-self: end;
  align-self: start;

  width: 28px;
  height: 28px;

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

  color: var(--accent);

  transition: transform 0.25s ease;
}

.row-arrow svg {
  width: 22px;
  height: 22px;

  stroke: currentColor;
  stroke-width: 2;
}

.project-row:hover .row-arrow,
.career-row:hover .row-arrow,
.extra-row:hover .row-arrow {
  transform: translate(5px, -5px);
}


/* =========================================================
   08. HOME / PROJETOS
========================================================= */

.portfolio-section {
  padding-top: 120px;
}

.project-list {
  display: grid;
  gap: 25px;
}

.project-row {
  display: grid;
  grid-template-columns: 180px 1fr 32px;
  align-items: center;
  gap: 28px;

  color: var(--white);
}

.project-row img {
  width: 180px;
  height: 126px;

  object-fit: cover;
  border-radius: var(--radius-sm);
}

.project-row h3 {
  margin: 0 0 8px;

  color: var(--white);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.project-row p {
  margin: 0;

  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
}


/* =========================================================
   09. HOME / CARREIRA
========================================================= */

.career-section {
  padding-top: 120px;
}

.career-list {
  display: grid;
  gap: 40px;
}

.career-row {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 28px;
}

.career-row h3 {
  margin: 0 0 16px;

  color: var(--white);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}

.career-row h4 {
  margin: 0 0 22px;

  color: var(--accent);
  font-size: 19px;
  line-height: 1.1;
  font-weight: 500;
}

.career-row p {
  max-width: 560px;
  margin: 0 0 24px;

  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
}

.career-row time {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}


/* =========================================================
   10. HOME / HABILIDADES
========================================================= */

.skills-section {
  padding-top: 120px;
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 74px;
  row-gap: 10px;
}

.software-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 22px;
}

.software-item img {
  width: 68px;
  height: 68px;

  object-fit: cover;
  background: var(--white);
  border-radius: 10px;
}

.software-item h3 {
  margin: 0 0 8px;

  color: var(--white);
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
}

.software-item p {
  margin: 0;

  color: var(--muted);
  font-size: 17px;
}


/* =========================================================
   11. HOME / EXPERIÊNCIAS EXTRAS
========================================================= */

.extras-section {
  padding-top: 120px;
}

.extra-list {
  display: grid;
  gap: 40px;
}

.extra-row {
  display: grid;
  grid-template-columns: 180px 1fr 32px;
  gap: 28px;
  align-items: start;
}

.extra-row img {
  width: 180px;
  height: 126px;

  object-fit: cover;
  border-radius: var(--radius-sm);
}

.extra-row h3 {
  max-width: 520px;
  margin: 0 0 20px;

  color: var(--white);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 500;
}

.extra-row p {
  max-width: 530px;
  margin: 0 0 20px;

  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
}

.extra-row time {
  color: var(--muted);
  font-size: 18px;
}


/* =========================================================
   12. FORMULÁRIO / CONTATO
========================================================= */

.contact-section {
  min-height: calc(100vh - 28px);
  padding-top: 0;
  padding-bottom: 120px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-section .section-title {
  margin-top: 0;
}

.contact-form {
  width: 100%;
  margin-bottom: 120px;

  display: grid;
  gap: 22px;

  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 10px;

  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;

  color: var(--white);
  background: var(--nav);
  border: none;
  border-radius: var(--radius-sm);
  outline: none;

  font: inherit;
  font-size: 16px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(255, 221, 0, 0.75);
}

.contact-form button {
  width: 100%;
  height: 48px;

  color: var(--dark-text);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);

  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}


/* =========================================================
   13. PÁGINA /HABILIDADES
========================================================= */

.skills-page-section,
.content-column > .skills-section:first-child,
.content-column > .section:first-child {
  padding-top: 0;
}

.skills-page-section .section-title {
  margin-top: 0;
  margin-bottom: 42px;
}

.skills-page-grid {
  column-gap: 56px;
  row-gap: 26px;
}

.skills-page-grid .software-item {
  grid-template-columns: 58px 1fr;
  gap: 16px;

  min-height: 72px;
  padding: 10px 14px;
  margin-left: -14px;
  margin-right: -14px;
}

.skills-page-grid .software-item img {
  width: 58px;
  height: 58px;
  border-radius: 9px;
}

.skills-page-grid .software-item h3 {
  margin-bottom: 5px;
  font-size: 19px;
}

.skills-page-grid .software-item p {
  font-size: 13px;
}

.skills-section + .contact-section {
  padding-top: 0;
}


/* =========================================================
   14. PÁGINA /PROJETOS
========================================================= */

.projects-page-section {
  padding-top: 0;
}

.projects-page-section .section-title {
  margin-bottom: 42px;
}

.projects-page-section .section-title h2 span,
.projects-page-section .section-title h2 strong {
  font-size: clamp(72px, 5vw, 108px);
}

.projects-page-list {
  display: grid;
  gap: 10px;
}

.project-page-row {
  grid-template-columns: 140px 1fr 28px;
  gap: 24px;

  min-height: 120px;
  padding: 14px 18px;
  margin-left: -18px;
  margin-right: -18px;

  border-radius: 16px;
}

.project-page-row img {
  width: 180px;
  height: auto;

  object-fit: cover;
  border-radius: var(--radius-md);
}

.project-page-row h3 {
  margin: 0 0 7px;

  font-size: 30px;
  line-height: 1.05;
  font-weight: 600;
}

.project-page-row p {
  font-size: 16px;
  line-height: 1.2;
}

.project-page-row .row-arrow {
  width: 24px;
  height: 24px;
}

.project-page-row .row-arrow svg {
  width: 18px;
  height: 18px;
}

.projects-page-section + .contact-section {
  padding-top: 0;
}


/* =========================================================
   15. PÁGINAS INTERNAS DE PROJETOS
========================================================= */

.project-detail {
  width: 100%;
  padding-top: 0;
  padding-bottom: 90px;
}

.project-detail-header {
  margin-bottom: 28px;
}

.project-detail-header h1 {
  margin: 0 0 8px;

  color: var(--accent);
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 0.95;
  font-weight: 800;
  text-transform: uppercase;
}

.project-detail-header p {
  max-width: 620px;
  margin: 0;

  color: var(--white);
  font-size: 16px;
  line-height: 1.35;
}

.project-meta {
  display: grid;
  grid-template-columns: 0.3fr 1fr auto;
  gap: 28px;
  align-items: start;

  margin-bottom: 34px;
  padding-bottom: 20px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-logo-area,
.project-softwares {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.project-logo-area {
  justify-self: start;
}

.project-softwares {
  justify-self: center;
  text-align: left;
}

.project-logo-area span,
.project-softwares span {
  display: block;
  height: 14px;
  margin: 0;

  color: var(--muted);
  font-size: 15px;
  line-height: 14px;
}

.project-logo-area img {
  width: 110px;
  height: auto;
  object-fit: contain;
}

.project-software-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-software-icons img {
  width: 36px;
  height: auto;

  object-fit: cover;
  background: var(--white);
  border-radius: 6px;
}

.project-access-button {
  height: 40px;
  margin-top: 18px;
  padding: 0 16px;

  justify-self: end;
  align-self: start;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: var(--dark-text);
  background: var(--accent);
  border-radius: var(--radius-sm);

  font-size: 13px;
  font-weight: 800;
}

.project-access-button svg {
  width: 16px;
  height: 16px;
}

.project-hero-image,
.project-wide-image {
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0 0 58px;

  display: block;

  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

.project-hero-image img{
  border-radius: 16px;
}

.project-video-featured {
  width: 100%;
  margin: 0 0 58px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.project-video-element {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  object-fit: contain;
  background: #000;
}

.project-gif-video {
  width: 100%;
  margin: 0 0 58px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.project-gif-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.project-content-block {
  width: 100%;
  margin-bottom: 54px;
}

.project-content-block h2 {
  margin: 0 0 18px;

  color: var(--white);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.project-content-block p,
.project-content-block li {
  max-width: 100%;

  color: var(--white);
  font-size: 16px;
  line-height: 1.42;
}

.project-content-block p {
  margin: 0 0 14px;
}

.project-content-block ul {
  max-width: 100%;
  margin: 0;
  padding-left: 18px;
}

.project-content-block.text-narrow p,
.project-content-block.text-narrow ul {
  max-width: 720px;
}

.project-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;

  width: 100%;
  margin: 0 0 58px;
}

.project-image-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;

  object-fit: cover;
  border-radius: 12px;
}

.project-image-grid.two-columns img {
  height: auto;
  aspect-ratio: 1 / 1;
}

.project-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 58px;

  overflow: hidden;

  background: var(--nav);
  border-radius: var(--radius-sm);
}

.project-video iframe,
.project-video video {
  width: 100%;
  height: 100%;

  display: block;
  border: 0;
}

.project-detail + .contact-section {
  padding-top: 70px;
}


/* =========================================================
   16. FOOTER
========================================================= */

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;

  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 42px;
  height: 42px;

  object-fit: cover;
  border-radius: 50%;
}

.footer-grid nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-grid a:hover {
  color: var(--text);
}


/* =========================================================
   17. ANIMAÇÕES
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hidden-until-scroll {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(8px);
  pointer-events: none;

  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease;
}

.hidden-until-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}


/* =========================================================
   18. CLASSES ANTIGAS / COMPATIBILIDADE
   Mantidas sem estilo para não quebrar HTML antigo.
========================================================= */

.section-head,
.project-grid,
.career-layout,
.timeline,
.skills-grid,
.extras-grid,
.contact-grid,
.ghost-link {
  /* Não usar nas novas seções */
}


/* =========================================================
   19. RESPONSIVO
========================================================= */

@media (max-width: 900px) {
  .icon-nav {
    width: fit-content;
    height: 50px;
    margin: 20px auto 40px;
    padding: 0 10px;
  }

  .icon-nav a {
    width: 54px;
  }

  .icon-nav svg {
    width: 21px;
    height: 21px;

    stroke: currentColor;
    stroke-width: 2;
  }

  .icon-nav a::before {
    font-size: 12px;
  }

  .main-layout {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-column {
    position: static;
    min-height: auto;
  }

  .profile-card {
    max-width: 100%;
    padding: 48px 32px 40px;
  }

  .avatar-wrap {
    max-width: 260px;
  }

  .profile-card h1 {
    font-size: 34px;
  }

  .profile-card p {
    font-size: 19px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-copy .eyebrow,
  .hero-copy h2 {
    font-size: clamp(58px, 18vw, 96px);
  }

  .stats-grid {
    gap: 30px;
    flex-wrap: wrap;
  }

  .section-title h2 span,
  .section-title h2 strong {
    font-size: clamp(54px, 14vw, 82px);
  }

  .project-row,
  .extra-row {
    grid-template-columns: 120px 1fr 24px;
    gap: 18px;
  }

  .project-row img,
  .extra-row img {
    width: 120px;
    height: 86px;
  }

  .project-row h3,
  .career-row h3,
  .extra-row h3 {
    font-size: 26px;
  }

  .career-row p,
  .extra-row p {
    font-size: 16px;
  }

  .software-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .software-grid {
    row-gap: 30px;
  }

  .contact-section {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .contact-form {
    margin-bottom: 60px;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .project-logo-area,
  .project-softwares,
  .project-access-button {
    justify-self: start;
  }

  .project-softwares {
    text-align: left;
  }

  .project-access-button {
    width: fit-content;
  }

  .project-image-grid {
    grid-template-columns: 1fr;
  }

  .project-image-grid img,
  .project-image-grid.two-columns img {
    height: auto;
  }

  .project-content-block p,
  .project-content-block li {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .icon-nav {
    width: calc(100% - 32px);
    justify-content: space-between;
  }

  .icon-nav a {
    flex: 1;
    width: auto;
  }

  .profile-card {
    padding: 34px 24px 32px;
    border-radius: var(--radius-card);
  }

  .hero-copy .eyebrow,
  .hero-copy h2 {
    font-size: clamp(54px, 19vw, 82px);
  }

  .intro {
    font-size: 16px;
  }

  .stats-grid {
    flex-direction: column;
  }

  .project-row,
  .extra-row {
    grid-template-columns: 1fr 24px;
  }

  .project-row img,
  .extra-row img {
    grid-column: 1 / -1;
    width: 100%;
    height: 180px;
  }

  .software-item,
  .skills-page-grid .software-item {
    grid-template-columns: 58px 1fr;
  }

  .software-item img,
  .skills-page-grid .software-item img {
    width: 58px;
    height: 58px;
  }

  .software-item h3 {
    font-size: 23px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
  }
}
