* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

a {
    text-decoration: none;
    color: inherit
}

body {
    background:
        url("/assets/image/texture.png") repeat,
        url("/assets/image/backdrop.webp") no-repeat center center;
    background-size: auto, cover;
    background-attachment: fixed;
    background-color: #747474;
}

.vertical-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: calc(var(--vh, 1vh) * 100);
    background-color: #121212;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    z-index: 10;
}

.vertical-menu a,
.vertical-menu button {
    position: relative;
    padding: 13px;
    border: none;
    background: transparent;
}

.vertical-menu a:hover svg,
.vertical-menu button:hover svg {
    fill: #eeff00;
}

.movie::after {
    content: "";
    position: absolute;
    bottom: 38px;
    right: 5px;
    width: 7px;
    height: 7px;
    background-color: #eeff00;
    border: 4px double #121212;
    border-radius: 50%;
    cursor: pointer;
}


.menu-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.submenu {
    position: fixed;
    left: 60px;
    top: 280px;
    background-color: #121212;
    display: flex;
    flex-direction: column;
    border: 1px solid #eeff00;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 20;
}

.menu-container .more {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.submenu.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.space-g {
    margin-left: 50px;
    margin-top: 5%;
    padding: 0.5rem;
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: .5rem
}

.image {
    position: relative;
    flex: 1 0 calc((100% / 9) - 1rem);
    margin: .5rem;
    max-width: calc((100% / 9) - 1rem);
    aspect-ratio: 350 / 525;
    height: auto;
}

.image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    aspect-ratio: 350 / 525;
}

.title {
    background-color: #121212;
    color: #ccc;
    border-radius: 6px;
    padding: 5px 10px;
    margin-top: 0.3em;
    width: 100%;
    text-align: center;
    overflow: hidden;
    font-family: "Lexend", serif;
    font-size: 0.8rem;
    font-optical-sizing: auto;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}


@media screen and (max-width:1500px) {
    .image {
        flex: 1 0 calc((100% / 7) - 1rem);
        max-width: calc((100% / 7) - 1rem)
    }
}

@media screen and (max-width:1250px) {
    .image {
        flex: 1 0 calc((100% / 6) - 1rem);
        max-width: calc((100% / 6) - 1rem)
    }
}

@media screen and (max-width:1000px) {
    .image {
        flex: 1 0 calc((100% / 5) - 1rem);
        max-width: calc((100% / 5) - 1rem)
    }
}

@media screen and (max-width:800px) {
    .image {
        flex: 1 0 calc((100% / 4) - 1rem);
        max-width: calc((100% / 4) - 1rem)
    }
}

@media screen and (max-width:675px) {
    .image {
        flex: 1 0 calc((100% / 3) - 1rem);
        max-width: calc((100% / 3) - 1rem)
    }
}

@media screen and (max-width:500px) {
    .image {
        flex: 1 0 calc((100% / 2) - 1rem);
        max-width: calc((100% / 2) - 1rem)
    }
}

@media screen and (max-width:400px) {
    .image {
        flex: 1 0 calc(100% - 1rem);
        max-width: calc(100% - 1rem)
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 1.8rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: #121212;
    color: #ffffff;
    border: 1px solid #ffffff38;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
    z-index: 1000;
    transition: opacity .3s, transform .3s, background-color .3s;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

#search-btn svg {
    fill: #121212 !important;
}

.search-button svg {
    display: block;
    margin: auto;
    height: 100%;
    width: 100%;
}

.search-button {
    width: 50px;
    height: 50px;
    border: none;
    margin: -5px;
    background-color: #eeff00 !important;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px;
}

.search-container.expanded .search-input {
    width: 200px;
    opacity: 1;
    pointer-events: auto;
}

.search-input {
    position: fixed;
    left: 60px;
    top: 7px;
    width: 0;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f8f9fa;
    outline: none;
    opacity: 0;
    pointer-events: none;
    transition: width .3s, opacity .3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    z-index: 20;
}

.navigation-container {
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid #3d3d3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}


.disable {
    opacity: 0.3;
    pointer-events: none;
}

::selection {
    background-color: #eeff00;
    color: #121212;
}