@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Lato', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(120deg, #3E5151, #DECBA4);
    overflow: hidden;
}

input {
    font-family: inherit;
    border: 0;
    border-bottom: 1px solid=#000;
    font-size: 16px;
    color: #000;
    border-radius: 0;
}

button,
button:focus{
    outline: 0;
}

.button {
    position: relative;
    padding-top: 0px;
    margin-top: 0px;
}

button {
    position: absolute;
    top: 0;
    opacity: 1;
    transform: translateY(5px);
    color: #aaa;
    font-weight: 300;
    font-size: 13px;
    letter-spacing: -0.00933333em;
    transition: .2s ease-in-out;
}

button:placeholder-shown + button {
    opacity: 0;
    transform: translateY(15px);
}

.h1 {
    color: #fff;
    opacity: 0.8;
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2405em;
    transition: 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
    text-align: center;
    cursor: pointer;
    position: absolute;
}

.open .h1 {
    transform: translateX(200px) translateZ(0);
}

.h2 {
    color: #000;
    font-size: 30px;
    letter-spacing: -0.00933333em;
    font-weight: 600;
    padding-bottom: 15px;
}

.Menu-wrapper {
    width: 1000px;
    height: 900px;
    background-color: #fff;
    box-shadow: 0px 2px 50px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.Menu-left {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
    overflow: hidden;
}

.Menu-left img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    transition: 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
    object-position: left;
}

.open .Menu-left img {
    transform: translateX(280px) translateZ(0);
}

.open .Menu-left  {
    transform: translateX(-400px) translateZ(0);
}

.Menu-right {
    padding: 40px;
    position:absolute;
    top: 0;
    right: 0;
    width: 400px;
    transform: translateX(400px) translateZ(0); 
    transition: 770ms cubic-bezier(0.51, 0.04, 0.12, 0.99);
}

.open .Menu-right {
    transform: translateX(0px) translateZ(0);
}

.button-area {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

