.close-popup,
.cursor-text {
    cursor: pointer;
    position: absolute;
}

.cursor-text {
    font-size: 80%;
}

.cursor-text,
.pop-up-window,
.spin-result-wrapper,
.spin-wrapper,
.wheel-wrapper {
    text-align: center;
}

.spin-wrapper {
    -webkit-box-shadow: 0 0 10px;
    box-shadow: 0 0 10px;
    border: 3px solid red;
    padding: 20px 10px;
    border-radius: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}

.spin-wrapper p {
    text-align: center;
    font-size: 21px !important;
    line-height: 1.4 !important;
}

.wheel {
    width: 80% !important;
    margin: 0 auto;
    position: relative;
}

.wheel-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.cursor-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 2;
    width: 52% !important;
    height: 52%;
    border-radius: 50%;
    border: 1px solid #ccc;
    top: 48%;
    left: 50%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-shadow: #fff 0 -2px 0 inset, #fff 0 2px 0 inset, rgb(0 0 0 / 40%) 0 0 5px;
    box-shadow: #fff 0 -2px 0 inset, #fff 0 2px 0 inset, rgb(0 0 0 / 40%) 0 0 5px;
    background: #fff;
}
}

.wheel-img {
    -webkit-transition: 4s;
    -o-transition: 4s;
    transition: 4s;
}

.close-popup {
    width: 30px;
    height: 30px;
    background-image: url(../fonts/cross.svg);
    background-size: 100%;
    top: -40px;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
    right: -40px;
}

.cursor-text:active {
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 0 5px inset;
    box-shadow: rgba(0, 0, 0, 0.4) 0 0 5px inset;
}

.spin-result-wrapper {
    display: none;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    top: 0;
    z-index: 999;
    left: 0;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
}

.pop-up-window {
    position: relative;
    max-width: 400px;
    right: 0;
    left: 0;
    top: 40%;
    margin: 0 auto !important;
    background: #fff;
    padding: 70px 10px 20px !important;
    border-radius: 10px;
    -webkit-animation: 0.7s ease 0s normal none 1 running pop-up-appear;
    animation: 0.7s ease 0s normal none 1 running pop-up-appear;
}

.pop-up-window::after,
.pop-up-window::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.pop-up-window::before {
    width: 110px;
    height: 110px;
    top: -55px;
    background-color: #71c341;
    border-radius: 50%;
    -webkit-animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
    animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
}

.pop-up-window::after {
    width: 50px;
    height: 20px;
    top: -20px;
    border-width: medium medium 4px 4px;
    border-style: none none solid solid;
    border-color: currentcolor currentcolor #fff #fff;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -o-border-image: none;
    border-image: none;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: opacity 1s ease 0s;
    -o-transition: opacity 1s ease 0s;
    transition: opacity 1s ease 0s;
    -webkit-animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
    animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
}

@-webkit-keyframes pop-up-appear {
    0% {
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    30% {
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes pop-up-appear {
    0% {
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    30% {
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes pop-up-appear-before {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pop-up-appear-before {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes pop-up-appear-after {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pop-up-appear-after {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.pop-up-heading {
    font-size: 40px !important;
    margin-bottom: 20px !important;
}

.pop-up-text {
    margin-bottom: 25px !important;
    font-size: 24px !important;
    line-height: 30px !important;
    text-align: center !important;
    color: #414141 !important;
    font-weight: 400;
    padding: 0 !important;
}

.pop-up-button,
.pop-up-button:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.pop-up-button {
    text-transform: uppercase !important;
    padding: 10px 20% !important;
    font-size: 20px !important;
    border-radius: 5px !important;
    background-color: #71c341 !important;
    border: none !important;
    cursor: pointer !important;
    outline: 0 !important;
}

.wheel img {
    max-width: 100%;
    width: auto;
}



@media (max-width: 520px) {
    .wheel {
        width: 100% !important;
    }

    .pop-up-window {
        top: 30%;
    }

    .pop-up-heading {
        font-size: 33px !important;
    }

    .pop-up-text {
        margin-bottom: 15px !important;
    }

    .cursor-text {
        font-size: 14px;
    }

    .close-popup {
        position: absolute;
        width: 30px;
        height: 30px;
        background-size: 100%;
        top: -40px;
        border-radius: 50%;
        -webkit-box-shadow: 0 0 10px #fff;
        box-shadow: 0 0 10px #fff;
        right: 0px;
        cursor: pointer;
    }
}

.super-rotation {
    -webkit-animation-name: super-rotation;
    animation-name: super-rotation;
    -webkit-animation-duration: 7s;
    animation-duration: 7s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
}

@-webkit-keyframes super-rotation {
    70% {
        -webkit-transform: rotate(1783deg);
        transform: rotate(1783deg);
    }

    100% {
        -webkit-transform: rotate(1774deg);
        transform: rotate(1774deg);
    }
}

@keyframes super-rotation {
    70% {
        -webkit-transform: rotate(1860deg);
        transform: rotate(1860deg);
    }

    100% {
        -webkit-transform: rotate(1867deg);
        transform: rotate(1867deg);
    }
}

.product {
    max-width: 280px;
    width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}

.product img {
    width: 100%;
}



p.priceс {
    position: relative;
    right: -130px;
    bottom: -36px;
    color: rgb(0, 0, 0);
    -webkit-box-shadow: rgba(0, 0, 0, 0.8) 0px 3px 30px;
    box-shadow: rgba(0, 0, 0, 0.8) 0px 3px 30px;
    width: 155px;
    height: 95px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    -webkit-transform: rotateZ(-16deg);
    -ms-transform: rotate(-16deg);
    transform: rotateZ(-16deg);
    text-align: center !important;
    margin: -160px auto 30px;
    background: -webkit-gradient(linear,
            left top,
            right top,
            from(rgb(238, 165, 19)),
            to(rgb(253, 237, 19)));
    background: -o-linear-gradient(left,
            rgb(238, 165, 19) 0%,
            rgb(253, 237, 19) 100%);
    background: linear-gradient(to right,
            rgb(238, 165, 19) 0%,
            rgb(253, 237, 19) 100%);
    border-width: 2px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-radius: 19%;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.priceс span {
    font-size: 21px;
}

.priceс .old_price {
    text-decoration: line-through;
}

.new_price {
    border-bottom: 2px solid #f00;
    margin: 0 auto;
    width: 100px;
}

@media (max-width: 414px) {

    .spin-wrapper p {
        font-size: 18px !important;
        padding-bottom: 15px !important;
    }
}

.order_block {
    display: none;
}

.timer {
    color: red;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    height: 42px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    -webkit-transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
}

.btn3 {
    padding: 14px 20px 13px;
    color: #fff !important;
    text-decoration: none;
    font-size: 18px;
    background: #ff2828;
    border-radius: 10px;
    text-align: center;
    max-width: 350px;
    width: 100%;
    -webkit-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
    font-weight: 700;
    margin: 0 auto;
    -webkit-box-shadow: 0 4px 5px #ccc;
    box-shadow: 0 4px 5px #ccc;
    -webkit-animation: scale 1s infinite alternate;
    animation: scale 1s infinite alternate;
    border: none;
    cursor: pointer;
    display: block;
}

@media screen and (max-width: 768px) {
    .product {
        margin-bottom: 100px;
    }

    .product img {
        width: 65%;
        display: block;
        margin: 0 auto;
    }

    p.priceс {
        bottom: -70px;
    right: -75px;
    }
}

@media (max-width: 280px) {
    .cursor-text {
        font-size: 12px;
    }
}