
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');
*{
    font-family: "Kanit", sans-serif;
}
:root {
	/* Set neon color */
	--neon-pink-color: #e90bd2;
	--neon-blue-color: #08f;
	--neon-yellow-color: #ffb300;
}
body {
    background-image: url(https://cdn.exe.in.th/activities/audition-m/assest/tarot-card/images/background-2.jpg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* Navbar */
.main-navbar .nav-link:hover {
    color: #ff28b2;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #ff28b2;
}
.main-navbar .navbar-brand:hover {
    color: #ff28b2;
}
/* Zodiac Circle */
.zodiac-container {
    width: 100%;
}
.zodiac-circle {
    position: fixed;
    top: 0%; 
    right: 50%;
    left: -50%;
    transform: translate(50%,-50%);
    margin: 0 auto;
    z-index: -1;
    overflow: hidden;
}
/* Navbar */
.header-nav {
    position: static;
}
.zodiac-circle img{
    animation: img-rotate 100s normal linear infinite;
}
.btn.tarot-card-back {
    position: relative;
    padding: 0;
    border: 0px solid transparent;
    border-radius: 12px;
    background-color: transparent;
    box-shadow: 0px 0px 14px rgba(51, 8, 89, 0.4);
    transition: 0.2s;
}
.btn.tarot-card-back:hover {
    z-index: 3;
    transform: scale(110%);
    box-shadow: 0px 0px 14px rgba(255, 255, 255, 0.6);
    transition: 0.2s;
}
.btn-check:checked + .btn.tarot-card-back, 
.btn.tarot-card-back.active, 
.btn.tarot-card-back.show, 
.btn.tarot-card-back:first-child:active, 
:not(.btn-check)+.btn.tarot-card-back:active {
    z-index: 2;
    transform: scale(115%);
    box-shadow: 0px 0px 60px rgba(255, 255, 255, 1);
    filter: brightness(150%);
    animation: color-animate 5s normal ease-in-out infinite;
}
.btn.open-card-btn {
    font-size: 34px;
    font-weight: 700;
    background-color: #fff;
    width: 100%;
    border-radius: 50px;
    color: #ff28b2;
    border: 0px solid transparent;
}
.btn.open-card-btn:hover,
.btn.open-card-btn:active {
    background-color: #ff28b2;
    color: #fff;
}
/* Tarot Modal */
.tarot-modal {
    background-color: #231f1f;
    color: #fff;
}
.tarot-modal .modal-header {
    border-bottom-color: #403932;
    padding-left: 24px;
    padding-right: 24px;
    color: #ffc654;
}
.tarot-modal .modal-body {
    font-size: 14px;
    font-weight: 300;
    padding: 24px;
}
.tarot-modal .modal-body h4 {
    font-size: 16px;
    color: #ffc654;
}
.tarot-modal .modal-footer {
    border-top-color: #403932;
}
.tarot-table {
    padding: 3px 20px 5px 20px;
    border: 1px solid #403932;
    border-radius: 6px;
}
.tarot-modal .tarot-table td,
.tarot-modal .tarot-table th {
    vertical-align: middle;
}
.table-dark {
    --bs-table-bg: #231f1f;
    --bs-table-border-color: #403932;
}
.modal-footer .modal-close-btn{
    background-color: #fff;
    border-radius: 30px;
    font-size: 18px;
    color: #ff28b2;
    border: 0px solid transparent;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0;
}
.modal-footer .modal-close-btn:hover {
    background-color: #ff28b2;
    color: #fff;
}
.tarot-remark {
    color: #ff6dcb;
    /* color: #ff4d4d; */
    font-weight: 400;
}
/* History */
.tarot-container h1 {
    color: #fff;
    text-align: center;
    text-shadow: 0px 0px 14px #ff28b2;
}
.history-box {
    background-color: #231f1f;
    padding: 24px;
    border-radius: 12px;
}
.page-link {
    background-color: #464141;
    border: 0px solid transparent;
    color: #fff;
    border-radius: 4px;
}
.page-item {
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
}
.page-item:hover {
    color: #fff;
    background-color: #ff28b2;
}
.active>.page-link, .page-link.active {
    color: #fff;
    background-color: #ff28b2;
}
.history-box td img {
    width: 16px;
    height: 16px;
    margin-left: 5px;
}
/* Sweet Alert */
.swal2-container.swal2-backdrop-show, .swal2-container.swal2-noanimation {
    background: rgba(0, 0, 0, .8) !important;
}
.remark-btn {
    position: fixed;
    bottom: 0;
    z-index: 2;
}
.tarot-alert-body {
    background-color: #231f20 !important;
    border-radius: 14px !important;
}
.tarot-alert-body .swal2-title {
    /* color: #fff !important; */
}
.tarot-alert-body .swal2-content {
    color: #fff !important;
}
.show-card-container {
    background-color: #231f20 !important;
    border-radius: 14px !important;
    width: 638px;
    padding: 10px 0px;
}
.show-right {
    border: 2px solid #4f463b;
    border-radius: 12px;
    height: 100%;
    color: #fff;
    text-align: center;
    padding: 20px;
}
.show-right .confirm-btn {
    width: 170px;
    color: #ff28b2;
    background-color: #fff;
    border-radius: 20px;
    height: 40px;
    font-size: 20px;
    font-weight: 400;
    padding: 0px;
    margin-top: 35px;
}
.show-right .confirm-btn:hover {
    color: #fff;
    background-color: #ff28b2;
}
.show-card-title {
    font-size: 20px;
    margin-top: 10px;
}
.show-card-title-name {
    font-size: 22px;
    color: #f70b93;
    margin-top: -5px;
    font-weight: 600;
}
.show-card-descriptions {
    font-size: 18px;
    line-height: 36px;
    margin-top: 15px;
    font-weight: 300;
}
.tarot-open-body {
    background-color: #231f20 !important;
    border-radius: 14px !important;
    width: 638px !important;
    padding: 10px 0px !important;
}
.tarot-open-body .swal2-content {
    padding: 0px;
}
button.swal2-confirm.confirm-btn.swal2-styled {
    padding: 0;
    width: 170px;
    color: #ff28b2;
    background-color: #fff;
    border-radius: 20px;
    height: 40px;
    font-size: 20px;
    font-weight: 400;
}
button.swal2-confirm.confirm-btn.swal2-styled:hover {
    background-color: #ff28b2 !important;
    color: #fff !important;
}
.swal2-styled:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(100,150,200,0) !important;
}
.color-gold {
    color: #ffc654;
    font-size: 30px;
    font-weight: 600;
}
.jackpot-items {
    color: #ffc654;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    line-height: 28px;
}
.show-card-descriptions a {
    color: #ff8b07;
    border: 1px solid #ff8b07;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 6px;
    font-size: 15px;
}
.show-card-descriptions a:hover {
    background-color: #ff8b07;
    color: #fff;
    border: 1px solid #ff8b07;
}
.swal2-icon.swal2-warning {
    border-color: #ff28b498 !important;
    color: #ff28b2 !important;
}
.tarot-alert-body .swal2-title {
    font-size: 22px !important;
    color: #f70b93 !important;
    /* margin-top: -5px; */
    font-weight: 500 !important;
}
.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
    background-color: #f70b93 !important;
}
.swal2-icon.swal2-error {
    border-color: #ff28b498 !important;
    color: #ff28b2 !important;
}

