/* Typography imported from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&family=Staatliches&display=swap");

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Rubik", sans-serif;
  padding: 1rem;
}
.nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid black;
  justify-content: space-around;
}

.navigation {
  width: 50%;
  display: flex;
  background: pink;
}

.nav-link {
  padding: 1rem;
}

.resume-header h1 {
  font-size: 72px;
  font-style: italic;
  margin-bottom: 20px;
}
.resume-header {
  background: #ce8cf6;
  padding: 5rem;
}
.resume-subheader {
  display: flex;
  width: 100%;
  flex-direction: column;
  background: hotpink;
  justify-content: space-between;
  padding: 2rem;
}
.contact {
  width: 50%;
  background: orangered;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.subhead {
  font-size: 2vw;
  color: purple;
  line-height: 1;
  margin-bottom: 1rem;
  flex: 1;
  background: yellowgreen;
}

.S1 {
  display: flex;
  background: antiquewhite;
  padding: 1rem;
  flex-direction: row;
}
.names {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  font-size: 24px;
  background: lemonchiffon;
}

.company {
  margin-bottom: 1rem;
}
.details {
  font-size: 1rem;
  color: #53058a;
  padding: 2rem;
}

.dates {
  text-transform: uppercase;
}

.info {
  flex-direction: column;
  flex: 1;
}
.job-duties {
  padding-left: 30px;
}

.job-duty-item {
  font-size: 18px;
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  width: 100%;
  background: lemonchiffon;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
}
.topic {
  width: 100%;
  border: 2px solid orange;
  background-color: #e8d1ffe7;
  padding: 2rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.card-number {
  display: block;
  font-size: 5rem;
  color: white;
  margin-bottom: 1rem;
}
pre {
  font-family: monospace;
  /*font-size: 0.2rem;*/
  color: #280058;
}
.center {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .card-container {
    flex-direction: row;
  }
  .topic {
    width: 46%;
    background: blue;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .topic {
    width: 23%;
    background: hotpink;
  }
  .nav {
    flex-direction: row;
  }

  .names {
    flex-direction: row;
    background: pink;
  }

  .company {
    margin-bottom: 0;
  }
  .resume-subheader {
    flex-direction: row;
  }
  .S1 {
    padding: 5rem;
  }
}
