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

body {
    height: 100vh;
}

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

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

.image-main-slider {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
}

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

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

.sidebar h1 {
    font-size: 32px;
}

.sidebar p {
    font-size: 18px;
    font-style: italic;
    color:aliceblue;
    padding: 15px;
}

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

button {
    background-color: rgb(126, 126, 148);
    border: none;
    color: rgb(248, 244, 244);
    cursor: pointer;
    font-size: 18px;
    padding: 10px;
    transition: all 0.5s;
}

button:hover {
     color: black;
}
button:active {
     color: red;
}

button:focus {
     outline: none;
}

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

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

@media screen and (max-width: 768px) {
    .sidebar h1 {
        font-size: 28px;
    }

    .sidebar p {
        font-size: 14px;
        padding: 10px 30px;
    }
}
@media screen and (max-width: 650px) {
    .sidebar div {
        align-items: center;
        justify-content: center;
    }

    .sidebar h1 {
        padding: 12px;
        font-size: 18px;
    }

    .sidebar p {
        width: 210px;
        font-size: 12px;
        padding: 10px 20px 10px 10px;
        align-self: flex-start;
        margin-top: 0;
    }
}
@media screen and (max-width: 576px) {
    .sidebar p {
        width: 146px;
        margin-top: 0;
    }
}
@media screen and (max-width: 425px) {
    .sidebar p {
        width: 110px;
        margin-top: 0;
    }
}
@media screen and (max-width: 375px) {
    .sidebar p {
        width: 110px;
        margin-top: -125px;
    }
}