$smallBanner-width: 1000px;
$smallBanner-height: 580px;
@mixin overlay ($opacity){
@media (max-width: $xl-width){
@media (max-width: $xl-width) {
top: calc(50% + (#{$sideMargin} / 2) );
transform: translate3d(0, -50%, 0);
background-size: contain;
@media (max-width: $xl-width) {
animation:frame_hide 1s 1;
-moz-animation:frame_hide 1s 1;
-webkit-animation:frame_hide 1s 1;
-o-animation:frame_hide 1s 1;
margin-bottom: calc(#{$sideMargin} / 2);
width: calc(100% - (#{$sideMargin} + (#{$sideMargin} / 2)));
height: calc(100% - 13.5rem);
@media (max-width: $xl-width) {
width: calc(100vh - (#{$sideMargin} + (#{$sideMargin} / 2)));
transform: translateX(-50%);
@include overlay($overlayOpacity);
animation:background_anim_in 1s 1;
-moz-animation:background_anim_in 1s 1;
-webkit-animation:background_anim_in 1s 1;
-o-animation:background_anim_in 1s 1;
animation:background_anim_out 0.5s 1;
-moz-animation:background_anim_out 0.5s 1;
-webkit-animation:background_anim_out 0.5s 1;
-o-animation:background_anim_out 0.5s 1;
@media (max-width: $md-width) {
height: calc(100% - #{$sideMargin});
@media (max-width: $xl-width) {
@include overlay($overlayOpacity);
width: calc(100% + (#{$sideMargin} * 2));
@media (max-width: $xl-width){
width: calc(100% + (9rem * 2));
@media (max-width: $sm-width) {
display: none !important;
animation:container_anim_out 0.5s 1;
-moz-animation:container_anim_out 0.5s 1;
-webkit-animation:container_anim_out 0.5s 1;
-o-animation:container_anim_out 0.5s 1;
animation:container_anim_in 1s 1;
-moz-animation:container_anim_in 1s 1;
-webkit-animation:container_anim_in 1s 1;
-o-animation:container_anim_in 1s 1;
height: calc(100% - 13.5rem);
@media (max-width: $xl-width) {
height: calc(100% - 9rem);
@media (max-width: $md-width) {
text-align: center !important;
transform: translate3d(0, $y, 0);
font-family: 'Open Sans', sans-serif;
@media (max-height: $smallBanner-height){
@media (min-width: 1800px){
@media (max-width: $xl-width) {
@media (max-width: $md-width) {
@media (max-width: $sm-width) {
transform: translate3d($x, $y, 0);
-moz-animation: inAnim 1s 1;
-webkit-animation: inAnim 1s 1;
-o-animation: inAnim 1s 1;
transform: translate3d(200%, $y, 0);
transform: translate3d($x, $y, 0);
transform: translate3d($x, $y, 0);
-moz-animation:outAnim 1s 1;
-webkit-animation:outAnim 1s 1;
-o-animation:outAnim 1s 1;
transform: translate3d(0, $y, 0);
transform: translate3d($x, $y, 0);
@media (max-width: $md-width) {
@media (max-width: $sm-width) {
@media (max-width: $md-width) {
@media (max-width: $sm-width) {
@keyframes container_anim_in
transform: rotate(15deg) scale(3);
@keyframes container_anim_out
transform: rotate(-5deg) scale(1.2);
@keyframes background_anim_in
transform: rotate(5deg) scale(2);
transform: rotate(0deg) scale(1);
@keyframes background_anim_out
transform: rotate(0deg) scale(1);
transform: rotate(0deg) scale(1.2);