:root {
  --color-black: #121212;
  --color-snow: #f2f7fa;
  --color-white: #fff;
  --color-grey-shadow: #88888818;
  --color-white-shadow: #fff2;
  --color-blue: #4100F4;
  --color-cyan: darkcyan;
  --color-silver: #A5BBD1;
  --color-dark-silver: #6187ae;
  --color-orange: #FFA42B;
  --color-yellow: #f5ef64;
  --color-dark-yellow: #FCE54F;
  /** Sizing */
  --max-width-page: 1160px;
  --border-radius-lg: 24px;
  --font-cursive: 'Unbounded', cursive;
  --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
  --font-regular: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 2rem 3rem 4rem 3rem;
  font-family: var(--font-regular);
  color: var(--color-black);
}

h1,
h2 {
  font-family: var(--font-cursive);
}

h1 {
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02ch;
  color: var(--color-grey-shadow);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--color-black);
  text-shadow: -2px -2px var(--color-black);
}

h2 {
  font-size: 1.85rem;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h3 {
  margin: 0.25rem 0;
  font-size: 1.25rem;
}

em {
  font-weight: 600;
}

hgroup {
  margin: 1.5rem 0;
}

hgroup h1,
hgroup h2 {
  margin: 0.2rem;
}

header {
  position: relative;
  width: 100%;
  max-width: var(--max-width-page);
  height: 92px;
  background-color: var(--color-blue);
  background-image: linear-gradient(215deg, darkcyan 0%, var(--color-blue) 30%, darkcyan 80%);
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

main {
  position: relative;
  display: flex;
  z-index: 20;
}

footer {
  position: absolute;
  bottom: 0;
  font-size: 0.65rem;
  color: #8994a7;
}

section {
  margin-bottom: 1.5rem;
}

a,
a:any-link {
  color: var(--color-blue);
  font-weight: 600;
}

.bbl {
  line-height: 1.55;
  margin: 0;
}

.bbl > li,
.bl > li {
  position: relative;
}

.bbl > li::marker,
.bl > li::marker {
  color: transparent;
}

.bbl > li::before {
  content: '';
  display: block;
  position: absolute;
  top: 0.3rem;
  left: -1.75rem;
  width: 12px;
  height: 12px;
  background-color: var(--color-dark-yellow);
  border-radius: 50%;
}

.bbl > li:first-child::before {
  background-color: var(--color-black);
}

.bd {
  margin: 1rem -1.5rem;
  border: none;
  border-top: 4px dotted var(--color-black);
  height: 8px;
}

.bl {
  margin: 0;
  padding: .5rem .5rem .5rem 1.5rem;
}

.bl > li::before {
  content: '';
  display: block;
  position: absolute;
  top: 0.3rem;
  left: -1.5rem;
  width: 12px;
  height: 12px;
  background-color: var(--color-black);
  border-radius: 50%;
}

.bud {
  position: relative;
  margin: 2rem;
  height: 0;
  border: none;
  border-top: 2px solid var(--color-dark-yellow);
}

.bud::after {
  content: '';
  position: absolute;
  top: -13px;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: var(--color-dark-yellow);
  border-radius: 50%;
}

.cd {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  margin: 0 auto;
  margin-bottom: 2rem;
  width: 100%;
  max-width: var(--max-width-page);
  background-color: var(--color-snow);
  border-radius: var(--border-radius-lg);
  box-shadow: 2px 14px 12px var(--color-grey-shadow) inset;
}

.cv {
  width: 100%;
  max-width: var(--max-width-page);
  margin: 0 auto;
}

.ds {
  width: 100%;
  max-width: 414px;
  margin: 0 auto;
}

.dsh {
  margin-left: -1.5rem;
  margin-bottom: 1rem;
  padding: 2px 1rem 2px 1.5rem;
  width: fit-content;
  color: white;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  background-color: var(--color-silver);
  box-shadow: 3px 3px 0 darkcyan;
}

.dt {
  font-size: 0.85rem;
  font-style: italic;
}

.e {
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
  height: auto;
  transition: height 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
}

.e section {
  margin-bottom: 2rem;
}

.ec {
  height: auto;
}

.eb {
  display: none;
  justify-content: flex-end;
}

.eb > button {
  position: relative;
  padding-right: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: transparent;
  border: none;
  color: var(--color-black);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.eb > button > span {
  position: absolute;
  margin-left: 8px;
  top: 9px;
  right: 8px;
  display: inline-block;
  transform-origin: center;
  transition: all 0.2s ease-in-out;
}

.eb > button:hover {
  cursor: pointer;
  background-color: rgb(0 0 0 / 9%);
}

.eb > button:hover span {
  transform: translateY(1px);
}

.ebc > button > span {
  animation: rccw 0.3s ease-in-out forwards;
}

.ebo > button > span {
  animation: rcw 0.3s ease-in-out forwards;
}

.hm {
  padding-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--color-cyan);
}

.hn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.85rem 1.25rem;
}

.igv:not(:last-child) {
  margin-bottom: 4px;
}

.iil {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.iil a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  opacity: 0.85;
  transition: opacity .2s ease-in-out;
}

.iil a:hover,
.iil a:focus {
  opacity: 1;
}

.iil a img {
  width: 21px;
  height: 21px;
}

.ilc {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 9px;
}

.il {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  gap: 8px;
}

.is {
  width: 16px;
  height: 16px;
}

.l {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.35;
}

.lb1 {
  --color-lb: var(--color-white);
  --color-lo: var(--color-white);
  --color-lh: var(--color-white-shadow);
}

.lb:any-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--color-lb, var(--color-black));
  font-size: small;
  font-weight: 400;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease-in-out;
}

