/* Global */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

@media (min-width: 1280px) {
    * {
        font-size: calc(16px + 0.025vw);
    }
}

@media (min-width: 2560px) {
    * {
        font-size: calc(16px + 0.5vw);
    }
}

html {
    overflow-y: scroll;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

body {
    background: rgb(26, 28, 37);
    background: linear-gradient(
        180deg,
        rgba(26, 28, 37, 1) 1%,
        rgba(39, 41, 53, 1) 72%,
        rgba(44, 46, 60, 1) 96%
    );
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: white;
}

/* Main Body */

main {
    width: 100%;
    padding: 0 10vw;
}

.pageheading {
    font-family: "Barlow";
    margin: 2vh 0;
    font-weight: bold;
    color: #ff6e1b;
}

/* Posters */

.poster-cont {
    overflow: hidden;
    margin-bottom: 0.625rem;
    transition: all 0.3s ease;
}

.poster-cont:hover {
    box-shadow: 0 0 1.25rem black;
}

.poster {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.3s ease;
}

.poster:hover {
    transform: scale(1.05);
}

/* Search */

#search-icon {
    font-size: 1rem;
    margin: 0 0.5rem 0 0.75rem;
    color: white;
    cursor: pointer !important;
}

.input-group {
    border: 1px solid white;
    border-radius: 2rem;
}

#search-input, #search-input:focus {
    border-radius: 2rem;
    background: transparent;
    border-color: transparent;
    color: white;
    box-shadow: none;
    padding: 0.2rem 0.5rem;
    font-size: 0.9rem;
}

#search-input::placeholder {
    color: white;
}

.input-group:focus-within {
    outline: none !important;
    border: 1px solid #ff6e1b;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active
input:-webkit-autofill::first-line {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 1.25rem 1.25rem #23232329;
}

/* Pagination */

.pages {
    align-items: baseline;
}

.pages li a, .pages li a:hover {
    border: none;
    background-color: transparent !important;
    color: white;
    font-size: calc(0.75rem + 0.1vw);
}

.pages li a:hover {
    color: #ff6e1b !important;
}

.pages li a:focus, .pages li a:active {
    outline: none !important;
    box-shadow: none;
 }

.disabled-page a {
    color: gray !important;
    cursor: default !important;
    pointer-events: none !important;
}

.current-page a {
    font-weight: bold;
    color: #ff6e1b !important;
}
