:root {
	--clr-neon: rgba(169,112,255, 1);
	--clr-bg: rgba(1, 1, 1, 1);
	--clr-bgPopUp: rgba(56, 56, 56);
	--clr-white: rgba(202, 202, 202, 1)
    --clr-Green: rgb(51, 255, 0);
    --clr-Red: rgb(255, 0, 0);
}

body {
  background: #1b1b1b;
  color: rgba(255,255,255,0.7);
  margin: 0px;
}

.popupBox {
	text-align: left;
  	margin: 0 auto;
}

.header {
  position: fixed;
  width:100%;
  background-color: rgba(0, 0, 0, 0.808);
  z-index: 1000;
  -webkit-box-shadow: 0px 5px 25px 0px rgba(169,112,255,0.4);
  -moz-box-shadow: 0px 5px 25px 0px rgba(169,112,255,0.4);
  box-shadow: 0px 5px 25px 0px rgba(169,112,255,0.8);
  border-bottom: 2px solid rgba(169,112,255, 1);
}

.headerBox {
  padding-right: 10px;
  padding-left: 10px;
  vertical-align: middle;
  font-size: 30px;
  height: 40px;
  margin:5px;
  text-align: center;
  display:table-cell;
  vertical-align:middle;
}

.headerIcons {
	height: 24px;
}

.headerIcons:hover {
	box-shadow: inset 0 0 0.0em 0 var(--clr-neon), 0 0 0.5em 0 var(--clr-neon);
	transition: box-shadow 0.3s linear;
}

.buttomBox {
	position: fixed;
	bottom: 0;
	left: 50%;
  	transform: translate(-50%, -50%);
}


/*progessbar */
/*.Bar1,.Bar2 {
  box-shadow: 0px 5px 10px 0px rgba(169,112,255,0.8);
} */

.headerTitle{
  text-shadow: 2px 3px 5px #771cff;
  color: white;
}

.voteText{
  text-shadow: 2px 3px 5px #5305c9;
  color: #bf94ff;
  font-size: "16px";
  text-decoration: underline;
}

.submit {
  background: rgba(255,255,255,0.7);
}

button {
  margin: 20px;
}

.preview,iframe,video {
  box-shadow: 5px 5px 15px 1px rgba(169,112,255,0.6);
  border: solid 1px rgb(182, 134, 255);
}

.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 0px;
  padding: 10px 25px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 1px 1px 1px 0px rgba(255,255,255,.5), 3px 3px 10px 0px rgba(0,0,0,.1), 1px 1px 2px 0px rgba(0,0,0,.1);
  outline: none;
}

.btn-start {
  background: rgb(51, 199, 83);
  background: linear-gradient(0deg, rgba(51, 199, 83,1) 0%, rgba(46, 184, 76,1) 100%);
  border: none;
}
.btn-start:hover {
  background: rgb(46, 184, 76);
  background: linear-gradient(0deg, rgba(46, 184, 76,1) 0%, rgba(51, 199, 83,1) 100%);
}

.btn-start2 {
  background: rgb(145,71,255);
  background: linear-gradient(0deg, rgba(145,71,255,1) 0%, rgba(169,112,255,1) 100%);
  border: none;
}
.btn-start2:hover {
  background: rgb(169,112,255);
  background: linear-gradient(0deg, rgba(169,112,255,1) 0%, rgba(145,71,255,1) 100%);
}


.button-Win {
	font-size: 14px;

	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	color: var(--clr-neon);
	border: var(--clr-neon) 2px solid;
	padding: 0.25em 1em;
	border-radius: 0.25em;

	text-shadow: 0 0 0.125em rgba(255, 255, 255, 0.55), 0 0 0.5em currentColor;

	box-shadow: inset 0 0 0.5em 0 var(--clr-neon), 0 0 0.5em 0 var(--clr-neon);

	position: relative;
}

.button-Win::before {
	pointer-events: none;
	content: "";
	position: absolute;
	background: var(--clr-neon);
	top: 120%;
	left: 0;
	width: 100%;
	height: 100%;

	transform: perspective(1.2em) rotateX(40deg) scale(1.5, 0.5);
	filter: blur(1.15em);
	opacity: 0.7;

	transition: transform 0.5s linear;
}

.button-Win::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	box-shadow: 0 0 4em 0.6em var(--clr-neon), 0 0 1em 0.2em var(--clr-white);
	opacity: 0;
	background: var(--clr-neon);
	z-index: -1;
	transition: opacity 0.5s linear;
}

.button-Win:hover,
.button-Win:focus {
	color: var(--clr-white);
	text-shadow: none;
}

.button-Win:hover::before,
.button-Win:focus::before {
	opacity: 1;
	transform: perspective(1em) rotateX(40deg) scale(1.5, 0.6);
	transition: transform 0.5s linear;
}

.button-Win:hover::after,
.button-Win:focus::after {
	opacity: 1;
}

.button-Green {
	font-size: 14px;

	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	color: var(--clr-Green);
	border: var(--clr-Green) 1px solid;
	padding: 0.25em 1em;
	border-radius: 0.25em;

	text-shadow: 0 0 0.125em rgba(255, 255, 255, 0.55), 0 0 0.5em currentColor;

	box-shadow: inset 0 0 0.5em 0 var(--clr-Green), 0 0 0.5em 0 var(--clr-Green);

	position: relative;
}

