body {
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: var(--4);
    height: fit-content;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%), url(./images/background-image.jpg) lightgray 50% / cover no-repeat;
    background-blend-mode: soft-light, normal;
    min-height: 100dvh;
}

.visibility-none {
    position: fixed;
    top: 0;
    left: -999999px;
}

.container {
    display: flex;
    padding: var(--7);
    align-items: flex-start;
    gap: var(--7);
    height: 95dvh;
}

.movie {
    display: flex;
    flex-grow: 2;
    padding: var(--8);
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: var(--7);
    border: 2px solid rgba(255, 255, 255, 0.10);
    z-index: 0;

}

.movie > video {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.movie::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
    background: linear-gradient(324deg, rgba(0, 0, 0, 0.00) 68.6%, rgba(0, 0, 0, 0.70) 87.56%);
}

.text-box-container {
    width: 100%;
    z-index: 1;
}

.text-box-container > h1 {
    font-weight: medium;
    color: white;
    font-size: var(--9);
}

.logo-container {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    z-index: 1;
}

.logo-container > img {
    display: flex;
    width: auto;
    height: clamp(8rem, 14vw, 20rem);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navigation-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: var(--6);
    z-index: 10;
}

.navigation-button {
    display: flex;
    padding: var(--4);
    justify-content: start;
    align-items: center;
    overflow: hidden;
    max-width: calc(var(--4) * 2 + var(--5));

    border-radius: var(--12);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.20);
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(11.15px);
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.navigation-button > img {
    width: var(--5);
    height: var(--5);
    aspect-ratio: 1/1;
    transition: 0.5s;
}

.navigation-button > span {
    opacity: 0;
    height: 12px;
    color: #FFF;
    font-size: var(--4);
    font-style: normal;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.5s;
}

@media (hover: hover) {
    .navigation-button:hover {
        max-width: 500px;
    }

    .navigation-button:hover > img {
        margin-right: var(--2);
        transition: 0s;
    }

    .navigation-button:hover > span{
       opacity: 1;    
       transition: 0.05s;
    }
}

.hero-section {
    display: flex;
    width: 350px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--7);
    height: 100%;
    position: relative;
}

.hero-section > .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr var(--8);
    grid-template-rows: 1fr var(--8);
    top: 0;
    left: 0;
    padding: var(--6);
}

.hero-section > .overlay img {
    height: var(--8);
    width: var(--8);
}

.hero-section > p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: var(--4);
    align-self: stretch;
    line-height: 1.2
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--6);
    align-self: stretch;
}

form .input-container {
    display: flex;
    flex: 1 0 0;
    padding: 0 var(--4);
    align-items: center;
    gap: var(--3);
    align-self: stretch;
    background:#35353533;
    border-radius: var(--3);
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    transition: 0.3s ease-in-out;
}

button {
    display: flex;
    padding: var(--4) var(--2);
    gap: var(--4);
    background:hsla(0, 0%, 22%, 0.40);
    color: white;
    width: 100%;
    justify-content: center;
    font-size: var(--4);
    border-radius: var(--3);
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    transition: 0.3s ease-in-out;
}

form > .form-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.form-container .input-container {
    max-width: 30%;
}

.input-container > img {
    width: var(--5);
    height: var(--5);
}

input {
    width: 100%;
    padding: var(--4) 0;
    color: white;
    font-size: var(--4);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(255, 0, 0, 0);
    opacity: 1;
    background-image: url("./../some-folder/some-file.svg");
    background-repeat: no-repeat;
    background-position: 100% center;
    background-size: 20px;
    cursor: pointer;
}

.menu-container {
    overflow: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 5;
    cursor: default;
}

.card {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    border-radius: var(--6);
    border: 2px solid rgba(255, 255, 255, 0.10);
    transition: 0.3s ease-in-out;
}

.card > img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.navigate-button {
    display: flex;
    padding: var(--2) var(--4);
    justify-content: center;
    align-items: center;
    gap: var(--1);
    bottom: var(--6);
    position: relative;

    cursor: pointer;
    border-radius: var(--12);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0px 4px 7.1px 1px rgba(0, 0, 0, 0.47);
    backdrop-filter: blur(4px);
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.navigate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.navigate-button > img {
    width: var(--4);
    height: var(--4);
    aspect-ratio: 1/1;
}

.navigate-button > span {
    color: white;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.menu-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    flex: 1;
    align-self: stretch;
    padding: var(--8) calc(var(--10) * 1.4);
    align-items: center;
    gap: var(--8);
}

.menu-catalog {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--8);
    align-self: stretch;
}

