@charset "utf-8";

:root {
    --primary-white: #f2f5fe;
    --primary-black: #1c2d3f;
    --primary-blue: #0007ff;
    --primary-blue2: #73BBD1;
    --primary-blue3: #559fdc;
    --primary-blue4: #0154B0;

}

/* ===========================================================
top
=========================================================== */
/* common */
.top__img {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: relative;
}
.title {
    text-shadow:
        1px 1px 0 var(--primary-blue),
        -1px 1px 0 var(--primary-blue),
        -1px -1px 0 var(--primary-blue),
        1px -1px 0 var(--primary-blue);
}
/* sp */
.top__item--pc {
    display: none;
}

.top__item--sp {
    max-height: 1200px;
    width: auto;
    position: fixed;
    top: 0;
    left: 0;
}

.top__main--sp {
    z-index: -5;
    max-height: 1200px;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
}



/* パーツ */
.heart {
    width: 11.2vw;
}

.heart1 {
    left: 81.9vw;
    top: 16vh;
    z-index: 10;
    opacity: 0;
    animation: late-open 2s 3.8s forwards, fluffy 7s 3.8s infinite;
}

.heart2 {
    left: 2.1vw;
    top: 24.6vh;
    z-index: 10;
    opacity: 0;
    animation: late-open 2s 3.8s forwards, fluffy 6s 3.8s infinite;
}

.heart3 {
    left: 84.5vw;
    top: 44.3vh;
    z-index: 10;
    opacity: 0;
    animation: late-open 2s 3.8s forwards, fluffy2 5s 3.8s infinite;
}

.arrow-sp {
    width: 17.6vw;
    top: 57.8vh;
    left: 74.9vw;
    opacity: 0;
    animation: late-open 2s 3.8s forwards, fluffy 7s 3.8s infinite;
    z-index: 10;
}

.rabbit-sp {
    width: 40vw;
    top: 58.7vh;
    left: -5vw;
    opacity: 0;
    animation: late-open 2s 3.8s forwards, fluffy2 6s 3.8s infinite;
    z-index: 10;
}

@keyframes late-open {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

@keyframes fluffy {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }
}

