:root {
  --background-color: rgba(11, 11, 11, 0.3);
  --border-color: rgb(155, 155, 255, 0.1);
  --highlight-color: rgb(255, 58, 16);
  --yt-color: rgb(244, 57, 53);
}

body {
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0px;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, a, p, span {
  font-family: "Space Grotesk";
  font-size: 15px;
  font-weight: bold;
  margin: 0px;
  filter: drop-shadow(1px 1px 2px rgba(1, 1, 13, 0.25));
}

a {
  color: #F3F3F3;
  font-family: "Space Grotesk";
  font-weight: bold;
  justify-content: center;
  cursor: pointer;
}

positive {
  font-family: "Space Grotesk";
  font-size: 15px;
  font-weight: bold;
  margin: 0px;
  filter: drop-shadow(1px 1px 2px rgba(1, 1, 13, 0.25));
  color: green;
}

negative {
  font-family: "Space Grotesk";
  font-size: 15px;
  font-weight: bold;
  margin: 0px;
  filter: drop-shadow(1px 1px 2px rgba(1, 1, 13, 0.25));
  color: red;
}

strong {
  font-size: 13px;
  transition: all 0.1s ease-in;
  color: #7c61ff;
  font-family: "Space Grotesk";
  font-weight: bold;
  cursor: default;
}

strong:hover {
  color: #00FF1A;
}

a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease-in;
}

a:hover {
  color: #ffb800;
}

a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  border-radius: 50%;
  height: 2px;
  bottom: 0;
  left: 0;
  color: #00FF1A;
  background: currentcolor;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

nav {
  display: flex;
  width: 100%;
  height: 18vh;
  min-height: 80px;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

nav .nav-section {
  padding: 2rem 2rem;
  display: flex;
  gap: 1rem;
  border-left: 1px solid var(--border-color);
  align-items: center;
  justify-content: center;
}

#nav-mobile-section {
  display: flex;
  flex-basis: calc(100% * (2 / 3));
  z-index: 2;
  padding: none;
}

#nav-toggle-button {
  align-items: center;
  background-color: transparent;
  color: white;
  cursor: pointer;
  display: none;
  gap: 0rem;
  height: 62px;
  width: 68px;
  justify-content: center;
  outline: none;
  margin-left: 3vh;
  padding: 0rem 0rem;
  position: relative;
  z-index: 300;
  transition: all 0.2s ease-in;
}

#nav-toggle-button:hover,
#nav-toggle-button:hover > span {
  color: white;
}

#nav-toggle-button > span,
#nav-toggle-button > i {
  display: inline-block;
  height: 1rem;
  line-height: 1rem;
}

#nav-social-section,
#nav-contact-section {
  flex-grow: 1;
}

#nav-logo-section {
  flex-basis: calc(100% / 3);
  justify-content: flex-start;
}

#nav-logo-section > a > i {
  font-size: 3.5rem;
}

#nav-link-section {
  flex-basis: 100%;
  gap: 1rem;
}

#nav-social-section {
  gap: 3rem;
}

main {
  flex-grow: 1;
  position: relative;
}

main > article {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 2fr 1fr;
  position: absolute;
  left: 0px;
  top: 0px;
  transition: transform 200ms ease;
  cursor: default;
}

main > article[data-status=inactive] {
  transform: translateX(-100%);
  transition: none;
}

main > article[data-status=active] {
  transform: translateX(0%);
}

main > article[data-status=before] {
  transform: translateX(-100%);
}

main > article[data-status=after] {
  transform: translateX(100%);
}

main > article[data-status=becoming-active-from-before] {
  transform: translateX(-100%);
  transition: none;
}

main > article[data-status=becoming-active-from-after] {
  transform: translateX(100%);
  transition: none;
}

main > article > .article-section {
  height: 100%;
  display: flex;
}

main > article > .article-description-section,
main > article > .article-nav-section {
  border-left: 1px solid var(--border-color);
}

main > article > .article-title-section,
main > article > .article-nav-section {
  border-top: 1px solid var(--border-color);
}

main > article:first-child > .article-image-section {
  background-image: url("../../assets/img/luck.png");
}

main > article:nth-child(2) > .article-image-section {
  background-image: url("https://images.unsplash.com/photo-1535905557558-afc4877a26fc?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2574&q=80");
}

main > article:nth-child(3) > .article-image-section {
  background-image: url("https://images.unsplash.com/photo-1660580554695-d2ca5008f1f2?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=927&q=80");
}

main > article:nth-child(4) > .article-image-section {
  background-image: url("https://images.unsplash.com/photo-1660766877755-4cac24f6cf21?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2232&q=80");
}

