:root {
  color-scheme: dark;
  --background: #141414;
  --foreground: #fff;
}

body {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  background: var(--background);
  color: var(--foreground);
  font-family: "Lucida Console", "Courier New", monospace;
  font-weight: 100;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-header {
  height: 82px;
  margin-bottom: 12px;
  border: 1px solid #fff;
  box-sizing: border-box;
}

.site-header a,
.site-header picture {
  display: block;
}

.site-header img {
  display: block;
  width: 400px;
  max-width: 100%;
  height: 80px;
  object-fit: contain;
}

.site-layout {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  align-items: start;
}

.site-content {
  min-width: 0;
}

.column {
  width: 144px;
}

.button,
.dropbtn {
  position: relative;
  display: block;
  width: 10em;
  padding: 0.8em 2em;
  border: 1px solid transparent;
  border-radius: 0;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  font:
    100 13.3333px "Lucida Console",
    "Courier New",
    monospace;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button::before,
.dropbtn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid #fff;
  box-sizing: border-box;
  background: var(--background);
  pointer-events: none;
  transition:
    transform 0.01s,
    background-color 0.01s;
}

.button-label {
  position: relative;
  display: block;
  pointer-events: none;
  transition: transform 0.01s;
}

.button:hover,
.dropbtn:hover {
  color: #141414;
}

.button:hover::before,
.dropbtn:hover::before {
  background: #fff;
  transform: translate(-0.25rem, -0.25rem);
  box-shadow: 0.15rem 0.15rem #141414;
}

.button:hover .button-label,
.dropbtn:hover .button-label {
  transform: translate(-0.25rem, -0.25rem);
}

.button:active::before,
.dropbtn:active::before,
.button:active .button-label,
.dropbtn:active .button-label {
  transform: translate(0);
  box-shadow: none;
}

.dropdown {
  position: relative;
  width: 8em;
}

.dropdown-content {
  position: absolute;
  left: 100%;
  top: -0.2em;
  width: 9em;
  border: 1px solid #fff;
  background: #141414;
  z-index: 2;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
}

.dropdown-content a:hover,
.dropdown-content a:focus-visible {
  background: #fff;
  color: #141414;
}

.mobile-navigation {
  display: none;
}

main {
  min-width: 0;
  overflow-wrap: break-word;
  border: 1px solid #fff;
  min-height: 500px;
  padding-bottom: 1px;
  background-repeat: no-repeat;
}

.container_index {
  background-image: url("../images/wall-2000.webp?v=4877d96e2ed8");
  background-size: cover;
  background-position: bottom;
}

.container_jftc {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.9) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("../images/crypt-background.webp?v=ace7e58ea0fd");
  background-size:
    auto,
    1000px 1400px;
  background-position: center;
}

.container_freakylogic {
  padding: 20px 20px 1px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.9) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("../images/freaky-background.webp?v=016622a565d0");
  background-size:
    auto,
    1000px 1000px;
  background-position: center;
}

.container_jazgul {
  padding: 20px 20px 1px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.9) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("../images/jazgul-background.webp?v=d186f2f1f035");
  background-size:
    auto,
    1000px 1400px;
  background-position: center;
}

.container_freelance {
  padding-bottom: 0;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.8) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("../images/freelance-background.webp?v=4148b8abc6f1");
  background-size:
    auto,
    1000px 1200px;
}

.container_bio {
  padding-bottom: 0;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.8) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("../images/bio-background.webp?v=56bc7be07e1a");
  background-size:
    auto,
    1000px 1800px;
}

.container_portfolio {
  padding-left: calc(8.5% + 12.24px);
  padding-right: calc(8.5% + 12.24px);
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.8) 0px,
      rgba(0, 0, 0, 0.95) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.95) 100%
    ),
    url("../images/portfolio-2000.webp?v=f758cea0969e");
  background-size: cover;
}

.container_education {
  padding-left: calc(8.5% + 12.24px);
  padding-right: calc(8.5% + 12.24px);
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.9) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("../images/education-2000.webp?v=6378226d6aa0");
  background-size: cover;
}

.container_lessons {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.9) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("../images/lessons-2000.webp?v=c6b5d02db763");
  background-size: cover;
}

.container_contact {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.8) var(--reference-height, 100%),
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("../images/contact-2000.webp?v=1115e34ef6a7");
  background-size: cover;
  background-position: top;
}

img {
  max-width: 100%;
}

.album-cover {
  width: 250px;
  height: auto;
  vertical-align: middle;
}

.jazgul-photo {
  width: 50%;
  height: auto;
  margin-left: 25%;
  border: 1px solid #fff;
}

iframe {
  display: block;
  width: 560px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-bottom: 4px;
  border: 0;
}

.p1,
.h72 {
  font-size: 11px;
  font-weight: 100;
  text-align: center;
  line-height: 1.6;
}

.h7,
.h71,
.h2,
.h6,
.h5,
.h4 {
  font-weight: 200;
  text-shadow: 2px 2px #141414;
  letter-spacing: 0;
  margin-block: 1em;
}

