:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-green: #22CC68;
    --color-red: #FF3421;

    --max-width: 520px;
    --min-width: 375px;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/GolosText-VariableFont_wght.ttf");
}

body {
    background-color: antiquewhite;

    font-family: "Golos Text", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0%;

    color: var(--color-black);
}

.text_white {
    color: var(--color-white);
}

.max-width{
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

#overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    min-width: var(--min-width);
}

.overlay__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 100%;
    z-index: 10;
    height:100%;
}

.shaded {
    --header-shade: linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03551) 13.33%, rgba(0, 0, 0, 0.147411) 26.67%, rgba(0, 0, 0, 0.331884) 40%, rgba(0, 0, 0, 0.557309) 53.33%, rgba(0, 0, 0, 0.768225) 66.67%, rgba(0, 0, 0, 0.91834) 80%, rgba(0, 0, 0, 0.96449) 86.67%, #000000 100%);
    --footer-shade: linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0.96449) 13.33%, rgba(0, 0, 0, 0.91834) 20%, rgba(0, 0, 0, 0.768225) 33.33%, rgba(0, 0, 0, 0.557309) 46.67%, rgba(0, 0, 0, 0.331884) 60%, rgba(0, 0, 0, 0.147411) 73.33%, rgba(0, 0, 0, 0.03551) 86.67%, rgba(0, 0, 0, 0) 100%);
}

.overlay__image {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: -1;
    display: flex;
    justify-content: center;
}

.overlay__image.image_fade {
    filter: brightness(30%);
}

.overlay__image img {
    width: auto;
    height: 100%;
}

.title {
    font-size: 28px;
    line-height: 28px;
    letter-spacing: 0%;
    text-align:left;
}

.answer_result {
    font-weight: 500;
    font-size: 28px;
    line-height: 28px;
    letter-spacing: 0%;
}

.logo_wrapper {
    padding: 20px;
    padding-top: 40px;
}

.logo {
    width: 276px;
    height: 99px;
    display: block;
    background-image: url("../../images/logo.png");
}

.btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px 16px;
    gap: 4px;
    border: none;
    border-radius: 20px;
    box-shadow: 0px -3px 0px 0px #0000004D inset;
    background-color: var(--color-white);
    color: var(--color-black);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    font-family: "Golos Text", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0%;
}

.btn:active {
    /* transform: translateY(4px); */
    padding: 12px 24px 12px;
    margin-top: 4px;
    box-shadow: none;
}

.questions_array_btns{
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.questions_array_btns .btn {
    border-radius: 12px;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0%;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
}

.btn_green {
    background: var(--color-green);
    box-shadow: 0px -3px 0px 0px #0000004D inset;
    color: var(--color-white);
}

.btn_red {
    background: var(--color-red);
    box-shadow: 0px -3px 0px 0px #0000004D inset;
    color: var(--color-white);

}

.btn_black {
    background: var(--color-black);
    box-shadow: 0px -3px 0px 0px #FFFFFF4D inset;
    color: var(--color-white);
}

.btn_white {
    background: var(--color-white);
    box-shadow: 0px -3px 0px 0px #0000004D inset;
    color: var(--color-black);
}

.btn.disabled,
.btn:disabled {
    opacity: 0.3;
}

.header {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 20px 80px;
    background: var(--header-shade, none);
}

.content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--color-white);
    max-width: var(--max-width);
}

.footer {
    padding: 40px 20px 40px;
    background: var(--footer-shade, none);
}

#card {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.card__text>* {
    margin-top: 16px;
}

.card__text>*:first-child {
    margin-top: 0;
}

.card__hint {
    text-align: center;
}

ul>li {
    margin: 8px 0 0 28px;
    list-style-type: disc;
    position: relative;
}

ul>li:first-of-type {
    margin-top: 0;
}

.mindar-ui-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: transparent;
    z-index: 2;

}

.mindar-ui-scanning_new .scanning {
    width: 200px;
    height: 200px;
}

.mindar-ui-scanning_new .scanning .inner {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: .8;
    /*background: linear-gradient(to right, white 16px, transparent 16px) 0 0, linear-gradient(to right, white 16px, transparent 16px) 0 100%, linear-gradient(to left, white 16px, transparent 16px) 100% 0, linear-gradient(to left, white 16px, transparent 16px) 100% 100%, linear-gradient(to bottom, white 16px, transparent 16px) 0 0, linear-gradient(to bottom, white 16px, transparent 16px) 100% 0, linear-gradient(to top, white 16px, transparent 16px) 0 100%, linear-gradient(to top, white 16px, transparent 16px) 100% 100%;*/
    background-repeat: no-repeat;
    background-size: 60px 60px;
}

.mindar-ui-scanning_new .scanning .inner img {
    width:100%;

}

.scanner_status {
    margin-top: 16px;
    text-align: center;
    color: var(--color-white);
    min-height: 20px;
}

.scanner_status[data-mode="warning"] {
    color: #ffe082;
}

.scanner_status[data-mode="error"] {
    color: #ffb4ab;
}

.scanner_actions {
    margin-bottom:20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.scanner_btn {
    min-width: 140px;
    font-size: 18px;
    line-height: 24px;
    padding: 12px 18px 14px;
}

.mindar-ui-scanning_new .scanning .inner .scanline {
    position: absolute;
    width: 136px;
    height: 16px;
    left: 32px;
    background: white;
    animation: move 2s linear infinite;
}

#scanner_back_btn {

}

@keyframes move {

    0%,
    100% {
        top: 32px;
    }

    50% {
        top: calc(100% - 48px);
    }
}

.success-counter {
    font-size: 64px;
    line-height: 64px;
}
