.transition-1 {
    position: fixed;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 100%;
    z-index: 100;
    background-color: #212121;
    transition: 0.7s ease-out;
}

.transition-1.is-active {
    bottom: 0;
}

.transition-2 {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    bottom: 0;
    z-index: 100;
    background-color: #212121;
    transition: 0.5s ease-out;
}

.transition-2.is-active {
    left: 0;
}