154 lines
2.5 KiB
SCSS
154 lines
2.5 KiB
SCSS
@use "./../../../../assets/style/colors.scss" as *;
|
|
|
|
section {
|
|
height: 400px;
|
|
}
|
|
|
|
.movie-banner {
|
|
height: 400px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 10%;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgba(0, 0, 0, 0) 0%,
|
|
rgba(0, 0, 0, 1) 100%
|
|
);
|
|
}
|
|
}
|
|
|
|
.video-banner {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.content {
|
|
position: absolute;
|
|
width: 60%;
|
|
top: 120px;
|
|
left: 48px;
|
|
gap: 32px;
|
|
opacity: 0px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
margin-bottom: 6px;
|
|
text-shadow: 1px 1px 2px $black;
|
|
}
|
|
|
|
.description {
|
|
position: relative;
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
max-height: 96px;
|
|
text-shadow: 1px 1px 2px $black;
|
|
}
|
|
|
|
.fullVh {
|
|
height: 100vh;
|
|
}
|
|
|
|
.fullVhBanner {
|
|
height: 200px;
|
|
}
|
|
|
|
.fullVhContent {
|
|
width: calc(100% - 48px);
|
|
top: 200px;
|
|
left: 24px;
|
|
}
|
|
|
|
.fullVhDescription {
|
|
max-height: 250px;
|
|
}
|
|
|
|
.buttons {
|
|
position: absolute;
|
|
bottom: -70px;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: left;
|
|
width: 100%;
|
|
gap: 12px;
|
|
.favorite-img {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
background-color: $pure-blue;
|
|
border: 1px solid $pure-blue;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: 300ms ease-in-out;
|
|
&:hover {
|
|
background-color: $white;
|
|
border: 1px solid $red;
|
|
img {
|
|
filter: brightness(0) saturate(100%) invert(18%) sepia(98%)
|
|
saturate(7267%) hue-rotate(342deg) brightness(94%) contrast(119%);
|
|
}
|
|
}
|
|
img {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
}
|
|
p {
|
|
position: absolute;
|
|
bottom: -28px;
|
|
left: 0;
|
|
color: $light-blue;
|
|
text-shadow: 1px 1px 2px $black;
|
|
a {
|
|
text-decoration: none;
|
|
color: $white;
|
|
cursor: pointer;
|
|
&:hover {
|
|
color: $blue;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.filled {
|
|
filter: brightness(0) saturate(100%) invert(18%) sepia(98%) saturate(7267%)
|
|
hue-rotate(342deg) brightness(94%) contrast(119%);
|
|
}
|
|
|
|
.movie-banner {
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
// Hide scrollbar
|
|
|
|
.hide-scrollbar {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.hide-scrollbar::-webkit-scrollbar {
|
|
width: 0px;
|
|
}
|