@font-face {
    font-family: 'Amsi Pro AKS Condensed';
    src: url('fonts/AmsiProAKSCondensed-Bold.eot');
    src: local('Amsi Pro AKS Condensed Bold'), local('AmsiProAKSCondensed-Bold'),
        url('fonts/AmsiProAKSCondensed-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/AmsiProAKSCondensed-Bold.woff2') format('woff2'),
        url('fonts/AmsiProAKSCondensed-Bold.woff') format('woff'),
        url('fonts/AmsiProAKSCondensed-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
	margin: 0;
	padding: 0;
/*	background: url("/Image/bg3.png") no-repeat;*/
/*    background-image: url('../../Image/bg5F.png');*/
    background-image: url('../../Image/7.png');
    overflow: hidden;
    width: 1920px;
    height: 1080px;
}

.start {
    font-family: 'Amsi Pro AKS Condensed';
	position: absolute;
	top: calc(86% + 10px);
    font-size: 46px;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    flex-direction: column-reverse;
	left: 50%;
	background: #451d63;
	transform: translate(-50%, -50%);
	width: 300px;
	height: 75px;
	border: 10px solid #fff;
	color: white;
	font-weight: bold;
	border-radius: 5px;
	transition: 0.3s ease;
	user-select: none;
	cursor: pointer;
	filter: drop-shadow(2px 2px 2px rgba(89, 217, 102, 0.2));
}

.start:hover {
	background: #714494;
    color: #e8f000;
}

#card {
    border: 20px solid white;
}

.card_line_1 {
    width: 1415px;
    height: 100px;
    background-color: #F7F9F1;
    margin: 0 auto;
    position: absolute;
    top: 3.5%;
}


.card_line_2 {
    width: 1415px;
    height: 125px;
    opacity: 0.9;
    background-color: #F7F9F1;
    margin: 0 auto;
    position: absolute;
    top: 67%;
}

.card_title {
    text-transform: uppercase;
    color: #FCFCFC;
    font-size: 80px;
    font-family: 'Amsi Pro AKS Condensed';
    font-weight: bold;
    font-style: normal;
    left: 5%;
    top: 20%;
    position: absolute;
    display: flex;
}

.card_name {
    text-transform: uppercase;
    color: #4a4a4a;
    font-size: 95px;
    font-family: 'Amsi Pro AKS Condensed';
    font-weight: bold;
    font-style: normal;
    left: 3%;
    top:-20%;
    position: absolute;
    display: flex;
}

.card_car {
    width: 800px;
    height: 400px;
    left: 44%;
    top: 5%;
    position: absolute;
    display: flex;
    z-index: 999;
}

.shadow {
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 10px;
	border: 18px solid #EDBEFA;
	box-shadow: inset 0px 0px 20px 0px black;
    width: 1500px;
	height: 500px;
}

shadow1 {

}

.shadow2 {
    position: absolute;
	z-index: 2;
	left: 70%;
	top: 50%;
	transform: translate(-50%, -50%);
    border-radius: 30px;
	border: 25px solid #fff;
    width: 1550px;
	height: 550px;
}

.random {
	position: absolute;
	overflow: hidden;
	left: 70%;
	top: 50%;
    border-radius: 10px;
	transform: translate(-50%, -50%);
	width: 1500px;
	height: 1200px;
/*	 background: rgba(0, 0, 0, 0.5);*/
     background: hsla(0, 0%, 75%, .25) border-box;
    border-top: 10px solid rgba(0, 0, 0, 0.3);
    border-bottom: 10px solid rgba(0, 0, 0, 0.3);
}

.cards {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 100%;
    transition: 6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -145px;
}

.cards > div {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	float: left;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 20px;
	margin-top: 5px;
	margin-left: 5px;
	width: 1450px;
	height: 450px;
	color: #6A6A6A;
	border-radius: 20px;
}