.catalog-header {
    display: flex;
    align-items: center;
    gap: var(--6);
    align-self: stretch;
}

.catalog-header > h2 {
    color: white;
    font-size: var(--6);
    font-weight: 600;
    text-transform: capitalize;
}

.divider {
    height: 2px;
    flex: 1;
    background: white;
    position: relative;
}

.divider::before,
.divider::after {
    position: absolute;
    height: 6px;
    width: 6px;
    rotate: 45deg;
    right: -3px;
    top: -2px;
    background: white;
}

.divider.left::before {
    content: "";
    left: -3px;
}

.divider.right::after {
    content: "";
    right: -3px;
}

.catalog-item-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--5);
    align-self: stretch;
    flex: 1 0 0;
}

.catalog-item {
    display: flex;
    align-items: center;
    gap: var(--7);
    flex: 1 0 0;
    align-self: stretch;
    padding: var(--4) var(--8) var(--4) var(--4) ;
    background: #35353533;
    border-radius: var(--6);
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    transition: 0.3s ease-in-out;
}

.catalog-item > img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.broken-img {
    object-fit: none !important;
}

.catalog-text {
    display: flex;
    align-items: center;
    gap: var(--2);
    flex: 1 0 0;
}

.catalog-text > h3 {
    color: white;
    font-size: var(--5);
    font-style: normal;
    font-weight: 600;
    text-transform: capitalize;
}

.catalog-text > h3 > span {
    color: gray;
    font-size: var(--3);
    font-style: normal;
    font-weight: 500;
    text-transform: capitalize;
}

.catalog-text > .divider {
    background: none;
    height: auto;
    overflow: hidden;
    position: relative;
    font-size: var(--5);
    color: gray;
}

.catalog-text > .price {
    text-wrap: nowrap;
    color: white;
    font-size: var(--5);
    text-transform: capitalize;
    font-weight: 600;
}

footer {
    background: rgba(0, 0, 0, 0.40);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5dvh;
    color: gray;
}


@media (hover: hover) {
    .card:hover {
        transform: scale(1.05);
    }

    .card:hover .navigate-button {
        transform: scale(0.952);
    }

    .navigate-button:hover::before {
        opacity: 1;
    }

    .navigate-button:hover {
        background: rgba(0, 0, 0, 0.45);
    }

    .input-container:hover {
        transform: scale(1.02);
    }

    .catalog-item:hover {
        transform: scale(1.05);
    }

    footer a:hover {
        text-decoration: underline;
    }
}

@media (min-width: 1025px) {
    @media (hover: hover) {
        .card:hover .navigate-button {
            background: rgba(0, 0, 0, 0.45);
        }
    }
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        overflow: auto;
    }
    .hero-section {
        width: 100%;
        height: 300px;
        flex-direction: row;
    }
    .navigate-button {
        padding: var(--4) var(--6);
    }
    .card {
        min-width: 30%;
    }
    .overlay {
        display: none !important;
    }
    .menu-container {
        padding: var(--4);
        overflow: hidden !important;
        height: min-content !important;
    }
    .catalog-text > h3 {
        font-size: var(--6);
    }
    .catalog-text > h3 > span {
        font-size: var(--4);
    }
    .catalog-text > .price {
        font-size: var(--6);
    }
    .catalog-header > h2 {
        font-size: var(--7);
    }
}

@media (max-width: 700px) {
    .container {
        display: block;
        height: fit-content;
        overflow: auto;
        padding: var(--4);
    }

    .movie {
        align-items: center;
        height: 80dvh;
        margin-bottom: var(--4);
    }

    .logo-container {
        justify-content: center;
    }

    .logo-container > img {
        height: clamp(8rem, 8vw, 12rem);
    }

    .navigation-button {
        justify-content: center;
        max-width: 200px;
        width: 200px;
    }

    .navigation-button > img {
        margin-right: var(--2);
        transition: 0s;
    }

    .navigation-button > span{
       opacity: 1;    
       transition: 0.05s;
    }

    .hero-section {
        gap: var(--4);
        flex-direction: column;
        height: min-content;
    }
    
    .card {
        min-height: 200px;
    }

    .navigate-button {
        bottom: var(--4);
        transform: none;
        box-shadow: none;
        padding: var(--4) var(--6);
        border-radius: var(--8);
        position: absolute;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
    }
    
    .card:hover {
        transform: none;
    }

    .card:hover .navigate-button {
        transform: none;
        background: rgba(0, 0, 0, 0.7);
    }

    .navigate-button:hover {
        background: rgba(0, 0, 0, 0.7);
    }

    .navigate-button::before {
        display: none;
    }
}