:root {
    --primary-color: black;
    --secondary-color: #323232;
    --tertiary-color: #F99417;
    --text-color: #F5F5F5;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    font-size: clamp(0.9rem, 1.15vw + 0.5rem, 1.15rem);
    font-family: 'Tilt Neon', sans-serif;
}

body {
    background-color: var(--secondary-color);
}

.logo {
    padding-top: 0.4rem;
    color: var(--tertiary-color);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: clamp(0.18rem, 0.25vw + 0.05rem, 0.3rem);
    font-size: clamp(1.8rem, 2.5vw + 0.5rem, 2.8rem);
}

.form,
.form2 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 44x solid var(--secondary-color);
    border-radius: 20px;
}

.selecter {
    background-color: var(--tertiary-color);
    color: var(--text-color);
    height: 100%;
    border-radius: 12px 0 0 12px;
    text-align: center;
    cursor: pointer;
    padding: 0.2rem 0;
    font-size: clamp(0.8rem, 0.9vw + 0.2rem, 1.1rem);
}

.Userinput {
    background-color: var(--text-color);
    height: 100%;
    border-radius: 0 12px 12px 0;
    padding: 0 0.5rem;
    font-size: clamp(1rem, 1.2vw + 0.3rem, 1.3rem);
}

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 2;
    padding: 0.5rem 8vw 0.5rem 2vw;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    border-bottom: 0.1rem solid var(--secondary-color);
}

.header .form {
    width: 35%;
}

.header .selecter {
    width: 30%;
}

.header .Userinput {
    width: 70%;
}

.header_2 {
    width: 100%;
    height: 14vh;
    display: none;
    flex-direction: column;
    z-index: 2;
    position: relative;
    background-color: var(--primary-color);
}

.header_2 .headerToplayer {
    width: 100%;
    height: 55%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8vw 0 2vw;
}

.header_2 .logo {
    font-size: clamp(1.6rem, 2.2vw + 0.4rem, 2.8rem);
    letter-spacing: clamp(0.17rem, 0.2vw + 0.05rem, 0.3rem);
}

.header_2 .SearchButton {
    background: transparent;
    cursor: pointer;
}

.header_2 .SearchButton img {
    height: 2rem;
    width: 2rem;
}

.header_2 .headerBottomlayer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45%;
    width: 100%;
}

.header_2 .form2 {
    height: 85%;
    width: 90%;
}

.header_2 .selecter {
    width: 25%;
}

.header_2 .Userinput {
    width: 75%;
}


.Body {
    background: url('./background.jpg') no-repeat center/cover;
    min-height: 100vh;
}

.Bodywrap {
    backdrop-filter: blur(3px);
    padding: 15.4vh 1rem 0.9rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(9em, 15vw + 1.5em, 18rem), 1fr));
    grid-auto-rows: clamp(22rem, 34vw + 1rem, 34rem);
    gap: 1.5rem;
    overflow: hidden;
}

.movieContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.movieContainer .imageDiv {
    width: clamp(10em, 16vw + 1.5em, 18em);
    height: auto;
    overflow: hidden;
}

.movieContainer img {
    cursor: pointer;
    width: 100%;
    transition: 0.65s;
}

.movieContainer img:hover {
    transform: scale(1.125);
    filter: brightness(0.6) blur(1px);
}

.imgDescription {
    cursor: pointer;
    color: var(--text-color);
    width: clamp(9rem, 15vw + 1.5rem, 18rem);
    text-align: center;
    padding-top: 0.5rem;
}

.title {
    font-size: 1rem;
    font-weight: 550;
    letter-spacing: 0.1rem;
}

.footer {
    height: clamp(16vh, 18vw + 2vh, 20vh);
    padding: 2vh 1rem;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    color: var(--text-color);
}

.footer .footerLogo {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--tertiary-color);
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
    letter-spacing: clamp(0.1rem, 0.15vw + 0.05rem, 0.1rem);
}

.footer .Credit {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.footer .Credit .By {
    font-size: clamp(0.5rem, 0.6vw + 0.1rem, 0.7rem);
}

.footer .Credit .createdBy {
    font-size: clamp(0.6rem, 0.7vw + 0.1rem, 0.8rem);
}


@media (max-width: 774px) {
    .header .form {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .header {
        display: none;
    }

    .header_2 {
        display: flex;
        position: fixed;
    }

    .Body {
        background: var(--secondary-color);
    }

    .Bodywrap {
        padding-top: 15.4vh;
        backdrop-filter: none;
    }
}
