*{
    overflow-x: hidden;
}


.masn-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
    object-fit: cover;
    z-index: -1;
}

.okjn {
    position: relative;
    height: 70vh;
    overflow: hidden;
}


.len-ce h1 {
    color: #c4ab8a;
    font-family: Miftah;
    font-size: 30px;
    font-weight: 100;
    text-align: center;
}

.len-ce p {
    margin-bottom: 20px;
}


.kjh-fss{
    margin-top: 30px;
    padding: 10px;
}
.len-ce p{
    text-align: center;
}


/* Moile css */
.buttons {
    margin-bottom: 20px;
    text-align: center;
}

.filter-btn, .filter-buttons-desktop button {
    border: none;
    background: none;
    font-size: 17px;
    margin: 5px;
    padding: 10px 15px;
    cursor: pointer;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.filter-btn.active, .fe-fe.active {
    font-weight: bold;
    color: #c4ab8a
}
.romance-sections {
    max-width: 800px;
    width: 100%;
    column-count: 2;
    column-gap: 10px;
}
.grid-items {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    break-inside: avoid;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.grid-items img {
    width: 100%;
    height: auto;
    display: block;
}

@supports (-webkit-touch-callout: none) {
    .grid-items {
        display: inline-block;
        width: 100%;
    }
}

.grid-items img:first-child {
    width: 100%;
    height: auto;
    display: block;
}

.grid-items img:last-child {
    position: absolute;
    bottom: 3%;  /* Adjust as needed */
    right: 5%;   /* Adjust as needed */
    width: 20px;   /* Adjust size as needed */
    height: auto;
}

/* .grid-items a {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 5px 5px;
    border: 1px solid white;
    font-size: 12px;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    font-weight: bold;
} */
.hidden {
    display: none;
}


/* Desk css */
/* Gallery Section */
.gallery {
    display: flex;
    margin: 30px 0 50px 0;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;

}
.filter-buttons-desktop{
    text-align: center !important;
}

.gallery img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-container {
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
    display: block;
    position: relative;
    transition: opacity 0.5s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background: rgba(0, 0, 0, 0); /* Initially fully transparent */
    transition: background 0.3s ease-in-out;
    pointer-events: none; /* Allows clicking through the overlay */
}

/* Show overlay on hover */
.image-container:hover .overlay {
    background: rgba(0, 0, 0, 0.5); /* Slight dark effect on hover */
}

/* Name at the top left */
.overlay p {
    position: absolute;
    font-family: Miftah;
    /* text-transform: uppercase; */
    top: 50px;
    left: 50px;
    margin: 0;
    letter-spacing: 1px;
    font-size: 40px;
    /* background: rgba(0, 0, 0, 0.6); */
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
}

/* See More at the bottom right */
.overlay a {
    position: absolute;
    bottom: 60px;
    right: 100px;
    padding: 10px 30px;
    border: 1px solid #f4f4f4;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    /* background: rgba(0, 0, 0, 0.6); */
    pointer-events: auto; /* Ensures the link is clickable */
}

.overlay a:hover{
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

.gallery img:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

.grid-items, .image-container {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.grid-items.hidden, .image-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.grid-items:not(.hidden), .image-container:not(.hidden) {
    opacity: 1;
}

.grid-items.hidden, .image-container.hidden {
    display: none;
}

.desk-view{
    display: block;
    width: 100%;
}

.moile-view{
    display: none;
}

.ndec-cd{
    padding: 10px;
    padding: 0 50px;
    margin-top: 30px;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
}

@media(max-width:769px){
    .desk-view{
        display: none;
    }
    .moile-view{
        display: block;
        padding: 10px;
    }
    .filter-btn{
        padding: 0;
        font-size: 16px;
    }
    .len-ce p{
        text-align: justify;
    }
    .ndec-cd{
        padding: 10px 0 0 10px;
    }
}



@media(max-width:450px){
    .grid-items a{
        font-size: 8px;
    }
}
@media(max-width:500px){
    .ndec-cd a{
        font-size: 8px !important;
    }
}