:root {
    --primary-text-color: #fff;
    --secondary-text-color: #ff0;
    --third-text-color: #2d2d2d;
    --blue-box-color: #00508b;
    --blue-bg-color: #020066;
    --yellow-color:#ffcb00;
    --red-color:#cd0001;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    padding: 0;
}

body {
    color: #fff;
    font-family: "century gothic";
}

.row {
    margin: 0;
}

.main-container {
    width: 100%;
    height: 100%;
}

.first-container {
    background: url(../img/main-bg.jpg) no-repeat center center/cover;
    min-height: 100vh;
    background-color: #020066;
    justify-content: center;
    scroll-snap-align: center;
}

.bg-result {
    background: none;
    height: 100vh;
    background-color: transparent;
    vertical-align: middle;
    justify-content: center;
    scroll-snap-align: center;
}

.logo-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
	margin-bottom: 20px;
	flex-direction: column;
}

.logo-center {
	width: 250px;
}

.date-now {
	color: var(--yellow-color);
	font-weight: bold;
	text-shadow: 0px 0px 5px #000;
}

.top-nav {
    position: fixed;
    z-index: 0;
    top: 0;
    display: flex;
    font-size: 1.3rem;
    font-weight: bold;
}

.top-nav a:hover {
    text-decoration: none;
}

.nav-left a {
    color: var(--primary-text-color);
}

.nav-right {
    text-align: right;
}

.nav-right a {
    text-align: right;
    color: var(--secondary-text-color);
    transition: 0.5s ease-in-out;
}

.nav-right a:hover {
    letter-spacing: 1.5px;
}

.nav-right a:hover {
    text-align: right;
    color: var(--primary-text-color);
}

.draw-timer {
	justify-content: center;
	text-align: center;
	height: 125px;
}

