*,
*::after,
::before{
  margin: 0;
  padding: : 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62,5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


body {
  font-family: "Cutive Mono", serif;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  background-color: #000000;
}

.container {
  display: grid;
  grid-template-areas: "sidebar topline topline topline" "sidebar gallery gallery gallery" "sidebar gallery gallery gallery" "sidebar gallery gallery gallery" "sidebar btmline btmline btmline";
  grid-auto-columns: repeat(auto-fit, minmax(-10rem, 1fr));
  grid-template-rows: 5vh repeat(3, 25vh) 1fr;
}

.header { 
  font-family: "Overpass", sans-serif;
  font-weight: 700; 
  letter-spacing: -0.5px;
} 

.sidebar {
  grid-area: sidebar;
  background-color: #000000;
  display: flex;
  margin-right: auto;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.sidebar-nav__link {
  list-style: none;
  transform: rotate(-90deg);
}

.nav__link:link,
.nav__link:visited {
  font-size: 1.4rem;
    color: #e4e2d8;
    text-decoration: none;
    font-family: "Cutive Mono", serif;
    text-transform: uppercase;
    text-align: start;
    transition: all .2s
}

.sidebar-nav__link:hover,
.sidebar-nav__link:active {
  transform: rotate(-90deg) translateY(-3px); 
}

.sidebar-name {
  color: #e4e2d8;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8.5rem;
  display: flex;
  align-self: center;
  margin-right: -4.72rem;
  margin-left: 3rem;
}

.name {
  background-image: url(/img/bgTexture.webp);
 background-size: cover;
 background-clip: text;
 -webkit-background-clip: text;
 color: transparent;
}

.backname {
  opacity: 40%;
  z-index: -2000;
}

.bar-top {
 grid-area: topline;
 z-index: -3;
 background-image: url(/img/bgTexture.webp);
 background-size: cover;
 margin-left: -2rem;
 background-color: #000000;
 max-width: 100vw;
}

.bar-btm {
  grid-area: btmline;
  display: flex;
  max-width: 100%;
  min-height: min-content;
  margin-top: 1.1rem;
  /* gap: .5rem; */
  background-color: #000000;
 }

.description {
  padding-top: 1.2vh;
  display: flex;
  font-size: 1.25rem;
  color: #e4e2d8;
  align-items: flex-start;
}

.about {
  list-style: none;
}

.info {
  padding-left: 1vw;
  text-align: center;
}

.pdf__link:link, 
.pdf__link:visited {
  padding: 1.2rem;
  margin-top: 1.5rem;
  font-size: 1.6rem;
  text-align: center;
  font-weight: 600;
  color: #e4e2d8;
  display: block;
  text-decoration: underline;
  text-transform: uppercase;
  transition: all .2s
}

.pdf__link:hover, 
.pdf__link:active { 
  text-decoration: none;
  background-image: url(/img/bgTexture.webp);
  background-size: cover;
  color: #000000;
  transform: translateY(-3px);
}

.gallery {
  grid-area: gallery;
  background-image: url(/img/bgTexture.webp);
  background-size: cover;
  min-height: min-content;
  margin-top: -3rem;
  margin-left: -4rem;
  margin-right: -4rem;
  margin-bottom: -1.2rem;
  z-index: -100000;
}


@keyframes fader {
  from { opacity: 1.0; }
  to   { opacity: 0.0; }
}

.fading-slideshow {
  position: relative;
  list-style-type: none;
}

.fading-slideshow > li {
  position: absolute;
}

.fading-slideshow > li:first-of-type {
  animation-name: fader;
  animation-delay: 4s;
  animation-duration: 1s;
  z-index: 20;
}

.fading-slideshow > li:nth-of-type(2) {
  z-index: 10;
}

.fading-slideshow > li:nth-of-type(n+3) {
  display: none;
}

.slideshow-img{
 max-width: 90%;
 max-height: max-content;
}