.squares span {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 6px solid rgba(255,255,255,0.8);
    margin-top: 2rem;
}

.squares span:nth-child(1) {
    top: 12%;
    left: 42%;
    animation: animateUp 10s linear infinite;
}

.squares span:nth-child(2) {
    top: 70%;
    left: 50%;
    animation: animateDown 7s linear infinite;
}

.squares span:nth-child(3) {
    top: 17%;
    left: 6%;
    animation: animateUp 9s linear infinite;
}

.squares span:nth-child(4) {
    top: 20%;
    left: 60%;
    animation: animateDown 10s linear infinite;
}

.squares span:nth-child(5) {
    top: 67%;
    left: 10%;
    animation: animateUp 6s linear infinite;
}

.squares span:nth-child(6) {
    top: 80%;
    left: 70%;
    animation: animateDown 12s linear infinite;
}

.squares span:nth-child(7) {
    top: 60%;
    left: 80%;
    animation: animateUp 15s linear infinite;
}

.squares span:nth-child(8) {
    top: 32%;
    left: 25%;
    animation: animateDown 16s linear infinite;
}

.squares span:nth-child(9) {
    top: 90%;
    left: 25%;
    animation: animateUp 9s linear infinite;
}

.squares span:nth-child(10) {
    top: 20%;
    left: 80%;
    animation: animateDown 5s linear infinite;
}