.btn-close {
    filter: brightness(0) invert(1);
}


/* Media Quary */
@media (max-width: 1399.98px) {}
@media (max-width: 1199.98px) {
    .collapse, .main-navbar .navbar-collapse.show {
        overflow: hidden;
    }
    .navbar-right {
        border-radius: 4px;
        padding: 15px 15px 15px 15px;
        margin-right: 15px;
        margin-top: 15px;
        margin-bottom: 10px;
        background-color: #18033d;
        width: 100%;
        justify-content: center;
        border: 2px solid #2f0d76;
        padding-bottom: 20px;
        padding-top: 20px;
    }
}
@media (max-width: 991.98px) {
    .show-left-inner {
        border: 2px solid #4f463b;
        border-radius: 12px;
        padding: 20px;
    }
    .tarot-open-body {
        padding: 14px 2px !important;
    }
}
@media (max-width: 767.98px) {
    .history-box .table {
        font-size: 12px;
    }
}
@media (max-width: 575.98px) {
    .btn.open-card-btn {
        font-size: 28px;
    }
}
@keyframes img-rotate {
    0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
@keyframes color-animate {
    /* 0% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
            0px 0px 32px var(--neon-yellow-color),
			-10px -10px 64px var(--neon-pink-color);
            filter: brightness(150%);
	}
	16% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			0px 10px 32px var(--neon-pink-color),
			0px -10px 64px var(--neon-blue-color);
            filter: brightness(110%);
	}

	32% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			-10px 10px 32px var(--neon-blue-color),
			0px 0px 64px var(--neon-yellow-color);
            filter: brightness(150%);
	}

	48% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			-10px 0px 32px var(--neon-yellow-color),
			0px 10px 64px var(--neon-pink-color);
            filter: brightness(110%);
	}

	64% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			-10px -10px 32px var(--neon-blue-color),
			-10px 10px 64px var(--neon-yellow-color);
            filter: brightness(150%);
	}

	80% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			0px -10px 32px var(--neon-pink-color),
			-10px 0px 64px var(--neon-blue-color);
            filter: brightness(110%);
	}
    100% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
            0px 0px 32px var(--neon-yellow-color),
            -10px -10px 64px var(--neon-pink-color);
            filter: brightness(150%);
	} */

    0% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
            0px 0px 32px var(--neon-yellow-color),
			0px 0px 64px var(--neon-pink-color);
            filter: brightness(150%);
            transform: scale(110%);
	}
	16.6% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			0px 0px 12px var(--neon-pink-color),
			0px 0px 54px var(--neon-blue-color);
            filter: brightness(100%);
            transform: scale(115%);
	}

	33.3% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			0px 0px 32px var(--neon-blue-color),
			0px 0px 64px var(--neon-yellow-color);
            filter: brightness(150%);
            transform: scale(110%);
	}

	49.8% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			0px 0px 12px var(--neon-yellow-color),
			0px 0px 54px var(--neon-pink-color);
            filter: brightness(100%);
            transform: scale(115%);
	}

	66.4% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			0px 0px 32px var(--neon-blue-color),
			0px 0px 64px var(--neon-yellow-color);
            filter: brightness(150%);
            transform: scale(110%);
	}

	83% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
			0px 0px 12px var(--neon-pink-color),
			0px 0px 54px var(--neon-blue-color);
            filter: brightness(100%);
            transform: scale(115%);
	}
    100% {
		box-shadow: 0 0 8px #fff, inset 0 0 8px #fff,
            0px 0px 32px var(--neon-yellow-color),
            0px 0px 64px var(--neon-pink-color);
            filter: brightness(150%);
            transform: scale(110%);
	}
}