:root {
  --white: #dcdcdc;
/*  --blue: #1900ff;*/
  --blue: #402EE4;
  --green: #a7ff00;
  --gray: #202020;
  --yellowskills: #d1ac47;
  --blueskills: #66a5ff;
  --purpleskills: #766e97;
}

* {
  color: var(--white);
  font-family: 'Source Serif Pro', serif;
  font-style: normal;
  font-weight: 500;
}

*::selection {
  color: var(--gray);
  background: var(--white);
}

h1, h2 { color: var(--green); }

h2 {
  font-size: 25px;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  padding-bottom: 10px;
  border-bottom: dotted white 1px;
}

h1 {
  color: var(--green);
  text-align: center;
  font-size: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-variant: small-caps;
  margin-top: 0px;
  border-top: solid white 1px;
  border-bottom: solid white 1px;
  padding: 25px;
}

p {
  text-indent: 25px;
  text-align: justify;
  letter-spacing: .5px;
}

body {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 25px;
  width: min(1100px, calc(100% - 25px));
  height: 100vh;
  margin: auto;
  margin-top: 25px;
  margin-bottom: 25px;
  background-color: var(--gray);
  text-align: justify;
  line-height: 1.3;
}

p.intro { text-indent: 0px; }

p.intro.initial::first-letter {
    float:left;
    line-height: 35px;
    font-size: 55px;
    margin-top: 7px;
    margin-right: 7px;
    color: var(--blue);
    border: dashed var(--white) 4px;
    padding: 10px;
    padding-top: 15px;
    margin-bottom: -7px;
}

.main { width: min(550px, calc(100% - 10px)); }
.sidebar { width: min(200px, 25%); }

footer {
  display: flex;
  flex-flow: column wrap;
  align-items: flex-start;
  gap: 25px;
}

#pic {
  margin-bottom: 15px;
  display: initial;
  width: 200px;
  background-size: cover;
  transition-duration: .5s;
  filter: invert(6%) sepia(100%) saturate(7399%) hue-rotate(252deg) brightness(117%) contrast(131%);
}

#pic:hover {
  transition-duration: .5s;
  filter: invert(78%) sepia(71%) saturate(707%) hue-rotate(26deg) brightness(105%) contrast(103%);
}

#hide { visibility: hidden; }

@media (max-width: 1100px) {
  body {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 25px;
  }
  .sidebar, .sidebar.filter {
    width: min(550px, calc(100% - 10px));
    border: 1px dashed var(--white);
    border-radius: 5px;
    background-color: var(--gray);
  }

  .sidebar.left {
    position: sticky;
    top: 0;
  }

  .sidebar.filter { display: none; }
  #hide { visibility: visible; }
  #hide:after { content: "\21F5"; }
  #pic { display: none }
  hr { display: none; }

  nav > ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
  }
}

a > div {
  opacity: 25%;
  cursor: pointer;
}

a > div:hover { opacity: 100%; }

main {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 10px;
}

a {
  color: var(--blue);
  text-decoration: none;
}

p > a { font-style: oblique; }

li.navlink {
  text-align: left;
  font-size: 15px;
}

ul {
  list-style-type: none;
  padding-left: 10px;
  padding-right: 10px;
}

ol {
  padding-left: 25px;
  margin-top: 0;
  list-style-type: lower-greek;
  list-style-position: outside;
  font-size: 18px;
  text-indent: 5px;
}

li.bf::before {
  color: var(--blue);
  content: '\/';
  font-size: 20px;
}

nav > ul > li { font-variant: small-caps; }

.navlink { color: var(--white); }
.navlink { font-size: 18px; }

nav > ul {
  text-align: left;
  margin-left: 0px;
  padding-left: 0px;
}

hr {
  border: 1px dashed var(--white);
  opacity: 75%;
  width: 75%;
  margin-left: 0px;
}

.navlink:hover:before {
  color: var(--green);
  content: '\>';
}
