hr{
    position: absolute;
    top: -4.5rem;
    height: 10px;
    /* border: solid red; */
}
p{
    margin: 1rem;
    font-size: 1.1rem;
}
.gallery__title p{
    margin: 1rem 0;
}
.buttons-wrapper{
    transition: transform 0.3s ease;
    /* following styles are used when tring to use observation api to hide nav filter */
    /* top: auto; */
    /* bottom: 0; */
    /* position: fixed; */
}
.buttons button{
    min-width: 6rem;
    margin: 1rem 0;

}
.buttons-wrapper-sticky{
    transform: translateY(100%);
}
.gallery__container {
    width: 103rem;

    max-width: 100%;
}

img {
    width: 100%;
    height: auto;

    /* opacity: 0; */   
    object-fit: cover;
    border-top-right-radius: 10px;
    border-top-left-radius:10px ;
}

.gallery__title {
    margin: 2rem 1rem;
}

.gallery__title p {
    color: var(--clr-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.image-container{
    position: relative;
    width: 100%;
      overflow: hidden;
          display: flex;
    background: var(--clr-background);
    /* border-bottom: 1px solid #cecece; */
    justify-content: center;
    align-items: center;
}
.image-container img{
    padding: 0.5rem;
    border: solid #dedede;
}
.gallery__img-container {
    margin: 1rem;
    display: grid;
    column-gap: 2rem;
    row-gap: 3rem;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.gallery__img-wrapper {
    margin: 0 auto;
    max-width: 450px;
    background-color: var(--clr-light);
    border-radius: 10px;
    width: 100%;
    position: relative;
    box-shadow: rgba(149, 157, 165, 0.4) 0px 8px 24px;
}
.gallery__img-wrapper img{
    /* aspect-ratio: 1/1; */
}
.border__container{
    height: auto ;
    aspect-ratio: auto;

}
   .fade-img {
      width: 100%;
      display: block;
    }

    /* First image is static — visible by default */
    .fade-img:first-child {
      position: static;
    }

    /* Second image is layered above, hidden by default */
    .fade-img:nth-child(2) {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      transition: opacity 0.25s ease-in-out;
      z-index: 0;
    }

    .fade-img.active {
      opacity: 1;
      z-index: 1;
    }
h3,
span {
    padding: 0;
    margin: 0;
}
.photo__description{
    line-height: 1.5;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
    
}
.menu__item-name{
    font-size: 1em;
    padding: 0;
    border: transparent;
}

.ontop {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #ffffff;
    background-color: transparent;
    padding: 0.75em 0 1rem 0;
    /* left: 4%; */
    /* right: 5%;      */
    /* width: auto; */
    text-align: center;
    z-index: 2;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    font-size: 1rem;
}

.ontop * {
    color: rgb(255, 255, 255);
    margin: 0;
    padding: 0;
    font-weight: 100;
}

.ontop h3 {
    text-transform: uppercase;
    font-size: 1.5em;
}

.ontop span {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gallery__btn-wrapper{
    display: flex;
    gap: 0rem;
    position: absolute;
    justify-content: flex-start;
     margin: 0;
     z-index: 10;
     right: 0;
}

.gallery-btn{
    min-width: 3rem;
    background-color: transparent;
    margin: 0;
    color: var(--clr-lightgrey);
    font-family: 'Supreme', sans-serif;
    padding: 10px 5px;
    font-size: 0.92rem;
    transition: background-color 0.1s ease-out;
    cursor: pointer;
    border: 1px solid var(--clr-lightgrey);
    max-width: 4em;
        border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.gallery-btn.current{
      transition: background-color 0.25s ease-in;
    background-color: var(--clr-dark);
    color: var(--clr-light);
}

.faq-container {
    margin: 2rem auto;
}
.faq__wrapper{
    margin: 0 auto;
    /* margin: 2rem; */
    max-width: 650px;
}

/* DEV */
/* .gallery__img-wrapper{
    background-color: #1d1d1d;
    
} */




@media screen and (max-width: 1680px) {
    /* .gallery__img-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
    } */
}

@media screen and (max-width: 1280px) {
    /* .gallery__img-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    } */
}

@media screen and (max-width: 980px) {
    /* .gallery__img-container {
        grid-template-columns: repeat(auto-fit, minmax(270px, 330px));

    } */

    .ontop {
        font-size: 1rem;
    }

}

@media screen and (max-width: 913px) {
    .ontop {
        font-size: 1.1rem;
    }

    .gallery__title p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 840px) {
    #navButton{
        height: 62px;
    }
    .gallery__container {
        margin-top: 4rem;
    }

    /* .gallery__img-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    } */

    .ontop {
        font-size: 1.1rem;
    }

    .gallery__img-container {
        column-gap: 2.5rem;
        row-gap: 2.5rem;
    }
}

@media screen and (max-width: 736px) {
    


    /* .gallery__img-container {
        margin: 1em;
        display: grid;
        column-gap: 2rem;
        row-gap: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
    } */

    .gallery__container {
        margin-top: 0rem;
    }
}

@media screen and (max-width: 561px) {
    .ontop {
        font-size: 1.1 rem;
    }
}

@media screen and (max-width: 480px) {

    /* .gallery__img-wrapper{
        height: 375px;
    } */
    .ontop {
        font-size: 1.1rem;
    }

    .gallery__title p {
        font-size: 1rem;
    }

    /* .gallery__img-container {
        margin: 1em;
        display: grid;
        column-gap: 2rem;
        row-gap: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
    } */
}
