:root {
    --color-light: #d3d3d3;     
    --color-dark:  #555;     
    --color-black: #000;
}

html, body{
    margin: 0;
    padding: 0;

}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--color-light);
    animation: rotate 5s infinite linear;
}


.square{
    height: 1.5em;
    width: 1.5em;
    background: #000;
    
    margin: .5em ;
    animation: pulse 1.5s infinite;
    border-radius: 10%;
    
}
.square1{
    background: red;
}
.square2{
    background: green;
    
}
.square3{
    background: blue;
   
}

@keyframes pulse {
    from{
       transform: rotate(-45deg);
    }
    to{
       transform: rotate(45deg);
    }
}
