body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
}

section:nth-child(even) {
  background-color: #f6f6f6;
}

.section-content, .narrow-section-content {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

.section-content > h1, .narrow-section-content > h1 {
  text-align: center;
}

.section-content > *, .narrow-section-content > * {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 30px;
  margin-right: 30px;
}

@media all and (min-width: 1000px) {
  .section-content {
    width: 1000px;
  }
}

@media all and (min-width: 1000px) {
  .narrow-section-content {
    width: 650px;
  }
}

hr {
  height: 1px;
  border: none;
  background-color: lightgray;
}

/* Accordion */
.accordion {
  background-color: #f6f6f6;
  cursor: pointer;
  transition: 0.4s;
  padding: 5px;
}

.active, .accordion:hover {
  background-color: lightgray;
}

.accordion:before {
  content: "▸";
}

.active:before {
  content: "▾";
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

@media only print {
  .panel {
    max-height: max-content;
  }
}

/* Intro section */
#intro {
  text-align: center;
}

#intro > .section-content > .profile-picture {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 5px;
  display: inline-block;
  box-shadow: 0px 0px 10px #d6d6d6;
}

#intro > .section-content > .profile-picture > img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

#intro > .section-content > .greeting {
  font-size: small;
}

#intro > .section-content > .name {
  font-size: xx-large;
}

#intro > .section-content > .role {
  font-size: x-large;
}

#intro > .section-content > .contact {
  font-size: x-large;
  padding: 5px;
}

#intro > .section-content > .contact > a {
  margin-left: 10px;
  margin-right: 10px;
  color: inherit;
  padding: 10px;
}

#intro > .section-content > .contact > a:hover {
  border: 1px solid #d6d6d6;
  border-radius: 50%;
}

/* Technologies section */
#technologies > .section-content > ul {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(1, 40%);
}

/* Work experience section */
#work-experience > .narrow-section-content > .job > .accordion > .job-title {
  display: inline;
}

#work-experience > .narrow-section-content > .job > .accordion > .job-title > .company {
  font-weight: 700;
}

#work-experience > .narrow-section-content > .job > .accordion > .job-duration {
  padding-left: 20px;
  font-size: small;
  color: gray;
}

#work-experience > .narrow-section-content > .job > .panel > .job-responsibilities {
  margin-top: 10px;
  padding-left: 10px;
  font-size: smaller;
}

#work-experience > .narrow-section-content > .job > .panel > .job-responsibilities > ul {
  padding-left: 15px;
}

/* Education section */
#education > .narrow-section-content > .education-title > .institution {
  font-weight: 700;
}

#education > .narrow-section-content > .education-duration {
  font-size: small;
  color: gray;
}
