@import url('https://fonts.googleapis.com/css?family=Open+Sans');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    height: 100vh;

}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.chickenBgColor {
    background-color: rgb(255, 184, 102);
}

.pizzaBgColor {
    background-color:#69da72;
}

.pastaBgColor {
    background-color: #252e33;
}

.chineseBgColor {
    background-color: #2a86ba;
}

.burgersBgColor {
    background-color: #fd3555;
}

.left-slide {
    height: 100%;
    width: 35%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out;
}

.left-slide > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.left-slide h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
    margin-top: -30px;
}

.left-slide div a {
    color: #333;
    font-size: 12px;
    text-decoration: none;
    background-color: lightgrey;
    padding: 5px 7px;
    border-radius: 5px;
    margin-top: -5px;
    margin-bottom: 10px;
}

.submitButton {
    padding: 5px;
    border-radius: 5px;
    border: none;
    background-color: lightgrey;
}

.submitButton:hover {
    cursor: pointer;
    background-color: #fff;
}

.right-slide {
    height: 100%;
    position: absolute;
    top: 0;
    left: 35%;
    width: 65%;
    transition: transform 0.5s ease-in-out;
}

.right-slide > div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
}

button {
    background-color: #fff;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 16px;
    padding: 15px;
}

button:hover {
    color: #222;
}

button:focus {
    outline: none;
}

.slider-container .action-buttons button {
    position: absolute;
    left: 35%;
    top: 50%;
    z-index: 100;
}

.slider-container .action-buttons .down-button {
    transform: translateX(-100%);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.slider-container .action-buttons .up-button {
    transform: translateY(-100%);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#mobile {
    display: none;
}


/************* MOBILE MEDIA QUERIES **************/

/************* MOBILE MEDIA QUERIES **************/

@media screen and (max-width: 520px) {
    /*.right-slide {
        visibility: hidden;
    }*/

    .left-slide {
        width: 100%;
        left: 0;
        z-index: 88;
    }

    .slider-container .action-buttons button {
        left: 85%;
    }

    .right-slide {
        left: 0;
        width: 100%;
        z-index: -1;
        height: 100%;
    }

    .chickenBgColor {
        background-color: rgba(255, 184, 102, .7);
    }

    .pizzaBgColor {
        background-color: rgb(105, 218, 114, .7);
    }

    .pastaBgColor {
        background-color: rgb(37, 46, 51, .7);
    }

    .chineseBgColor {
        background-color: rgb(42, 134, 187, .7);
    }

    .burgersBgColor {
        background-color:rgb(253, 53, 85, .7);
    }

    .slider-container .action-buttons .down-button {
        transform: translateX(50%);
        transform: translateY(100%);
    }
    
    .slider-container .action-buttons .up-button {
        transform: translateX(-50%);
        transform: translateY(-100%);
    }
}