: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); }

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;
}

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

.sidebar { width: min(200px, 25%); }
.sidebar.filter {
  width: min(200px, 25%);
  margin-top: 5px;
}

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

h1#whoami {
  display: inline;
  font-size: 15px;
}

#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 {
    text-align: center;
    border: none;
    position: fixed;
    bottom: 0;
    width: 200px;
    margin-bottom: 25px;
  }

  #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;
  }
  footer {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    margin-bottom: 15px;
    gap: 25px;
    justify-content: center;
    align-content: center;
  }
}

/* Filtry */

.square {
  background: var(--white);
  width: 25px;
  height: 25px;
}

.circle {
  background: var(--white);
  width: 25px;
  height: 25px;
  border-radius: 50%
}

.triangle {
  width: 0;
  height: 0;
  border-left: 12.5px solid transparent;
  border-right: 12.5px solid transparent;
  border-bottom: 25px solid var(--white);
  border-top: 0;
}

.square:hover, .circle:hover, .triangle:hover { transition-duration: .75s; }

.square:hover { background-color: var(--yellowskills); }
.circle:hover { background-color: var(--purpleskills); }
.triangle:hover { border-bottom-color: var(--blueskills); }

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

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

.intOn, .inlOn, .logOn { opacity:100%; }

.intOn { background-color: var(--yellowskills); }
.inlOn { background-color: var(--purpleskills); }
.logOn { border-bottom-color: var(--blueskills); }

.interface, .inland, .logic {
  border-radius: 5px;
  padding: 5px;
}

.interface { background-color: var(--yellowskills); }
.inland { background-color: var(--purpleskills); }
.logic { background-color: var(--blueskills); }
.hrefColor { color: var(--gray); }

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 {
  text-align: left;
  font-size: 15px;
}

li.articles { margin: 5px 0px; }

.headers > h2 {
  color: var(--green);
  margin-bottom: -10px;
  font-size: 25px;
  font-family: 'JetBrains Mono', monospace;
  font-variant: small-caps;
}

.headers > h2::before {
  content: '~\/';
  font-size: 27px;
}

.headers > ul { width: 250px; }

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

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

header > h1, p { display: inline; }

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: '\>';
}

.filtering {
  visibility: hidden;
}