.button-Green::before {
	pointer-events: none;
	/*content: "";*/
	position: absolute;
	background: var(--clr-Green);
	top: 120%;
	left: 0;
	width: 100%;
	height: 100%;

	transform: perspective(1.2em) rotateX(40deg) scale(1.5, 0.5);
	filter: blur(1.15em);
	opacity: 0.7;

	transition: transform 0.5s linear;
}

.button-Green::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	box-shadow: 0 0 4em 0.6em var(--clr-Red), 0 0 1em 0.2em var(--clr-white);
	opacity: 0;
	background: var(--clr-Red);
	z-index: -1;
	transition: opacity 0.5s linear;
}

.button-Green:hover,
.button-Green:focus {
	color: var(--clr-white);
	text-shadow: none;
}

.button-Green:hover::before,
.button-Green:focus::before {
	opacity: 1;
	transform: perspective(1em) rotateX(40deg) scale(1.5, 0.6);
	transition: transform 0.5s linear;
}

.button-Green:hover::after,
.button-Green:focus::after {
	opacity: 1;
}

.button-Red {
	font-size: 14px;

	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	color: var(--clr-Red);
	border: var(--clr-Red) 1px solid;
	padding: 0.25em 1em;
	border-radius: 0.25em;

	text-shadow: 0 0 0.125em rgba(255, 255, 255, 0.55), 0 0 0.5em currentColor;

	box-shadow: inset 0 0 0.5em 0 var(--clr-Red), 0 0 0.5em 0 var(--clr-Red);

	position: relative;
}

.button-Red::before {
	pointer-events: none;
	/*content: "";*/
	position: absolute;
	background: var(--clr-Red);
	top: 120%;
	left: 0;
	width: 100%;
	height: 100%;

	transform: perspective(1.2em) rotateX(40deg) scale(1.5, 0.5);
	filter: blur(1.15em);
	opacity: 0.7;

	transition: transform 0.5s linear;
}

.button-Red::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	box-shadow: 0 0 4em 0.6em var(--clr-Green), 0 0 1em 0.2em var(--clr-bg);
	opacity: 0;
	background: var(--clr-Green);
	z-index: -1;
	transition: opacity 0.5s linear;
}

.button-Red:hover,
.button-Red:focus {
	color: var(--clr-bg);
	text-shadow: none;
}

.button-Red:hover::before,
.button-Red:focus::before {
	opacity: 1;
	transform: perspective(1em) rotateX(40deg) scale(1.5, 0.6);
	transition: transform 0.5s linear;
  
}

.button-Red:hover::after,
.button-Red:focus::after {
	opacity: 1;
}


/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 120px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
	background-color: var(--clr-bgPopUp);
	text-align:center;
	margin: auto;
	padding: 5px;
	border: 1px solid var(--clr-neon);
	box-shadow: 5px 5px 15px 1px rgba(169,112,255,0.6);
  }
  
  /* The Close Button */
  .modal-close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
  }
  
  .modal-close:hover,
  .modal-close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
  }

  /* Coin CSS */

  #coin {
	position: relative;
	margin: 20px auto 20px auto;
	width: 100px;
	height: 100px;
	cursor: pointer;
	font-size: 24px;
  }
  #coin div {
	width: 100%;
	height: 100%;
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
			border-radius: 50%;
	-webkit-box-shadow: inset 0 0 45px rgba(169,112,255,.3), 0 12px 20px -10px rgba(169,112,255,.4);
	   -moz-box-shadow: inset 0 0 45px rgba(169,112,255,.3), 0 12px 20px -10px rgba(169,112,255,.4);
			box-shadow: inset 0 0 45px rgba(169,112,255,.3), 0 12px 20px -10px rgba(169,112,255,.4);
  }
  .side-a {
	background-color: #bb0000;
  }
  .side-b {
	background-color: #3e3e3e;
  }

  .side-a, .side-b {
	display:table;
  }

  .side-a p, .side-b p {
	display: table-cell;
	vertical-align: middle;
	text-align:center;
  }
  
  #coin {
	transition: -webkit-transform 1s ease-in;
	-webkit-transform-style: preserve-3d;
  }
  #coin div {
	position: absolute;
	-webkit-backface-visibility: hidden;
  }
  .side-a {
	z-index: 100;
  }
  .side-b {
	-webkit-transform: rotateY(-180deg);
  
  }
  
  #coin.heads {
	-webkit-animation: flipHeads 3s ease-out forwards;
	-moz-animation: flipHeads 3s ease-out forwards;
	  -o-animation: flipHeads 3s ease-out forwards;
		 animation: flipHeads 3s ease-out forwards;
  }
  #coin.tails {
	-webkit-animation: flipTails 3s ease-out forwards;
	-moz-animation: flipTails 3s ease-out forwards;
	  -o-animation: flipTails 3s ease-out forwards;
		 animation: flipTails 3s ease-out forwards;
  }
  
  @-webkit-keyframes flipHeads {
	from { -webkit-transform: rotateY(0); -moz-transform: rotateY(0); transform: rotateY(0); }
	to { -webkit-transform: rotateY(1800deg); -moz-transform: rotateY(1800deg); transform: rotateY(1800deg); }
  }
  @-webkit-keyframes flipTails {
	from { -webkit-transform: rotateY(0); -moz-transform: rotateY(0); transform: rotateY(0); }
	to { -webkit-transform: rotateY(1980deg); -moz-transform: rotateY(1980deg); transform: rotateY(1980deg); }
  }
  
  