@black: #000000;
@white: #ffffff;
@index-primary: #ff3600;
@index-secondary: @black;
.home-slideshow-hero {
position: relative;
//full width slideshow
// .slideshow-main {
// // sets up default styles
// .slideshow-defaults;
// // .slideshow-default-opacity;
// // makes slides fade instead of slide. param is fade duration
// .carousel-fade(1s);
// //(image aspect ratio -> height/width)
// .slideshow-sizer(620 / 1920);
// // position nav arrows inside .container
// .slideshow-nav-container;
// // (icon-left, icon-right, font-size, width, height)
// .carousel-nav-styler("\f053", "\f054", 20px, 35px, 50px);
// // (shape -> circle/square/none, color, background color)
// .carousel-nav-button-styler(square, @white, @index-secondary);
// // (hover color, hover background color)
// .carousel-nav-button-hover-styler(@white, @index-primary);
// // (width, color, hover-color)
// // .carousel-nav-border-styler(0, yellow, red);
// //sets arrow background to 2 colors with specified angle
// // params (color1, color2, angle)
// // .two-tone-nav(@index-primary, darken(@index-primary, 30%), -45deg);
// //nudges arrow icon to be visually centered if needed
// //param (top, left arrow{left}, right arrow {right})
// .carousel-icon-nudge(2px, -2px, -2px);
// // (default-bg, active-bg, dimension)
// // .slideshow-indicators-styler(@index-secondary, @index-primary, 14px);
// // (position, spacing, bottom)
// // .slideshow-indicators-position(center, 5px, 20px);
// // adds borders to bullets
// // params width, style, color, .active color
// // 4th param is optional
// // .slideshow-indicators-border(2px, solid, red, blue);
// position: relative;
// .carousel-inner {
// @media (min-width: @screen-sm-min) {
// &::before {
// content: "";
// display: block;
// position: absolute;
// top: 0;
// left: 0;
// width: 100%;
// height: 100%;
// background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
// z-index: 4;
// }
// }
// }
// .carousel-nav {
// .carousel-control {
// z-index: 4;
// @media (min-width: @screen-lg-min) {
// width: 50px;
// height: 120px;
// }
// .fa {
// .transition(background 0.3s ease-in-out, color 0.3s ease-in-out;);
// @media (min-width: @screen-lg-min) {
// width: 50px;
// line-height: 120px;
// }
// }
// &.left {
// left: 0;
// @media (min-width: @screen-sm-min) {
// margin-left: 0;
// }
// }
// &.right {
// right: 0;
// @media (min-width: @screen-sm-min) {
// margin-right: 0;
// }
// }
// }
// }
// .carousel-indicators {
// display: none;
// }
// }
.home-hero {
background: @black;
@media (min-width: @screen-sm-min) {
position: absolute;
width: 100%;
max-width: 670px;
top: 50%;
left: 50%;
translate: -50% -50%;
z-index: 1;
background: transparent;
}
@media (min-width: @screen-md-min) {
max-width: 880px;
}
@media (min-width: @screen-lg-min) {
max-width: 1050px;
}
@media (min-width: @screen-xl-min) {
max-width: 1375px;
}
@media (min-width: 1920px) {
max-width: 1820px;
}
.home-hero-wrapper {
width: 100%;
height: 100%;
margin: 0 auto;
padding: 0;
@media (max-width: @screen-xs-max) {
max-width: 390px;
padding: 44px 15px 45px;
}
@media (min-width: @screen-xl-min) {
.container;
padding-top: 126px;
padding-bottom: 127px;
}
.home-hero-container {
height: 100%;
width: 100%;
max-width: 680px;
margin-right: auto;
@media (max-width: @screen-xs-max) {
text-align: center;
}
@media (min-width: @screen-sm-min) {
.flex-column;
.flex-justify-content(center);
.flex-align-items(flex-start);
}
&__subheadline {
display: block;
font-weight: 900;
font-size: 18px;
line-height: 26px;
letter-spacing: 0.3em;
color: @index-secondary;
text-transform: uppercase;
margin-bottom: 10px;
@media (min-width: @screen-xl-min) {
line-height: 1em;
}
}
&__headline {
display: block;
font-weight: 400;
font-size: 48px;
line-height: 1em;
color: @white;
text-transform: uppercase;
margin-bottom: 40px;
@media (min-width: @screen-sm-min) {
font-size: 36px;
}
@media (min-width: @screen-xl-min) {
font-size: 65px;
line-height: 69px;
margin-bottom: 55px;
}
}
&__content {
display: block;
font-weight: 400;
font-size: 18px;
line-height: 26px;
color: @white;
margin-bottom: 45px;
@media (max-width: @screen-md-max) {
display: none;
}
}
&__link {
.transition(background 0.3s ease-in-out, color 0.3s ease-in-out;);
display: inline-block;
width: 208px;
font-weight: 900;
font-size: 18px;
background: @index-secondary;
color: @white;
line-height: 64px;
padding: 0 5px;
text-align: center;
text-transform: capitalize;
&:hover,
&:active,
&:focus {
background: @white;
color: @index-secondary;
}
}
}
}
}
}