
@keyframes foo {
    0% {
        transform: translateY(-50%) rotateY(0deg);
    }
    100% {
        transform: translateY(-50%) rotateY(180deg);
    }
}
@keyframes rotato {
    0% {
        transform: translateZ(0px) rotateY(90deg);
        opacity: 0.4;
    }
    10% {
        transform: translateZ(12px) rotateY(90deg);
        opacity: 0.4;
    }
    90% {
        transform: translateZ(12px) rotateY(0deg);
        opacity: 0.4;
    }
    100% {
        transform: translateZ(0px) rotateY(0deg);
        opacity: 1;
    }
}
.__animation_1,
.__animation_2 {
    perspective: 200px;
    transform-style: preserve-3d;
}
.__animation_1::before,
.__animation_2::before {
    will-change: transform;
    content: '{';
    display: flex;
    position: absolute;
    transform: translateY(-50%);
    top: 47%;
    left: -0.5em;
    width: calc(50% + 0.5em);
    color: var(--dsg-colors-secondary-500);
    transform-origin: 100% 50%;
    font-size: var(--dsg-fontSizes-5);
    font-family: var(--dsg-fontFamilies-lead-400);
}
.__animation_1::after,
.__animation_2::after {
    will-change: transform;
    content: '}';
    display: flex;
    justify-content: flex-end;
    position: absolute;
    transform: translateY(-50%);
    top: 47%;
    right: -0.5em;
    width: calc(50% + 0.5em);
    color: var(--dsg-colors-secondary-500);
    transform-origin: 0% 50%;
    font-size: var(--dsg-fontSizes-5);
    font-family: var(--dsg-fontFamilies-lead-400);
}

.__animation_1:hover::before,
.__animation_1:hover::after {
    animation: foo 0.5s ease-in-out 0s 1;
}

.__animation_2::before {
    content: '{';
}
.__animation_2::after {
    content: '}';
}
.__animation_2::before,
.__animation_2::after {
    top: 46%;
    color: var(--dsg-colors-primary-400);
    animation: foo 0.5s ease-in-out 0s 1;
}
.__animation_3 {
    animation: rotato 300ms 0s 1 forwards;
}