slider {
    display: block;
    width: 100%;
    height: 60%;
    background-color: #1f1f1f;
    overflow: hidden;
    position: absolute;
}

slider > * {
    position: absolute;
    display: block;
    width: 100%;
    height: 600px;
    background: #1f1f1f;
    animation: slide 12s infinite;
    overflow: hidden;
}

slide:nth-child(1) {
    left: 0%;
    animation-delay: -1s;
    background-image: url(../img/bg1.jpg);
    background-size: cover;
    background-position: center;
}

slide:nth-child(2) {
    left: 100%;
    animation-delay: 2s;
    background-image: url(../img/bg2.jpg);
    background-size: cover;
    background-position: center;
}

slide:nth-child(3) {
    left: 100%;
    animation-delay: 5s;
    background-image: url(../img/bg3.jpg);
    background-size: cover;
    background-position: center;
}

slide:nth-child(4) {
    left: 100%;
    animation-delay: 8s;
    background-image: url(../img/bg4.jpg);
    background-size: cover;
    background-position: center;
}


@keyframes slide{
    0% { left: 100%; width: 100%;}
    5% { left: 0%;}
    25% { left: 0%;}
    30% { left: -100%; width: 100%;}
    30.0001% { left: -100%; width: 0%;}
    100% { left: 100%; width: 0%;}
}

slider{
    min-height: 100%;
    min-width: 674px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-filter: blur(5px) grayscale(100%) brightness(30%) sepia(100%) hue-rotate(-180deg) saturate(700%) contrast(0.8);

    filter: blur(5px) grayscale(100%) brightness(30%) sepia(100%) hue-rotate(-180deg) saturate(700%) contrast(0.8);
    transform: scale(1.1);
}