@keyframes fluffy2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* パーツ 終わり*/
.main__txt {
    position: fixed;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.main__txt--main {
    text-align: center;
    font-family: "road rage";
    font-size: 23.5vw;
    text-shadow: 3px 3px 0 var(--primary-blue),
        -3px 3px 0 var(--primary-blue),
        -3px -3px 0 var(--primary-blue),
        3px -3px 0 var(--primary-blue);
    white-space: nowrap;
    line-height: 1;
}

.main__txt--sub {
    text-align: center;
    font-family: "Road Rage";
    font-size: 7.5vw;
    font-weight: 400;
    line-height: 1;
    text-shadow: 2px 2px 0 var(--primary-blue),
        -2px 2px 0 var(--primary-blue),
        -2px -2px 0 var(--primary-blue),
        2px -2px 0 var(--primary-blue);
    margin-top: -8px;
}

.footer {
    margin: 0 auto;
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-shadow: 0.8px 0.8px 0 var(--primary-blue),
     -0.8px 0.8px 0 var(--primary-blue),
      -0.8px -0.8px 0 var(--primary-blue),
       0.8px -0.8px 0 var(--primary-blue);
}


/* スマホ横向き */
@media screen and (orientation: landscape) {
    /* top-item */
    .heart {
        width: 13vh;
    }
    .arrow-sp {
        width: 20vh;
        top: 73.8vh;
        left: 81.9vw;
    }
    .main__txt--main {
        font-size: 16vh;
    }
    .main__txt--sub {
        font-size: 7vh;
    }
    .rabbit-sp {
        width: 37vh;
        left: 0vw;
    }
    .top__item--pc {
        display: block;
    }
    .heart {
        display: block;
        width: 9.4vh;
    }

    .heart1 {
        top: 6.2vh;
        left: 7.2vw;
        animation: late-open 2s 3.8s forwards, fluffy 7s 3.8s infinite;
    }

    .heart2 {
        top: 29.6vh;
        left: 82.2vw;
        animation: late-open 2s 3.8s forwards, fluffy 6s 3.8s infinite;
    }

    .heart3 {
        display: none;
    }
    .file1 {
        width: 20vw;
        z-index: 100;
        position: absolute;
        top: 19.9vh;
        right: 85.4vw;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy2 6s 3.8s infinite;
    }

    .file5 {
        width: 22.8vw;
        z-index: 100;
        position: absolute;
        top: 46.7vh;
        left: 82.5vw;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy2 6s 3.8s infinite;
    }

    .file6 {
        width: 19.7vw;
        z-index: 100;
        position: absolute;
        top: 72.1vh;
        left: 79.3vw;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy 6s 3.8s infinite;
    }

    .rabbit-pc {
        width: 21.9vw;
        z-index: 100;
        position: absolute;
        top: 65vh;
        left: 3.6vw;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy 6s 3.8s infinite;
    }

    .arrow-pc {
        width: 8.6vw;
        z-index: 100;
        position: absolute;
        left: 67.5vw;
        top: 73.9vh;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy2 6s 3.8s infinite;
    }

    .file2 {
        width: 17.9vw;
        position: absolute;
        top: 38.2vh;
        left: -3vw;
        animation: late-open 2s 3.8s forwards, fluffy 7s 3.8s infinite;
        opacity: 0;
    }

    .file3 {
        width: 15.4vw;
        position: absolute;
        top: 73.3vh;
        left: 11.8vw;
        animation: late-open 2s 3.8s forwards, fluffy2 5s 3.8s infinite;
        opacity: 0;
    }

    .file4 {
        width: 25.5vw;
        position: absolute;
        top: 0.7vh;
        left: 79.3vw;
        animation: late-open 2s 3.8s forwards, fluffy 6s 3.8s infinite;
        opacity: 0;
    }
    .top__main--sp,
    .top__item--sp {
        display: none;
    }
    .main__txt {
        bottom: 2.9vh;
        left: 4.9vw;
        transform: translate(0);
        z-index: 200;
    }
    .glitch__img {
        z-index: 50;
    }
}



/* =======================================================================
min-width:768px
========================================================================= */
@media screen and (min-width:768px) {
    .title {
        text-shadow:
        2px 2px 0 var(--primary-blue),
        -2px 2px 0 var(--primary-blue),
        -2px -2px 0 var(--primary-blue),
        2px -2px 0 var(--primary-blue);
    }
    .main__txt {
        bottom: 2.9vh;
        left: 4.9vw;
        transform: translate(0);
        z-index: 200;
    }

    .main__txt--main {
        text-shadow: 4px 4px 0 var(--primary-blue),
            -4px 4px 0 var(--primary-blue),
            -4px -4px 0 var(--primary-blue),
            4px -4px 0 var(--primary-blue);
        font-size: 110px;
    }

    .main__txt--sub {
        margin-top: -1.1vw;
        font-size: 44px;
    }

    .top__item--pc {
        display: block;
    }

    .top__main--sp,
    .top__item--sp {
        display: none;
    }

    .heart {
        display: block;
        width: 9.4vh;
    }

    .heart1 {
        top: 6.2vh;
        left: 7.2vw;
        animation: late-open 2s 3.8s forwards, fluffy 7s 3.8s infinite;
    }


    .heart3 {
        display: none;
    }
    .file1 {
        width: 20vw;
        z-index: 100;
        position: absolute;
        top: 19.9vh;
        right: 85.4vw;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy2 6s 3.8s infinite;
    }

    .file5 {
        width: 22.8vw;
        z-index: 100;
        position: absolute;
        top: 46.7vh;
        left: 82.5vw;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy2 6s 3.8s infinite;
    }

    .file6 {
        width: 19.7vw;
        z-index: 100;
        position: absolute;
        top: 72.1vh;
        left: 79.3vw;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy 6s 3.8s infinite;
    }

    .rabbit-pc {
        width: 21.9vw;
        z-index: 100;
        position: absolute;
        top: 65vh;
        left: 3.6vw;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy 6s 3.8s infinite;
    }

    .arrow-pc {
        width: 8.6vw;
        z-index: 100;
        position: absolute;
        left: 67.5vw;
        top: 73.9vh;
        opacity: 0;
        animation: late-open 2s 3.8s forwards, fluffy2 6s 3.8s infinite;
    }

    .file2 {
        width: 21.9vw;
        position: absolute;
        top: 38.2vh;
        left: -3vw;
        animation: late-open 2s 3.8s forwards, fluffy 7s 3.8s infinite;
        opacity: 0;
    }

    .file3 {
        width: 15.4vw;
        position: absolute;
        top: 73.3vh;
        left: 11.8vw;
        animation: late-open 2s 3.8s forwards, fluffy2 5s 3.8s infinite;
        opacity: 0;
    }

    .file4 {
        width: 28.5vw;
        position: absolute;
        top: 0.7vh;
        left: 75.3vw;
        animation: late-open 2s 3.8s forwards, fluffy 6s 3.8s infinite;
        opacity: 0;
    }
}

/* pc 768px */

/* ===================================================================
 min-width:1081px
 ====================================================================*/
@media screen and (min-width:1081px) {

    .top__item--pc {
        display: block;
    }

    .top__main--sp,
    .top__item--sp {
        display: none;
    }

    .main__txt--main {
        text-shadow: 6px 6px 0 var(--primary-blue),
            -6px 6px 0 var(--primary-blue),
            -6px -6px 0 var(--primary-blue),
            6px -6px 0 var(--primary-blue);
        font-size: 11.1vw;
    }

    .main__txt--sub {
        font-size: 2.8vw;
    }
    .footer {
        bottom: 15px;
    }
}

/* pc 1081px */




/* ===================================================================
======================================================================
======================================================================
 グリッチ：アニメーション
 =====================================================================
 =====================================================================
 ====================================================================*/
.demo-2 {
    --glitch-width: 100vw;
    --glitch-height: 100vh;
    --gap-horizontal: 10px;
    --gap-vertical: 5px;
    --color-title: #fff;
    --time-anim: 6s;
    --delay-anim: 3.6s;
    --blend-mode-1: none;
    --blend-mode-2: none;
    --blend-mode-3: none;
    --blend-mode-4: overlay;
    --blend-mode-5: overlay;
    --blend-color-1: transparent;
    --blend-color-2: transparent;
    --blend-color-3: transparent;
    --blend-color-4: #fb909a;
    --blend-color-5: #1c1cc9;
}

/* Glitch styles */
@media screen and (min-width:768px) {
    .glitch {
        background-image: url(../image/top-item/back.PNG);
        background-size: cover;
    }
}

.glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--glitch-width);
    height: var(--glitch-height);
    overflow: hidden;
}

