TimberTrust/business_information/static/assets/scss/layout/_video.scss

95 lines
2.2 KiB
SCSS

@use "../utilities" as *;
/**----------------------------------------
START: Theme Video CSS
----------------------------------------*/
.video-section{
position: relative;
z-index: 1;
.video-bg{
@include background;
width: 100%;
height: 60%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.section-heading{
.section-title{
margin-bottom: 20px;
}
p{
max-width: 700px;
width: 100%;
margin: 0 auto;
}
}
}
.video-box{
background-color: var(--lt-color-common-white);
box-shadow: 0px 16px 40px 0px rgba(15, 27, 36, 0.10);
padding: 40px;
align-items: center;
@include breakpoint(sm){
padding: 40px 20px;
}
.video-content{
@include breakpoint(md){
padding-right: 30px;
}
@include breakpoint(sm){
padding-right: 0;
margin-bottom: 40px;
}
.section-heading{
margin-bottom: 0;
.section-title{
max-width: 500px;
@include breakpoint(sm){
font-size: 28px;
}
}
p{
max-width: 450px;
width: 100%;
margin-left: 0;
margin-bottom: 30px;
}
}
}
.video-img{
position: relative;
img{
width: 100%;
}
.video-btn-wrap{
position: absolute;
top: 50%;
left: 0;
transform: translate(-50%, -50%);
@include breakpoint(sm){
left: 50%;
}
.video-btn{
background-color: var(--lt-color-theme-primary);
color: var(--lt-color-common-white);
font-size: 25px;
width: 80px;
height: 80px;
@include flex-center;
margin: 0 auto;
border-radius: 50%;
img{
width: 30px;
margin-left: 5px;
}
}
}
}
}
/* !END: Theme Video CSS */