:root {
  /* TEXT-COLOR */
  --black-0: #ffffff;
  --black-50: #f5f5f5;
  --black-100: #e0e0e0;
  --black-200: #bdbdbd;
  --black-300: #9e9e9e;
  --black-400: #757575;
  --black-500: #616161;
  --black-600: #424242;
  --black-700: #303030;
  --black-800: #212121;
  --black-900: #121212;
  --black-950: #0e0e0e;
  --black-1000: #000000;
  /* FONT-SIZE */
  --fs-xs: 1.2rem; /* 12px */
  --fs-sm: 1.4rem; /* 14px */
  --fs-md: 1.6rem; /* 16px base */
  --fs-lg: 1.8rem; /* 18px */
  --fs-xl: 2rem; /* 20px */
  --fs-2xl: 2.4rem; /* 24px */
  --fs-3xl: 3rem; /* 30px */
  --fs-4xl: 3.6rem; /* 36px */
  --fs-5xl: 4.8rem; /* 48px */
  --fs-6xl: 6.4rem; /* 64px */
  /* BACKGROUND */
  --bg-color: #faf8f6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
}

/* NAV BAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--fs-2xl) var(--fs-5xl);
}

.navbar img {
  width: 6.4rem;
  height: auto;
  transition: all 0.3s ease-in-out;
}
.navbar img:hover {
  transform: scale(1.1);
}
.navbar__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  list-style: none;
  font-size: var(--fs-xl);
  text-transform: uppercase;
}
.navbar__links a {
  text-decoration: none;
  color: var(--black-1000);
  position: relative;
  padding-bottom: 0.2rem;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 0.1rem;
  bottom: 0;
  left: 0;
  background-color: var(--black-1000);

  transform: scaleX(0);
  transform-origin: bottom right;
  transition: all 0.3s ease-in-out;
}
.navbar__links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
/* HERO */

.hero {
  padding: var(--fs-2xl) var(--fs-5xl);
  gap: var(--fs-xl);
  margin-top: 15rem;
  display: flex;
  align-items: center;
}

.hero__text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1.8rem;
}
.hero h1 {
  font-size: var(--fs-xl);
}
.hero__subtitle {
  font-size: var(--fs-5xl);
  max-width: 66%;
}

.hero__meta {
  font-size: var(--fs-xl);
  color: var(--black-400);
}

/* PROJECTS */

.projects {
  display: grid;
  grid-template-rows: 1fr;
  gap: 2rem;
  padding: var(--fs-2xl) var(--fs-5xl);
  grid-auto-flow: dense;
  margin-top: 15rem;
}
.row {
  display: grid;
  gap: var(--fs-xl);
}
.row-70-30 {
  grid-template-columns: 7fr 3fr;
}
/* .row-30-70 {
  grid-template-columns: 3fr 7fr;
} */

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--fs-xs);
  transition: all 0.3s ease-in-out;
}

.project img:hover {
  filter: brightness(0.9);
}

/* EXPERIENCE */
.experience {
  display: flex;
  flex-direction: column;
  padding: var(--fs-2xl) var(--fs-5xl);
  gap: var(--fs-4xl);
  margin-top: 15rem;
}
.experience h3 {
  font-size: var(--fs-2xl);
  text-transform: capitalize;
}
.experience p {
  font-size: var(--fs-lg);
  max-width: 60%;
  line-height: 1.6;
}
.experience__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.4rem;
  margin-top: 10rem;
}

.experience__card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.experience__company {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.experience__role {
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.experience__date {
  font-size: var(--fs-xs);
  opacity: 0.6;
}

/* FOOTER */

.footer {
  padding: 4.8rem 2.4rem;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.footer__logo {
  height: 28px;
}

.footer__socials {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.footer__socials a {
  font-size: 0.9rem;
  color: #777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__socials a:hover {
  color: #000;
}
