.move {
    transition: all 3s;
    transition-timing-function: ease-in-out;
}

.move:hover {
  transform: rotate(180deg);
}

div {
    height: 10dvh;
    width: 10dvw;
}

span {
    background-color: black;
}


.container {
    Margin: 100px;
    display: flex;

}

.box {
    background: steelblue;
    border-radius: 5px;
    display: inline-block;
    margin: 0px 10px 0px 10px;
    height: 80px;
    width: 80px;
  
    .container:hover & {
        transform: scale(1.4);
    }
}

#box1 {
    transition: all 1.3s;
}

#box2 {
    transition: all 1.3s 0.5s;
}

#box3 {
    transition: all 1.3s 1s;
}

.spin {
    background-color: mediumorchid;
    border-radius: 2% 50%;
    height: 100px;
    margin: 50px;

    transition: all 20s;
    transition-timing-function: ease-in-out;
    
    width: 100px;

    &:hover{
        transform: rotate(36000deg);
    }
}



@keyframes bgcolor {
    0% {
        background-color: #45a3e5
    }

    30% {
        background-color: #66bf39
    }

    60% {
        background-color: #eb670f
    }

    90% {
        background-color: #f35
    }

    100% {
        background-color: #864cbf
    }
}

body {
    -webkit-animation: bgcolor 0.2s infinite;
    animation: bgcolor 0.2s infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}