/* GOOGLE FONT LINK */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
/* RESET DEFAULT CSS */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
}
/* BANNER SEARCH AREA SECTION */
.search{
    height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.search img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}
.search .content{
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 2;
}
.search h1{
    font-size: 2.65rem;
    font-weight: 600;
}
.search p{
    font-size: 1.5rem;
    margin-top: 8px;
}
.search .searchBox{
    height: 55px;
    margin: 45px 0;
    position: relative;
}
.searchBox i{
    position: absolute;
    left: 20px;
    top: 50%;
    font-size: 1.4rem;
    color: #8d8d8d;
    transform: translateY(-50%);
}
input, button,i{
    outline: none;
    border: none;
     border-radius: 5px;
}
.searchBox input{
    width: 100%;
    height: 100%; 
    font-size: 1.1rem;
    padding-left: 55px;
}
/* GALLERY AREA SECTION */
.gallery{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gallery .images{
    gap: 15px;
    max-width: 95%;
    margin-top: 40px;
    columns: 5 340px;

}
.images .card{
    display: flex;
    overflow: hidden;
    position: relative;
    list-style: none;
    margin-bottom: 14px;
    border-radius: 4px;
}
.images .card .details{
    position: absolute;
    bottom: -100px;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: bottom 0.1s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.images .card:hover .details{
    bottom: 0;
}
.photographer{
    color: #fff;
    display: flex;
    align-items: center;
}
.details .photographer i{
    font-size: 1.4rem;
    margin-right: 10px;
}
.details .photographer span{
    font-size: 1.05rem;
}
.card .details button{
    padding: 3px 8px;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: #fff;
}
.images img{
    width: 100%;
}
.gallery .loadMore{
    margin: 50px 0;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 12px 27px;
    background: #8a6cff;
}
.gallery .loadMore.disabled{
    opacity: 0.6;
    pointer-events: none;
}
/* POPUP BOX STYLE */
.lightBox{
    position: fixed;
    display: none;
    z-index: 5;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}
.lightBox .wrapper{
    position: absolute;
    background: #fff;
    width: 100%;
    max-width: 850px;
    padding: 20px;
    border-radius: 5px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.wrapper header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .photographer {
    color: #333;
}
header .photographer i{
    font-size: 1.4rem;
    margin-right: 10px;
}
header .photographer span{
    font-size: 1.05rem;
}
header .buttons i{
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    display: inline-block;
    background: #8a6cff;
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}
.buttons i:last-child{
    margin-left: 10px;
    background: #6c757d ;
}
.previewImg{
    display: flex;
    margin-top: 25px;
    justify-content: center;
}

.wrapper .previewImg .img{
    max-height: 65vh;
    max-width: 90vh;
}
.previewImg .img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}