:root {
  --bg-color: #FBEBD9;
  --primary: #0D2167;
  --secondary: #FFCB00;
  --grey: #8D8686;
  --white: #fff;
}

/* Setup */
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--primary);
  font-family: "Judson" ,"Times New Roman", Times, serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Mono", monospace;
}

h1 {
  font-family: "Roboto Mono", monospace;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 42px;
  text-transform: uppercase;
}

h2 {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 42px;
  text-transform: uppercase;
}

/* Header */
header {
  padding: 24px;
  position: sticky;
  top: 0;
}
header.contrasted {
  color: var(--white);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-title {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-title a {
  text-decoration: none;
}

.nav-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}
@media (max-width: 600px) {
  .nav-menu {
    display: none;
  }
}

.nav-menu li:after {
  content: "|";
  padding: 0 24px;
}
.nav-menu li:last-child:after {
  content: "";
  padding: 0;
}
.nav-menu li a {
  text-decoration: none;
}

#about {
  display: flex;
  flex-wrap: wrap;
  padding: 20vh 2rem;
  gap: 5rem;
  justify-content: center;
  align-items: center;
}

#about > div.text {
  max-width: 500px;
}

#experience {
  background-color: var(--primary);
  color: var(--white);
  height: 100vh;
}

#skills {
  padding: 20vh 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#skills > div.text {
  /* max-width: 50vw; */
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.skills-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 8px;
}
.skills-list > li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
@media (min-width: 600px) {
  #skills {
    padding: 20vh 2rem;
    flex-direction: row;
  }
  #skills > h2 {
    transform: rotate(-90deg);
  }
  #skills > div.text {
    max-width: 50vw;
  }
  .skills-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

section {
  /* margin: 0 250px; */
}

h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
  color: #555;
}

footer {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}

footer > .contact {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 4px;
}

footer > p {
  color: var(--white);
}