/*
Theme Name: www.fararesanbarkhat.com / info@fararesanbarkhat.com / 09150473165 - 09365970176 Product By : BarkhatCo - Danial Karimi
Version: 12
*/

@import url("Vazirmatn-RD-UI-FD-font-face.css");

body {
    font-family: Vazirmatn, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.mainbox {
    position: relative;
    width: 280px;
    height: 280px;
}

.mainbox:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: url(./left-arrow-luck.png) no-repeat;
    background-size: 15%;
    left: 7%;
    top: 42%;
    transform: rotate(90deg);
}

.box {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    border: 3px solid #FFD700;
    overflow: hidden;
    transform: rotate(164deg);
}

.box2 {
    width: 100%;
    height: 100%;
    transform: rotate(180deg);
}

.box_span {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
}

.item1_position{
    clip-path: polygon(0 17%, 0 50%, 50% 50%);
}

.item2_position{
    clip-path: polygon(0 17%, 30% 0, 50% 50%);
}

.item3_position{
    clip-path: polygon(30% 0, 71% 0, 50% 50%);
}

.item4_position{
    clip-path: polygon(71% 0, 100% 18%, 50% 50%);
}

.item5_position{
    clip-path: polygon(100% 18%, 100% 50%, 50% 50%);
}

.item1 {
    background-color: #e30d0d;
}

.item2 {
    background-color: #000000;
}

.item3 {
    background-color: #e30d0d;
}

.item4 {
    background-color: #000000;
}

.item5 {
    background-color: #e30d0d;
}

.item6 {
    background-color: #000000;
}

.item7 {
    background-color: #e30d0d;
}

.item8 {
    background-color: #000000;
}

.item9 {
    background-color: #e30d0d;
}

.item10 {
    background-color: #000000;
}

.item1_text {
    position: absolute;
    top: 33%;
    right: 88%;
    transform: rotate(200deg);
    text-align: center;
}

.item2_text {
    position: absolute;
    top: 13%;
    right: 73%;
    transform: rotate(-130deg);
}

.item3_text {
    position: absolute;
    top: 5%;
    right: 46%;
    transform: rotate(-90deg);
}

.item4_text {
    position: absolute;
    top: 14%;
    right: 21%;
    transform: rotate(-45deg);
}

.item5_text {
    position: absolute;
    top: 33%;
    right: 8%;
    transform: rotate(-15deg);
    text-align: center;
}

.item6_text {
    position: absolute;
    top: 33%;
    right: 86%;
    transform: rotate(200deg);
}

.item7_text {
    position: absolute;
    top: 14%;
    right: 72%;
    transform: rotate(-130deg);
    text-align: center;
}

.item8_text {
    position: absolute;
    top: 5%;
    right: 47%;
    transform: rotate(270deg);
}

.item9_text {
    position: absolute;
    top: 15%;
    right: 23%;
    transform: rotate(310deg);
}

.item10_text {
    position: absolute;
    top: 34%;
    right: 9%;
    transform: rotate(-20deg);
    text-align: center;
}

.font {
    color: white;
    font-size: 24px;
}

.spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #FFD700;
    background-color: #ff5722;
    color: #fff;
    box-shadow: 0 5px 20px #000;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    z-index: 1000;
}

.spin_loading{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #F00;
    box-shadow: 0 5px 20px #000;
    cursor: pointer;
    z-index: 1000;
}

.spin:active {
    width: 70px;
    height: 70px;
    font-size: 15px;
}

.mainbox.animate:after {
    animation: animateArrow 0.7s ease infinite;
}

audio {
    display: none;
}

@keyframes animateArrow {
    50% {
        right: -50px;
    }
}

.loading_luck_wheel{
    border-radius: 50% !important;
    width: 100px !important;
}