:root {
    --c_white: #ffffff;
    --c_warning:#ca851e;
}

body {
    background-image: url("../img/BG3.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.main_sec {
    padding: 60px 0px;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    visibility: hidden;
}

.main_sec.active_main {
    visibility: visible;
}

.wheel-box {
    position: relative;
    width: 470px;
    max-width: 100%;
}

.wheel-overlay {
    width: 100%;
}

.wheel-canvas {
    position: absolute;
    top: 18%;
    width: 84%;
    background-color: #222931;
    left: 8%;
    z-index: -1;
    border-radius: 50%;
}


/*  */

.welcome-modal .modal-content {
    background-color: transparent;
    border: none;
    position: relative;
}

.welcome-modal-content {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 58% 23% 18%;
    text-align: center;
}

.form-box {
    max-width: 480px;
    padding-top: 50px;
    margin-left: auto;
}

.welcome-modal-title {
    font-size: 48px;
    font-weight: 900;
    color: #DCA749;
    text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 4.625em;
}

.welcome-modal-content .btn {
    font-size: 20px;
    font-weight: bold;
}

.btn_primary {
    color: #070604;
    background: -o-linear-gradient(top, #d7a934, #fdf3a5, #e4b73e);
    background: -webkit-gradient(linear, left top, left bottom, from(#d7a934), color-stop(#fdf3a5), to(#e4b73e));
    background: linear-gradient(to bottom, #d7a934, #fdf3a5, #e4b73e);
}


/* modal */

.modal-backdrop {
    background-image: url("../img/BG3.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.modal-backdrop.show {
    opacity: 1;
}

.prize-modal {}

.prize-modal .modal-content {
    background-color: transparent;
    border: none;
}

.prize-modal .modal-body>img {
    pointer-events: none;
    -webkit-animation: shining 3s linear 0s infinite forwards;
    animation: shining 3s linear 0s infinite forwards;
}

@-webkit-keyframes shining {
    0% {
        -webkit-filter: drop-shadow(0px 0px 0px var(--c_warning)00);
        filter: drop-shadow(0px 0px 0px var(--c_warning)00);
    }
    50% {
        -webkit-filter: drop-shadow(0px 0px 80px var(--c_warning));
        filter: drop-shadow(0px 0px 80px var(--c_warning));
    }
}

@keyframes shining {
    0% {
        -webkit-filter: drop-shadow(0px 0px 0px var(--c_warning)00);
        filter: drop-shadow(0px 0px 0px var(--c_warning)00);
    }
    50% {
        -webkit-filter: drop-shadow(0px 0px 80px var(--c_warning));
        filter: drop-shadow(0px 0px 80px var(--c_warning));
    }
}

.prize-modal-content {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    color: var(--c_white);
    padding: 50% 26% 16% 26%;
    text-align: center;
}

.prize-modal-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.prize-modal-preview {
    margin-bottom: 8px;
    height: 140px;
}

.prize-preview-img {
    max-height: 100%;
}

.prize-claimBtn {
    color: #22582f;
    font-weight: bold;
    -webkit-box-shadow: -3px 3px 10px black;
    box-shadow: -3px 3px 10px black;
    margin-bottom: -4.625em;
}

.prize-preview-text {
    color: #efd36f;
    text-shadow: -0.075em 0.075em black;
    font-size: 40px;
    font-weight: bold;
    padding-top: 0.5em;
}

.history-modal .modal-content {
    background-color: #481501;
    -webkit-box-shadow: 0px 0px 20px #efd36f;
    box-shadow: 0px 0px 20px #efd36f;
    -webkit-animation: shining 3s linear 0s infinite forwards;
    animation: shining 3s linear 0s infinite forwards;
    border: 1px solid #efd36f;
    color: var(--c_white);
}

.history-modal .modal-body {
    max-height: 450px;
}

.history-modal .table thead {
    background-color: #ad3000;
}

.history-modal .table tr {
    border-color: #c78e2b36;
}

.history-modal .table> :not(caption)>*>* {
    color: var(--c_white);
    background-color: transparent !important;
    border: none;
}

.history-modal .btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

#confetti {
    position: fixed;
    z-index: 1100 !important;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#confetti canvas {
    z-index: 1100 !important;
}


/* scroll bar */

.modal_scrollbar {
    scrollbar-width: thin;
}

.modal_scrollbar::-webkit-scrollbar {
    width: 8px;
}

.modal_scrollbar::-webkit-scrollbar-track {
    background: #381508;
}

.modal_scrollbar::-webkit-scrollbar-thumb {
    background: #867169;
}

.modal_scrollbar::-webkit-scrollbar-thumb:hover {
    background: #735e56;
}

@media(min-width:1200px) {
    .container_2 {
        max-width: 960px;
    }
}

@media(min-width:1400px) {
    .container_2 {
        max-width: 1140px;
    }
}

@media(min-width:1800px) {
    .container_2 {
        max-width: 1320px;
    }
}

@media(max-width:1799.98px) {
    .welcome-modal .modal-dialog {
        max-width: 450px;
    }
    .welcome-modal-title {
        font-size: 40px;
    }
    .wheel-box {
        width: 400px;
    }
    .form-box {
        width: 400px;
        padding-top: 32px;
    }
    .prize-modal .modal-dialog {
        max-width: 450px;
    }
    .prize-modal-preview {
        height: 120px;
    }
    .prize-preview-text {
        font-size: 36px;
    }
}

@media(max-width:1399.98px) {
    .welcome-modal .modal-dialog {
        max-width: 400px;
    }
    .welcome-modal-title {
        font-size: 34px;
    }
    .welcome-modal-content .btn {
        font-size: 16px;
    }
    .wheel-box {
        width: 320px;
    }
    .form-box {
        width: 320px;
        padding-top: 16px;
    }
    .form-title {
        font-size: 24px;
    }
    .prize-modal .modal-dialog {
        max-width: 400px;
    }
    .prize-modal-title {
        font-size: 16px;
    }
    .prize-modal-preview {
        height: 100px;
    }
    .prize-preview-text {
        font-size: 26px;
    }
}

@media(max-width:1199.98px) {
    .wheel-box {
        width: 400px;
    }
    .form-box {
        width: 400px;
        padding-top: 32px;
    }
}

@media(max-width:991.98px) {
    .wheel-box,
    .form-box {
        width: 360px;
        margin: 0px auto;
    }
    .form-box {
        padding-top: 0px;
    }
}

@media(max-width:575.98px) {
    .welcome-modal .modal-dialog {
        max-width: 320px;
        margin: auto;
    }
    .welcome-modal-content {
        padding: 58% 22% 16% 22%;
      }
    .wheel-box,
    .form-box {
        width: 280px;
        margin: 0px auto;
    }
    .form-box {
        padding-top: 0px;
    }
    .main_sec {
        padding: 40px 0px;
    }
    .prize-modal .modal-dialog {
        max-width: 320px;
        margin: auto;
    }
    .prize-modal-title {
        font-size: 14px;
    }
    .prize-modal-preview {
        height: 80px;
    }
    .prize-modal-content {
        padding: 46% 26% 16% 26%;
    }
    .prize-preview-text {
        font-size: 22px;
    }
    .history-modal .table {
        font-size: 13px;
    }
}