@font-face {
    /*font-family: oswald;*/
    /*src: url(/fonts/Oswald-VariableFont_wght.ttf);*/
    font-family: jost;
    src: url(/fonts/Jost-VariableFont_wght.ttf);
}

:root {
    --tranistionDuration: 0.4s;
    --arrowDistance: 6px;
    --arrowTransition: margin-left var(--tranistionDuration) ease, opacity var(--tranistionDuration) ease;
    --inputColor: var(--bs-primary);
    --lightGray: #e9e9e9;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
    /*font-family: oswald !important;*/
    font-family: jost !important;
}

.backgroundImage {
    background-image: url(/images/background.jpg);
    background-size: cover;
    width: 100vw;
    height: 100vh;
}

.backgroundImage div {
    background-color: black;
    opacity: 0.2;
    width: 100%;
    height: 100%;
}

.questionScreen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(94vw, 580px);
    max-height: min(94vh, 94dvh);
    background-color: white;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 24px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.questionIndicator {
    width: fit-content;
    height: 25px;
    min-width: 25px;
    padding-inline: 2px;
}

.questionType {
    padding-top: 3px;
    display: none;
}

.questionTitle {
    color: #0c1f3a !important;
    transition: opacity var(--tranistionDuration) ease, margin-left var(--tranistionDuration);
    opacity: 0;
    margin-left: 100px;
}

.gg-arrow-left {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 22px;
    height: 22px
}

.gg-arrow-left::after,
.gg-arrow-left::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    left: 3px
}

.gg-arrow-left::after {
    width: 8px;
    height: 8px;
    border-bottom: 2px solid;
    border-left: 2px solid;
    transform: rotate(45deg);
    bottom: 7px
}

.gg-arrow-left::before {
    width: 12px;
    height: 2px;
    bottom: 10px;
    border-radius: 4px;
    background: currentColor
}

.rotate-180 {
    transform: rotate(180deg);
}

.questionNext i, .questionPrevious i {
    transition: margin var(--tranistionDuration) ease, opacity var(--tranistionDuration) ease;
    margin: 0;
}

.questionNext:hover i {
    margin-left: var(--arrowDistance);
}

.questionPrevious:hover i {
    margin-right: var(--arrowDistance);
}

.inputCheckbox input[type=checkbox]:checked {
    border-color: var(--inputColor);
    position: relative;
}

.inputCheckbox input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    border: solid 2px var(--lightGray);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.inputCheckbox input[type=checkbox]::before {
    content: "";
    position: absolute;
    background-color: var(--inputColor);
    width: 15px;
    height: 15px;
    line-height: 30px;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 5.5px;
    transition: transform 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: scale(0);
}

.inputCheckbox input[type=checkbox]:checked::before {
    transform: scale(1);
}

.inputCheckbox input[type="checkbox"] {
    scale: 0.8;
}

input[type="checkbox"] + label::after {
    content: '';
    width: 100%;
    border-bottom: 2px solid var(--lightGray);
    display: block;
    transition: border-bottom-color 0.4s ease;
}

input[type="checkbox"]:checked + label::after {
    border-bottom-color: var(--inputColor);
}
