td.the_wheel {
    background-position: center;
    background-repeat: none;
}

div.power_controls {
    padding-left: 66px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 60px;
    background: #ce0005;;
    border-radius: 0 10% 10% 0;
}

div.html5_logo {
    margin-left: 70px;
}

table.power {
    background-color: #cccccc;
    cursor: pointer;
    border: 1px solid #333333;
}

table.power th {

    background-color: white;

    cursor: default;

}


td.pw1 {

    background-color: #6fe8f0;

}


td.pw2 {

    background-color: #86ef6f;

}


td.pw3 {

    background-color: #ef6f6f;

}


.clickable {
    margin-top: 9px;
    background: black;
    color: white;
    outline: none;
    border: none;
    padding: 9px 33px;
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'MabryPro-Medium';
}


.margin_bottom {

    margin-bottom: 5px;

}


.modal {
    position: fixed;
    top: 50%;
    left: 39%;
    z-index: 1000;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #d91e1e;;
    display: none;
}
.spin-wheel_btn {
    margin-top: 9px;
    background: black;
    color: white;
    outline: none;
    border: none;
    padding: 9px 33px;
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'MabryPro-Medium';
}

.spin-wheel_btn:hover {
    background-color: #3d2e7d;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background: #ffffff85;
    z-index: 10000000000;
}
.btn-close-wheel {
    background-color: transparent;
    position: absolute;
    top: 21px;
    right: 15px;
    outline: none;
    border: none;
    cursor: pointer;
    padding-right: 13px;
}
#canvasContainer {
    position: relative;
    width: 300px;
}
#canvas {
    font-family: 'MabryPro-Medium', sans-serif;

    border-radius: 50%;
    border: 14px solid white;
    box-shadow: inset 0 20px 103.5px 20px rgba(205,32,39,0.15);
    background-color: #ffffff;
}

#prizePointer {
    position: absolute;
    top: 43%;
    right: -9%;
    z-index: 999;
    width: 83px;
}
canvas {
    padding: 0;
    margin: 0;
}
.wheel_input {
    width: 279px;
    margin-bottom: 10px;
    border: none;
    padding: 14px 24px;
    border-radius: 24px;
}
.wheel_input::placeholder {
    font-size: 15px;
    letter-spacing: 0;
    color: #dad9d9;
}
.gift-img {
    width: 292px;
    position: absolute;
    top: -110px;
    right: 84px;
}
.inputs-wheel_container {
    display: flex;
    flex-direction: column;
}
.wheel_text_container {
    color: white;
    margin-bottom: 20px;
    margin-right: 18px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}
.first_line-wheel-text {
    font-size: 35px;
    letter-spacing: 1px;
    font-family: "MabryPro-Medium";
    margin-bottom: 10px;
}
.second_line-wheel-text {
    font-size: 16px;
    letter-spacing: 0;
    color: #ffffff;
    font-family: 'ProximaNova-Regular';
}
input {
    outline: none
}
.winner-block {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 100px;
    margin-left: 90px;
}
.close-modal-big-btn {
    padding: 10px 35px;
    color: white;
    background: #cb4a8a;
    outline: none;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
}
.close-modal-big-btn:hover {
    background-color: #3d2e7d;
}
.winner-text {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 15px;

}

canvas {

    box-sizing: border-box !important;

    margin: 0;

    padding: 0;

}

.the_wheel {

    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.shine-1 {

    position: absolute;

    top: 20px;

    right: 75%;

    width: 46px;

}

.shine-2 {

    position: absolute;

    top: 31%;

    right: 32px;

    width: 35px;

}

.shine-3 {

    position: absolute;

    bottom: 33px;

    right: 33px;

    width: 46px;

}

.shine-4 {

    position: absolute;

    top: 68%;

    left: 123px;

    width: 26px;

}

.wheel-center {
    width: 43px;
    height: 43px;
    background: #ce0005;
    position: absolute;
    top: 45.5%;
    left: 45.6%;
    border-radius: 50%;
    border: 4px solid white;
}

.wheel-info {

    height: 383px;

    left: 76%;

    padding-left: 100px;

    width: 507px;

    position: absolute;

    z-index: -1;

    top: 9%;

    background: #ce0005;;

    display: flex;

    justify-content: center;

    border-radius: 0 40px 40px 0;

    box-shadow: 0 15px 45px rgba(0,0,0,0.1);

}

.wheel_btn_promo {

    display: flex;

    flex-direction: column;

    position: relative;
    margin-top: 6px;
}

#promocode_wheel {

    text-align: center;

    font-size: 20px;

    font-weight: bold;

    letter-spacing: 2px;

    cursor: pointer;

}

.icon-wheel-copy {

    position: absolute;

    right: 15px;

    top: 12px;

    cursor: pointer;

    width: 18px;

}

.error-wheel {
    line-height: 1;
    color: white;

    text-align: center;

}

.success-copied-wheel {

    color: white;

    display: none;

}

.clickable-winner {
    margin-top: 0;
    padding: 8px 30px;

}

.wheel_input-winner {

    padding: 9px 24px;

    font-size: 20px;

    letter-spacing: 1px;

    margin-bottom: 19px;

}

@media screen and (max-width: 520px) {
    .overlay {
        width: 100%;
        height: 100%;
    }
    .modal-container {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        z-index: 100000000000;
    }
    .clickable{
        width: 279px;
    }
    .modal {
        display: flex;
        width: 100%;
        height: 100%;
        border-radius: 0;
        background: none;
        transform: none;
        top: 0;
        left: 0;
    }

    .the_wheel {

        border-radius: 50%;

        position: absolute;

        top: 436px;

    }

    .wheel-info {
        padding-left: 0;
        left: auto;
        position: relative;
        height: 500px;
        width: 333px;
        z-index: -1;
        top: 40px;
        border-radius: 25px 25px 0 0;
    }

    div.power_controls {
        padding-left: 20px;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        padding-right: 20px;
        align-items: normal;
        border-radius: 25px 25px 0 0;
        padding-top: 40px;

    }

    .btn-close-wheel {
        top: 3px;
        font-size: 27px;

    }

    .wheel_text_container {

        text-align: center;

        margin-right: 0;

    }
    .first_line-wheel-text{
        margin-bottom: 13px;
        line-height: 1;
    }
    .shine-1 {

        position: absolute;

        top: 16px;

        right: 83%;

        width: 39px;

    }

    .shine-2 {
        position: absolute;
        top: 16%;
        right: 5%;
        width: 19px;

    }

    .shine-3 {

        position: absolute;

        bottom: 81px;

        right: 5px;

    }

    .shine-4 {

        position: absolute;

        top: 78%;

        left: 28px;

        width: 22px;

    }

    #prizePointer {

        position: absolute;

        top: -6.4%;

        right: 41%;

        z-index: 999;

        transform: rotate(270deg);

        width: 65px

    }

    .winner-block {

        padding-left: 20px;

        justify-content: flex-start;

        flex-direction: column;

        padding-right: 20px;

        align-items: normal;

        border-radius: 40px 40px 0 0;

        padding-top: 48px;

    }
    .inputs-wheel_container{
        align-items: center;
    }
    .winner-text {

        margin-top: 30px;

        margin-bottom: 20px;

        margin-left: 5px;

        margin-right: 5px;

    }

    .icon-wheel-copy {

        right: 13px;

    }

    .form-wheel {
        display: flex;
        align-items: center;
        flex-direction: column;

    }
    .wheel-center{
        left:44%;
    }

}