
body{
    display: flex;
    margin: 0;
    align-items:center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;

}
 #box {
    display: flex;
    width: 500px; height: 300px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
   
 }  
 #box2 {
    display: flex;
    width: 500px; height: 300px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
 }  
 #box3 {
    display: flex;
    width: 600px; height: 300px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
 }  
    
 .horizontal-line {
    position: absolute;
    width: 30%; 
    height: 2px; 
    background-color: black;
    
 }
#text1 {
    font-size: 150px;
    color: green;
    clip-path: inset(0 0 50% 0);
    position: absolute;
    margin-left: auto;
    animation-name: move;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}
#text2 {
    font-size: 150px;
    color: rgb(55, 176, 212);
    clip-path: inset(50% 0 0 0);
    animation-name: move2;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}

@keyframes move{
    0%{transform:translateX(0) ;}
    25%{transform:translateX(-100px) ;}
    50%{transform: translateX(100px);}
    100%{transform: translateX(0);}
}

@keyframes move2{
    0%{transform:translateX(0) ;}
    25%{transform:translateX(100px) ;}
    50%{transform: translateX(-100px);}
    100%{transform: translateX(0);}
}


#text3 {
    font-size: 150px;
    color: rgb(55, 176, 212);
    clip-path: inset(0 0 50% 0);
    position: absolute;
    margin-left: auto;
    animation-name: move3;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}
#text4 {
    font-size: 150px;
    color: green;
    clip-path: inset(50% 0 0 0);
    animation-name: move4;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}

@keyframes move3{
    0%{transform:translateX(0) ;}
    25%{transform:translateX(100px) ;}
    50%{transform: translateX(-100px);}
    100%{transform: translateX(0);}
}

@keyframes move4{
    0%{transform:translateX(0) ;}
    25%{transform:translateX(-100px) ;}
    50%{transform: translateX(100px);}
    100%{transform: translateX(0);}
}

#text5 {
    font-size: 150px;
    color: green;
    clip-path: inset(0 0 50% 0);
    position: absolute;
    margin-left: auto;
    animation-name: move5;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}
#text6 {
    font-size: 150px;
    color: rgb(55, 176, 212);
    clip-path: inset(50% 0 0 0);
    animation-name: move6;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}

@keyframes move5{
    0%{transform:translateX(0) ;}
    25%{transform:translateX(-100px) ;}
    50%{transform: translateX(100px);}
    100%{transform: translateX(0);}
}

@keyframes move6{
    0%{transform:translateX(0) ;}
    25%{transform:translateX(100px) ;}
    50%{transform: translateX(-100px);}
    100%{transform: translateX(0);}
}
