@import "../../styles/variables.scss"; $cardWidth: 18%; .item-hero { height: 60vh; gap: 2em; row-gap: 1.2em; position: relative; align-items: flex-end; display: grid; grid-template-columns: $cardWidth 1fr; grid-template-rows: 1fr auto; &-image { width: 100%; object-fit: contain; &-container { height: fit-content; max-height: 100%; overflow: hidden; border-radius: $border-radius-default; box-shadow: $shadow-card; flex-grow: 1; flex-shrink: 0; position: relative; width: 100%; } &-blurhash { position: absolute !important; width: 100% !important; height: 100% !important; z-index: -1; } &-icon { background: linear-gradient(45deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.15)); height: 100%; display: flex; align-items: center; justify-content: center; .material-symbols-rounded{ font-size: 4em; } } } &-logo { max-width: 34rem; max-height: 10rem; object-position: bottom; margin-bottom: 2em; } &-detail { width: 100%; align-items: flex-start; gap: 0.2em; justify-content: end; } &-buttons { &-container { align-items: center; justify-content: space-between; width: 100%; grid-column: 1/3; display: grid; grid-template-columns: inherit; gap: 2em; } } &-backdrop { width: 100vw; height: 100vh; object-fit: cover; object-position: top; position: absolute; top: 0; left: 0; &-container { filter: brightness(0.8); position: absolute; top: -4.4em; left: -$page-margin; width: 100vw; height: calc(64vh + 4.4em); z-index: -1; mask-image: linear-gradient(to top, transparent, black); -webkit-mask-image: linear-gradient( to top, transparent, black ); } } & .play-button { width: 100% !important; } } @media (max-width: 700px) { .item-hero { height: auto; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1rem; padding: 5.5rem 1rem 7.5rem; box-sizing: border-box; text-align: center; &-image-container { width: min(46vw, 190px); flex: 0 0 auto; } &-logo { max-width: 82vw; max-height: 5.5rem; margin: 0 auto 0.4em; object-position: center bottom; } &-detail { align-items: center; gap: 0.6em; .MuiStack-root { flex-wrap: wrap; justify-content: center; gap: 0.6em 1em !important; } .MuiTypography-h4 { margin-bottom: 0.5em !important; font-size: 1.35rem; } } &-mediaInfo { height: 0.95em; } &-buttons-container { width: 100%; display: flex; flex-direction: column; gap: 0.9em; > .flex { justify-content: center; flex-wrap: wrap; } } &-backdrop-container { height: 70vh; } .play-button { max-width: 100%; } } } @media (min-width: 701px) and (max-width: 1000px) { .item-hero { height: auto; min-height: 75vh; grid-template-columns: 24% 1fr; padding-top: 4.5rem; box-sizing: border-box; &-logo { max-height: 8rem; } &-detail { .MuiStack-root { flex-wrap: wrap; gap: 0.6em 1.2em !important; } .MuiTypography-h4 { font-size: 1.6rem; } } &-buttons-container { flex-wrap: wrap; } } }