@import url("https://fonts.cdnfonts.com/css/jetbrains-mono-2");

:root {
    --font-family: "JetBrains Mono", monospace;
    --line-height: 1.20rem;
    --border-thickness: 2px;
    --text-color: #000;
    --text-color-alt: #666;
    --background-color: #fff;
    --background-color-alt: #eee;

    --font-weight-normal: 500;
    --font-weight-medium: 600;
    --font-weight-bold: 800;

    font-family: var(--font-family);
    font-optical-sizing: auto;
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-variant-numeric: tabular-nums lining-nums;
    font-size: 16px;
    margin: auto;
    width: auto;
    max-width: 65%;
}

/* variables */
body {
    --body-bg: white;
    --text-color: black;
}

body.dark-mode {
    --body-bg: #181717;
    --text-color: white;
}

body {
    background-color: var(--body-bg);
    color: var(--text-color);

    transition: 0.5s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 75%;
}

.tab {
    display: inline-block;
    margin-left: 2em;
}

.title-wrapper {
    max-height: 200px;
}

.title {
    text-align: center;
    font-size: 60px;
}

.subtitle {
    text-align: center;
    margin-top: -30px;
}

.pfp {
    display: block;

    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    margin-bottom: -3em;

    border-radius: 50%;
    width: 300px;
    height: 300px;
    box-shadow: 0 0.5px 5px;

    object-fit: cover;
}

hr.double {
    border-top: 3px solid;
    border-bottom: none;
    color: var(--text-color);

    margin-top: 30px;
    margin-bottom: 30px;
}

.caption {
    text-align: center;
}

.introduction {
    text-align: left;
    font-weight: bold;

    border-left: auto;
    border-right: auto;
}

.section-title {
    text-decoration: 
        underline 
        solid 
        var(--text-color)
        2px;
    text-underline-offset: 6px;

    font-weight: bolder;
    font-size: 45px;
}

.section-item {
    margin-top: -30px;
    margin-bottom: 40px;
}

.section-item-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-item-title {
    display: inline-block;
    font-weight: bold;
    font-size: 30px;
    margin-top: 1em;
}

.section-item-date {
    display: inline-block;
    font-size: 15px;
}

.section-item-company {
    font-size: 20px;
    margin-top: -15px;
    margin-bottom: 20px;
}

.section-item-caption {
    font-size: 15px;
    margin-top: -15px;
    margin-bottom: 20px;
}

.section-item-list {
    font-weight: normal;
    font-size: 20px;
    margin-top: -5px;
    margin-bottom: 10px;
}

input {
  border: var(--border-thickness) solid var(--text-color);
  padding: 
    calc(var(--line-height) / 2 - var(--border-thickness))
    calc(1ch - var(--border-thickness));
  margin: 0;
  font: inherit;
  font-weight: inherit;
  height: calc(var(--line-height) * 2);
  width: auto;
  overflow: visible;
  background: var(--background-color);
  color: var(--text-color);
  line-height: normal;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
}

input[type=checkbox] {
  display: inline-grid;
  place-content: center;
  vertical-align: top;
  width: 2ch;
  height: var(--line-height);
  cursor: pointer;
}
input[type=checkbox]:checked:before {
  content: "";
  width: 1ch;
  height: calc(var(--line-height) / 2);
  background: var(--body-bg);
}

input:focus {
  --border-thickness: 3px;
  outline: none;
}

input {
  width: calc(round(down, 100%, 1ch));
}
::placeholder {
  color: var(--text-color-alt);
  opacity: 1;
}
::-ms-input-placeholder {
  color: var(--text-color-alt);
}
button::-moz-focus-inner {
  padding: 0;
  border: 0
}