.slider{
    width: 100%;
    max-width: 1000px;
    height: auto;
    position: relative;
    margin: 0px auto;
}

.slider .item img {
    object-fit: cover;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

.previous, .next{
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.70);
    top:50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    font-family: monospace;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

.slider .next {
    right: 0px;
}

.slider .previous:hover, .slider .next:hover{
    background-color: rgba(0,0,0,0.2);
}

.slider .item {
    animation-name: fade;
    animation-duration: 1.5s;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }

@keyframes fade {
    from {
        opacity: 0.4
    }
    to {
        opacity: 1
    }
}