* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
}

h1 {
    margin-top: -25px;
    margin-bottom: 10px;
    font: 55px Copperplate;
    text-shadow: white 2px 2px;
}

.wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.text-slide > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.picture-slide {
    width: 65%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 35%;
    transition: transform 0.5s ease-in-out;
}

.picture-slide > div {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.horizon-item {
    display: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}


.sea {
    background-image: url("img/sea.jpg");
}

.birds {
    background-image: url("img/birds.jpg");
}

.animals {
    background-image: url("img/animals.jpg");
}

.nature {
    background-image: url("img/nature.jpg");
}

button {
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    color: dimgray;
    background-color: white;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

button:hover {
    background-color: lightgrey;
    color: black;
}

button:focus {
    outline: none;
}

.vertical-controls button {
    position: absolute;
    top: 50%;
    left: 35%;
    z-index: 1;
}

.down-button {
    transform: translateX(-100%);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.up-button {
    transform: translateY(-100%);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}