:root {
  --text-shadow-ligth: 2vw 6vh 6px #00000026;
  --text-shadow-dark: 2vw 6vh 6px #fff3;
  --drop-shadow-light: drop-shadow(2vw 6vh 3px rgba(0, 0, 0, 0.3));
  --drop-shadow-dark: drop-shadow(2vw 6vh 3px rgba(255, 255, 255, 0.3));
}


/* TEXT & FONTS */
@font-face {
  font-family: Turtellini NF;
  src: url("font/Turtellini NF.ttf");
}
h1 {
  height: 72px;
  margin: 16px 48px 16px 0;
  font-weight: 200;
}
@media (max-width: 700px) {
  h1 {
    margin: 16px 3vw 16px 3vw;
  }
}

a {
  text-decoration: none;
  color: #000;
}
@media (prefers-color-scheme : dark) {
  a {
    color: #fff;
  }
}
nav > a:hover {
  font-weight: 600;
}
.article a {
  line-height: 0;
  position: relative;
  width: 100%;
}

/* GENERAL SETTINGS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Helvetica;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html {
  background-image: linear-gradient(153deg, #e8e8e8 50%, #828282 100%);
  color: #000;
  text-shadow: var(--text-shadow-ligth);
}
@media (prefers-color-scheme : dark) {
  html {
    background-image: linear-gradient(153deg, #3c3c3c 20%, #000 100%);
    color: #fff;
    text-shadow: var(--text-shadow-dark);
  }
}
body {
  height: 100vh;
}
.container {
  display: flex;
}

/* BACKGROUND */
.noise {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-image: url('../img/noise/noise.png');
  background-size: auto;
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.2;
}

/* SIDEBAR */
.sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 30vw;
  padding: 1vw;
}
@media (max-width: 700px) {
  .sidebar {
    position: fixed;
    z-index: 2;
    width: 100vw;
    height: 15vh;
    padding: 3vw;
  }
}
header {
  display: flex;
  flex-direction: column;
}
.site-name {
  text-transform: capitalize;
  font-family: Turtellini NF;
  font-size: 30px;
}
.site-status {
  text-transform: uppercase;
  font-weight: 200;
}
/* BUTTON MENU */
#menu {
  display: none;
  position: fixed;
  top: 3vw;
  right: 3vw;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.0);
  background-image: url(../img/button/menu-bk.svg);
  filter: var(--drop-shadow-light);
  background-size: 50px 50px;
}
@media (prefers-color-scheme : dark) {
  #menu {
    background-image: url(../img/button/menu.svg);
    filter: var(--drop-shadow-dark);
  }
}
@media (max-width: 700px) {
  #menu {
    display: block;
  }
}
/* BUTTON CLOSE */
#close {
  display: none;
  position: fixed;
  top: 3vw;
  right: 3vw;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.0);
  background-image: url(../img/button/close-bk.svg);
  filter: var(--drop-shadow-light);
  background-size: 50px 50px;
}
@media (prefers-color-scheme : dark) {
  #close {
    background-image: url(../img/button/close.svg);
    filter: var(--drop-shadow-dark);
  }
}
@media (min-width: 700px) {
  #close {
    display: none;
  }
}
nav {
  display: flex;
  height: 90vh;
  flex-direction: column;
}
@media (max-width: 700px) {
  nav {
    display: none;
  }
}
.navspacer {
  height: 3vh;
}
.site-copyright {
  position: absolute;
  bottom: 1vh;
  font-size: 11px;
  font-weight: 100;
}


/* MAIN (Articles) */
main {
  position: relative;
  display: grid;
  width: 70vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  grid-template-columns: 50% 50%;
  scrollbar-color: hsla(0, 0%, 0%, 0.5) #0000;
  scrollbar-width: thin;
}

@media (prefers-color-scheme: dark) {
  main {
    scrollbar-color: hsla(0, 0%, 100%, 0.5) #0000;
  }
}
@media (max-aspect-ratio: 12/11) {
  main {
    grid-template-columns: auto;
  }
}
@media (max-width: 700px) {
  main {
    width: 100vw;
  }
  /* SCROLL SPECIFIC */
  main {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
  }
  main::-webkit-scrollbar {
      display: none; /* for Chrome, Safari, and Opera */
  }
}

/* ARTICLES - Home Page*/
.article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh;
}
.article404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}
.article-number {
  font-size: 3.7em;
  font-weight: 900;
  margin: 16px 0;
}
@media (max-width: 700px) {
  .article-number {
    padding: 16px 0 16px 3vw;
  }
}
.article img {
  object-fit: cover;
  width: 35vw;
  height: 35vw;
}
@media (max-aspect-ratio: 12/11) {
  .article img {
    width: 70vw;
    height: 70vw;
  }
}
@media (max-width: 700px) {
  .article img {
    width: 100vw;
    height: 100vw;
  }
}

/* TOPSCROLL BUTTON */
#myBtn {
  display: none;
  position: fixed;
  bottom: 1vw;
  right: 1vw;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.4);
  background-image: url(../img/button/top-bk.svg);
  background-size: 50px 50px;
}
@media (prefers-color-scheme : dark) {
  #myBtn {
    background-image: url(../img/button/top.svg);
    background-color: rgba(255, 255, 255, 0.5);
  }
}
@media (max-width: 700px) {
  #myBtn {
    bottom: 3vw;
    right: 3vw;
  }
}

