@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-family: 'Arimo', 'Roboto';
    margin: 0;
    padding: 0;
    max-width: 100vw;
    min-width: 100vh;
}

ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    background: #ccc;
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
    position: relative;
    width: 20%;
    height: 100%;
    border-right: 1px solid black;
    float: left;
    box-sizing: border-box;
    transition: .5s;
    text-align: center;
    overflow: hidden;
}

ul li:nth-child(1) {
    background: url('../img/slider/slider-1.jpg');
    background-size: cover;
    background-position: left;    
}
ul li:nth-child(2) {
    background: url('../img/slider/slider-2.jpg');
    background-size: cover;
    background-position: left;    
}
ul li:nth-child(3) {
    background: url('../img/slider/slider-3.jpg');
    background-size: cover;
    background-position: left;    
}
ul li:nth-child(4) {
    background: url('../img/slider/slider-4.jpg');
    background-size: cover;
    background-position: left;    
}
ul li:nth-child(5) {
    background: url('../img/slider/slider-5.jpg');
    background-size: cover;
    background-position: left;    
}

ul:hover li {
    cursor: pointer;
    width: 10%;
}
ul li:hover {
    width: 60%;
}

ul li .content {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    box-sizing: border-box;
    color: white;
    opacity: 0;
    transition: .5s;
}

ul li:hover .content { 
    bottom: 0;
    transition: .5s;
    opacity: 1;
    transition-delay: .5s;

}