@font-face {
    font-family: 'Montserrat';
    src: url(/tensor/fonts/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: 5;
    height: 100%;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.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_ducks/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: 55%;
    height: 35%;
    border-radius: 5px;
    border-color: transparent;
    background-color: transparent;
    background-image: url(/tensor/sabynews/interactivity/finder_ducks/img/start_modal.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 1 !important;
    border-radius: 10px;
    position: relative;
}

.input-nickname-card input {
    width: 100%;
    height: 3vw;
    font-size: 1.7vw;
    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: 41%;
    position: absolute;
    top: 35%;
    left: 52%;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #FFFFFF;
}

.nickname-text span {
    font-size: 1.7vw;
    font-weight: 400;
    font-family: 'Montserrat', Arial, sans-serif;
    user-select: none;
}

body {
    margin: 0px;
}

img.fone {
    z-index: 4;
}

img:not(.finder_element *) {
    width: 100vw;
    max-height: 100vh;
    max-width: 150vh;
}

.background_image {
    display: flex;
    justify-content: center;
    position: relative;
}

.finder_element {
    position: absolute;
    z-index: 3;
}

.finder_element.finded {
    display: none;
}

.finder_element img {
    width: 100%;
}

.result-text {
    color: white;
    font-size: 3.3vw;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    left: 6.5%;
    position: absolute;
    top: 33%;
}

.result-text-raiting {
    font-size: 3.3vw;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    left: 6.5%;
    position: absolute;
    top: 53%;
    color: white;
}

.result-seconds {
    font-size: 3.3vw;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    left: 6.5%;
    position: absolute;
    top: 41%;
    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: 60%;
    width: calc(100% - 10vw);
    padding: 0 5vw;
    color: white;
}

.rating-column {
    display: flex;
    flex-direction: column;
    width: calc(50% - 4vw);
    padding: 1vw 2vw;
}

.rating-row {
    display: flex;
    flex-direction: row;
    padding: 1vw 0px;
    justify-content: space-between;
}

.rating-row span {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.6vw;

}

.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;
}

.rating-result-time {
    display: none;
}