/* BEGIN RESET */

html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

@media screen {
  a,
  a:visited {
    text-decoration: underline;
    color: #268bd2;
  }
}

@media print {
  a,
  a:visited {
    text-decoration: underline;
    color: #073642;
  }
}

/* END RESET */

html,
body {
  color: #073642;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  /* height: 100%; */
  background-color: #d4d4d7;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

h1,
h2,
h3 {
  font-family: "Roboto Slab", serif;
  font-weight: bold;
}

h1,
h2 {
  margin-bottom: 0.25em;
  /*display: flex;
  align-items: center;*/
  gap: 0.25em;
}

i {
  font-size: 0.8em;
}

#main {
  background-color: #ffffff;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  padding: 2em;
  width: 21cm;
  height: 29.7cm;
}

@media screen {
  #main {
    margin: auto;
    margin-top: 5em;
    margin-bottom: 5em;
  }
}

#top {
  display: flex;
  gap: 1.25em;
  /*height: 12em;*/
}

#facts {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 14px;
}

#mid {
  flex-grow: 1;
}

section {
  border: 2px solid #073642;
  border-radius: 0.25em;
  /* box-shadow: 2px 2px 6px #586e75; */
  padding: 0.75em;
  flex-grow: 1;
}

#pp {
  border: 2px solid #073642;
  border-radius: 0.25em;
  /* box-shadow: 2px 2px 6px #586e75; */
  height: 10em;
}

#title {
  color: #268bd2;
  font-family: "Roboto Slab", serif;
  font-variant: small-caps;
  /*font-size: xx-large;*/
  /*height: 100%;*/
  /*display: inline-flex;*/
  /*align-items: center;*/
}

/* ---------------------------------- */

#summary {
  font-style: italic;
}

#experiences {
  font-size: 14px;
  background-color: #e1d099;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

#experiences h3 a {
  font-size: 0.75em;
}

#experiences main ul {
  font-size: 0.9em;
  margin: 0.25em;
  padding: 0 0.5em;
}

#experiences main li i {
  margin-right: 0.5em;
}

#experiences header {
  margin-bottom: 0.5em;
}

#experiences .place {
  font-style: italic;
}

#experiences header .sub {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  gap: 0.25em;
}

#experiences header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  margin: 0.25em;
}

#experiences header ul li {
  background: #f3e7be;
  border: 1px solid #073642;
  border-radius: 1em;
  font-size: 0.75em;
  max-width: fit-content;
  padding: 0.15em 0.75em;
}

#experiences header ul li:hover {
  background: #f1eee1;
  cursor: default;
}

/* ---------------------------------- */

#skills {
  background-color: #eeb49b;
  max-width: 6cm;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;

  h2 {
    min-width: max-content;
  }
}

#skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  margin-top: 0.25em;
  margin-bottom: 0.75em;
}

#skills ul li {
  background: #f5d3c6;
  border: 1px solid #073642;
  border-radius: 1em;
  font-size: 0.9em;
  max-width: fit-content;
  padding: 0.15em 0.75em;
}

#skills ul li:hover {
  background: #faeae3;
  cursor: default;
}

#skills ul i {
  font-size: 0.8em;
}

#skills ul img {
  width: 1.5em;
  transform: translateY(0.25em);
}

/* ---------------------------------- */

#languages {
  background-color: #b6b8e2;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
  flex-grow: 1;
}

#languages .lang {
  font-size: 0.95em;
}

/* ---------------------------------- */

#hobbies {
  font-size: 0.95em;
  background-color: #93c5e9;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}


#hobbies ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  margin-top: 0.25em;
  margin-bottom: 0.75em;
  max-width: min-content;
}

#hobbies ul li {
  background: #cce9ff;
  border: 1px solid #073642;
  border-radius: 1em;
  font-size: 0.9em;
  width: max-content;
  padding: 0.15em 0.75em;
}

#hobbies ul li:hover {
  background: #e0eff9;
  cursor: default;
}

#hobbies ul i {
  font-size: 0.8em;
}

/* ---------------------------------- */

.wrapper {
  margin-bottom: 0.25em;
}

.vertical-wrapper {
  display: flex;
  gap: 1.25em;
  flex-direction: column;
  justify-content: space-between;
  /*width: 100%;*/
}

.horizontal-wrapper {
  display: flex;
  gap: 1.25em;
  justify-content: space-between;
  /*width: 100%;*/
}

.element {
  /* margin-top: 0.75em; */
  margin-bottom: 0.75em;
}

.element h3 {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 0.3em;
}

.element h3 .fa-solid {
  font-size: 0.2em;
}

.element .dates {
  /*font-style: italic;*/
  font-weight: initial;
}