main > article > .article-image-section {
  background-position: center;
  background-size: cover;
}

main > article > .article-description-section {
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

main > article > .article-description-section > p {
  color: white;
  font-size: 1.25em;
  transition: all 0.2s ease-in;
}

main > article > .article-description-section > p > a:hover {
  color: white;
}

main > article > .article-title-section {
  align-items: center;
  justify-content: space-between;
  padding: 0rem 2rem;
}

main > article > .article-title-section * {
  color: white;
}

main > article > .article-title-section > h2 {
  flex-basis: 50%;
  font-family: "Space Grotesk";
  font-size: 3.5rem;
  line-height: 3rem;
  margin: 0px;
  text-transform: uppercase;
}

main > article > .article-title-section > i {
  color: rgba(255, 255, 255, 0.75);
  font-size: 4rem;
}

main > article > .article-nav-section > .article-nav-button {
  background-color: transparent;
  flex-grow: 1;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 3rem;
  cursor: pointer;
  transition: all 0.2s ease-in;
}

main > article > .article-nav-section > .article-nav-button:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

main > article > .article-nav-section > .article-nav-button:nth-child(2) {
  border-left: 1px solid var(--border-color);
}

@media (max-width: 14000px) {
  #nav-mobile-section {
    flex-basis: calc(100% * 0.75);
    padding: none;
  }

  #nav-logo-section {
    flex-basis: calc(100% * 0.4);
  }

  #nav-link-section {
    flex-basis: calc(100% / 3);
    gap: 1rem;
  }

  main {
    overflow-y: auto;
  }

  main > article {
    grid-template-columns: none;
    grid-template-rows: 1.5fr repeat(3, 0.75fr) 0.25fr;
    height: max(900px, 100%);
  }

  main > article > .article-title-section > h2 {
    font-size: 3rem;
    line-height: 2.6rem;
  }

  main > article > .article-title-section > i {
    font-size: 3rem;
  }

  main > article > .article-description-section,
main > article > .article-nav-section {
    border-left: none;
  }

  main > article > .article-image-section {
    order: 1;
  }

  main > article > .article-title-section {
    border-bottom: 1px solid var(--border-color);
    order: 2;
  }

  main > article > .article-description-section {
    justify-content: center;
    order: 3;
  }

  main > article > .article-nav-section {
    border-bottom: 1px solid var(--border-color);
    order: 4;
  }
}
@media (max-width: 14000px) {
  nav {
    justify-content: space-between;
  }

  nav[data-toggled=true] > #nav-mobile-section {
    transform: translateY(0%);
    display: flex;
    justify-content: center;
    z-index: 30;
    padding: none;
  }

  nav[data-toggled=true] > #nav-toggle-button {
    border-left: none;
  }

  nav[data-transitionable=true] > #nav-mobile-section {
    transition: transform 400ms ease;
    padding: none;
  }

  nav .nav-section {
    border-left: none;
    padding: 1.5rem 1rem;
  }

  #nav-logo-section > a > i {
    font-size: 2.5rem;
    margin-left: 1rem;
  }

  #nav-mobile-section {
    background-color: var(--background-color);
    backdrop-filter: blur(7px);
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    position: fixed;
    transform: translateY(-200vh);
    padding: none;
    left: 0px;
    top: 0px;
  }

  #nav-toggle-button {
    margin-top: 3vh;
    margin-bottom: 3vh;
    display: flex;
  }

  #nav-link-section {
    flex-basis: 60%;
    flex-direction: column;
    gap: 1rem;
  }

  #nav-link-section > a {
    font-size: 16px;
  }

  #nav-social-section > a {
    font-size: 2rem;
  }

  #nav-contact-section {
    padding-bottom: 4rem;
  }

  main > article {
    grid-template-rows: 1fr repeat(4, 0.5fr);
    height: max(700px, 100%);
  }

  main > article > .article-title-section {
    padding: 2rem;
  }

  main > article > .article-title-section > h2 {
    flex-basis: 70%;
    font-size: 1.75em;
    line-height: 1.5rem;
  }

  main > article > .article-title-section > i {
    font-size: 2rem;
  }

  main > article > .article-description-section {
    padding: 1rem;
  }

  main > article > .article-description-section > p {
    font-size: 1rem;
  }
}
main > article > .article-description-section > p > .source-link {
  color: #52eb02;
  display: inline;
  cursor: pointer;
}

main > article .yt-link,
main > article .yt-link > i {
  color: var(--yt-color);
  display: inline;
}

.loader {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border-top: 2px solid #292929;
  border-right: 2px solid #efefef;
  border-bottom: 2px solid #efefef;
  border-left: 2px solid #efefef;
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}