/*:root {*/
/*  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
/*  --heading-font: "Montserrat",  sans-serif;*/
/*  --nav-font: "Open Sans",  sans-serif;*/
/*}*/


.title, .sub_title{
    font-family:var(--title_font);
    font-weight:400;
    margin:0;
}

.flex, .fixed_flex{
    display:flex;
}

.flex_content{
    width:100%;
    position:relative;
}

.padding_1x{
    padding:1rem;
}

.padding_2x{
    padding:2rem;
}

.padding_3x{
    padding:3rem;
}

.padding_4x{
    padding:4rem;
}

.big{
    font-size:2.5em;
        text-shadow: 1px 3px black;
}

.medium{
    font-size:2em;
}

.small{
    font-size:1.3em;
}

.btn{
    padding:1rem;
    border-radius:5px;
    color:var(--white);
    position:relative;
    border:0;
    text-align:center;
    
}

.btn_3{
    display:block;
    background-color:0;
    color:var(--white);
    position:relative;
    font-family:var(--default_font);
    font-weight:400;
    text-transform:uppercase;
}

.btn_3:before{
    content:"";
    border-radius:50%;
    background-color:rgba(255,255,255,0.2);
    position:absolute;
    left:0;
    top:50%;
    width:40px;
    height:40px;
    transition:0.5s;
    transform:translate(0%, -50%);
}

.btn_3:after{
    content:"\f178";
    font-family:"FontAwesome";
    margin-left:5px;
}

.btn_3:hover:before{
    border-radius:40px;
    width:100%;
}

@media (max-width:920px){
    .flex{
        flex-wrap:wrap;
    }
    
    .padding_1x, .padding_2x, .padding_3x, .padding_4x{
        padding:1rem;
    }
    
    .big{
        font-size:1.4em;
    }
    
    .medium{
        font-size:1.3em;
    }
    
    .small{
        font-size:1.1em;
    }
    
    .btn{
        padding:0.5rem 1rem;
    }
    
    a, p, .btn{
        font-size:12px;
    }
}

.slider {
    position: relative;
    width: 100%;
    height: 90vh;
}

ul{
    padding:0;
    margin:0;
}

.slider .title{
    font-weight:400;
	font-size: 30px;
	font-family: 'Bebas Neue'
}

.slider li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    transition: clip .7s ease-in-out, z-index 0s .7s;
    clip: rect(0, 100vw, 90vh, 100vw);
    display:flex;
    align-items:center;
    justify-content:left;
}



/*
.slider li:before{
    content:"";
    position:absolute;
    top:-20px;
    right:0;
    width:250px;
    height:250px;
    background-image:url("https://i.postimg.cc/02zcww6c/slider-shape.png");
    background-size:100% 100%;
    transition-delay: 1s;
    transform: rotate(-90deg);
    z-index:1;
}
*/

/*.slider li:after{*/
/*    content:"";*/
/*    position:absolute;*/
/*    bottom:0;*/
/*    left:0;*/
/*    width:300px;*/
/*    height:300px;*/
/*    background-image:url("https://i.postimg.cc/KjKbwDfR/slider-shape-2.png");*/
/*    background-size:100% 100%;*/
/*    transform:rotate(360deg);*/
/*	transition: all 1.5s cubic-bezier(0,0,.2,1);*/
/*    z-index:1;*/
/*    background-position:center left;*/
/*}*/

.slider {
  position: relative; /* make sure parent is positioned */
  overflow: hidden; /* optional: keeps things tidy */
	z-index: -1000;
}

.slider-caption {
  position: absolute;
  top: 2px; /* distance from top */
  left: 50%;
  transform: translateX(-50%);
 /* background: rgba(0, 0, 0, 0.5);  semi-transparent black background */
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 28px;
  font-weight: bold;
  z-index: 10;
  text-align: center;
  text-shadow: -1px -1px 5px black;
}

.slider-caption h2{    font-size: 26px;
    border-bottom: 2px solid #ed1c24;
    padding: 3px;
      font-family: cursive;
    
    
}

.slider li:nth-child(1){
    background:url("../img/slider/1.webp");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}
.slider li:nth-child(2){
    background:url("../img/slider/2.webp");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(3){
    background:url("../img/slider/3.webp");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(4){
    background: url("../img/slider/4.webp");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}
.slider li:nth-child(5){
    background: url("../img/slider/5.webp");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(6){
    background: url("../img/slider/6.webp");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(7){
    background:url("../img/slider/7.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(8){
    background: url("../img/slider/8.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
	background-repeat: no-repeat;
}


.slider li:nth-child(9){
    background:url("../img/slider/9.png");
    background-size: cover;
   background-position:top center;
background-repeat: no-repeat;
}


.slider li:nth-child(10){
    background: url("../img/slider/10.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(11){
    background: url("../img/slider/11.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(12){
    background: url("../img/slider/12.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}


.slider li:nth-child(13){
    background: url("../img/slider/13.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(14){
    background: url("../img/slider/14.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}
.slider li:nth-child(15){
    background: url("../img/slider/15.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider li:nth-child(16){
    background: url("../img/slider/16.png");
    background-size: cover;background-position:top center;
background-repeat: no-repeat;
}

.slider article{
    width:auto;
    margin-top:22rem;
    color: #fff;
    z-index:11;
}


.slider h3 + p {
    display: inline-block;
    color: var(--lite);
    font-weight:300;
}

.slider h3, .slider h3 + p, .slider p + .btn, li:after{
    opacity: 0;
    transition: opacity .7s 0s, transform .5s .2s;
    transform: translate3d(0, 50%, 0);
    color: #FFFFFF;
        background-color: #00008e;
        padding:2px;
}

li.current h3, li.current h3 + p, li.current p + .btn, li.current:after {
    opacity: 1;
    transition-delay: 1s;
    transform: translate3d(0, 0, 0);
}









.slider li:before{
    transition: 0.5s;
    top:-250px !important;
}

li.current:before{
    transition-delay: 1s;
    transform: rotate(-90deg);
    top:-20px !important;
}

li.current {
    z-index: 1;
    clip: rect(0, 100vw, 100vh, 0);
}

li.prev {
    clip: rect(0, 0, 100vh, 0);
}

.slider aside {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    text-align: center;
    z-index: 10;
}

.slider aside a {
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    background-color: var(--white);
    margin: 0 0.2rem;
    transition: transform .3s;
}

.slider em{
    background: var(--primary);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

a.current_dot {
    transform: scale(1.4);
    background:var(--primary) !important;
}

@media screen and (max-width: 920px) {
    header{
        height: auto;
        position:relative;
    }
    
    .cs-down{
        display:none;
    }

    .slider{
        height:70vh;
    }
    
    .slider article{
        width:100%;
        margin-top:2rem;
    }
    
    .slider li:nth-child(2){background-position:top center;
background-repeat: no-repeat;
    }
    
    .slider li:nth-child(3){background-position:top center;
background-repeat: no-repeat;
    }
    
    li.current:before{
        top:-30px;
        right:-10px;
    }
}