
.back-button {
    display: none;
}

.back-button:active {
    opacity: 0.4;
}


.back-button-div {
    display: flex;
    padding-top: 1.5rem;
    padding-bottom: 0rem;
    padding-left: 0rem;
    justify-content: center;
}
.back-button-div2 {
    display: flex;
    padding-top: 2rem;
    padding-bottom: 6rem;
    padding-left: 0rem;
    justify-content: center;
  
}

.warning {
    font-size: 2rem;
}

.container {
    padding-bottom: 10rem;
}

.gallery-type {
    display: flex;
    justify-content: center;
    margin-bottom: 0rem;
    padding-top: 2rem;
    gap: 1rem;
}
.gallery-type-button {
    border: 1px solid #5A5A5A;
    border-radius: 10px;
    background-color: #221427;
    color: aliceblue;
    padding: 1rem;
    width: 9rem;
    font-size: 0.8rem;
}
.default-gal {
    background-color: #5A5A5A;
}

.img-gallery-gifts {
    display: none;

    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding-top: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    justify-content: center;

    padding-bottom: 0rem;
    background-color: rgb(19, 17, 39);
}

.img-gallery-gifts  img {
    aspect-ratio: 1/1;
    height: clamp(7rem, 40dvw, 22rem);  
    object-fit: cover;
    vertical-align: middle;
    border-radius: 5px;
    flex: none;
    flex-grow: 0;
    cursor: pointer;

    transition: opacity 0.3s;
    -webkit-tap-highlight-color: transparent;
}


.img-gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.7rem;
    padding-top: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: rgb(19, 17, 39);
    justify-content: center;

    padding-bottom: 0rem;
 
}

.column {
    flex-direction: column;

}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
    padding-bottom: 3rem;
   
    
}

.section-title {
    font-size: 0.8rem;
    padding-bottom: 0.5rem;

  
    
}


 .img-gallery img { 
    aspect-ratio: 1/1;
    height: clamp(2rem, 42dvw, 22rem);  
    object-fit: cover;
    vertical-align: middle;
    border-radius: 5px;
    flex: none;
    flex-grow: 0;
    cursor: pointer;

    transition: opacity 0.3s;
    -webkit-tap-highlight-color: transparent;
} 


.img-gallery img:active {
opacity: 0.5;
}
.img-gallery-gifts img:active {
    opacity: 0.5;
}
    
.no-grow {
    flex-grow: 0 !important;

}

.img-to-left {
    width: 100%;
    display: flex;
    justify-content: start !important;
}

.full-img {
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    top: -2rem;
    left: 0;
    padding-bottom: 20rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
 
}

.full-img img {
   width: 100%;
   
   
}


.img-desc {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 80%;
    text-align: start;
    padding-left: 0rem;
    padding-top: 0.5rem;
    font-size: 0.7rem;
   
}
.note {
    position: absolute;
    bottom: 22rem;
    color: darkgrey;
     font-size: 0.7rem;
}


.full-img2 {
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    top: -2rem;
    left: 0;
    padding-bottom: 20rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
 
}

.full-img2 img {
   width: 70%;
   padding-top: 3rem;
}



 
 .full-img3 {
     z-index: 100;
     width: 100%;
     height: 100vh;
     background-color: rgba(0,0,0,0.9);
     position: fixed;
     top: -2rem;
     left: 0;
     padding-bottom: 20rem;
     display: none;
     flex-direction: column;
     align-items: center;
     justify-content: center;
  
 }
 .full-img3 img {
    width: 80%;
 }

