@font-face {
    font-family: 'Montserrat';
    src: url(/tensor/fonts/Montserrat/Montserrat-Medium.ttf);
    font-weight: normal;
    font-style: normal;
}
#score {
    position: absolute;
    right: 150px;
    top: 45px;
    background: #fff;
    border-radius: 65px;
    width: 45px;
    height: 45px;
    display: flex;
    font-size: 25px;
    font-family: 'Montserrat';
    justify-content: center;
    align-items: center;
    color: #B14A2B;
    font-weight: 600;
}

.input-nickname-block {
    z-index: 4;
    height: 100%;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e5e5e559;
}

.memory-game-over {
    object-fit: contain;
    transform: rotateY(90deg);
    -webkit-transform: rotateY(90deg);
    margin: 0px -10px;
    position: absolute;
    z-index: -1;
    background-image: url('/tensor/sabynews/interactivity/finder_autumn/img/end_modal.png');
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: none;
}

.game-over-revert {
    z-index: 10;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transition: transform 1.5s;
    -webkit-transition: transform 1.5s;
}

.input-nickname-card {
    width: 70%;
    height: 48%;
    border-radius: 5px;
    border-color: transparent;
    background-color: transparent;
    background-image: url('/tensor/sabynews/interactivity/finder_autumn/img/start_modal.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    max-width: 414px;
    max-height: 293px;
    opacity: 1 !important;
    border-radius: 10px;
    position: relative;
}

.input-nickname-card input {
    width: 100%;
    height: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-color: transparent;
    border-radius: 3px;
}

.d-none {
    display: none;
}

.input-nickname-card input:focus-visible {
    outline: none;
}

.play-button {
    width: 100%;
    text-align: right;
}

.warning-text {
    font-size: 12px !important;
    text-align: center;
    margin-bottom: 5px;
}

.nickname-text {
    display: flex;
    flex-direction: column;
    width: calc(54% - 60px);
    position: absolute;
    top: calc(52% - 44px);
    left: calc(62% - 30px);
}

.nickname-text span {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Montserrat', Arial, sans-serif;
    user-select: none;
}

#play-button-span {
    font-size: 12px;
}

body {
    margin: 0px;
}

img {
    width: 100vw;
    max-height: 100vh;
    max-width: 946px;
}

.background_image {
    display: flex;
    justify-content: center;
    position: relative;
}

.finder_element {
    position: absolute;
    z-index: 3;
    height: calc(5%);
    width: calc(5%);
    /* background-color: #ff00006e; */

}

.finder_element.finded {
    background-color: #0cff026e;
}


.finder_element.one {
    top: calc(5%);
    height: calc(6%);
    right: calc(37.5%);
}

.finder_element.two {
    top: calc(26%);
    height: calc(6%);
    right: calc(27.5%);
    width: calc(6%);
}

.finder_element.three {
    top: calc(40%);
    height: calc(10%);
    right: calc(7.5%);
    width: calc(7%);
}

.finder_element.four {
    top: calc(58%);
    height: calc(6.5%);
    right: calc(27.5%);
    width: calc(5%);
}

.finder_element.five {
    top: calc(90%);
    height: calc(6.5%);
    right: calc(25.5%);
    width: calc(4%);
}

.finder_element.six {
    top: calc(16%);
    height: calc(6.5%);
    right: calc(48.5%);
    width: calc(4%);
}

.finder_element.seven {
    top: calc(56%);
    height: calc(6.5%);
    right: calc(49.5%);
    width: calc(4%);
}

.finder_element.eight {
    top: calc(89%);
    height: calc(6.5%);
    right: calc(49%);
    width: calc(4%);
}

.finder_element.nine {
    top: calc(5%);
    height: calc(6.5%);
    width: calc(4%);
    left: calc(12%);
}

.finder_element.ten {
    top: calc(37%);
    height: calc(6.5%);
    width: calc(4%);
    left: calc(17%);
}

.finder_element.eleven {
    top: calc(47%);
    height: calc(9.5%);
    width: calc(6%);
    left: calc(18%);
}

.finder_element.twelve {
    top: calc(61%);
    height: calc(6.5%);
    width: calc(4%);
    left: calc(33%);
}

.finder_element.thirteen {
    top: calc(80%);
    height: calc(6.5%);
    right: calc(72%);
    width: calc(4%);
}

.finder_element.fourteen {
    top: calc(30%);
    height: calc(6.5%);
    right: calc(63.5%);
    width: calc(4%);
}

.finder_element.fifteen {
    top: calc(74%);
    height: calc(6.5%);
    left: calc(10%);
    width: calc(4.5%);
}


