forked from vyla-entertainment/home-frontend
updated site ( crazy )
This commit is contained in:
@@ -1,64 +1,45 @@
|
||||
.cta-banner {
|
||||
.cta-footer-wrap {
|
||||
position: relative;
|
||||
padding: clamp(4rem, 10vw, 7rem) 0;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
background: #000000;
|
||||
width: 100%;
|
||||
min-height: 600px;
|
||||
}
|
||||
|
||||
.cta-rays-container {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.cta-title-warp {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
height: clamp(60px, 10vw, 110px);
|
||||
margin: 0 auto 0.5rem;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cta-banner {
|
||||
position: relative;
|
||||
padding: clamp(5rem, 10vw, 8rem) 0 3rem;
|
||||
overflow: visible;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 50vh;
|
||||
}
|
||||
|
||||
.cta-banner-media {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
background: var(--video-dominant-color, black);
|
||||
-webkit-mask-image:
|
||||
linear-gradient(to bottom, transparent, black 50%),
|
||||
linear-gradient(to top, transparent, black 70%);
|
||||
-webkit-mask-composite: source-in;
|
||||
mask-composite: intersect;
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-size: 100% 100%;
|
||||
mask-image:
|
||||
linear-gradient(to bottom, transparent, black 50%),
|
||||
linear-gradient(to top, transparent, black 65%);
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 100% 100%;
|
||||
}
|
||||
|
||||
.cta-banner-video {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
}
|
||||
|
||||
.cta-banner-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
#cta-byte-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#cta-byte-overlay {
|
||||
display: none;
|
||||
}
|
||||
background: transparent;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.cta-banner-content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user