@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:opsz,wght@8..144,400&display=swap');

* {
  font-family: 'Roboto Serif', serif;
}

body {
  margin: 0;
  background-color: #fffaf0;
}

.container {
  position: relative;
  margin: 12vh 30vw 0;
  padding-left: 1.5rem;
}

.container::before {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 30vw;
  width: 1px;
  background: #000;
  content: '';
}

nav ul {
  padding: 0;
  list-style: none;
}

nav {
  margin-top: 4rem;
}

nav li {
  margin-bottom: 0.5rem;
}

nav a {
  display: flex;
  gap: 0.25rem;
  width: fit-content;
  color: #000;
  border-bottom: 1px solid #000;
  text-decoration: none;
}

nav a::after {
  content: '›';
}

main section {
  margin: 12rem 0;
}

main section h4 {
  text-decoration: underline;
}

main p {
  text-align: justify;
}

.experience-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.experience-heading h5,
.experience-heading p {
  margin: 0;
}

.experience-heading h5 {
  font-size: 1rem;
}

.experience-heading p {
  white-space: nowrap;
}

.company-link {
  color: inherit;
  text-decoration: underline;
}

.project-link {
  color: inherit;
  text-decoration: underline;
}

article ul {
  padding-left: 1.25rem;
}

article li {
  margin-bottom: 0.35rem;
  text-align: justify;
}

article + article {
  margin-top: 3rem;
}

#meus-projetos article > h5 {
  font-size: 1rem;
  margin: 0;
}

#meus-projetos article > h5 + p {
  margin-top: 0.25rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.contact-icon {
  display: inline-flex;
  width: 1.1rem;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 600px) {
  .container {
    margin: 0 1.5rem;
  }

  .container::before {
    left: 1.5rem;
  }

  .experience-heading {
    display: block;
  }

  .experience-heading p {
    margin-top: 0.25rem;
  }
}

h1 {
  margin-bottom: 0.1rem;
}

h4 {
  margin-top: 0.1rem;
}
