#left-slide{
    position: absolute;
    float: left;    
    left: 0;
    top: 0;
    height: 100vh;
    width: 0vw;    
    background: red;
    transition: .5s ease-in-out; 
    overflow: hidden;
}

#left-slide .card{
    position: absolute;
    float: left;    
    left: 0;
    top: 0;
    height: 100vh;
    width: 50vw;    
    background: blue;
    transition: background .5s .5s ease-out;
}


.left-slide-h1{
    position: absolute;
    float: right;
    top: 0;
    right: 0;
    margin: 0;
    background: black;
    color: white;
    padding: 20px 20px;
}


.left-slide-h1:hover ~ #left-slide{
    width: 50%;
    background: red !important;
}

.left-slide-h1:hover ~ #left-slide > .card{        
    background: transparent;
}

.left-slide-h1:not(:hover) ~ #left-slide{
    transition: 1s 1s ease-out; 
}


