* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    transition: all 0.3s;
}

html,
body {
    margin: 0;
    height: 100%;
}

/* a blue color as a generic focus style */
button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
}

/* Additional global styles */
body {
    font-family: "Geist", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #404040;
    background-color: #FDFDFD;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Comme", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

img {
    max-width: 100%;
    height: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#splash-screen {
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f2f3f8;
}

.dark #splash-screen {
    background-color: #1A1A1A;
}

#splash-screen img {
    margin-bottom: 30px;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

small {
    font-size: 11px;
}

.splash-spinner {
    animation: rotate 2s linear infinite;
    margin-left: calc(100vw - 100%);
    width: 50px;
    height: 50px;
}

.splash-spinner .path {
    stroke: #3581F3;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

.splash-spinner.stroke-white .path {
    stroke: #FFFFFF;
}

.splash-spinner.stroke-primary .path {
    stroke: #3581F3;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

#root {
    width: 100%;
    height: 100%;
}


@media screen and (max-width: 768px) {
    * {
        font-size: 14px;
    }
}