.h7,
.h71,
.h2 {
  font-size: 35px;
  text-align: center;
}
.h7 {
  word-spacing: -8px;
  text-decoration: overline;
}
.h71 {
  word-spacing: -8px;
  text-decoration: underline;
}
.h2 {
  text-decoration: underline;
}
.h72 {
  text-shadow: 2px 2px #141414;
}

.p2,
.p7,
.p6,
.p62,
.p5 {
  font-weight: 500;
  font-size: 15px;
  text-shadow: 2px 2px #141414;
}

.p2,
.p7,
.h4 {
  padding-left: 10%;
  padding-right: 10%;
}
.p7 {
  word-spacing: -3px;
}
.h6 {
  font-size: 25px;
  text-align: center;
  word-spacing: -5px;
  text-decoration: underline;
  text-shadow: none;
}
.h61 {
  font-size: 20px;
  font-weight: 800;
  text-align: left;
  word-spacing: -8px;
  text-decoration: underline;
}
.p61 {
  font-size: 20px;
  font-weight: 800;
  text-shadow: 2px 2px #141414;
  display: inline;
}
.p62 {
  display: inline;
}
.h5 {
  font-size: 25px;
  text-align: center;
  word-spacing: -8px;
  text-decoration: underline;
  line-height: 1.3;
}
.p5 {
  word-spacing: -4px;
}
.h4 {
  font-size: 30px;
  font-weight: 100;
}

.p3,
.p31,
.p32 {
  font-weight: 500;
  font-size: 20px;
  line-height: 2;
  text-align: center;
  text-shadow: 2px 2px #141414;
}

.p31,
.p32 {
  text-decoration: underline;
}
.contact-link {
  text-decoration: none;
}

.degree-text {
  display: inline;
}
.container_freelance .p2 {
  line-height: 1.5;
}
.crypt-jazz {
  margin-bottom: 13px;
  line-height: 10px;
}
.crypt-from {
  line-height: 1px;
}
.crypt-title {
  margin-top: 10px;
  line-height: 10px;
}
.centered {
  text-align: center;
}
.ritual-title {
  margin: 30px 0 30px -10px;
  line-height: 1px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px;
  clip-path: none;
  background: #fff;
  color: #141414;
  z-index: 10;
}

@media (max-width: 600px) {
  .container_portfolio iframe {
    display: none;
  }
  .container_portfolio,
  .container_education {
    padding-left: 8.5%;
    padding-right: 8.5%;
  }
  .column {
    display: none;
  }
  .site-layout {
    display: block;
  }
  .site-header img {
    width: 100%;
  }
  .mobile-navigation {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #fff;
    text-align: center;
  }
  .menu-item summary {
    height: 47px;
    box-sizing: border-box;
    padding: 7px 12px;
    font-size: 20px;
    font-weight: 800;
    line-height: 30px;
    list-style: none;
    cursor: pointer;
  }
  .menu-item summary::-webkit-details-marker {
    display: none;
  }
  .menu-item ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #fff;
  }
  .menu-item li {
    border-bottom: 1px solid #fff;
  }
  .menu-item li:last-child {
    border-bottom: 0;
  }
  .menu-item a {
    display: block;
    font-size: 20px;
    font-weight: 1000;
    line-height: 50px;
    text-decoration: none;
  }
  .menu-item a:hover,
  .menu-item a:focus-visible {
    color: #141414;
    background: #fff;
  }
  .container_index {
    background-image: url("../images/wall-1200.webp?v=bff1c3121245");
  }
  .container_portfolio {
    background-image:
      linear-gradient(
        rgba(0, 0, 0, 0.8) 0px,
        rgba(0, 0, 0, 0.95) var(--reference-height, 100%),
        rgba(0, 0, 0, 0.95) 100%
      ),
      url("../images/portfolio-1200.webp?v=acbd796667c4");
  }
  .container_education {
    background-image:
      linear-gradient(
        rgba(0, 0, 0, 0.5) 0px,
        rgba(0, 0, 0, 0.9) var(--reference-height, 100%),
        rgba(0, 0, 0, 0.9) 100%
      ),
      url("../images/education-1200.webp?v=7f2a8e7d893d");
  }
  .container_lessons {
    background-image:
      linear-gradient(
        rgba(0, 0, 0, 0.5) 0px,
        rgba(0, 0, 0, 0.9) var(--reference-height, 100%),
        rgba(0, 0, 0, 0.9) 100%
      ),
      url("../images/lessons-1200.webp?v=e130888cff5b");
  }
  .container_contact {
    background-image:
      linear-gradient(
        rgba(0, 0, 0, 0.5) 0px,
        rgba(0, 0, 0, 0.8) var(--reference-height, 100%),
        rgba(0, 0, 0, 0.8) 100%
      ),
      url("../images/contact-1200.webp?v=a18399d64d0e");
  }
}

@media (prefers-reduced-motion: reduce) {
  .button::before,
  .dropbtn::before,
  .button-label {
    transition: none;
  }
  .button:hover::before,
  .dropbtn:hover::before,
  .button:hover .button-label,
  .dropbtn:hover .button-label {
    transform: none;
  }
}