.glitch__img {
    position: absolute;
    top: calc(-1 * var(--gap-vertical));
    left: calc(-1 * var(--gap-horizontal));
    width: calc(100% + var(--gap-horizontal) * 2);
    height: calc(100% + var(--gap-vertical) * 2);
    background: url(../image/top-item/top-sp.png) no-repeat 50% 25% / cover;
    background-color: var(--primary-blue);
    transform: translate3d(0, 0, 0);
    background-blend-mode: var(--blend-mode-1);
}

/* glitch-スマホ横向き */
@media screen and (orientation: landscape) {
    .glitch__img {
        background: url(../image/top-item/top-pc.png) no-repeat 0 70% / cover;
    }
    .glitch {
        background-image: url(../image/top-item/back.PNG);
        background-size: cover;
    }
}

@media screen and (min-width:768px) {
    .glitch__img {
        background: url(../image/top-item/top-pc.png) no-repeat 50% 70% / cover;
        /* url(../image/top-item/back.png) 0 0  / cover; */
        z-index: 50;
    }
}

/* ipad縦向き */
@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) {
    .glitch__img {
        background: url(../image/top-item/top-sp.png) no-repeat 50% 30% / cover;
    }
}

/* pc */
@media screen and (min-width:1081px) {
    .glitch__img {
        background: url(../image/top-item/top-pc.png) no-repeat 50% 100% / contain;
        /* url(../image/top-item/back.png) 0 0  / cover; */
    }
}

/* pc 1081px */
.glitch__img:nth-child(n+2) {
    opacity: 0;
}

