@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap'); body { margin: 0; padding: 0; overflow: hidden; } .slide { position: relative; width: 100vw; height: 22em; cursor: pointer; border-radius: 2em; } .slide:focus { outline: 2px solid #fff; } .backdrop { position: absolute; top: 0em; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: 1; transition: width 0.5s ease, filter 0.8s ease, scale 2s ease; transform-origin: top; animation: objectPositionAnimation 45s ease-in-out infinite; border-radius: 1em; } .logo { position: relative; transform: translateX(-50%) translateY(-50%); top: 56%; max-height: 9em; max-width: 29em; width: auto; z-index: 3; text-shadow: -2px 2px 4px rgba(0, 0, 0, 0.5); filter: drop-shadow(1px 1px 1px); pointer-events: none; transition: transform 0.3s ease, max-height 0.3s ease, max-width 0.3s ease, left 0.5s ease; } .heading::before { content: ''; position: absolute; top: 2.27em; left: 0; width: 100%; height: 100vh; background: linear-gradient(0deg, rgb(0% 0% 0%) 0%, rgb(0% 0% 0% / 0.9990234375) 6.25%, rgba(0, 0, 0, 0.99) 12.5%, rgba(0, 0, 0, 0.97) 18.75%, rgba(0, 0, 0, 0.94) 25%, rgba(0, 0, 0, 0.88) 31.25%, rgba(0, 0, 0, 0.79) 37.5%, rgba(0, 0, 0, 0.67) 43.75%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.33) 56.25%, rgba(0, 0, 0, 0.21) 62.5%, rgba(0, 0, 0, 0.12) 68.75%, rgba(0, 0, 0, 0.06) 75%, rgba(0, 0, 0, 0.03) 81.25%, rgba(0, 0, 0, 0.01) 87.5%, rgba(0, 0, 0, 0) 93.75%, rgba(0, 0, 0, 0) 100%); z-index: 7; opacity: 0; } .heading { position: absolute; top: 0; left: 0; width: 100%; height: 2.3em; background-color: transparent; font-family: "Titillium Web", sans-serif; color: #D3D3D3; font-size: 22px; display: none; align-items: center; justify-content: flex-start; z-index: 2; padding: 10px; padding-left: 0px; box-sizing: border-box; text-shadow: 1px 1px 4px rgba(0, 0, 0, 1); } .details-button { display: none; } /* MARK: modified css for back and skip button */ .back-button, .skip-button { position: absolute; color: #D3D3D3; cursor: pointer; z-index: 10; font-family: "Titillium Web", sans-serif; text-shadow: 1px 1px 4px rgba(0, 0, 0, 1); font-style: normal; font-weight: 400; letter-spacing: normal; line-height: 1; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; border-radius: 50%; box-sizing: border-box; opacity: 0.5; transition: opacity 0.3s ease, background 0.3s ease; font-size: 1.62em; width: 1.7em; height: 1.7em; display: flex; align-items: center; justify-content: center; } .back-button:hover, .skip-button:hover { background: #ffffff70; opacity: 1; } .skip-button { right: 0.5em; top: 50%; transform: translateY(-50%); } .back-button { left: 0.5em; top: 50%; transform: translateY(-50%); /* display: none; */ /* Optional, if activated later */ } .material-icons { font-size: 1em; } .video-container { position: absolute; right: 0; top: 0px; width: 0; height: calc(100%); overflow: hidden; transition: width 0.5s ease; z-index: 5; border-top-right-radius: 0.5em; border-bottom-right-radius: 0.5em; } .video-player { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 7; } .clickable-overlay { position: absolute; top: 50px; left: 0; width: 100%; height: calc(100% - 50px); z-index: 2; cursor: pointer; background: transparent; transition: background 0.8s ease, backdrop-filter 0.8s ease; } .lorem-ipsum { position: absolute; bottom: 20.1em; right: 2.5em; font-family: "Titillium Web", sans-serif; font-size: 1em; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); opacity: 1; color: #fff; z-index: 9; box-sizing: border-box; background: transparent; max-width: fit-content; padding-left: 90vw; padding-right: 0.3em; display: flex; flex-direction: row; max-height: 1.9em; padding-top: 0.15em; white-space: nowrap; transition: padding-right 0.3s ease; } .lorem-ipsum span { margin-right: 0.2em; } .age-rating { position: absolute; top: 0.1em; left: 2em; text-align: left; font-family: "Titillium Web", sans-serif; font-size: 1.2em; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); opacity: 1; color: #fff; z-index: 7; box-sizing: border-box; background: transparent; max-width: fit-content; padding-left: 0.3em; padding-right: 0.3em; display: flex; flex-direction: row; max-height: 1.9em; padding-top: 0.15em; white-space: nowrap; } .plot { position: absolute; bottom: 0.1em; left: 2.2em; right: 0; color: #fff; font-family: "Titillium Web", sans-serif; font-size: 0.95em; font-weight: 500; background: transparent; padding: 10px; z-index: 7; box-sizing: border-box; padding-bottom: 3px; padding-top: 0.5em; line-height: 1.2em; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; border-bottom-left-radius: 0.45em; transition: opacity 0.1s ease, max-height 0.8s ease, width 0.3s ease; opacity: 0; max-width: 96vw; opacity: 1; -webkit-line-clamp: 2; line-clamp: 2; max-height: 7.8em; } .genres { position: absolute; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); top: -0.25em; color: #fff; font-family: "Titillium Web", sans-serif; font-size: 1em; opacity: 1; transition: opacity 0.3s ease; max-width: 39em; overflow: hidden; height: 1.95em; padding-top: 0.25em; line-height: 2em; white-space: nowrap; } .premiere-year { position: absolute; top: 5.75em; left: 0.5em; font-size: 0.9em; font-family: "Titillium Web", sans-serif; color: #fff; z-index: 3; opacity: 0; transition: opacity 0.3s; text-align: center; width: 3.5em; } .additional-info { position: absolute; top: 7.3em; left: 31em; font-size: 0.9em; font-family: "Titillium Web", sans-serif; color: #fff; z-index: 3; opacity: 1; transition: opacity 0.3s; text-align: right; width: 5em; } .community-rating { position: absolute; font-family: "Titillium Web", sans-serif; color: #fff; z-index: 3; opacity: 1; transition: opacity 0.3s; text-align: center; width: 3.6em; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .critic-rating { position: absolute; top: 5.75em; right: 73%; font-size: 0.9em; font-family: "Titillium Web", sans-serif; color: #fff; z-index: 3; opacity: 1; transition: opacity 0.3s; text-align: center; width: 3.9em; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } @keyframes objectPositionAnimation { 0% { object-position: center 30%; } 40% { object-position: center 80%; } 80% { object-position: center 20%; } 100% { object-position: center 30%; } } .slide:hover .backdrop { filter: brightness(95%) contrast(105%) saturate(105%); transform: scale(1); } /* .slide:hover .clickable-overlay {} */ .slide:hover .clickable-overlay::before { opacity: 0; backdrop-filter: blur(0px); } /* .slide:hover .logo {} .slide:hover .plot {} */ .slide:hover .lorem-ipsum::before { opacity: 1; backdrop-filter: blur(2px); transform: translateX(0); } .star-icon { color: gold; font-size: 0.9em; padding-right: 0.2em; margin-left: -0.1em; } @media (max-width: 1000px) { .age-rating { position: absolute; top: 1em; left: 1em; font-size: 0.85em; } .lorem-ipsum { font-size: 0.7em; transform: translateX(50%); right: 50vw !important; padding-left: 0; padding-right: 1em; } .logo { transform: translateX(-50%) translateY(-50%); top: 10.5em; left: 50% !important; max-width: 70%; max-height: 45%; transform-origin: 50% 50%; } .plot { display: none; opacity: 1 !important; font-size: 90%; bottom: 0.5em; -webkit-line-clamp: 2; line-clamp: 2; max-height: 3.3em; overflow: hidden; width: 98vw !important; max-width: 98vw; line-height: 1.45em; } .lorem-ipsum::before { opacity: 0; padding-bottom: 0.25em; } .clickable-overlay { background: linear-gradient(0deg, rgb(0% 0% 0%) 0%, rgb(0% 0% 0% / 0.9990234375) 6.25%, rgba(0, 0, 0, 0.99) 12.5%, rgba(0, 0, 0, 0.97) 18.75%, rgba(0, 0, 0, 0.94) 25%, rgba(0, 0, 0, 0.88) 31.25%, rgba(0, 0, 0, 0.79) 37.5%, rgba(0, 0, 0, 0.67) 43.75%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.33) 56.25%, rgba(0, 0, 0, 0.21) 62.5%, rgba(0, 0, 0, 0.12) 68.75%, rgba(0, 0, 0, 0.06) 75%, rgba(0, 0, 0, 0.03) 81.25%, rgba(0, 0, 0, 0.01) 87.5%, rgba(0, 0, 0, 0) 93.75%, rgba(0, 0, 0, 0) 100%); opacity: 0.8; } .backdrop { left: 0% !important; width: 100% !important; top: 0em; } .lorem-ipsum .full-content { opacity: 1; max-width: 100%; } .lorem-ipsum::before { opacity: 1; backdrop-filter: blur(2px); transform: translateX(0); } .clickable-overlay::before { opacity: 0.98; backdrop-filter: blur(0px); } .slide:hover .clickable-overlay::before { opacity: 0.98; } .genres { bottom: 4em; left: unset !important; overflow: hidden; max-width: 100vw !important; white-space: nowrap; left: 0; z-index: 8; color: #fff; font-size: 0.7em; } .additional-info { left: 18.5%; top: 5em; text-align: right; } .community-rating { left: 86vw !important; top: 19.45em !important; text-align: left; z-index: 8; font-size: 0.85em !important; } .critic-rating { font-size: 0.85em !important; left: 70vw !important; top: 19.45em !important; z-index: 8; } .additional-info { left: 18.5%; top: 5em; text-align: left; } .heading { z-index: 0; } .heading::before { display: none; } .video-container { max-width: 0 !important; } .watch-trailer-button { display: flex !important; top: unset !important; bottom: 0.4em; font-size: 0.7em !important; background: #fff9 !important; color: #000e !important; font-weight: 600; transform: translateX(-100%) !important; left: 47% !important; } .slide { box-shadow: none; } .text-container::before { display: none !important; } .buttons-container { display: flex; position: absolute; bottom: 0.6em; left: 0em; width: 100vw; z-index: 10; } .details-button { position: absolute; border: none; border-radius: 5px; padding: 0.5em 1.5em; font-family: "Titillium Web", sans-serif; cursor: pointer; z-index: 10; transition: background-color 0.3s ease; align-items: center; justify-content: center; bottom: 0.4em; font-size: 0.7em !important; background: #fff9; color: #000e; font-weight: 600; transform: translateX(100%) !important; right: 47%; display: flex; padding-right: 2em; } .details-button:hover { background-color: #fffc; } .watch-trailer-button:hover { background-color: #fffc !important; } .fas { padding: 0.5em; } } @media (max-width:1000px) and (orientation:portrait) { .back-button { left: 0em; } .skip-button { right: 0em; /*top: 50% !important;*/ } .genres { right: 50vw; position: absolute; max-width: 80vw !important; overflow: hidden; top: unset; transform: translateX(50%); bottom: 6.5em; } .lorem-ipsum { position: absolute; left: unset; bottom: 4.75em; } } @media (max-width:1000px) and (orientation:landscape) { .community-rating { left: 89vw !important; } .critic-rating { left: 76vw !important; } .back-button { left: 0em; } .skip-button { right: 0em; /*top: 50% !important;*/ } .genres { position: absolute; bottom: 6.5em; top: unset; transform: translateX(50%); right: 50vw; } .lorem-ipsum { position: absolute; left: unset; bottom: 4.75em; } } @media (min-width: 1001px) { .logo { max-height: 45%; top: 50vh; max-width: 47em; left: 50%; transition: transform 0.1s ease, max-height 0.3s ease; } } .watch-trailer-button { display: none; } .backdrop { left: 0em; width: 100%; transition: width 0.5s ease, left 0.5s ease, filter 0.8s ease, transform 2s ease; } .genres { left: 8em; z-index: 9; max-width: 39em; } .community-rating { top: 16.45em; left: 31em; font-size: 1em; } .critic-rating { position: absolute; top: 16.45em; left: 26.5em; font-size: 1em; } .text-container::before { content: ''; z-index: 5; display: flex; position: absolute; width: 100vw; top: -19.3em; height: 3em; background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 6.25%, rgba(0, 0, 0, 0.68) 12.5%, rgba(0, 0, 0, 0.66) 18.75%, rgba(0, 0, 0, 0.64) 25%, rgba(0, 0, 0, 0.6) 31.25%, rgba(0, 0, 0, 0.56) 37.5%, rgba(0, 0, 0, 0.51) 43.75%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.38) 56.25%, rgba(0, 0, 0, 0.31) 62.5%, rgba(0, 0, 0, 0.22) 68.75%, rgba(0, 0, 0, 0.14) 75%, rgba(0, 0, 0, 0.13) 81.25%, rgba(0, 0, 0, 0) 100%); opacity: 0.8; backdrop-filter: blur(1px); border-top-right-radius: 1em; border-top-left-radius: 1em; -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%); } .text-container::after { content: ''; background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 6.25%, rgba(0, 0, 0, 0.68) 12.5%, rgba(0, 0, 0, 0.66) 18.75%, rgba(0, 0, 0, 0.64) 25%, rgba(0, 0, 0, 0.6) 31.25%, rgba(0, 0, 0, 0.56) 37.5%, rgba(0, 0, 0, 0.51) 43.75%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.38) 56.25%, rgba(0, 0, 0, 0.31) 62.5%, rgba(0, 0, 0, 0.22) 68.75%, rgba(0, 0, 0, 0.14) 75%, rgba(0, 0, 0, 0.13) 81.25%, rgba(0, 0, 0, 0) 100%); z-index: 5; display: flex; position: absolute; width: 100vw; border-top-right-radius: 1em; border-top-left-radius: 1em; bottom: 0em; height: 3em; opacity: 0.8; backdrop-filter: blur(1px); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%); } .age-rating { font-weight: 600; font-size: 1.1em; } .additional-info { display: none; } .age-rating span.gb-u, .age-rating span.u { background-color: #078c6d; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.gb-pg, .age-rating span.pg { background-color: #d7a203; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.gb-12a, .age-rating span.\31 2A { background-color: #ee7600; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.gb-12, .age-rating span.\31 2, .age-rating span.gb-15, .age-rating span.\31 2 { background-color: #e19887; color: #e2002d; border: 0.09em solid white !important; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.pg-13 { background-color: #157c0d; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.tv-y7, .age-rating span.tv-13, .age-rating span.tv-14, .age-rating span.\31 6, .age-rating span.tv-ma, .age-rating span.tv-y, .age-rating span.tv-g, .age-rating span.tv-pg { background-color: #157c0d; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.nc-17, .age-rating span.gb-18, .age-rating span.\31 8, .age-rating span.r { background-color: #c10f1f; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.au-g, .age-rating span.nz-g, .age-rating span.eu-pg, .age-rating span.ca-g, .age-rating span.jp-g, .age-rating span.de-0 { background-color: #078c6d; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.au-pg, .age-rating span.nz-pg, .age-rating span.eu-12, .age-rating span.ca-pg, .age-rating span.jp-pg12, .age-rating span.de-6 { background-color: #d7a203; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.au-m, .age-rating span.nz-m, .age-rating span.eu-16, .age-rating span.ca-14a, .age-rating span.jp-r15, .age-rating span.de-12 { background-color: #07b1e0; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.au-ma15, .age-rating span.nz-r15, .age-rating span.eu-18, .age-rating span.ca-18a, .age-rating span.jp-r18, .age-rating span.de-16 { background-color: #fc9712; color: white; border: 0.09em solid white !important; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .age-rating span.au-r18, .age-rating span.nz-r18, .age-rating span.ca-r, .age-rating span.jp-r18+, .age-rating span.de-18 { background-color: #c10f1f; color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); } .video-container { overflow: visible; } .watch-trailer-button { position: absolute; border: none; border-radius: 5px; padding: 0.5em 1em; font-size: 0.9em; font-family: "Titillium Web", sans-serif; cursor: pointer; z-index: 10; transition: background-color 0.3s ease; align-items: center; justify-content: center; padding-right: 1.5em; } .watch-trailer-button .fa-play { margin-right: 0.5em; } .slide { position: relative; width: 100%; overflow: hidden; opacity: 1; transition: opacity 0.31s ease-in-out, font-size 1s ease; } .fade-in { opacity: 0; visibility: hidden; transition: opacity 0.31s ease-in-out; } .fade-in-active { opacity: 1; visibility: visible; } .fade-out { opacity: 0; } .backdrop { transition: opacity 0.3s ease-in-out, width 0.5s ease, transform 1.5s ease, filter 1s ease; } @media (min-width: 2000px) { .slide { font-size: 133%; } /* .backdrop {} .age-rating {} .back-button { top: 38vh; } .skip-button { top: 38vh; } .video-container {} .text-container::before {} .genres {} .lorem-ipsum {} */ .logo { top: 38vh; } } @media (min-width: 3000px) { .slide { font-size: 200%; } /* .age-rating {} .skip-button {} .backdrop {} .text-container::before {} .genres {} .lorem-ipsum {} */ } #video-overlay { position: fixed; top: 13vh; left: 0vw; width: 100%; height: 140vh; background-color: rgb(0, 0, 0); z-index: 1000; display: flex; background-size: cover; padding: 6vh; padding-top: 10vh; margin-top: -10vh; } #video-overlay-content { position: relative; width: 90%; max-width: 100%; height: 60%; background-color: #000; } #close-overlay { position: absolute; top: -1em; right: 0em; font-size: 1.5em; color: #7b7b7b; cursor: pointer; } #countdown-bar-container { display: none; position: absolute; left: 0%; top: 3.1em; width: 110%; height: 0.15em !important; background-color: rgba(0, 0, 0, 0); z-index: 10; } #countdown-bar { height: 100%; width: 0%; background-color: #ffffff; opacity: 0.5; transition: width 0.1s linear; border-radius: 1em; } .video-player { mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%); -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%); transition: mask-image 5s ease, -webkit-mask-image 5s ease; } .video-container:hover .video-player { mask-image: none; -webkit-mask-image: none; } .text-container { z-index: 5; display: flex; position: absolute; width: 100vw; bottom: 0em; height: 2.7em; opacity: 1; } .material-symbols-outlined { vertical-align: middle; font-size: 0.85em; opacity: 0.75; }