p::before {
    content: "Awal: ";
    font-weight: bold;
    color: green;
}

p::after {
    content: " :Akhir";
    font-weight: bold;
    color: red;
}

.box {
    width: 100px;
    height: 100px;
    background-color: blue;
    position: relative;
    animation-name: move;
    animation-duration: 2s; 
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes move {
    0% { left: 0; }
    100% { left: 200px; }
}

.container {
    height: 50vh;
    position: relative;
}

.circle1, .circle2, .circle3, .circle4, .circle5, .circle6, .circle7, .circle8, .circle9, .circle10, .circle11, .circle12 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.circle1, .circle2, .circle3 {
    animation-name: moveUpDown;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes moveUpDown {
    from { top: 0; }
    to { top: 200px; }
}

.circle1, .circle4, .circle7, .circle10 {
    background-color: red;
}

.circle2, .circle5, .circle8, .circle11 {
    background-color: yellow;
}

.circle3, .circle6, .circle9, .circle12 {
    background-color: green;
}

.circle4, .circle5, .circle6 {
    animation-name: scaling;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes scaling {
    from { transform: scale(1); }
    to { transform: scale(2); }
}

.circle7 {
    animation: leftToRight1 2s infinite alternate;
    animation-delay: 2s;
}

.circle8 {
    animation: leftToRight2 2s 1.5s infinite alternate;
}

.circle9 {
    animation: leftToRight3 2s 1s infinite alternate;
}

@keyframes leftToRight1 {
    from { left: 0; }
    to { left: 200px; }
}

@keyframes leftToRight2 {
    from { left: 0; }
    to { left: 200px; }
}

@keyframes leftToRight3 {
    from { left: 0; }
    to { left: 200px; }
}

.circle10 {
    animation: leftToRightScaling1 2s infinite alternate;
    animation-delay: 2s;
}

.circle11 {
    animation: leftToRightScaling2 2s 1.5s infinite alternate;
}

.circle12 {
    animation: leftToRightScaling3 2s 1s infinite alternate;
}

@keyframes leftToRightScaling1 {
    from { 
        left: 0;
        transform: scale(1) 
    }
    to { 
        left: 200px; 
        transform: scale(1.5)
    }
}

@keyframes leftToRightScaling2 {
    from { 
        left: 0;
        transform: scale(1)
    }
    to { 
        left: 200px;
        transform: scale(1.5)}
}

@keyframes leftToRightScaling3 {
    from { 
        left: 0;
        transform: scale(1)
    }
    to { 
        left: 200px;
        transform: scale(1.5);
    }
}