:root {
  --background-color: hsl(231, 35%, 12%);
  --text-color__base: hsl(175, 25%, 90%);
  --font__base: -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue;
  --accent-color: hsl(175, 85%, 80%);
  --accent-color__gold: hsl(41, 100%, 67%);
  --accent-color__red: hsl(5, 90%, 70%);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

html,
body {
  background: var(--background-color);
  color: var(--text-color__base);
  font-family: var(--font__base);
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
p,
span {
  max-width: 55em;
  color: var(--text-color__base);
}

a {
  text-decoration: none;
  color: var(--accent-color);
  border-bottom: 1px dashed var(--accent-color);
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
  letter-spacing: 1px;
}

h1 {
  font-size: 18px;
  line-height: 1.5;
}

h2 {
  font-size: 14px;
  font-weight: 500;
}

h3 {
  margin-bottom: 5px;
}

ul {
  padding-left: 15px;
}

ul li {
  margin-bottom: 10px;
}

.page-wrap {
  padding: 20px;
}

.tags {
  margin: 10px 0;
}

.tag {
  --color: hsl(200, 45%, 25%);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  background-color: var(--accent-color);
  color: var(--color);
  border: 1px solid var(--color);
  letter-spacing: 1px;
  display: inline-block;
}

.tag-red {
  --color: hsl(5, 60%, 25%);
  background-color: var(--accent-color__red);
  color: var(--color);
  border-color: var(--color);
}

.tag-green {
  --color: hsl(90, 30%, 35%);
  background-color: hsl(90, 50%, 75%);
  color: var(--color);
  border-color: var(--color);
}

.tag-dark-blue {
  --color: hsl(240, 100%, 30%);
  background-color: hsl(240, 50%, 75%);
  color: var(--color);
  border-color: var(--color);
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 25px;
}

header img {
  width: 150px;
  border-radius: 100%;
  border: 5px solid var(--accent-color__gold);
}

header nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
  text-align: center;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

header nav ul a {
  margin: 0 10px;
}

header nav ul li {
  margin: 0;
  font-size: 12px;
}

section {
  padding: 50px 0;
}

section#Hero {
  padding-bottom: 0px;
}

#resume-header {
  display: flex;
  align-items: center;
  border-bottom: none;
  column-gap: 4px;
}

#resume-header svg {
  width: 14px;
  height: 14px;
}

section#Resume h2.section-header {
  color: var(--accent-color);
}

section#Resume .job ul {
  margin-top: 30px;
  list-style: none;
}

section#Resume .job ul li {
  padding-left: 30px;
  position: relative;
}

section#Resume .job ul li::before {
  --size: 15px;
  content: "";
  width: var(--size);
  height: var(--size);
  position: absolute;
  background-image: url('../checkmark-2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  left: 0;
  top: 4px;
}

section#Resume .job ul p {
  margin: 0;
}

section#Resume .job:not(:last-child) {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 25px;
  margin-bottom: 45px;
}

section#Resume .tags .tag {
  margin: 2px;
}

footer {
  text-align: center;
}

#self-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media screen and (min-width: 769px) {
  .page-wrap {
    max-width: 960px;
    margin: 0 auto;
  }

  header {
    flex-direction: row;
    align-items: center;
  }

  header img {
    width: 100px;
    margin-right: 24px;
  }

  header nav {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  header nav .logo {
    margin: 0;
  }

  header nav ul li {
    font-size: 14px;
  }

  .title-line {
    font-size: 32px;
  }
}
