* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.fade-text.chungus{
  opacity: 0 !important;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1s ease;
}

.fade-text.smol{
  opacity: 0 !important;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1s ease;
}

.fade-text.nav{
  opacity: 0 !important;

  transition: opacity 1.5s ease;
}
.fade-text.img-frame{
  opacity: 0 !important;
  transform: translateY(20px);
  transition: opacity 2s ease, transform 1s ease;
}

.fade-text.visible {
  opacity: 1 !important;
  transform: translateY(0);
}

.fade-text.delay-1 { transition-delay: 0s; }
.fade-text.delay-2 { transition-delay: 0.5s; }
.fade-text.delay-3 { transition-delay: 0.8s; }
.fade-text.delay-4 { transition-delay: 1s; }

.chungus{
   font-family: Boska-Black;
}
.smol{
    font-family: 'Poiret One';
}
html,body{
  background-color:   #191a19;
}

/* NAVBARrrr */
.navbar {
  position: absolute;
  top: 6rem;
  left: 6rem;
  color: #D1C1B8;
  z-index: 4;
}
.nav-pills {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-pills a {
  text-decoration: none;
  color: inherit;
  font-size: clamp(0.9rem, 1.4vw, 2rem);
  padding: 1rem;
}
a.active {
  font-weight: 500;
  background-color: #1B0B0250;

  
  border-radius: 2rem;
}


.grid-wrap {
  width: 100%;
  padding-left: 6.5rem;
  padding-right: 6.5rem;
  padding-top: 12rem;
  padding-bottom: 2rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
 grid-auto-rows: minmax(4rem, auto);
  gap: 1rem;
}

/* Gridshit

/* column spans */
.col-1 {
  grid-column: span 1;
}
.col-2 {
  grid-column: span 2;
}
.col-3 {
  grid-column: span 3;
}
.col-4 {
  grid-column: span 4;
}
.col-5 {
  grid-column: span 5;
}
.col-6 {
  grid-column: span 6;
}
/* row spans */
.row-1 {
  grid-row: span 1;
}
.row-2 {
  grid-row: span 2;
}
.row-3 {
  grid-row: span 3;
}
.row-4 {
  grid-row: span 4;
}
.row-5 {
  grid-row: span 5;
}
.row-6{
  grid-row: span 6;
}



/* card parent */
.grid-item {
  width: 100%;
  min-height: 100%;
  background: #1B0B0235;
  border-radius: 1rem;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

/* image block */
.img-frame {
  width: 100%;


  min-width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 0.5rem;
}

/* image itself */
.img-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  
  border-radius: 0.25rem;
  opacity: 0.9;
  padding: 1rem;
  object-fit: contain;
  display: block;
  
}

/* text block */
.yapp {
  width: 100%;
  color: #D1C1B8;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  padding: 0rem 0rem 2rem 0rem;
  
}


.grid-wrap .chungus {
  font-size: clamp(1.2rem, 3vw, 3rem);
  line-height: 0.9;
  margin: 1rem 0 1rem 0rem;
  text-align: center;
}

.grid-wrap .smol {
  font-size: clamp(0.8rem, 1vw, 1.1rem);
  line-height: 1.4;
  max-width: 32ch;
  margin: 0;
}

.citation {
  margin-top: 0.3rem;
}

.citation a {
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  font-size: clamp(0.7rem, 1vw, 0.9rem);

  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.citation a:hover {
  opacity: 1;
}







/*feets*/
.site-footer {
  width: 100%;
  padding: 0 6rem;
  color: #D1C1B880;
  background: #1B0B0235;
  padding-bottom: 3rem;
 margin-top: 4rem;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-signature {
  display: flex;
  align-items: center;
  opacity: 50%;
}

.signature-img {
  display: block;
  max-height: 3rem;
  width: auto;
}

.footer-email {
  text-decoration: none;
  color: inherit;
}

.footer-bottom {
  gap: 3rem;
  
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: inherit;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.footer-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  display: block;
}

/*Lightboxshit*/



.img-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.overlay-box {
  transform: scale(0.96);
  transition: transform 0.5s ease;
  
}

.img-overlay.active .overlay-box {
  transform: scale(1);
}

.no-scroll {
  overflow: hidden;
}

.img-frame img {
  cursor: pointer;
}


.img-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: #191a1999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2rem;
    opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease;
    backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);


}

.overlay-box {
  width: 60vw;
  max-width: 1000px;
  max-height: 85vh;

  background: #191a1995;
  border: 1px solid #D1C1B810;
  color: #D1C1B8;
  display: flex;
  gap: 2rem;

  padding: 2rem;
  position: relative;
  border-radius: 1rem;
  filter: drop-shadow(-0px 0px 40px #000000);

  transform: scale(1);
  opacity: 1;
}

.overlay-img-frame {
  flex: 1.4;
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-img-frame img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.overlay-yapp {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 0.8rem;
}

.overlay-yapp .chungus,
.overlay-yapp .smol {
  margin: 0;
}

.overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;

  background: transparent;
  border: none;
  color: inherit;

  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

 /*  phone */
@media (max-width: 480px) {
   .footer-bottom{
    justify-content: center;
    align-items: center;
  }
 
}


@media (max-width: 768px) {
 .pidg{
    order: -1;
 }
 
 .navbar {
  position: static;
  display: flex;
  justify-content: center;
  margin: 1rem;
  padding: 2rem;
}
 .grid-wrap {
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0rem;
  padding-bottom: 2rem;
  }

  .nav-pills {
    justify-content: center;
    gap: 0.25rem;
    display: flex;
  }
 
  .nav-link {
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
  }
  .site-footer {
    padding: 0 2rem;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    gap: 1rem;
  }
  .last{
    padding-bottom: 2rem;
  }

  .footer-socials {
    justify-content: flex-start;
  }
  button:hover{

  background-color: #D1C1B850;
}



  /*Media for grids nstuff*/
  .editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
grid-auto-rows: minmax(4rem, auto);
  gap: 0.8rem;
  margin-top: 3rem;
  

}

.grid-item{
    padding: 1rem;
}

.row-5 {
  grid-row: span 4;
}
.row-4 {
  grid-row: span 3;
}
 /* .evening shit out*/

  .yapp{
    padding: 0rem 0rem; 
    
  }

  /*overlay shit*/
  .img-overlay {
    padding: 2rem;
  }

  .overlay-box {
    width: 90vw;
    max-height: 90vh;

    flex-direction: column;
    gap: 1rem;

    padding: 1.4rem;
    overflow-y: auto;
  }

  .overlay-img-frame img {
    max-height: 55vh;
  }

  .overlay-yapp {
    padding: 0rem 1rem 1rem 2rem;
    justify-content: flex-start;
    align-items: flex-end;
  }

  .overlay-close {
    top: 0.7rem;
    right: 0.9rem;
  }
}

/* Hide burger on desktop */
.nav-toggle {
  display: none;
}

/* Mobile hamburger nav */

@media (max-width: 768px) {
  .navbar {
    display: flex;
    position: relative;
    top: 1.5rem;
    left: 0;
    justify-content: center;
    z-index: 100;
    margin: 0;
    padding: 0;
    
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;

    border: none;
    border-radius: 999px;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #D1C1B8;
    font: inherit;
    z-index: 110;
  }

  .nav-toggle.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav {
    position: absolute;
   

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;

    width: max-content;
    min-width: 10rem;

    list-style: none;
    margin: 0;
    padding: 1rem;

    border-radius: 1.5rem;

    background: #D1C1B810;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

   

    transition:
      opacity 350ms ease,
      transform 350ms ease,
      visibility 0s linear 350ms;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;



    transition:
      opacity 350ms ease,
      transform 350ms ease,
      visibility 0s linear 0s;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 999px;

    text-decoration: none;
    white-space: nowrap;
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
  }
}