@font-face {
    font-family: 'giorgio';
    src: url(assets/Giorgio\ Typeface/Giorgio.ttf) format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'giorgio';
    src: url(assets/Giorgio\ Typeface/Giorgio\-Thin.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


.selected {
    position: absolute;
    top: 128px;
    left: 0;
    right: 0;
    height: 240px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.selected_box {
    position: absolute;
    
    width: 1200px;
    height: 200px;
    
    gap: 32px;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;    
}

.selected_box2 {
    position: absolute;
    transform: translateY(-50%);
    top: 40%;
    width: 900px;
    height: 300px;
    left: 10%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    /* align-items: center; */
    justify-content: left;
}

.search {
    position: fixed;
    text-align: center;
    outline: 0;
    width: 30%;
    height: 22px;
    background-color: #FFFFFF22;
    border-color: #00000000;
    color: #FFFFFF;
    font-size: 12px;
    border-radius: 16px;
    left: 50%;
    transform: translateX(-50%);
}


.library {
    margin-left: 32px;
    position: absolute;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 100%;
    height: 120%;
    width: calc(100% - 64px);
    z-index: 100;
}


.category_film {
    position: relative;
    filter: drop-shadow(3px 5px 8px #000000AA);
    border-radius: 16px;
    width:auto;
    height:100%;
}

.category_center {
    position: relative;
    top:0;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.category {
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: start;
    justify-content: start;
    height:256px;
}

#bottom_decoration {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    height: 75%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;

    background: linear-gradient(0, #000000FF, #000000FF, #000000FF, #000000FF, #00000000);

    transition: opacity 400ms ease-in;
}


.listings {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    height: 75%;
    overflow-y: auto;

    background: linear-gradient(0, #000000FF, #00000000, #00000000, #00000000);
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 32px;

    transition: background 1s ease-in;
}

.featured {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 260px;
    max-height: 32%;
    opacity: 1;

    display: flex;
    align-items: top;
    justify-content: center;
    gap: 16px;

    transition: opacity 400ms ease;
}

.featured_film {
    position: relative;
    filter: drop-shadow(3px 5px 8px #000000AA);
    border-radius: 16px;
}

.featured_center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

#featured_3 {
    position: relative;
    height: 100%;
    z-index: 2;
}

.featured_glow {
    position: absolute;
    height: calc(100% + 120px);
    width: auto;
    z-index: 1;
    pointer-events: none;
}

.standard {
    display: flex;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px #000000FF;
    font-family: 'giorgio', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 1cqi, 3rem);
}

.standard_light {
    display: flex;
    color: rgb(255, 255, 255);
    font-family: 'giorgio', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1cqi, 3rem);
}


.primary_background {
    position: absolute;
    top: 0px;
    left: 0px;
    transform-origin: 0px 0px;
    height: 100%;
    width: 100%;
    transform: scale(1);
    background: linear-gradient(180deg, #000000FF, #00000000, #00000000);
}

.menus_background {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.menus {
    position: relative;
    width: 120px;
    height: 24px;
    container-type: inline-size;
    white-space: nowrap;
    text-align: center;
    background-color: #00000000;
    border: #00000000;
    color: #FFFFFFFF;
    text-decoration: none;
    font-family: 'giorgio', sans-serif;
    font-weight: 400;
    font-size: 20px;
    border-radius: 12px;
    text-decoration: none;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 10px 15px;
    color: white;

    transition: background-color .5s;
}

.menus:first-child::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 1px;
    background: #FFFFFF;
}

.menus:hover {
    background-color: #FFFFFF11;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#background {
    position: absolute;
    top: 0px;
    left: 0px;
    transform-origin: 0px 0px;
    height: 100%;
    width: 100%;
    pointer-events: none;
    object-fit: cover;
    transform: scale(1);
}

.basic_gradient {
    position: absolute;
    top: 0px;
    left: 0px;
    transform-origin: 0px 0px;
    height: 100%;
    width: 100%;
    pointer-events: none;
    transform: scale(1);

    background: linear-gradient(0deg, #000000FF, #00000000, #00000000);
}