@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap");
/* @import "~@fortawesome/fontawesome-free/scss/fontawesome"; */

:root {
  --primary-color: #8325fd;
  --secondary-color: #beffc5;
  --tertiary--color: #5c0fdd;
  --main-grey: #ededed;
}

* {
  padding: 0;
  margin: 0;
}

html {
  color-scheme: dark;
  background-color: #0f0f0f;
  scroll-behavior: smooth;
  scroll-padding: 2rem;
}

body {
  font-family: "Inter", monospace;
  font-size: 1.125rem;
  line-height: 1.6;
}

.header-content h1 {
  line-height: 1.4;
  margin-bottom: 3rem;
}

h2 {
  color: #d5b5ff;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
}

.header-content p {
  margin-bottom: 2rem;
}

main {
  width: min(95ch, 100% - 4rem);
  margin-inline: auto;
}

header,
section {
  margin-bottom: 3rem;
  min-height: 100vh;
  display: grid;
  align-items: center;
  scroll-snap-align: center;
}

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

.grid-container {
  display: grid;
  grid-template-columns: 30% 70%;
}

.side-nav {
  display: grid;
  place-content: center;
  position: sticky;
  top: 0;
  height: 100vh;
}

.side-nav > aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.nav-item {
  font-weight: bold;
  background-color: #1e1b1e;
  border-radius: 50rem;
  padding: 0.25rem 1rem;
  text-align: center;
  width: max-content;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.active-nav-item,
.nav-item:hover {
  background-color: #8325fd;
  transition: background-color 0.125s;
}

/* #about {
  display: grid;
  align-content: center;
  margin-top: 50%;
} */

.project-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.card-column {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card {
  border-radius: 1rem;
  padding: 2rem;
  color: black;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85)),
    url("./assets/caser-dark.png");
  background-size: cover;
  background-position: top;
  display: block;
  height: 400px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

.project-card__title {
  font-size: 3rem;
  font-weight: 500;
  color: #fff;
}

.project-card__tags {
  font-size: 0.9rem;
  font-weight: 500;
  color: #959595;
  margin: 0 0 1rem 0;
}

.project-card__tags > span {
  margin-right: 0.25rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.project-card__actions > a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.skills-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skills-item {
  background-color: var(--secondary-color);
  color: #16334d;
  width: max-content;
  border-radius: 50px;
  padding: 0.25rem 1rem;
  cursor: crosshair;
}

.resume-row {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 1rem;
}

.resume-date {
  flex: 1;
  color: #706c75;
  font-size: 0.95rem;
}

.resume-details {
  flex: 3;
}

.resume-stats {
  font-size: 0.95rem;
  color: #706c75;
}

.contact-list {
  list-style-type: none;
}
.contact-list a {
  color: var(--secondary-color);
  color: #fff;
}

@media (max-width: 600px) {
  .side-nav {
    display: none;
  }

  .grid-container {
    display: grid;
    grid-template-columns: 100%;
  }

  h3 {
    margin: 0 0 1rem 0;
  }

  .resume-row {
    flex-direction: column;
    margin: 0 0 1rem 0;
  }
}
