﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

.glry .wrapper {
    /*margin: 100px auto;*/
    max-width: 1100px;
}
    .glry .wrapper nav {
        display: flex;
        justify-content: center;
    }
    .glry .wrapper .items {
        display: flex;
        max-width: 720px;
        width: 100%;
        justify-content: space-between;
    }
.glry .items span {
    padding: 7px 25px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: #007bff;
    border-radius: 50px;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}
    .glry .items span.active,
    .glry .items span:hover {
        color: #fff;
        background: #007bff;
    }

.glry .gallery {
    display: flex;
    flex-wrap: wrap;
    /* margin-top: 30px;*/
}
    .glry .gallery .image1 {
        width: calc(100% / 4);
        padding: 7px;
    }
    .glry .gallery .image1 span {
        display: flex;
        width: 100%;
        overflow: hidden;
    }
    .glry .gallery .image1 img {
        width: 100%;
        vertical-align: middle;
        transition: all 0.3s ease;
    }
    .glry .gallery .image1:hover img {
        transform: scale(1.1);
    }
        .glry .gallery .image1.hide {
            display: none;
        }
    .glry .gallery .image1.show {
        animation: animate 0.4s ease;
    }
@keyframes animate {
  0%{
    transform: scale(0.5);
  }
  100%{
    transform: scale(1);
  }
}

.glry .preview-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    max-width: 700px;
    width: 100%;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    border-radius: 3px;
    padding: 5px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}
    .glry .preview-box.show {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, -50%) scale(1);
        transition: all 0.3s ease;
    }
    .glry .preview-box .details {
        padding: 13px 15px 13px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
.glry .details .title {
    display: flex;
    font-size: 18px;
    font-weight: 400;
}
    .glry .details .title p {
        font-weight: 500;
        margin-left: 5px;
    }
.glry .details .icon {
    color: #007bff;
    font-style: 22px;
    cursor: pointer;
}
.glry .preview-box .image-box {
    width: 100%;
    display: flex;
}
.glry .image-box img {
    width: 100%;
    border-radius: 0 0 3px 3px;
}
.glry .shadow {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: none;
    background: rgba(0,0,0,0.4);
}
    .glry .shadow.show {
        display: block;
    }

@media (max-width: 1000px) {
    .glry .gallery .image1 {
        width: calc(100% / 3);
    }
}
@media (max-width: 800px) {
    .glry .gallery .image1 {
        width: calc(100% / 2);
    }
}
@media (max-width: 700px) {
    .glry .wrapper nav .items {
        max-width: 600px;
    }
    .glry .nav .items span {
        padding: 7px 15px;
    }
}
@media (max-width: 600px) {
  .wrapper{
    margin: 30px auto;
  }
  .wrapper nav .items{
    flex-wrap: wrap;
    justify-content: center;
  }
    .glry .nav .items span {
        margin: 5px;
    }
    .glry .gallery .image1 {
        width: 100%;
    }
}