body {
  display: flex;
  justify-content: center;
  background-color: #d4d4d4;
  margin: 0;
  font-size: 12px;
  }

.resume-container {
  background-color: white;
  width: 800px;
  padding: 16px 24px;
  box-shadow: 1px 1px 5px black;

  @media (max-width: 1024px) {
    width: 100%;
  }

  @media (max-width: 600px) {
    padding: 16px 12px;
  }
}

h1 {
  font-size: 20px;
  margin: 0;
}

h2 {
  font-size: 16px;
  border-bottom: 1px solid black;
}

h3 {
  font-size: 14px;
  margin: 0;
}

.contact-section {
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: row;
  column-gap: 24px;
  justify-content: center;

  @media (max-width: 400px) {
    flex-direction: column;
    row-gap: 4px;
  }
}

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 8px;
  column-gap: 8px;
  justify-content: space-evenly;
  margin-top: 0;
  padding-left: 0;

  @media (max-width: 600px) {
    justify-content: flex-start;
  }
}

.job-heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;

  @media (max-width: 600px) {
    flex-direction: column;

    p {
      margin: 0;
    }
  }
}

.job-company {
  margin: 0;
}

.experience-list {
  list-style: none;
  padding-left: 0;

  @media (max-width: 600px) {
    .job-list:not(:first-child) {
      margin-top: 16px;
    }
  }
}

@media print {
  .resume-container {
    display: block;
    box-shadow: unset;
  }
}