@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bellota:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Inter:wght@100..900&family=Poppins:wght@300;400&display=swap');

:root {
    --color-accent: 66, 196, 226;
    --color-bg: #33A7FF;
    --color-bg-highlight: #59B7FF;
    --color-bg-mute: #788b98;
    --color-bg-mute-highlight: #919FA9;
    --color-bg-red: #FF5656;
    --color-bg-red-highlight: #ff8b8b;
    --bg-transparent-dark: rgba(0, 0, 0, 0.5);
    --text-dark: white;
    --text-maroon: #8D3932;
    --color-bg-yellow: #FFF533;
    --cursor-arrow: url('../img/ui/cursor_none.png'), auto;
    --cursor-pointer: url('../img/ui/hand_point.png'), auto;
    --bg-booklet: linear-gradient(#DA4F54, #910207);
    --btn-box-shadow: 0 2px 2px #0005;
}

* {
    padding: 0;
    margin: 0;
    border: unset;
    font-family: 'Open Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

html {
    height: 100dvh;
    width: 100dvw;
    cursor: var(--cursor-arrow);
}

body {
    background-position-y: 20%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url('zagorske-price-full.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.loading-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#loading-menu {
    gap: 32px;
}

#loading {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid var(--color-bg);
    border-right-color: var(--color-bg-highlight);
    position: relative;
    animation: spin 1s infinite linear;
}
  
#loading:before,
#loading:after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: inherit;
    animation: inherit;
    animation-duration: 2s;
}

#loading:after {
    animation-duration: 4s;
}

@keyframes spin {
    100% { transform: rotate(1turn) }
}

#btn-start {
    font-size: 2em;
    padding: .75em 1.25em;
    text-transform: uppercase;
}

#error {
    font-size: 1em;
    max-width: 80%;
    text-shadow: var(--btn-box-shadow);
    text-transform: uppercase;
    font-weight: bold;
    color: white;
}

#select-language-text {
    color: white;
    font-weight: bold;
    text-shadow: var(--btn-box-shadow);
}

.lang-btn {
    aspect-ratio: 1 / 1;
    display: grid;
    align-content: center;
    padding: 12px !important;
    font-size: 18px;
}

#version {
    color: var(--text-dark);
}

.wrapper {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    justify-content: flex-start;
    background-color: #0004;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.btn {
    font-weight: bold;
    align-content: center;
    cursor: var(--cursor-pointer);
    text-align: center;
    border: 4px solid white;
    color: white;
    background-color: var(--color-bg);
    border-radius: 13px;
    padding: 8px 24px;
    transition: all 0.125s linear;
    transform: translateY(0);
    box-shadow: var(--btn-box-shadow),
    inset 0 0 0 2px #0004;
    user-select: none;
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--btn-box-shadow),
        inset 0 0 0 2px #0004;
    background-color: var(--color-bg-highlight);
}

.mute {
    background-color: var(--color-bg-mute) !important;
}

.d-flex {
    display: flex !important;
}

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-start {
    justify-content: flex-start !important;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 12px !important;
}

