@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,700;1,400");
html {
  background-color: #f9f9f9;
}

body {
  color: #333333;
  margin: 0 auto;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-size: 1em;
  padding: 20px;
}
body * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
}

@media screen and (min-width: 30em) {
  body {
    padding: 20px 60px;
  }
}
@media screen and (min-width: 50em) {
  body {
    padding: 20px 40px;
  }
}
button {
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  background-color: #333333;
  color: white;
  border: 2px solid #333333;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: 500;
  transition-property: background-color, color, border, transform;
  transition-duration: 150ms;
}

button:active {
  transform: translateY(2px);
}

div.button-text-pair {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  margin-top: 10px;
}
div.button-text-pair span {
  margin-right: 20px;
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 20px;
}
div.button-text-pair button {
  margin-top: 20px;
}

div.col-container {
  margin: 100px 0;
}
div.col-container > div {
  margin: 50px 0;
}

div.col-container.single-centered > div {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
div.col-container.single-centered > div img.logo {
  margin-left: auto;
  margin-right: auto;
}

div.col-container.thirds > div {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
}

div.col-container.thirds.jobs-list > div {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
div.col-container.thirds.jobs-list > div > div {
  margin-bottom: 16px;
}

@media screen and (min-width: 50em) {
  div.col-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 100px 0;
  }
  div.col-container > div {
    width: 100%;
  }

  div.col-container.reverse {
    flex-direction: row-reverse;
  }

  div.col-container > div {
    width: calc(50% - 20px);
  }

  div.col-container.vertical-center > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  div.col-container.thirds {
    flex-wrap: wrap;
  }
  div.col-container.thirds > div {
    width: calc((100% - 40px) / 3);
  }

  div.col-container.thirds.jobs-list {
    justify-content: flex-start;
  }
  div.col-container.thirds.jobs-list > div {
    margin: 20px 0;
  }
  div.col-container.thirds.jobs-list > div:nth-of-type(3n+1), div.col-container.thirds.jobs-list > div:nth-of-type(3n+2) {
    margin-right: 20px;
  }
}
@media screen and (min-width: 80em) {
  div.col-container.halves > div {
    width: calc(50% - 30px);
  }
}
footer {
  width: 100vw;
  background-color: #f2f2f2;
  margin: 0 -20px -20px -20px;
  padding: 20px;
}
footer > div {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
footer > div > div {
  margin: 20px 0;
}
footer p {
  color: #a6a6a6;
  width: 100%;
}
footer p a {
  color: inherit;
  transition-duration: 150ms;
  transition-property: color;
  text-decoration: none;
}
footer p.with-icon {
  padding-left: 30px;
  position: relative;
}
footer p.with-icon::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
}
footer p.with-icon.location::before {
  background-image: url("../img/icons/icon_location.svg");
}
footer p.with-icon.email::before {
  background-image: url("../img/icons/icon_email.svg");
}
footer p.with-icon.phone::before {
  background-image: url("../img/icons/icon_phone.svg");
}

img.footer-logo {
  max-width: 100px;
}

@media screen and (min-width: 30em) {
  footer {
    margin: 0 -60px -20px -60px;
    padding: 20px 60px;
  }
}
@media screen and (min-width: 50em) {
  footer {
    margin: 0 -40px -20px -40px;
    padding: 40px;
  }
  footer > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  footer > div > div {
    width: calc((100% - 40px) / 3);
  }
}
div.dotted-border {
  margin-bottom: 60px;
  width: 100%;
  height: 20px;
  background-image: url("../img/line_mobile.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-clip: content-box;
}

img {
  display: block;
  max-width: 100%;
}

img.round-corners {
  border-radius: 15px;
}

img.logo {
  max-width: 70%;
  margin-bottom: 30px;
}

img.logo.small {
  max-width: 40%;
}

img.logo.large {
  max-width: 85%;
}

img.intro {
  margin-bottom: 50px;
}

div.logo-stack > div {
  width: 60%;
  height: 0;
  padding-bottom: 40%;
  border-radius: 15px;
  position: relative;
  background-color: #d9d9d9;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 0px 5px 30px 2px rgba(0, 0, 0, 0.05);
}
div.logo-stack > div a {
  display: block;
  width: 100%;
  height: 100%;
  background-color: yellow;
}
div.logo-stack > div:nth-of-type(1) {
  z-index: 2;
  margin-left: auto;
  margin-right: 0;
  background-image: url("../img/mh_bg-2.png");
}
div.logo-stack > div:nth-of-type(2) {
  z-index: 1;
  margin-left: 0;
  margin-right: auto;
  background-image: url("../img/saladelia_bg.png");
}
div.logo-stack > div:nth-of-type(3) {
  z-index: 0;
  margin-left: auto;
  margin-right: 0;
  background-image: url("../img/duke-cafe_bg.png");
}
div.logo-stack > div:nth-of-type(2), div.logo-stack div:nth-of-type(3) {
  margin-top: -20px;
}

@media screen and (min-width: 30em) {
  div.dotted-border {
    background-image: url("../img/line_tablet.svg");
  }

  img.logo {
    max-width: 50%;
  }

  img.logo.small {
    max-width: 30%;
  }

  img.logo.large {
    max-width: 60%;
  }

  div.logo-stack > div:nth-of-type(2), div.logo-stack div:nth-of-type(3) {
    margin-top: -40px;
  }
}
@media screen and (min-width: 50em) {
  div.dotted-border {
    background-image: url("../img/line_desktop.svg");
  }

  div.logo-stack > div:nth-of-type(1), div.logo-stack > div:nth-of-type(3) {
    margin-left: 0;
    margin-right: auto;
  }
  div.logo-stack > div:nth-of-type(2) {
    margin-left: auto;
    margin-right: 0;
  }
}
@media screen and (min-width: 80em) {
  div.logo-stack > div:nth-of-type(2), div.logo-stack div:nth-of-type(3) {
    margin-top: -60px;
  }
}
html.no-touch-device button:hover {
  background-color: white;
  color: #333333;
  border: 2px solid #333333;
}
html.no-touch-device footer p a:hover {
  color: gray;
}

section {
  max-width: 1200px;
  margin: 0 auto;
}

section#intro div.col-container {
  margin-top: 30px;
}

h2, h3, p {
  margin-bottom: 16px;
}

h1:last-child, h2:last-child, h3:last-child, p:last-child {
  margin-bottom: 0;
}

h1, h2, h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 3em;
  margin-bottom: 30px;
}

section > h1 {
  text-align: center;
  margin-bottom: 0;
  margin-top: 100px;
}

h2 {
  font-size: 2em;
}

p {
  line-height: 1.65;
  color: #4d4d4d;
}

p.image-caption {
  margin-top: 5px;
  font-size: 0.8em;
  color: #a6a6a6;
}

@media screen and (min-width: 50em) {
  section > h1 {
    font-size: 4em;
  }
}