@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.main{
    top: 100px;
    position: relative;
}
.search{
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.search img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    object-position: bottom;
}
.search .content{
    position: relative;
    color: #fff;
    width: 100vh;
    text-align: center;
    z-index: 2;
}
.search h1{
    font-size: 3rem;
    font-weight: 600;
    text-align: left;
}
.search .p-01{
    font-size: 1.3rem;
    margin-top: 8px;
    font-weight: 500;
    text-align: left;
}
.search .p-02{
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
}
.search .search-box{
    height: 55px;
    margin: 45px 0 3px;
    position: relative;
}
.search-box 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;
}
.search-box input{
    width: 100%;
    height: 100%;
    font-size: 1rem;
    padding-left: 55px;
}
.search .p-03{
    font-size: 15px;
    font-family: 'Barlow', sans-serif;
    text-align: left;
    font-weight: 400;
    color: rgb(202, 199, 199);
    padding: 5px;
}



.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%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    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;
}
.photographer i{
    font-size: 1.4rem;
    margin-right: 10px ;
}
.details .photographer span{
    font-size: 1.05rem;
}
.card .details button{
    cursor: pointer;
    padding: 3px 8px;
    font-size: 1.1rem;
    background: #fff;
}
.images img{
    width: 100%;
}
.gallery .load-more{
    margin: 50px 0;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    padding: 12px 27px;
    background: #8a6cff;
}
.gallery .load-more.disabled{
    opacity: 0.6;
    pointer-events: none;
}


.lightbox{
    position: fixed;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.65);
}
.lightbox.show{
    display: block;
}
.lightbox .wrapper{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 850px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    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.7rem;
}
header .photographer span{
    font-size: 1.2rem;
}
header .buttons i{
    width: 40px;
    height: 40px;
    color: #fff;
    background: #8a6cff;
    cursor: pointer;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    display: inline-block;
}
.buttons i:last-child{
    margin-left: 10px;
    background: #6c757d;
}
.preview-img{
    display: flex;
    margin-top: 25px;
    justify-content: center;
}
.wrapper .preview-img .img{
    max-height: 65vh;
    max-width: 90vh;
    display: flex;
    justify-content: center;
}
.preview-img .img img{
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Nav Bar */
.nav-bar{
    height: 100px;
    width: 100%;
    background: white;
    position: fixed;
    z-index: 200;
}
.nav-con{
    padding: 30px 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-con img{
    height: 41px;
}
.search-box1{
    display: none;
    height: 50px;
    width: 50%;
    position: relative;
    background-color: #eee;
    margin: 0 20px;
    border: 1px solid #0000;
    border-radius: 15px;
}
.search-box1 i{
    position: absolute;
    left: 20px;
    top: 50%;
    font-size: 1rem;
    color: #6b6b6b;
    transform: translateY(-50%);
    cursor: pointer;
}
.search-box1 input{
    background: transparent;
    width: 100%;
    height: 100%;
    top: 50%;
    position: absolute;
    color: #6b6b6b;
    transform: translateY(-50%);
    font-size: 0.9rem;
    padding-left: 50px;
}
.search-btn{
    display: none;
}
.search-btn i{
    display: none;
}
.search-btn form{
    display: flex;
    height: 45px;
    border-radius: 2px;
    padding: 2px;
    background: #ebebeb;
    min-width: 18% !important;
    border: 1px solid rgba(155,155,155,0.2);
}
.search-btn form .search-data{
    height: 100%;
    width: 100%;
    padding: 0 10px;
    color: rgb(0, 0, 0);
    font-size: 17px;
    font-weight: 500;
    background: none;
    border: none;
}
.search-btn form button{
    padding: 0 15px;
    background: #000000;
    border: none;
    cursor: pointer;
    font-size: 17px;
    color: #fff;
    border-radius: 2px;
}

.hamburger{
    display: block;
    width: 35px;
    cursor: pointer;
    appearance: none;
    background: none;
    outline: none;
    border: none;
}
.hamburger .bar, .hamburger::after, .hamburger::before{
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: #000;
    margin: 6px 0px;
    transition: 0.4s;
    border-radius: 10px;
}
.hamburger.is-active::before{
    transform: rotate(-45deg) translate(-9px, 6px);
}
.hamburger.is-active::after{
    transform: rotate(45deg) translate(-9px, -6px);
}
.hamburger.hamburger.is-active .bar{
    opacity: 0;
}