:root {
  --zwart: #0e0f0a;
  --blauw: #283544;
  --grijs: #cecece;
  --wit: #f4faff;
  --roos: #ef798a;
  --lichtBlauw: #447fad;
}

html {
  scrollbar-gutter: stable;
  background-color: var(--zwart);
  background-image: linear-gradient(#0e0f0a71, #0e0f0a71),
    url("/img/background-blurred.jpg");
  background-repeat: no-repeat repeat;
  background-size: 300%;
  animation: moveBackground 90s linear infinite;
}

body {
  background-color: transparent;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  font-family: "Prompt", sans-serif;
  color: var(--grijs);
  cursor: none;
}

@keyframes moveBackground {
  0% {
    background-position: var(--bg-x, 0%) 0;
  }
  50% {
    background-position: calc(var(--bg-x, 0%) + 20%) 20%;
  }
  100% {
    background-position: var(--bg-x, 0%) 0;
  }
}

hr {
  border: 1px solid gray;
  min-height: 1px;
  min-width: 30%;
  display: block;
  align-self: start;
}

a {
  cursor: none !important;
}

.navBar {
  position: absolute;
  z-index: 999;
  width: 100%;
  display: flex;
}

.btn {
  max-width: max-content;
  background-color: transparent;
  color: #b3b7bb;
  cursor: none !important;
  font-family: "prompt", sans-serif;
  font-weight: 400;
}

.btn:hover {
  font-weight: 600;
  animation: font-weight 1s;
}

#content {
  color: var(--grijs);
  position: relative;
  display: flex;
  justify-content: baseline;
  align-items: center;
  flex-direction: column;
  z-index: 2;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.6s;
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 2vw 2vh;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  text-align: justify;
  width: 70%;
  h3 {
    font-family: "Prompt", sans-serif;
  }
}

.note {
  font-size: 0.7em;
  text-align: start;
}

.imgContainer > figure > img {
  max-height: 350px;
  min-height: 300px;
}

#box1 {
  margin-top: 30vh;
}

@media (max-aspect-ratio: 16/9) {
  body {
    cursor: auto;
  }
}

@media (max-width: 1092px) {
  body {
    padding: 20px 0px;
    padding-top: 0px;
  }
}

@media screen and (max-width: 1020px) {
  .cursor,
  .cursor-overlay {
    display: none !important;
  }

  .imgContainer {
    height: auto;
  }
}

.cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--grijs);
  border-radius: 50% !important;
  top: -20px;
  left: -20px;
  pointer-events: none;
  z-index: 9998;
  overflow: auto;
  box-shadow: 0 0 10px 5px rgba(44, 44, 44, 0.863);
  /*backdrop-filter: grayscale(0) hue-rotate(220deg);*/
  opacity: 0;
  transition:
    width 0.6s,
    height 0.6s,
    top 0.6s,
    left 0.6s,
    opacity 0.6s;
}

.title {
  font-size: 3em;
  min-width: 100%;
  white-space: nowrap;
}

.titleBox {
  width: 43%;
  margin-left: 2vw;
  margin-top: 2vh;
}

/*navbar*/
.navbar * {
  cursor: none !important;
  color: var(--grijs);
}
.offcanvas-transition {
  transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link {
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border 0.6s;
}

.navbar-nav .nav-link.active {
  color: var(--grijs);
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--grijs);
}

.navbar-nav {
  width: 30vw;
  justify-content: space-around;
}

.nav-link:hover {
  text-decoration: none;
  border: 2px solid var(--grijs);
}

.sidebar {
  background-color: black;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--wit);
  border: 1px solid var(--grijs);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background-color: black;
}

@media (max-width: 1024px) {
  html {
    background-attachment: fixed;
    background-size: 450%;
    --bg-x: 20%;
  }

  body {
    cursor: auto;
  }

  a,
  .btn,
  .navbar * {
    cursor: auto !important;
  }

  .intro {
    width: 88%;
    margin: 1.5rem 0;
    font-size: 1.1rem;
  }

  .intro h3 {
    text-align: left;
  }

  .intro .w-75 {
    width: 100% !important;
  }

  #box1 {
    margin-top: 8rem;
  }

  .pluginContainer > div {
    padding: 0 !important;
  }

  .pluginContainer > div:first-child {
    padding-right: 0.75rem !important;
  }

  .pluginContainer > div:last-child {
    padding-left: 0.75rem !important;
  }

  .imgContainer {
    height: auto;
  }

  .imgContainer > figure {
    width: 100%;
    margin-bottom: 0;
  }

  .imgContainer > figure > img {
    width: 100%;
    min-height: 0;
    max-height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
  }

  .note {
    margin-top: 0.5rem;
    opacity: 0.7;
  }
}

@media (max-width: 767px) {
  html {
    background-size: 800%;
    --bg-x: 60%;
  }

  .intro {
    width: 100%;
    font-size: 1rem;
  }

  .title {
    font-size: 2em;
  }

  #box1 {
    margin-top: 6.5rem;
  }

  .pluginContainer {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .pluginContainer > div,
  .pluginContainer > div:first-child,
  .pluginContainer > div:last-child {
    width: 100% !important;
    padding: 0 !important;
  }

  .imgContainer {
    margin-top: 1.5rem;
  }

  .imgContainer > figure > img {
    max-height: 240px;
  }
}

@media (max-width: 991px) {
  .titleBox {
    min-width: 100%;
    font-size: 0.8em;
    text-align: center;
    position: absolute;
    margin-left: 0px;
  }

  .offcanvas-body,
  .offcanvas-header {
    width: 100%;
    text-align: end;
  }

  .closeCanvas {
    margin-right: 6px !important;
  }

  .navbar-nav {
    width: auto;
    justify-content: end;
    padding: 0 !important;
  }

  .offcanvas-header {
    padding-top: 1rem;
  }

  .navBarHolder {
    width: 100% !important;
  }

  .navbar-nav .nav-link {
    text-decoration: none;
    border: none;
    transition: none;
  }

  .sidebar {
    width: min(320px, 55%) !important;
  }
}

@media (max-width: 575px) {
  .sidebar {
    width: min(280px, 75%) !important;
  }
}
