.transition-1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    background-color: darkgoldenrod;
    opacity: 0;
    pointer-events: none;
    transition: 0.45s ease-out;
}

.transition-1.is-active {
    opacity: 1;
    pointer-events: all;
}

.transition-2 {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    bottom: 0;
    z-index: 101;
    background-color: darkgoldenrod;
    pointer-events: none;
    transition: 0.45s ease-out;
}

.transition-2.is-active {
   left: 0
}