body{
  background-color: black;
  color: ivory;
  font-family: "clarendon-urw-extra-narrow", serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 5%;
  overflow-x: hidden;
}
html {
  scroll-snap-type: y proximity;
  scroll-snap-type: y mandatory;
    scroll-behavior: smooth; 
}


/* Scroll to Top button */
#myBtn {
    display: none;
    position: fixed;
    bottom: 3rem;
    right: 3.5rem;
    z-index: 99;
    font-size: 1.5rem;
    border: none;
    outline: none;
    background-color: ivory;
    color: black;
    cursor: pointer;
    padding: 10px;
    width: 3%;
    border-radius: 4px;
  }
  #myBtn:hover {
    background-color:var(--black);
    color: ivory;
    border: 1px solid ivory;
  }


/* sections */
section {
  scroll-snap-align: start;
}
.opening-sec{
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
    text-align: center;
    align-content: center;
    position: relative;
    top: -5rem;
}
.data-sec{
    padding-top: 5rem;
}
.openingtext {
  margin-left: auto;
  margin-right: auto;
  width: 20rem;
  text-align: justify;
  opacity: 0; 
  left: -21%;
  color: #f179af;
  position: relative;
  animation-name: text;
  animation-duration: 3.5s;
  animation-delay: 3.5s; 
  animation-fill-mode: forwards;
}
@keyframes text {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


/* SVG */
#Layer_1{
    width: 80%;
    position: relative;
    left: 2%;
}

.small-title{
  width: 50%;
}

.small-text{
  width: 100%;

}

    
/* header */
.intro{
  display: flex;
  flex-direction: row;
  text-align: justify;
  gap: 60%;
}
.underline{
    width: 100%;
    margin-top: 1%;
}


/* footer */
footer{
    text-align: center;
    position: relative;
    margin-bottom: 2%;
    padding-bottom: 5px;
    margin-top: 2%;

}


/* images */
.imgs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
} 
.sari img {
    width: 100%;
    display: block;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
} 
.sari img.loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.meta {
    margin-top: 0.5rem;
    font-size: 1rem;
} 
.weave {
    line-height: 99%;
} 
.notes {
    opacity: 0.6;
    margin-top: 0.5rem;
    line-height: 99%;
}


/* Filter */
.filter-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
  }
  .filter-menu li {
    border: 1px solid ivory;
    padding: 0.3rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    opacity: 1;
  }
  .filter-options li.active {
    background: ivory;
    color: black;
    opacity: 1;
  }
  .filter-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
} 
.filter-menu li {
    border: 1px solid ivory;
    border-radius: 5px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
}
.filter-menu li:hover {
    opacity: 1;
}
.filter-menu li.active {
    background: #e8d426;;
    color: black;
    border: none;
    opacity: 1;
}
.filters{
    display: flex;
    flex-direction: row;
    gap: 5%;
}
ul {
    list-style-type: none;
    padding: 0;
}
button{
    background-color: black;
    border: none;
    color: ivory;
    font-family: "clarendon-urw-extra-narrow", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
    padding: 0;
}
.noresults{
    height: 20rem;
    align-content: center;
    font-size: 2rem;
    text-align: center;
}

/* svg */
.pixel {
  opacity: 0;          
  transition: opacity 0.2s ease;  
}

.pixel.show {
  opacity: 1;       
}

