::-webkit-scrollbar {
    display: none;
}

img {
    max-width: 2000px;
    width: 100%;
    height: auto;
    position: relative;
    left: 50px;
}


.book-wrapper {
    position: relative;
    width: 52vw;
    max-width: none;
    overflow: visible;
}

.book-img {
    display: block;
    width: 120%;
    height: auto;
    filter: drop-shadow(0 0 15px #1d4263)
            drop-shadow(0 0 30px #4b7eab);
    animation: glowPulseImg 2.5s ease-in-out infinite;
}

@keyframes glowPulseImg {
    0% {
        filter: drop-shadow(0 0 15px #1d4263)
                drop-shadow(0 0 30px #4b7eab);
    }

    50% {
        filter: drop-shadow(0 0 15px #285377)
                drop-shadow(0 0 40px #6faee1);
    }

    100% {
        filter: drop-shadow(0 0 15px #1d4263)
                drop-shadow(0 0 30px #4b7eab);
    }
}



.search {
    position: absolute;
    /* allows free placement */
    top: 80px;
    /* adjust vertical position */
    right: 30px;
    /* move it toward the right side of the screen */
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff8c6;
    font-family: "Georgia", serif;
    z-index: 1000;
}

.search input {
    background-color: #858c91;
    color: #fff8c6;
    font-family: "Georgia", serif;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    width: 150px;

    font-size: 15px;
}

.suggestions {
    position: absolute;
    top: 110%;
    right: 0;
    background-color: #858c91;
    color: #fff8c6;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border-radius: 5px;
    width: 200px;
    max-height: 200px;
    overflow-y: auto;
    font-family: "Georgia", serif;
    z-index: 1000;
    display: none;
}

.suggestions li {
    padding: 6px 12px;
    cursor: pointer;
}

.suggestions li:hover {
    background-color: #6f757a;
}


.categories-wrapper {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 85%;
    height: 80%;
    pointer-events: none;
}

.page-content {
    display: flex;
    width: 100%;
    height: 100%;      
    justify-content: space-between;
    align-items: flex-start;
    font-family: "Georgia", serif;
    pointer-events: auto;
}

.page-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap; 
    gap: 50px;
}

.category-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: -20px;
}

.category-column h3 {
    margin: 0 0 10px 0;
    font-size: 27px;
    color: #575047;
    text-align: left;
    margin-bottom: 20px;
    text-decoration: none;
}

.index-title {
    text-decoration: none;
}

.play {
    font-size: 18px;
    color: #575047;
    text-align: left;
    line-height: 1.8;
}

.category-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.category-column p {
    color: #575047;
}

.category-items a,
.category-items .categorie-item {
    display: inline-flex;
    align-items: center;
    color: #575047;
    font-size: 20px;
    font-weight: 500 !important;
    text-decoration: none;
}

.category-items a:hover {
    text-decoration: underline;
    color: #6f675d;
}

.categorie-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.categorie-img {
    height: 50px;
    width: 50px;
}

.img-wrapper {
    position: relative;
    width: 50px;
    height: 60px;
}

.img-wrapper .img-default {
    opacity: 1;
}

.img-wrapper .img-hover {
    opacity: 0;
}

.img-wrapper:hover .img-default {
    opacity: 0;
}

.img-wrapper:hover .img-hover {
    opacity: 1;
}

.img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.index {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    overflow: hidden;
}

.index h1 {
    font-size: 5rem;
    margin-left: 50px;
    font-weight: 900;
    text-align: center;
    position: relative;
    font-family: 'Balgruf', sans-serif;
    color: #061726;
    text-shadow:
        0 0 8px #fff8c6,
        0 0 15px #ffeb99,
        0 0 30px #ffd966;

    display: inline-block;
    letter-spacing: 3px;
    transition: transform 0.3s ease;

    animation: glowPulse 2.5s ease-in-out infinite;
}

.index a {
    text-decoration: none !important;
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    position: relative;
    margin-left: 50px;
    font-family: 'Balgruf', sans-serif;
    color: #061726;
    text-shadow:
        0 0 8px #fff8c6,
        0 0 15px #ffeb99,
        0 0 30px #ffd966;

    display: inline-block;
    letter-spacing: 3px;
    transition: transform 0.3s ease;

    animation: glowPulse 2.5s ease-in-out infinite;
}

.index a:hover {
    color: #fff8c6;
    transform: scale(1.03);
}

.video-container {
    position: relative;
    width: 80%; 
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow:
        0 0 10px #fff8c6,
        0 0 20px #ffd966,
        0 0 40px #ffeb99;
    overflow: hidden;
    transition: transform 0.3s ease;
    animation: glowPulseBox 2.5s ease-in-out infinite;
}

.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    
}
.video-container:hover {
    transform: scale(1.03);
}

.lang-only {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.lang-only #lang-toggle {
    background: none;
    color: #061726;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow:
        0 0 8px #fff8c6,
        0 0 15px #ffeb99,
        0 0 30px #ffd966;
    font-family: 'Balgruf', sans-serif;
}

.lang-only #lang-toggle:hover {
    color: #fff8c6;
    transform: scale(1.03);
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 10px #fff8c6, 0 0 20px #ffd966;

    }

    50% {
        text-shadow: 0 0 20px #fff8c6, 0 0 40px #ffd966;
    }

    100% {
        text-shadow: 0 0 10px #fff8c6, 0 0 20px #ffd966;
    }
}

@keyframes glowPulseBox {
    0% {
        box-shadow:
            0 0 10px #fff8c6,
            0 0 20px #ffd966;
    }
    50% {
        box-shadow:
            0 0 20px #fff8c6,
            0 0 40px #ffd966;
    }
    100% {
        box-shadow:
            0 0 10px #fff8c6,
            0 0 20px #ffd966;
    }
}
@media (max-width: 1400px) {
    .book-wrapper {
        width: 65vw;
    }

    .book-img {
        max-width: 1050px;
    }
    
    .categories-wrapper {
        position: absolute;
        top: 9%;
        left: 11%;
        width: 70%;
        height: 75%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    
    .page-content {
        display: flex;
        flex-direction: wrap;
        justify-content: center;
        width: 100%;
        height: 100%;
        gap: -15px;
    }

    .page-side {
        flex: 1;
        display: flex;
        flex-direction: column;
        
        gap: 30px;
    }

    .category-column h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .category-items {
        flex-wrap: wrap;
        gap: 12px;
    }

    .categorie-img {
        width: 45px;
        height: 45px;
    }

    .search {
        position: absolute;
        top: 80px;
        right: 30px;
        display: flex;
        z-index: 2000;
    }
            .index h1 {
        font-size: 4rem;
    }

    .index a {
        font-size: 3.5rem;
    }

    .video-container {
        width: 90%;
        max-width: 700px;
        margin-top: 3rem;
        margin-bottom:3rem;
    }
}



@media (max-width: 768px) {
    .index {
        padding-top: 60px;
    }

    .index h1 {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 20px;
        margin-left: 0;
    }

    .video-container {
        width: 95%;
        max-width: 550px;
        border-radius: 10px;
    }

    .index a {
        font-size: 2.5rem;
        margin-top: 20px;
    }
    .search {
        position: relative;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: rgba(133, 140, 145, 0.85);
        padding: 8px 12px;
        border-radius: 8px;
        z-index: 2000;
        backdrop-filter: blur(4px);
        width: 80%;
        max-width: 350px;
        margin-bottom: 20px;
    }

    .search input {
        flex: 1;
        background-color: transparent;
        color: #fff8c6;
        font-family: "Georgia", serif;
        border: none;
        font-size: 15px;
    }

    .search input:focus {
        outline: none;
    }

    .book-img {
        display: none;
    }

    .book-wrapper {
        width: 100%;
        height: auto;
        min-height: 115vh;
        background: #061726;
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 20px;
        border-radius: 20px;
        border: 5px solid #0a2033;
        color: #fff8c6;
    }

    .categories-wrapper {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        text-align: center;
    }

    .page-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .page-side {
        align-items: center;
        gap: 10px;
    }

    .category-column h3 {
        font-size: 1.4rem;
        color: #fff8c6;
    }

    .category-items {
        justify-content: center;
        gap: 15px;
    }

    .category-items a {
        color: #fff8c6 !important;
    }

    .categorie-img {
        height: 45px;
        width: 45px;
    }
    .play{
        color: #fff8c6;
    }
    .category-column p {
        color: #fff8c6;
    }

    .category-column {
        background-color: #858c91;
        padding: 15px;
        margin: 0 auto;   
        width: 90%;       
        border-radius: 12px;
        backdrop-filter: blur(6px);
        gap: 10px;
        margin-bottom: 20px;
        align-items: center;
        text-align: center; 
    }

    .category-items {
        justify-content: center;
    }

    .category-items a {
        text-align: center;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .index h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .video-container {
        width: 100%;
        max-width: 350px;
        aspect-ratio: 16/9;
        margin-bottom: 3rem;
        margin-top: 3rem;
    }

    .index a {
        font-size: 2rem;
    }
    .book-wrapper {
        width: 100%;
    }

    .book-img {
        width: 100%;
    }

    .search input {
        width: 100px;
        padding: 6px 8px;
        font-size: 13px;
    }

    .categorie-img {
        height: 40px;
        width: 40px;
    }

    .category-items {
        gap: 5px;
    }

    .category-column h3 {
        font-size: 1.2rem;
    }
}