﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background-color: var(--color-bg);
  background-image: radial-gradient(
    circle at top,
    var(--color-bg-top) 0%,
    var(--color-bg-mid) 45%,
    var(--color-bg-bottom) 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-anchor: none;
}

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

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

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

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.section {
  padding: var(--space-6) 0;
}

.section--hero {
  padding: 0;
}

.section--hero .container {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.section--hero .panel {
  width: 100%;
}

.section-title {
  font-size: var(--fs-700);
  margin-bottom: var(--space-4);
}

.section-lead {
  color: var(--color-muted);
  max-width: 60ch;
  font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.3rem);
}

main {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-5) 0;
  color: var(--color-muted);
  font-size: var(--fs-300);
}

.site-footer .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-cv {
  margin: 0;
}

.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-social {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: var(--color-nav-dot);
  transform: translateY(-1px);
}

.theme-ready body,
.theme-ready .panel,
.theme-ready .card,
.theme-ready .project-card,
.theme-ready .education-card,
.theme-ready .skill-tile,
.theme-ready .contact-card,
.theme-ready .contact-icon,
.theme-ready .site-footer,
.theme-ready .chart-frame,
.theme-ready .side-nav__dot,
.theme-ready .side-nav__indicator,
.theme-ready .side-nav__item::after {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}


@media (max-width: 768px) {

  .container {
  width: 95%;
}

.project-page{
  width: 100% !important;
}

.site-footer .container {
  align-items: flex-start;
}

.footer-actions {
  width: 100%;
  justify-content: flex-end;
}

}

@media (min-width: 1200px) {
  html {
    font-size: 108%;
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 112.5%;
  }
}