@media (min-width: 1800px) /* Desktop */  {


    

    .gallery-type {
        display: flex;
        justify-content: center;
        margin-bottom: 0.5rem;
        gap: 1rem;
    }
    .gallery-type-button {
        border: 1px solid #5A5A5A;;
        border-radius: 10px;
        background-color: rgb(34, 20, 39);
        color: aliceblue;
        padding: 1rem;
        width: 10rem;
    }
    .default-gal {
        background-color: #5A5A5A;
    }
    
    
    .img-gallery-gifts {
        display: none;

        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.7rem;
        padding-top: 6rem;
        padding-left: 12rem;
        padding-right: 12rem;
        justify-content: start;
    
        padding-bottom: 6rem;
        background-color: rgb(19, 17, 39);
    }

    .img-gallery-gifts  img {
        aspect-ratio: 1/1;
        height: 18rem;
        object-fit: cover;
        vertical-align: middle;
        border-radius: 5px;
        flex: none;
        flex-grow: 0;
        cursor: pointer;
    
        transition: opacity 0.3s;
        -webkit-tap-highlight-color: transparent;
    }

    .back-button {
        display: inline-block;
        background-color: aliceblue;
        border: none;
        font-size: 1rem;
        padding: 1rem 2rem;
        border-radius: 100px;
        cursor: pointer;
        transition: opacity 0.2s;
    }
    
    .back-button:hover {
        opacity: 0.7;
    }
    .back-button:active {
        opacity: 0.4;
    }
    
    
    .back-button-div {
        display: block;
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 2rem;
    }
    .back-button-div2 {
        display: none;
    }


.img-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding-top: 3rem;
    padding-left: 12rem;
    padding-right: 12rem;
    background-color: rgb(19, 17, 39);
    justify-content: start;
}

.column {
    flex-direction: column;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding-bottom: 6rem;
}
.section-title {
    font-size: 0.9rem;
    padding-bottom:  0.5rem;
}


.img-gallery img { 
    height: 18rem;
    aspect-ratio: 1/1;
    object-fit: cover;
    vertical-align: middle;
    border-radius: 5px;
    flex: none;
    flex-grow: 0;
    cursor: pointer;

    transition: opacity 0.3s;
    -webkit-tap-highlight-color: transparent;
    
}





.img-gallery img:hover {
opacity: 0.5;

}
.img-gallery-gifts img:hover {
    opacity: 0.5;
}
   
.no-grow {
    flex-grow: 0 !important;
}

.full-img {
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    
}

.full-img img {
   height: 90%;
   width: fit-content;
}

.full-img2 img {
    height: 90%;
    width: fit-content;
    padding-top: 5rem;
 }

.img-desc {
    display: block;
    width: 100%;
    text-align: start;
    padding-left: 6rem;
    padding-top: 0.5rem;
    font-size: 0.8rem;
}
.note {
    position: absolute;
    top: 6rem;
    left: 2rem;
    color: darkgrey;
     font-size: 0.8rem;
}


.full-img3 {
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    top: -2rem;
    left: 0;
    padding-bottom: 20rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
 
}
.full-img3 img {
   width: 70%;
}

}


@media (min-width: 660px) and (max-width: 1799px) and (max-height: 800px) /* Other tablets (Nest hub  */
{
    .full-img {
        z-index: 100;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,0.9);
        position: fixed;
        top: 0;
        left: 0;
        display: none;
        flex-direction: column;
        justify-content: center;
        
    }

    .full-img img {
        height: 90%;
        width: fit-content;
     }
     .full-img2 img {
        height:80%;
        width: fit-content;
     }

     .gallery-type-button {
        border: 1px solid #5A5A5A;;
        border-radius: 10px;
        background-color: rgb(34, 20, 39);
        color: aliceblue;
        padding: 1rem;
        width: 10rem;
        font-size: 1rem;
    }
    .default-gal {
        background-color: #5A5A5A;
    }

  
     
}



@media (min-width: 768px) and (max-width: 1030px) and (min-height: 1000px) /* Most tablets (Ipads, Surf Pro 7  */
{
    .full-img {
        z-index: 100;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,0.9);
        position: fixed;
        top: -2rem;
        left: 0;
        padding-bottom: 20rem;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
     
    }
    
    .full-img img {
       width: 90%;
    }

    .full-img2 img {
        height:80%;
        width: fit-content;
     }
     .img-desc {
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 80%;
        text-align: start;
        padding-left: 0rem;
        padding-top: 0.5rem;
        font-size: 1.2rem;
       
    }

    
    .gallery-type-button {
        border: 1px solid #5A5A5A;;
        border-radius: 10px;
        background-color: rgb(34, 20, 39);
        color: aliceblue;
        padding: 1.5rem;
        width: 20rem;
        font-size: 1.5rem;
    }
    .default-gal {
        background-color: #5A5A5A;
    }


    .full-img3 {
        z-index: 100;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,0.9);
        position: fixed;
        top: -2rem;
        left: 0;
        padding-bottom: 20rem;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
     
    }
    .full-img3 img {
       width: 80%;
    }

    
}

