@import url('https://fonts.googleapis.com/css2?family=Jost&display=swap');
:root {
  font-size: 16px;
  font-family: 'Jost';
  --text-primary: white;
  --text-secondary: #d3d3d3;
  --bg-primary: rgb(0, 5, 26);
  --bg-secondary: rgb(100, 45, 143);
  --bg-article: linear-gradient(90deg, rgba(48, 0, 85, 1) 0%, rgba(13, 0, 20, .6) 40%, rgba(0, 0, 0, 0) 100%);
  --v-color: rgba(48, 0, 85, 1);
  --fa-primary: #ff7eee;
  --fa-secondary: #df49a6;
}

body {
  color: white;
  background-color: rgb(13, 0, 20);
  margin: 0;
  padding: 0;
}

body::-webkit-scrollbar {
  width: 0.25rem;
}

body::-webkit-scrollbar-track {
  background: #1e1e24;
}

body::-webkit-scrollbar-thumb {
  background: #6649b8;
}

main {
  margin-left: 5rem;
  padding: 1rem;
}

article {
  /* display: grid;
  grid-auto-flow: column dense;
  grid-gap: 1rem; */
  display: flex;
  flex-direction: row;
  flex-wrap: inherit;
  padding: 1rem;
  background: var(--bg-article);
}

article p {
  margin-top: 4px;
}

.navbar {
  position: fixed;
  background-color: var(--bg-primary);
  transition: width 600ms ease;
  overflow: hidden;
}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.nav-item {
  width: 100%;
}

.nav-item:last-child {
  margin-top: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 5rem;
  color: var(--text-secondary);
  text-decoration: none;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition-speed);
}

.nav-link:hover {
  filter: grayscale(0%) opacity(1);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.link-text {
  display: none;
  margin-left: 1rem;
}

.nav-link svg {
  width: 2rem;
  min-width: 2rem;
  margin: 0 1.5rem;
  color: var(--text-primary)
}

.fa-primary {
  color: var(--fa-primary);
}

.fa-secondary {
  color: var(--fa-secondary);
}

.fa-primary, .fa-secondary {
  transition: var(--transition-speed);
}

.logo {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  font-size: 1.5rem;
  letter-spacing: 0.3ch;
  width: 100%;
}

.logo svg {
  transform: rotate(0deg);
  transition: var(--transition-speed);
}

.logo-text {
  display: inline;
  position: absolute;
  left: -999px;
  transition: var(--transition-speed);
}

.navbar:hover .logo svg {
  transform: rotate(-180deg);
}

/* Small screens */

@media only screen and (max-width: 600px) {
  .navbar {
    bottom: 0;
    width: 100vw;
    height: 5rem;
  }
  .logo {
    display: none;
  }
  .navbar-nav {
    flex-direction: row;
  }
  .nav-link {
    justify-content: center;
  }
  main {
    margin: 0;
  }
  main {
    margin-bottom: 4rem;
    padding: 1rem;
  }
}

@media only screen and (max-width: 750px) {
  article {
    display: grid;
    grid-auto-flow: row;
    grid-gap: 1rem;
    margin: 1rem 0;
    justify-items: center;
    background: linear-gradient(180deg, var(--v-color) 0%, rgba(13, 0, 20, .6) 40%, rgba(0, 0, 0, 0) 100%);
  }

  .thumbnail {
    width: 80%;
  }
}

/* Large screens */

@media only screen and (min-width: 600px) {
  .navbar {
    top: 0;
    width: 5rem;
    height: 100vh;
  }
  .navbar:hover {
    width: 16rem;
  }
  .navbar:hover .link-text {
    display: inline;
  }
  .navbar:hover .logo svg {
    margin-left: 11rem;
  }
  .navbar:hover .logo-text {
    left: 0px;
  }
}

/* IMAGES */

.thumbnail {
  border-style: solid;
  border-width: .02rem;
  /* border-color: white; */
  border-color: var(--text-primary);
  border-radius: 2px;
  width: 350px;
  height: 263px;
  margin: 10px;
}

/* THEMES */

.default {
  --text-primary: rgb(216, 104, 0);
  --text-secondary: #d2fbff;
  --bg-primary: rgb(0, 5, 26);
  --bg-secondary: rgb(26, 153, 226);
  --v-color: rgb(0, 20, 63);
  --bg-article: linear-gradient(90deg, rgb(0, 20, 63) 0%, rgba(13, 0, 20, .6) 40%, rgba(0, 0, 0, 0) 100%);
  --fa-primary: rgb(218, 144, 76);
  --fa-secondary: rgb(32, 34, 121);
  ;
}

.dark {
  --text-primary: #b6b6b6;
  --text-secondary: #ececec;
  --bg-primary: #23232e;
  --bg-secondary: #141418;
}

.light {
  --text-primary: #1f1f1f;
  --text-secondary: #000000;
  --bg-primary: #ffffff;
  --bg-secondary: #e4e4e4;
}

.solar {
  --text-primary: #576e75;
  --text-secondary: #35535c;
  --bg-primary: #fdf6e3;
  --bg-secondary: #f5e5b8;
}

a {
  color: crimson;
  font-weight: bold;
  text-decoration: none;
}

a:visited {
  color: skyblue;
  /* color: var(--text-secondary); */
}

.theme-icon {
  display: none;
}

.dark #darkIcon {
  display: block;
}

.light #lightIcon {
  display: block;
}

.solar #solarIcon {
  display: block;
}

.default #defaultIcon {
  display: block;
}

/* under construction */

.dev {
  display: grid;
  align-content: center;
}

.dev img {
  display: grid;
  justify-self: center;
  height: 12rem;
  margin: 10px;
}

.dev h1 {
  font-size: 3rem;
  ;
  text-align: center;
  margin: 10px;
}

.dummy-pic {
  background-color: rgb(97, 122, 230);
  margin: 1rem;
  padding: 1rem;
  border-style: solid;
  border-width: .05rem;
  border-color: white;
  width: min(200px);
  height: 10rem;
  overflow: hidden;
}