.card_rare_1 {
    background: linear-gradient(#cfcfcf,#cfcfcf) padding-box, linear-gradient(to right, #ff0000 0%, #1000ff 100%) border-box;
/*    background: #02acdb;*/
}

.card_rare_2 {
    background: #02acdb;
/*    background: #00bf33;*/
}

.card_rare_3 {
/*    background: #8602fa;*/
    background: #00bf33;
}

.card_rare_4 {
    background: #8602fa;
/*    background: #e8f000;*/
}

.card_rare_5 {
    background: #ffd000;
}

.card_rare_6 {
    background: linear-gradient(to right, #FF2B01, #FF6B00);
}

.card_rare_7 {
    background: linear-gradient(to right, #0EA2F6, #AD00FF, #FDBD27);
}


.result {
	position: absolute;
    transform: rotate(0deg);
    z-index: 99;
	left: 89%;
	top: 45%;
}

.result_right {
    position: absolute;
	z-index: 10;
	left: 93%;
	top: 45%;
}

.result_left {
    position: absolute;
	z-index: 10;
	left: 44.3%;
	top: 45%;
}


.win {
      -webkit-animation: glowing 1000ms infinite;
      -moz-animation: glowing 1000ms infinite;
      -o-animation: glowing 1000ms infinite;
      animation: glowing 1000ms infinite;
      }
      @-webkit-keyframes glowing {
      0% { border-color: #fcf690; -webkit-box-shadow: 0 0 12px #fcf690; }
      50% { border-color: #fcf803; -webkit-box-shadow: 0 0 70px #fcf803; }
      100% { border-color: #fcf690; -webkit-box-shadow: 0 0 12px #fcf690; }
      }
      @keyframes glowing {
      0% { border-color: #fcf690; box-shadow: 0 0 12px #fcf690; }
      10% { border-color: #BEFFF7; box-shadow: 0 0 300px #BEFFF7; }
      20% { border-color: #fcf690; box-shadow: 0 0 12px #fcf690; }
      30% { border-color: #BEFFF7; box-shadow: 0 0 300px #BEFFF7; }
      40% { border-color: #fcf690; box-shadow: 0 0 12px #fcf690; }
      50% { border-color: #BEFFF7; box-shadow: 0 0 300px #BEFFF7; }
      60% { border-color: #fcf690; box-shadow: 0 0 12px #fcf690; }
      70% { border-color: #BEFFF7; box-shadow: 0 0 300px #BEFFF7; }
      80% { border-color: #fcf690; box-shadow: 0 0 12px #fcf690; }
      90% { border-color: #BEFFF7; box-shadow: 0 0 300px #BEFFF7; }
      100% { border-color: #fcf690; box-shadow: 0 0 12px #fcf690; }
      }

.flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0;
  z-index: 99999;
  pointer-events: none;
  transition: opacity .3s ease-in-out;
}


.btn {
    opacity: 0.6;
    margin-left: 10px;
    margin-top: 15px;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    margin: auto;
    text-align: center;
    align-items: center;
    font-family: 'Amsi Pro AKS Condensed';
    font-size: 35px;
    justify-content: space-between;
    flex-direction: column-reverse;
	background: #d197fc;
	width: 50px;
	height: 50px;
	border: 5px solid #fff;
	color: white;
	font-weight: bold;
	border-radius: 5px;
	transition: 0.3s ease;
	user-select: none;
	cursor: pointer;
	filter: drop-shadow(2px 2px 2px rgba(89, 217, 102, 0.2));  
}

.page {
    padding-top: 0px;
    opacity: 0.6;
    text-align: center;
    align-items: center;
    font-family: 'Amsi Pro AKS Condensed';
    font-size: 30px;
    justify-content: space-between;
    flex-direction: column-reverse;
	background: #d197fc;
	width: 40px;
	height: 30px;
	border: 5px solid #fff;
	color: white;
	font-weight: bold;
	border-radius: 5px;
	transition: 0.3s ease;
	user-select: none;
	cursor: pointer;
	filter: drop-shadow(2px 2px 2px rgba(89, 217, 102, 0.2));
    text-decoration: none;
    margin-left: 10px;
    margin-top: 35px;
}

.page:hover {
    opacity: 1;
}

button:hover {
    opacity: 1;
}

button:focus {
	outline: none;
}

.was {
    background-image: url(../Image/Skip.png);
    position: absolute;
    z-index: 9999;
}