:root{
    --color-blue: #3a86ff;
    --color-pink: #ff006e;
    --color-orange: #fb5607;
    --color-green: #80ffdb;
    --color-yellow: #ffbe0b;
}
.loader{
    width: 100px;
    height: 100px;
    margin: 50px auto 0;
    border-radius: 50%;
    position: relative; 
    animation: rotate 2.5s linear infinite; 
} 
.loader span{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%;
}
.loader span:nth-child(1){ 
    border: 5px solid var(--color-blue);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}
.loader span:nth-child(2){ 
    width: 80px;
    height: 80px;
    border: 5px solid var(--color-pink);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
.loader span:nth-child(3){ 
    width: 60px;
    height: 60px;
    border: 5px solid var(--color-orange);
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
}
.loader span:nth-child(4){ 
    width: 40px;
    height: 40px;
    border: 5px solid var(--color-green);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
} 
.loader span:nth-child(5){
    width: 20px;
    height: 20px;
    background: var(--color-yellow);
}
@keyframes rotate{ 100% { transform: rotate(360deg); } }