.is-invisible {
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
}

.is-visible {
    transition: 0.3s;
    opacity: 1;
    visibility: visible;
}

.screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #24262d;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .loader {
    width: 100%;
    height: 15px;
    text-align: center;
} */

/* HTML: <div class="loader"></div> */
.loader {
    width: 60px;
    aspect-ratio: 1;
    color: #24768b;
    border: 10px solid;
    box-sizing: border-box;
    border-radius: 50%;
    animation: l6 2s infinite linear;
    position: relative;
}
.loader:before {
    content: "";
    position: absolute;
    height: 20px;
    inset: auto calc(50% - 10px) 100%;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(currentColor 0 0) top/100% 30%,
        linear-gradient(currentColor 0 0) top/50% 100%;
    background-repeat: no-repeat;
}
.loader:after {
    content: "";
    position: absolute;
    inset: -8px -10px auto;
    height: 15px;
    background: radial-gradient(farthest-side, currentColor 94%, #0000) left,
        radial-gradient(farthest-side, currentColor 94%, #0000) right;
    background-size: 15px 15px;
    background-repeat: no-repeat;
}
@keyframes l6 {
    0% {
        background: conic-gradient(#77a4bd 0, #0000 0);
    }
    12.5% {
        background: conic-gradient(#77a4bd 45deg, #0000 46deg);
    }
    25% {
        background: conic-gradient(#77a4bd 90deg, #0000 91deg);
    }
    37.5% {
        background: conic-gradient(#77a4bd 135deg, #0000 136deg);
    }
    50% {
        background: conic-gradient(#77a4bd 180deg, #0000 181deg);
    }
    62.5% {
        background: conic-gradient(#77a4bd 225deg, #0000 226deg);
    }
    75% {
        background: conic-gradient(#77a4bd 270deg, #0000 271deg);
    }
    87.5% {
        background: conic-gradient(#77a4bd 315deg, #0000 316deg);
    }
    100% {
        background: conic-gradient(#77a4bd 360deg, #0000 360deg);
    }
}

/* elon animation */

/* .elon-loader {
    -webkit-animation: spin 4s linear infinite !important;
    -moz-animation: spin 4s linear infinite !important;
    animation: spin 4s linear infinite !important;
    width: 100vw !important;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}
@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
} */