.clock {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-result {
	min-width: 500px;
}

.status-heading {
	background-color: var(--blue-box-color);
	border-radius: 5px;
	font-size: 15px;
    padding: 5px;
    user-select: none;
}

.status-heading span {
	font-weight: 600;
	color: var(--yellow-color);
	text-transform: uppercase;
	font-size: 18px;
	letter-spacing: 3px;
}

.c-container {
	max-width: 570px;
}

.middle-box-inner .col-lg-6 {
    flex: 1;
}

.latest-draw-inner {
    background-color: var(--blue-box-color);
    border-radius: 5px; 
}

.latest-draw-num {
    color: var(--secondary-text-color);
    font-weight: bold;
    border-bottom: 2px solid transparent;
}

.latest-draw-date {
	border-bottom: 2px dashed var(--yellow-color);
	color: var(--yellow-color);
	font-weight: bold;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
}

.title-ondraw {
    color: var(--yellow-color);
    text-align: center;
}

.latest-draw-date i {
	font-size: larger;
	flex-direction: row;
}

.label-prize {
    text-align: center;
    font-weight: bold;
    padding-top: 8px;
}

.value-prize {
	text-align: center;
	font-weight: bold;
	padding-top: 6px;
	color: var(--yellow-color);
	min-height: 31px;
}

.label-prize-bottom {
	padding-left: 5px;
	margin-top: 8px;
	font-weight: bold;
	color: var(--third-text-color);
	background-color: var(--secondary-text-color);
	border-radius: 5px;
}

.all-history-container{
    background: url(../img/main-bg.jpg) no-repeat center center/cover;
    min-height: 100vh;
    background-color: #020066;
	flex-direction: column;
	position: relative;
}

.draw-result {
	display: flex;
	justify-content: space-between;
	font-weight: 800;
	position: relative;
	top: -375px;
}

.draw-result span {
	text-transform: uppercase;
	color: #000;
	letter-spacing: 5px;
	border-radius: 50%;
    width: 70px;
    height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 30px;
}

.draw-result span p {
	background-color: #fff;
	border-radius: 50%;
	width: 37px;
}

.ball {
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.ball:hover {
	position: relative;
	bottom: 7px;
	-webkit-box-shadow: 0 0 5px white;
	-moz-box-shadow: 0 0 5px #ff0;
	box-shadow: 0 0px 12px var(--yellow-color);
}

.draw-result span:nth-child(1) {
    animation: bounce 2s cubic-bezier(.755, .05, .855, .06) forwards;
	background: #0f0;
    background: -moz-radial-gradient(90% 15%, circle, rgb(255, 255, 255), #0f0, #00ac00);
    background: -webkit-radial-gradient(90% 15%, circle, rgba(255, 255, 255), #0f0, #00ac00);
    background: -o-radial-gradient(90% 15%, circle, rgba(255, 255, 255), #0f0, #00ac00);
    background: -ms-radial-gradient(90% 15%, circle, rgba(255, 255, 255), #0f0, #00ac00);
    background: radial-gradient(90% 15%, circle, rgba(255, 255, 255), #0f0, #00ac00);
}

.draw-result span:nth-child(2) {
    animation: bounce 2s 1.5s cubic-bezier(.755, .05, .855, .06) forwards;
	background: #f00;
    background: -moz-radial-gradient(90% 15%, circle, rgb(255, 156, 156), #f00, #7b0000);
    background: -webkit-radial-gradient(90% 15%, circle, rgba(255, 156, 156), #f00 , #7b0000);
    background: -o-radial-gradient(90% 15%, circle, rgba(255, 156, 156), #f00 , #7b0000);
    background: -ms-radial-gradient(90% 15%, circle, rgba(255, 156, 156), #f00 , #7b0000);
    background: radial-gradient(90% 15%, circle, rgba(255, 156, 156), #f00 , #7b0000);    
}

.draw-result span:nth-child(3) {
	animation: bounce 2s 3s cubic-bezier(.755, .05, .855, .06) forwards;
	background: #4640ff;
	background: -moz-radial-gradient(90% 15%, circle, rgb(167, 165, 255), #4640ff, #030070);
	background: -webkit-radial-gradient(90% 15%, circle, rgba(167, 165, 255), #4640ff, #030070);
	background: -o-radial-gradient(90% 15%, circle, rgba(167, 165, 255), #4640ff, #030070);
	background: -ms-radial-gradient(90% 15%, circle, rgba(167, 165, 255), #4640ff, #030070);
	background: radial-gradient(90% 15%, circle, rgba(167, 165, 255), #4640ff, #030070);
}

.draw-result span:nth-child(4) {
    animation: bounce 2s 4.5s cubic-bezier(.755, .05, .855, .06) forwards;
	background: #ec008c;
    background: -moz-radial-gradient(90% 15%, circle, rgb(230, 230, 230, 0.9), #ec008c, #730044);
    background: -webkit-radial-gradient(90% 15%, circle, rgba(230, 230, 230, 0.9), #ec008c, #730044);
    background: -o-radial-gradient(90% 15%, circle, rgba(230, 230, 230, 0.9), #ec008c, #730044);
    background: -ms-radial-gradient(90% 15%, circle, rgba(230, 230, 230, 0.9), #ec008c, #730044);
    background: radial-gradient(90% 15%, circle, rgba(230, 230, 230, 0.9), #ec008c, #730044);
}

@keyframes bounce {
    60%,
    80%,
    to {
        transform: translateY(400px);
        animation-timing-function: cubic-bezier(.215, .61, .355, 2);
    }

    70% {
        transform: translateY(270px);
    }

    90% {
        transform: translateY(350px);
    }
}

#newResult {
    border: 1px solid transparent;    
    -webkit-transition: border 0.1s linear, box-shadow 0.1s linear;
    -moz-transition: border 0.1s linear, box-shadow 0.1s linear;
    transition: border 0.1s linear, box-shadow 0.1s linear;
    font-size: 17px;
    user-select: none;
}

#newResult.glow {
	-webkit-box-shadow: 0 0 25px #ffffff8c;
	-moz-box-shadow: 0 0 25px #ffffff8c;
	box-shadow: 0 0 25px #ffffff8c;
}

.badge-new {
	position: absolute;
	z-index: 1;
    height: 50px;
    width: 50px;
	background: var(--red-color);
	padding: 5px;
	border-radius: 50%;
	top: -17px;
	font-size: 14px;
	font-weight: bold;
	right: -10px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
    font-style: italic;
    user-select: none;
}

.scrolltop-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrolltop-wrap .scrolltop i {
	background-color: #292929de;
	border-radius: 50%;
	font-size: 2rem;
	width: 38px;
	color: var(--secondary-text-color);
	padding: 3px;
}

.scrolltop {
	position: fixed;
	display: none;
	bottom: 14px;
	right: 12px;
	text-align: center;
	font-size: 45px;
	z-index: 1000;
}

.scrolltop:hover {
	text-decoration: none;
}

.footer {
	width: 30%;
}

.lincense {
	display: flex;
	justify-content: space-around;
    align-items: center;
    width: 100%;
}

.lincense li {
	list-style: none;
}

.license-img {
	width: 58px;
}

.lincense li:last-child img {
	width: 38px;
}

.heading-title {
	width: 100%;
	display: block;
	text-align: center;
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--yellow-color);
}

.btn-c {
	background-color: var(--blue-box-color);
	color: var(--yellow-color);
	font-weight: 600;
}

.btn-c:hover {
    color: var(--primary-text-color);
}

.filter-wrapper .col-6 .btn-c {
	width: 75%;
}

.filter-wrapper input {
	cursor: pointer;
}

.filter-wrapper .col-6{
	text-align: center;
}

.result-table-header {
	color: var(--yellow-color);
	font-weight: bold;
	text-align: center;
	font-size: 1.2rem;
}

.result-table-content {
	text-align: center;
	font-weight: bold;
	border-radius: 5px;
}

.content-date {
	background-color: var(--yellow-color);
	color: var(--blue-bg-color);
}

.content-result {
	background-color: var(--blue-box-color);
}

#pageSection {
    -webkit-transition: background-color 3s ease-in-out;
    -moz-transition: background-color 3s ease-in-out;
    -o-transition: background-color 3s ease-in-out;
    transition: background-color 3s ease-in-out;
}

#pageSection.bg-color {
    background-color: #000;
}

.drawing {
	background-image: url(../img/bg-ondraw.png);
	background-size: 95%;
	background-position: bottom right;
	background-repeat: no-repeat;
	background-color: #006cbb;
	min-height: 421px;
	display: flex;
	align-items: center;
	border-radius: 8px;
	padding: 40px;
	margin-top: 40px;
}

.msg-ondraw-1 {
	color: var(--yellow-color);
	font-weight: bold;
	font-size: 2.2rem;
	line-height: 43px;
}

.msg-ondraw-2 {
	display: block;
}

#onDrawing {
	display: none;
	user-select: none;
}

#tableResult {
	opacity: 0;
}

/* .draw-history {
    align-items: center;
    justify-content: center;
    height: 100%;
} */

/* .draw-grid-inner {
    background-color: #2e3192e3;
    border-radius: 5px;
}

.draw-grid-all {
    font-size: 14px;
}

.btn-view-all-wrapper {
    align-self: flex-start;
} */

/* .heading-3latest-wrapper {
    align-self: flex-end;
}

.heading-3latest-wrapper h3 {
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.heading-3latest-wrapper h3:hover{
    color: var(--secondary-text-color);
    letter-spacing: 1.5px;
}

.heading-history-wrapper h3 {
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    font-size: 1.4rem;
}

.heading-history-wrapper h3:hover {
    color: var(--secondary-text-color);
    letter-spacing: 1.5px;
} */

/* .all-draw-history {
	align-items: center;
	height: 100%;
	padding-top: 15px;
}

#myVideo {
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
	z-index: -1;
	opacity: 0.5;
} */

/* .value-wrapper {
	position: relative;
}

.loading-result {
	position: absolute;
	height: 50px;
	top: 45px;
	background-color: transparent;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.loading-result i {
	margin-right: 5px;
}

.loading-main-p {
	position: absolute;
	height: 37px;
    top: -32px;
    z-index: 1;
    display: flex;
	justify-content: center;
	align-items: center;
} */

/* .firstp-history {
	font-size: 2rem;
	letter-spacing: 6px;
} */

/* .second-container {
	background: url(../img/second-bg.jpg) no-repeat center center/cover;
	height: 100vh;
	background-color: #2d2d2d;
	vertical-align: middle;
	justify-content: center;
	scroll-snap-align: center;
} */

/* .new-result-heading {
	font-family: 'Bungee Inline', cursive;
	font-size: 2rem;
	color: #ff0;
} */

/* .heading-separator {
	width: 100px;
	height: 3px;
	display: block;
	background-color: #ff0;
	margin-left: auto;
	margin-right: auto;
	margin-top: 16px;
	margin-bottom: 10px;
} */

