﻿

.containerf {
/*    max-width: 1400px;
*/    margin: 0 auto;
    padding: 10px 0 0 0 ;
}

button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 60px 40px;
    color: #3c376f;
    font-size: 3rem;
}

    button span {
        position: relative;
        display: inline-block;
        transform: translateX(0);
        transition: transform 0.3s ease;
    }

.previous:hover span {
    transform: translateX(-10px) scale(1.2);
}

.next:hover span {
    transform: translateX(10px) scale(1.2);
}
.slider {
    display: flex;
    justify-content: center;
}
.slider-nav ul {
    list-style: none;
    margin: -20px 0 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider-nav li {
    display: flex;
    flex: 2;
    text-align: center;
}

img.slide {
    max-width: 100%;
    display: none;
    box-shadow: 10px 10px 20px 0 rgba(94, 47, 59, 0.2);
    max-height: 390px;
}

    img.active {
        display: block;
        -webkit-animation: fadeImg 0.8s;
        animation: fadeImg 0.8s;
    }

.slider-nav .arrow {
    flex: 0 0 15%;
}

.slider-nav a {
    flex-basis: 100%;
    display: flex;
    align-items: center;
}

.slider-nav span {
    display: block;
    width: 100%;
}

@-webkit-keyframes fadeImg {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeImg {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
