/* josh w coemau css reset: https://www.joshwcomeau.com/css/custom-css-reset/ */
/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

/* my styles below here */

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-container {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.main-container > h1 {
  text-align: center;
}

.view-count-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 1.17em;
  font-weight: bold;
}

.header {
  padding-bottom: 0.5rem;
}

.employment-container {
  padding-top: 8px;
}

.employment-container > ul {
  list-style: none;
  padding-left: 0px;
}

.employment-item-container {
  display: flex;
  flex-direction: column;
}

.employment-header {
  display: flex;
  justify-content: space-between;
}

.employment-header > p {
  font-weight: bold;
}

.job-detail-container {
  padding-left: 20px;
  list-style: disc;
}

.employment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.employment-list > li:last-child {
  padding-bottom: 8px;
}

.skills-container {
  padding-top: 8px;
}

.skills-list {
  list-style: none;
  padding-left: 20px;
  padding-bottom: 8px;
}
.skills-list b {
  width: 100px;
  display: inline-block;
}

.education-list-container {
  padding-bottom: 8px;
}

.education-list {
  padding-left: 20px;
}

.education-item {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.education-item > p:last-child {
  font-weight: bold;
}

/* media queries */
@media screen and (min-width: 600px) {
  .main-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

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

@media screen and (min-width: 900px) {
  .main-container {
    max-width: 860px;
  }
}

@media screen and (min-width: 1100px) {
  .main-container {
    max-width: 1000px;
  }
}

/* todo: add media queries to make employment item title and dates worked to stack on top of each other */
