body {
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

header {
  border: 1px solid var(--bg-tertiary);
  height: 50px;
  width: 600px;
  display: flex;
  align-items: center;
  padding: 1rem;

  nav {
    width: 100%;
  }

  ul {
    display: flex;
    list-style: none;
    gap: 1rem;

    .language {
      margin-left: auto;
    }

    a {
      text-decoration: none;
      color: var(--text-secondary);
    }
  }
}

main {
  width: 600px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.hero {
  border: 1px solid var(--bg-tertiary);
  /* height: 200px; */
  padding: 1rem;
  width: 100%;
  display: grid;
  grid-template-areas:
    "img name name"
    "img job job"
    "img socials socials"
    "img buttons buttons";

  img {
    place-self: center;
    height: 150px;
    border-radius: 50%;
    grid-area: img;
  }

  .name {
    grid-area: name;
    align-self: flex-end;
  }

  .job {
    grid-area: job;
  }

  .socials {
    grid-area: socials;
    list-style: none;
    display: flex;
    gap: 1rem;

    a {
      color: var(--text-primary);
      text-decoration: none;
    }
  }

  .cta-buttons {
    grid-area: buttons;
    list-style: none;
    display: flex;
    gap: 1rem;

    button {
      background: none;
      border: none;
      font-size: 1rem;
      color: var(--text-primary);
      text-decoration: none;
    }
  }
}

.tech-stack {
  border: 1px solid var(--bg-tertiary);
  /* height: 300px; */
  width: 100%;
  display: grid;
  justify-content: center;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  padding: 1rem;

  div {
    width: 100px;
    height: 100px;
    border: 1px solid var(--bg-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 1rem;

    .logo {
      background-color: var(--bg-tertiary);
      width: 40px;
      height: 40px;
    }
  }
}

.education {
  border: 1px solid var(--bg-tertiary);
  height: 500px;
  width: 100%;
}

.projects {
  border: 1px solid var(--bg-tertiary);
  height: 600px;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
  gap: 1rem;

  .project {
    width: 250px;
    height: 250px;
    border: 1px solid var(--bg-tertiary);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .project-image {
      width: 100%;
      height: 50%;
      background-color: var(--bg-tertiary);
    }

    .technologies {
      display: flex;
      list-style: none;
      gap: 0.5rem;
      font-size: 0.8rem;
      
      .technology {
        background-color: var(--bg-tertiary);
        border-radius: 1rem;
        padding: .25rem;
      }
    }
  }
}

.fun {
  border: 1px solid var(--bg-tertiary);
  height: 200px;
  width: 100%;
}

footer {
  border: 1px solid var(--bg-tertiary);
  height: 50px;
  width: 600px;
}
