* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.video-banner {
position: relative;z-index: 0 !important;
width: 100%;
min-height: 60vh;
max-height: 100vh;
overflow: hidden;
background-color: #1a1a1a;
}
.video-banner video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
pointer-events: none;
}
.banner-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
z-index: 2;
pointer-events: none;
}
.banner-content {
position: relative;
z-index: 3;
display: flex;
flex-direction: column;
justify-content: center;
min-height: inherit;
height: 100%;
padding: 2rem 10%;
max-width: 100%;
width: 100%;
}
.text-group {
max-width: 650px;
width: 100%;
text-align: left;
color: #ffffff;
}
.banner-title {
font-family: ‘Overpass’, sans-serif;
font-weight: 700;
font-size: 50px;
line-height: 1.2;
margin-bottom: 0.75rem;
letter-spacing: -0.01em;
text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
.banner-description {
font-family: ‘Overpass’, sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1.5;
margin-bottom: 1.8rem;
text-shadow: 0 1px 3px rgba(0,0,0,0.3);
max-width: 580px;
}
.banner-button {
display: inline-flex;
align-items: center;
justify-content: center;
font-family: ‘Overpass’, sans-serif;
font-weight: 400;
font-size: 20px;
background-color: #ffffff;
color: #111111;
text-decoration: none;
padding: 0.9rem 2rem;
border-radius: 40px;
transition: all 0.25s ease;
border: none;
cursor: pointer;
letter-spacing: 0.3px;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
text-align: center;
white-space: nowrap;
}
.banner-button:hover {
background-color: #f0f0f0;
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
@media (max-width: 768px) {
.banner-content {
padding: 2rem 6%;
}
.banner-title {
font-size: 28px;
}
}
@media (min-width: 1024px) {
.banner-title {
font-size: 50px;
}
}
@media (max-width: 480px) {
.banner-content {
padding: 1.8rem 5%;
}
.banner-button {
padding: 0.7rem 1.5rem;
white-space: normal;
}
}
html, body {
width: 100%;
overflow-x: hidden;
}
(function() {
const videoElem = document.querySelector(‘.video-banner video’);
if (videoElem) {
videoElem.play().catch(e => {});
}
})();