.imgloaded .glitch__img:nth-child(n+2) {
    animation-duration: var(--time-anim);
    animation-delay: var(--delay-anim);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.imgloaded .glitch__img:nth-child(2) {
    background-color: var(--primary-white);
    background-blend-mode: var(--blend-mode-2);
    animation-name: glitch-anim-1;
}

.imgloaded .glitch__img:nth-child(3) {
    background-color: var(--primary-blue2);
    background-blend-mode: var(--blend-mode-3);
    animation-name: glitch-anim-2;
}

.imgloaded .glitch__img:nth-child(4) {
    background-color: var(--primary-blue);
    background-blend-mode: var(--blend-mode-4);
    animation-name: glitch-anim-3;
}

.imgloaded .glitch__img:nth-child(5) {
    background-color: var(--primary-black);
    background-blend-mode: var(--blend-mode-5);
    animation-name: glitch-anim-flash;
}

/* Animations */

@keyframes glitch-anim-1 {
    0% {
        opacity: 1;
        transform: translate3d(var(--gap-horizontal), 0, 0);
        -webkit-clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
    }

    2% {
        -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
        clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
    }

    4% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
        clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
    }

    6% {
        -webkit-clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
        clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
    }

    8% {
        -webkit-clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
        clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
    }

    10% {
        -webkit-clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
        clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
    }

    12% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
        clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
    }

    14% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
        clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
    }

    16% {
        -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }

    18% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
        clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }

    20% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
        clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
    }

    21.9% {
        opacity: 1;
        transform: translate3d(var(--gap-horizontal), 0, 0);
    }

    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        opacity: 1;
        transform: translate3d(calc(-1 * var(--gap-horizontal)), 0, 0);
        -webkit-clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
        clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
    }

    3% {
        -webkit-clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
        clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
    }

    5% {
        -webkit-clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
        clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
    }

    7% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
        clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }

    9% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
        clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
    }

    11% {
        -webkit-clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
        clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
    }

    13% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
        clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }

    15% {
        -webkit-clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
        clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
    }

    17% {
        -webkit-clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
        clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
    }

    19% {
        -webkit-clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
        clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
    }

    20% {
        -webkit-clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
        clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
    }

    21.9% {
        opacity: 1;
        transform: translate3d(calc(-1 * var(--gap-horizontal)), 0, 0);
    }

    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}

@keyframes glitch-anim-3 {
    0% {
        opacity: 1;
        transform: translate3d(0, calc(-1 * var(--gap-vertical)), 0) scale3d(-1, -1, 1);
        -webkit-clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
        clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
    }

    1.5% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
        clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
    }

    2% {
        -webkit-clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
        clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
    }

    2.5% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
        clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }

    3% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
        clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
    }

    5% {
        -webkit-clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
        clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
    }

    5.5% {
        -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
        clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
    }

    7% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
        clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
    }

    8% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
        clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
    }

    9% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
        clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
    }

    10.5% {
        -webkit-clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
        clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
    }

    11% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
        clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
    }

    13% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
        clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
    }

    14% {
        -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
        clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
    }

    14.5% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
        clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
    }

    15% {
        -webkit-clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
        clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
    }

    16% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
        clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }

    18% {
        -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
        clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
    }

    20% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
        clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
    }

    21.9% {
        opacity: 1;
        transform: translate3d(0, calc(-1 * var(--gap-vertical)), 0) scale3d(-1, -1, 1);
    }

    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}

@keyframes glitch-anim-text {
    0% {
        transform: translate3d(calc(-1 * var(--gap-horizontal)), 0, 0) scale3d(-1, -1, 1);
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
        clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
    }

    2% {
        -webkit-clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
        clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
    }

    4% {
        -webkit-clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
        clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
    }

    5% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
        clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
    }

    6% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
        clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
    }

    7% {
        -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }

    8% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
        clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }

    9% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
        clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
    }

    9.9% {
        transform: translate3d(calc(-1 * var(--gap-horizontal)), 0, 0) scale3d(-1, -1, 1);
    }

    10%,
    100% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* Flash */
@keyframes glitch-anim-flash {

    0%,
    5% {
        opacity: 0.2;
        transform: translate3d(var(--gap-horizontal), var(--gap-vertical), 0);
    }

    5.5%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
}