.resume-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 48rem;
}

.resume-container section:not(:last-child) {
  margin-bottom: 0;
}

.resume-download-header {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: -2rem;
}

.resume-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resume-section > h2 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  border-bottom: 1px solid black;
}

.resume-entry {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1rem;
}

.resume-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.resume-entry-header h3 {
  margin: 0;
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
}

.resume-entry-header a {
  text-decoration: underline;
  font-style: italic;
  font-weight: var(--weight-light);
}

.resume-entry ul {
  list-style: initial;
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.resume-entry li {
  font-size: var(--text-sm);
}

.resume-project-links {
  display: flex;
  gap: 0.75rem;
  font-size: var(--text-sm);
  text-decoration: underline;
  font-style: italic;
}

.resume-download-dropdown {
  display: none;
}

.resume-download-dropdown.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 4px);
  border: 1px solid black;
  border-radius: 4px;
  background: white;
}

.resume-download-dropdown a {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  text-align: center;
}

.resume-download-dropdown a:not(:last-child) {
  border-bottom: 1px solid #e5e5e5;
}

.resume-download-dropdown a:hover {
  color: green;
}

@media (max-width: 1024px) {
  .resume-entry-header {
    flex-direction: column;
  }
}
