@import url(./global.css);

:root {
  --distance-frm-top: 6rem;
}

ol {
  list-style-type: none;
  counter-reset: item;
  text-align: left;
}

ol li {
  counter-increment: item;
  margin-bottom: 1rem;
}

ol li::before {
  content: counter(item);
  font-family: var(--brand-font-ibm-mono), 'Courier New', Courier, monospace;
  font-weight: 500;
  font-size: 1.5rem;
  color: #ff8000;
  margin-right: 0.5rem;
}

.article-nav-group {
  position: fixed;
  width: 100%;
  font-family: var(--brand-font-ibm), sans-serif;
}

.article-navbar {
  display: flex;
  background-color: var(--body-bg);
  box-shadow: 0px 0px 70px 15px var(--soft-grey-2);
  background: rgba(255, 252, 249, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  margin-top: var(--distance-frm-top);
  animation: FADEIN 1s ease forwards;
}

@supports not (backdrop-filter: blur(4px)) {
  .article-navbar {
    background: rgba(255, 255, 255, 0.8);
  }
}

.article-navbar__text {
  margin-left: 2rem;
}

.article-sidebar--in,
.article-sidebar--out {
  position: absolute;
  top: var(--distance-frm-top);
  padding: var(--container-padding);
  padding-right: 2rem;
  background-color: var(--body-bg);
  box-shadow: 0px 2rem 100px 0px var(--soft-grey-1-5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  height: 100vh;
}

.article-sidebar--out {
  transition: 1.3s ease;
  left: -90vw;
}

.article-sidebar--in {
  transition: 0.6s ease;
  left: 0px;
}

.article-sidebar-text {
  margin-top: 5rem;
  padding-right: 3rem;
}

.article-sidebar-text h2 {
  font-weight: 400;
  margin-bottom: 2rem;
}

.article-sidebar__link {
  font-size: 1.2rem;
  display: block;
  margin-top: 1rem;
  transition: 0.3s ease;
  width: fit-content;
}

.article-sidebar__link:hover {
  color: black;
}

.cls-icon-vrnt-2-container {
  display: flex;
  margin-bottom: 2rem;
}
.cls-icon-vrnt-2 {
  margin-right: 0px;
  margin-left: auto;
}

.hmbrg-icon-vrnt-2,
.cls-icon-vrnt-2 {
  cursor: pointer;
}

/* TEXT CONTENT STYLING */

.article-main {
  width: 100%;
  font-family: var(--brand-font-ibm), sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-text {
  margin-top: 14rem;
}

.article-text__number {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--soft-grey-1-5);
}

.article-text__header {
  font-weight: 400;
  font-size: 4.37rem;
  width: 65%;
  margin: 2rem auto;
}

.article-text__image {
  width: 50%;
  margin: 0 auto;
  height: fit-content;
}

.article-text__content {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 auto;
  width: 50%;
  margin-top: 2rem;
}

.article-text__content p {
  margin-bottom: 1.2rem;
}

img {
  opacity: 1;
  animation: FADEIN 1.5s ease backwards;
}

.article-img {
  max-width: 100%;
}

#article-1-img {
  border: 2px solid black;
}

#article-3-subheading,
#article-4-subheading {
  color: var(--soft-grey);
  font-weight: 300;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

#article-3-subheading-2 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 2rem;
}

#wai-link,
#wg-link,
#opensea-link {
  color: #ff8000;
}

#wai-link:hover,
#wg-link:hover,
#opensea-link:hover {
  text-decoration: underline;
}

#wai_Article_Header {
  font-size: 3rem;
}

.present-article {
  color: black;
  font-weight: 500;
  text-decoration: underline;
}

.next-article-link {
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 6rem;
}

.next-article-link__pre {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brand-brown);
  letter-spacing: 0.05rem;
  margin-right: 0.4rem;
}

.next-article-link__anchor {
  color: black;
  font-size: 1.1rem;
}

.next-article-link:hover .next-article-link__anchor {
  text-decoration: underline;
}

/* ANIMATIONS */

@keyframes FADEIN {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .article-text__header {
    width: 75%;
  }
  .article-text__content {
    width: 70%;
  }
}

@media (max-width: 630px) {
  .article-text__header {
    margin: 1.5rem auto;
    font-size: 3rem;
    width: 90%;
  }

  #article-3-subheading,
  #article-4-subheading {
    font-size: 0.9rem;
    width: 50%;
    margin: 1rem auto;
  }

  #Article_3_Header {
    width: 80%;
  }

  #Article_1_Header {
    width: 90%;
  }

  #Article_5_Header,
  #Article_6_Header {
    width: 80%;
  }

  #wai_Article_Header {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  :root {
    --distance-frm-top: 6.5rem;
  }
  .article-navbar {
    border-radius: 0px;
  }
  .article-sidebar--out {
    left: -110vw;
    transition: 1s ease;
  }
  .article-sidebar--in {
    left: 0vw;
    transition: 0.75s ease;
  }

  .article-text {
    padding: 1.4rem 2rem;
  }

  .article-text__header {
    font-size: 3rem;
  }
  .article-text__image {
    width: 70%;
  }
  .article-text__content {
    font-size: 1.3rem;
    width: 90%;
  }

  .article-text__content p {
    margin-bottom: 1.4rem;
  }

  .next-article-link {
    display: flex;
    flex-direction: column;
  }

  .next-article-link__pre {
    margin-bottom: 0.5rem;
  }
}
