html,
body {
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
}

#cvs {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.input-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.input-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.input-content.show .mask {
    -webkit-animation: maskShow 0.3s linear forwards;
    animation: maskShow 0.3s linear forwards;
}

@-webkit-keyframes maskShow {
    from {
        -webkit-backdrop-filter: blur(0px);
        backdrop-filter: blur(0px);
    }
    to {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
}

@keyframes maskShow {
    from {
        -webkit-backdrop-filter: blur(0px);
        backdrop-filter: blur(0px);
    }
    to {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
}

.input-content.hide .mask {
    -webkit-animation: maskHide 0.3s linear forwards;
    animation: maskHide 0.3s linear forwards;
}
@-webkit-keyframes maskHide {
    from {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
    to {
        -webkit-backdrop-filter: blur(0px);
        backdrop-filter: blur(0px);
    }
}
@keyframes maskHide {
    from {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
    to {
        -webkit-backdrop-filter: blur(0px);
        backdrop-filter: blur(0px);
    }
}

.body {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

.body input {
    margin-bottom: 1em;
    padding: 0.25em;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    outline: none;
    font-size: 2vw;
    color: #fff;
}

.input-content.show input {
    -webkit-animation: inputShow 0.25s ease-out forwards;
    animation: inputShow 0.25s ease-out forwards;
}

@-webkit-keyframes inputShow {
    from {
        transform: translateY(5vw);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes inputShow {
    from {
        transform: translateY(5vw);
    }
    to {
        transform: translateY(0);
    }
}

.input-content.hide input {
    -webkit-animation: inputHide 0.25s ease-out forwards;
    animation: inputHide 0.25s ease-out forwards;
}

@-webkit-keyframes inputHide {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(5vw);
    }
}

@keyframes inputHide {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(5vw);
    }
}
