@import url('https://fonts/googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');
* {
    margin: 0;
    padding: 0;
    max-width: 1920px;
    max-height: 832px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

h2 {
    color: lightsalmon;
}

p {
    color: greenyellow;
}

section {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    border: 2px solid #000;
}

section .slide {
    position: relative;
    background: #0f0;
    height: 100%;
    flex: 1;
    border-right: 2px solid #000;
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

section .slide:last-child {
    border-right: none;
}

section .slide:hover {
    flex-grow: 5;
}

section .slide:nth-child(1) {
    background: url(../pictures/t01.jpg);
    background-position: center center;
}

section .slide:nth-child(2) {
    background: url(../pictures/t02.jpg);
    background-position: center center;
}

section .slide:nth-child(3) {
    background: url(../pictures/t03.jpg);
    background-position: center center;
}

section .slide:nth-child(4) {
    background: url(../pictures/t04.jpg);
    background-position: center center;
}

section .slide:nth-child(5) {
    background: url(../pictures/t05.jpg);
    background-position: center center;
}

section .slide:nth-child(6) {
    background: url(../pictures/t06.jpg);
    background-position: center center;
}

section .slide:nth-child(7) {
    background: url(../pictures/t07.jpg);
    background-position: center center;
}

section .slide:nth-child(8) {
    background: url(../pictures/t08.jpg);
    background-position: center center;
}

section .slide .content {
    position: absolute;
    bottom: 0;
    margin: 40px;
    padding: 30px;
    background: #000;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: 0s;
    transform: translateY(100px);
}

section .slide:hover .content {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
    transition-delay: 0.5s;
    transform: translateY(0);
}