.lb:hover,
.lb:focus {
  background-color: var(--color-lh, var(--color-grey-shadow));
}

.lb:focus {
  outline: 2px solid var(--color-lo, var(--color-blue));
  outline-offset: 3px;
}

.ll {
  --gap: 8px;
  --column-gap: var(--gap);
  --row-gap: var(--gap);
  margin: calc(var(--row-gap) / -2) calc(var(--column-gap) / -2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.llf {
  font-size: 0.65rem;
  color: var(--color-dark-silver);
}

.skill-item {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
  gap: 0.1rem;
}

.level {
  display: flex;
  flex-direction: column;
}

.level small {
  font-size: 9px;
  font-weight: 600;
}

.llli {
  font-size: 0.75rem;
  padding: 2px 4px;
  border: 1px solid darkcyan;
  color: darkcyan;
  border-radius: 4px;
  box-shadow: 1px 1px 0 darkcyan;
  text-transform: uppercase;
  font-weight: 700;
}

.lp {
  padding-left: 0.5rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ml {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.ni {
  border: 2px dashed var(--color-cyan);
  outline: dotted 2px var(--color-cyan);
  outline-offset: 4px;
}

.nl,
.nl:any-link {
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 85%;
  line-height: 16px;
  transition: opacity .2s ease-in-out;
}

.nl span {
  vertical-align: middle;
}

.nl img {
  vertical-align: middle;
}

.nl:hover,
.nl:focus {
  opacity: 1;
}

.nn {
  position: absolute;
  top: 2rem;
  right: 1rem;
  display: none;
}

.nn img {
  filter: invert();
  opacity: 0.85;
}

.pd {
  padding-left: 0.5rem;
  flex: 1 0 196px;
  display: flex;
  flex-direction: column;
}

.pd > *:not(:last-child) {
  margin-bottom: 0.5rem;
}

.pd a {
  font-size: 0.85rem;
}

.pde {
  font-size: 1rem;
}

.pi {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pi > img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
}

.pr {
  display: flex;
  margin-bottom: 32px;
}

.rb {
  position: relative;
  padding: 1rem 3.5rem 3.5rem 3.5rem;
  font-size: 15px;
  line-height: 1.55;
  width: 100%;
  max-width: 768px;
}

.rd {
  position: relative;
  margin-right: 16px;
  margin-bottom: -110px;
  padding: 2.5rem 1.5rem;
  top: -110px;
  left: 16px;
  width: 100%;
  max-width: 360px;
  background-color: var(--color-yellow);
  border-radius: 24px;
}

.rd::before {
  content: '';
  position: absolute;
  bottom: 100px;
  right: -34px;
  width: 40px;
  height: 40px;
  opacity: 0.5;
  background-image: url('assets/icons/scissors.svg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.rd::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 11px;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 2px dashed var(--color-silver);
  border-radius: 24px;
  z-index: -1;
}

@media print {
  body {
    margin: 4rem 2rem;
  }
  .cd {
    display: none;
  }
}

@media screen and (max-width: 1160px) {
  body {
    margin: 12px;
  }
}

@media screen and (max-width: 1024px) {
  .pr {
    flex-direction: column;
  }
  .pr > *:not(:last-child) {
    margin-bottom: 0.85rem;
  }

  .pd {
    flex: 1;
  }
  .pde {
    font-size: smaller;
  }
}

@media screen and (max-width: 960px) {
  body {
    margin: 0;
  }

  header {
    border-radius: 0;
  }

  main {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  hgroup h1,
  hgroup h2 {
    text-align: center;
  }

  .cd {
    background-color: var(--color-cyan);
    border-radius: 0;
    margin: 0;
  }

  .cd img {
    filter: invert();
  }

  .lb:any-link {
    color: var(--color-white);
  }

  .lb:hover,
  .lb:focus {
    background-color: var(--color-white-shadow);
  }

  .lb:focus {
    outline-color: var(--white);
  }

  .cv {
    overflow: hidden;
  }

  .e {
    height: 0;
  }

  .eb {
    display: flex;
  }

  .ec {
    height: 0px!important;
  }

  .hn {
    display: none;
  }

  .lp {
    text-align: center;
  }

  .nn {
    display: block;
  }

  .rd {
    top: -110px;
    left: 0;
    margin: 0;
    margin-bottom: -110px;
    max-width: 960px;
    flex-shrink: 1;
  }
}

@media screen and (max-width: 624px) {
  .rb {
    padding: 16px;
    padding-bottom: 4rem;
  }
}

@media screen and (max-width: 414px) {
  :root {
    font-size: 15px;
  }
  h1 {
    font-size: 1.85rem;
    line-height: 1.1;
    letter-spacing: -0.02ch;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0;
  }
  
  h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    letter-spacing: 0;
  }
  main {
    padding: 10px;
  }
}

@media screen and (max-width: 320px) {
  hgroup h1,
  hgroup h2,
  main {
    padding: 0;
  }

  .lp {
    text-align: left;
  }

  .pi {
    justify-content: flex-start;
  }

  .pi img {
    width: 64px;
    height: 64px;
  }
}

@keyframes rcw {
  to {
    transform: rotate(540deg) translateY(2px);
  }
}

@keyframes rccw {
  to {
    transform: rotate(-360deg) translateY(0);
  }
}