﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border-top: 3px solid #506AD4;
    border-bottom: 4px solid transparent;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    animation: spin 3s linear infinite forwards;
    z-index: 100;
    /*    width: 200px;
    height: 200px;
    border-radius: 50%;
    border-top: 2px solid steelblue;
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    position: relative;
    animation: spin 3s linear infinite forwards;*/
}

    .loader::before,
    .loader::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        border-top: 4px solid inherit;
        border-bottom: 4px solid transparent;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
    }

    .loader::before {
        top: 7px;
        left: 7px;
        width: 178px;
        height: 178px;
        border-top: 4px solid #F2CC39;
        animation: spin 2s linear infinite forwards;
    }

    .loader::after {
        top: 16px;
        left: 16px;
        width: 160px;
        height: 160px;
        border-top: 4px solid #A3CDD9;
        animation: spin 1s linear infinite forwards;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
