@charset "UTF-8";
@property --progress {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 0%;
}
:root {
    --c1: #6eccee;
    --c2: #e13adb;
    --c3: #ff4f12;
    --c4: #883ae1;
}

.logo {
    position: absolute;
    top: 15px;
    left: 20px;
}

.logo a {
    font-weight: bold;
    font-size: 5vmin;
    font-family: Roboto, Inter, 'Helvetica Neue', Helvetica, sans-serif;
    color: white;
    text-decoration: none;
}

@-webkit-keyframes progress {
    from {
        --progress: 0%;
    }
    to {
        --progress: 100%;
    }
}

@keyframes progress {
    from {
        --progress: 0%;
    }
    to {
        --progress: 100%;
    }
}
.circle {
    --progress: 60%;
    background: conic-gradient(
        at center,
        var(--c4) var(--progress),
        #121826 var(--progress),
        var(--c3) calc(var(--progress) + 20%),
        var(--c2) calc(var(--progress) + 30%),
        var(--c4) calc(var(--progress) + 50%),
        transparent,
        transparent,
        transparent,
        transparent
    );
    -webkit-animation: progress 4s linear infinite;
    animation: progress 4s linear infinite;
    border-radius: 50%;
    -webkit-mask: radial-gradient(circle at center, transparent 65%, black 65%);
    mask: radial-gradient(circle at center, transparent 65%, black 65%);
    position: absolute;
    inset: 0;
}
@supports (background: paint(houdini)) {
    .circle {
        --progress: 0%;
    }
}
.circle:nth-child(2) {
    inset: 4vmin;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}
.circle:nth-child(3) {
    inset: 8vmin;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.container {
    filter: drop-shadow(0 0 0.8vmin black);
    position: relative;
    width: 40vmin;
    aspect-ratio: 1;
}
.container:after {
    content: 'ВОЙТИ';
    font-weight: bold;
    position: absolute;
    font-size: 3vmin;
    inset: 0;
    color: white;
    display: grid;
    place-items: center;
}

body {
    align-items: stretch;
    align-content: stretch;
    height: 100vh;
    width: 100vw;
    font-family: Roboto, Inter, 'Helvetica Neue', Helvetica, sans-serif;
    background: radial-gradient(
            30% 40% at center,
            rgba(255, 255, 255, 0.03),
            transparent
        ),
        #121826;
    color: white;
    display: grid;
    place-items: center;
}

#canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
