@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");

:root {
    --loading-bg-color: whitesmoke;
    --loading-fg-color: #3498db;
    --loading-border-color: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    overscroll-behavior-x: none;
}

body {
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background-color: var(--loading-bg-color);
}

.loading-text {
    font-size: 24px;
    font-weight: 500;
    color: #000000;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;

    img {
        width: 100px;
        height: 100px;
        border-radius: 20%;
        box-shadow:
            0 0 5px var(--loading-border-color),
            0 0 10px var(--loading-border-color),
            0 0 20px var(--loading-border-color),
            0 0 40px var(--loading-border-color);
    }
}

.spinner {
    border: 4px solid var(--loading-border-color);
    /* Light gray background for the circle */
    border-left-color: var(--loading-fg-color);
    /* Blue color for the animating part */
    border-radius: 50%;
    /* Makes it a perfect circle */
    width: 35px;
    /* Adjust size as needed */
    height: 35px;
    /* Adjust size as needed */
    animation: spin 1s linear infinite;
    /* Apply the animation */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        /* Start at 0 degrees */
    }

    100% {
        transform: rotate(360deg);
        /* Rotate a full 360 degrees */
    }
}