body {
  background-color: var(--black);
  color: white;
}

.main-menu-section {
  background-color: #141414;
}

.footer-section {
  mix-blend-mode: difference;
  z-index: 2;
}

.page-content {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--black);
}

.article-picture {
  isolation: isolate;
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--black);
}

.article-main-picture {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  overflow: hidden;
  opacity: 0.8;
  z-index: -1;
}

.article-title {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  font-size: min(10vh + 0.4rem, 10vw + 0.4rem);
  line-height: 80%;
}

.article-content {
  z-index: 3;
  background-color: white;
  color: var(--black);
  width: 100%;
  padding-inline: 25%;
  padding-block: 20vh;
  font-size: min(1.4vh + 0.2rem, 1.4vw + 0.2rem);
  min-height: 100vh;
}

.next-articles {
  background-color: white;
  color: var(--black);
}

.page-content a {
  color: var(--black);
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-family: 'rama-gothic-c';
  text-transform: uppercase;
}

.page-content h2 {
  margin-block: min(4vh, 4vw);
  font-size: min(5vh + 0.4rem, 5vw + 0.4rem);
  line-height: 80%;
}

.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  margin-block: min(2.5vh, 2.5vw);
  font-size: min(4vh + 0.4rem, 4vw + 0.4rem);
  line-height: 80%;
}

.page-content p {
  font-size: 110%;
  text-align: justify;
  margin-bottom: min(2vw, 2vh);
}

@media (pointer: coarse) {
  .main-menu-section .menu-hamburger .line {
    stroke: var(--white-diff);
    transition: stroke 400ms ease-in-out;
  }

  .black-menu .menu-hamburger .line {
    stroke: var(--black);
  }

  .custom-logo-black {
    opacity: 0;
    transition: opacity 400ms ease-in-out;
  }
  
  .custom-logo-white {
    opacity: 1;
    transition: opacity 400ms ease-in-out;
  }

  .black-menu .custom-logo-black {
    opacity: 1;
  }

  .black-menu .custom-logo-white {
    opacity: 0;
  }

  /* .black-menu .menu-hamburger .line {
    stroke: var(--black);
  } */

  .article-title {
    width: 80%;
    margin-inline: 10%;
  }
  
  .article-content {
    padding-inline: 7.5%;
    padding-block: max(5vh, 5vw);
    font-size: min(1.3rem, 1.3dvh);
  }
  
  .page-content h2 {
    margin-block: min(4vh, 4rem);
    font-size: min(4vh, 4rem);
    line-height: 80%;
  }
  
  .page-content h3,
  .page-content h4,
  .page-content h5,
  .page-content h6 {
    margin-block: min(2.5vh, 2.5vw);
    font-size: min(4vh + 0.4rem, 4vw + 0.4rem);
    line-height: 80%;
  }
  
  @media (orientation: landscape) {
    .article-content {
      font-size: min(1.3rem, 3.1dvh);
    }
    
    .page-content h2 {
      margin-block: min(7vh, 3rem);
      font-size: min(3.5rem, 8vh);
    }
    
    .page-content h3,
    .page-content h4,
    .page-content h5,
    .page-content h6 {
      margin-block: min(5vh, 2.2rem);
      font-size: min(2.6rem, 6vh);
    }
  }
}

@media (pointer: fine) {
  .main-menu-section .nav-main .menu-item a {
    color: white;
  }

  .black-menu .nav-main .menu-item a {
    color: var(--black);
  }

  .custom-logo-black {
    opacity: 0;
  }

  .black-menu .custom-logo-white {
    opacity: 0;
  }

  .black-menu .custom-logo-black {
    opacity: 1;
  }

  .footer-section {
    position: fixed;
    bottom: 0;
    z-index: 10;
  }
}
