
/* SPINNER */

#form {
    max-width: 420px;
}

#form-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFFFFFAA;
    backdrop-filter: blur(5px);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
}

#form-spinner.processing {
    opacity: 1;
    pointer-events: all;
}

#form-spinner .spinner {
    width: 75%;
    aspect-ratio: 1/1;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-icon {
    grid-template-areas: 'spinner';
    display: grid;
    place-items: center;
}

.spinner-icon p {
    grid-area: spinner;
    margin: auto
}
/*
.spinner-icon span {
    grid-area: spinner;
    fill: var(--brand);
    display: grid;
    place-items: center;
    width: 400px;
    height: 400px;
} */

.spinner-icon svg {
    grid-area: spinner;
    transform-origin: center;
}
.spinner-icon svg circle {
    fill: var(--brand);
}
.spinner-icon svg circle {
    transform-origin: center;
    animation: spin 3s ease-in-out infinite;
}
.spinner-icon svg circle:nth-of-type(1) {
    animation-delay: 0.1s;
}
.spinner-icon svg circle:nth-of-type(2) {
    animation-delay: 0.2s;
}
.spinner-icon svg circle:nth-of-type(3) {
    animation-delay: 0.3s;
}
.spinner-icon svg circle:nth-of-type(4) {
    animation-delay: 0.4s;
}
.spinner-icon svg circle:nth-of-type(5) {
    animation-delay: 0.5s;
}
.spinner-icon svg circle:nth-of-type(6) {
    animation-delay: 0.6s;
}
.spinner-icon svg circle:nth-of-type(7) {
    animation-delay: 0.7s;
}
.spinner-icon svg circle:nth-of-type(8) {
    animation-delay: 0.8s;
}
.spinner-icon svg circle:nth-of-type(9) {
    animation-delay: 0.9s;
}
.spinner-icon svg circle:nth-of-type(10) {
    animation-delay: 1.0s;
}
.spinner-icon svg circle:nth-of-type(11) {
    animation-delay: 1.1s;
}