.result-text {
    width: 41%;
    font-size: 32px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    left: 25px;
    position: absolute;
    top: 35%;
}

.result-text-raiting {
    width: 41%;
    height: 57px;
    font-size: 32px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    left: 25px;
    position: absolute;
    top: 60%;
}

.result-seconds {
    top: 45%;
    padding: 10px;
    font-size: 32px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    left: 23px;
    border-radius: 5px;
    background-color: #772B1D;
    position: absolute;
    color:white
}

.result-card-block {
    position: absolute;
    font-size: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
}

.rating-block {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 67%;
    width: calc(100% - 56px);
    padding: 0 28px;
}

.rating-column {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 10px 28px;
}

.rating-row {
    display: flex;
    flex-direction: row;
    padding: 15px 0px;
    justify-content: space-between;
}

.rating-row span {
    font-family: 'Montserrat', Arial, sans-serif;
    height: 21px;
}

.play-again-text {
    margin-right: 30px;
    bottom: 19px;
    position: absolute;
    right: 0;
    font-family: 'Montserrat', Arial, sans-serif;
}

.nickname {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.rating-result, 
.rating-result-time {
    width: 98px;
    min-width: 60px;
    text-align: right;
}


/*--таймер-*/
/* Устанавливаем высоту и ширину контейнера */
.base-timer {
    position: relative;
    height: 131px;
    width: 131px;
}

.base-timer__svg {
    transform: scaleX(-1);
}

.base-timer__circle {
    fill: none;
    stroke: none;
}

.base-timer__path-elapsed {
    stroke-width: 7px;
    stroke: #CECECE;
}

.base-timer__path-remaining {
    stroke-width: 7px;
    stroke-linecap: round;
    transform: rotate(90deg);
    transform-origin: center;
    transition: 1s linear all;
    fill-rule: nonzero;
    stroke: currentColor;
}

.base-timer__path-remaining.green {
    color: #708B00;
}

.base-timer__path-remaining.orange {
    color: #FFA500;
}

.base-timer__path-remaining.red {
    color: #FF6A6A;
}

.base-timer__label {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #838383;
}

#timerBlock {
    position: absolute;
    right: 0;
    background: #fff;
    border-radius: 65px;
}

.bold-text {
    font-weight: bold;
}

@media screen and (max-width:900px) {
    .input-nickname-card {
        height: 80%;
    }
    .nickname-text {
        width: calc(70% - 30px);
        left: calc(20% - 15px);
    }
    .nickname-text span {
        font-size: 14px;
    }
    #play-button-span{
        font-size: 10px;
    }
    .result-text {
        font-size: 22px;
    }
    .rating-block {
        top: calc(67%);
    }

    .rating-row {
        padding: 10px 0px;
    }
    .rating-row span {
        font-size: 13px;
        height: 15px;
    }
    .rating-column {
        width: 100%;
        padding: 0 10px 0 10px;
    }
    .result-text-raiting{
        font-size: 16px;
    }
    .result-seconds{
        font-size: 24px;
    }
}

@media screen and (max-width:640px) {
    .input-nickname-card {
        height: 80%;
    }
    .nickname-text {
        width: calc(70% - 30px);
        left: calc(20% - 15px);
    }
    .nickname-text span {
        font-size: 14px;
    }
    #play-button-span{
        font-size: 10px;
    }
    .result-text {
        font-size: 22px;
    }
    .rating-block {
        top: calc(60%);
    }

    .rating-row {
        padding: 10px 0px;
    }
    .rating-row span {
        font-size: 13px;
        height: 15px;
    }
    .rating-column {
        width: 100%;
        padding: 0 10px 0 10px;
    }
    .result-text-raiting{
        font-size: 16px;
    }
    .result-seconds{
        font-size: 24px;
    }
}

@media screen and (max-width:480px) {
    #play-button-span{
        font-size: 10px;
    }
    .nickname-text span {
        font-size: 12px;
    }
    .nickname-text {
        width: calc(70% - 10px);
    }
    
    .result-text {
        font-size: 12px;
    }
    .result-seconds {
        padding: 7px;
        font-size: 12px;
    }
    .rating-block {
        font-size: 8px;
    }
    .rating-row {
        padding: 3px 0px;
    }
    .rating-column {
        padding: 10px 0px 10px 10px;
    }
    .play-again-text {
        margin-right: 7px;
        bottom: 6px;
        font-size: 8px;
    }
    .rating-row span {
        width: auto;
        font-size: 8px;
        height: 10px;
    }
    .rating-result {
        width: 85px;
    }
    .result-text-raiting{
        font-size: 14px;
    }
}