
@font-face {
	font-family: million-font;
	src: url("../fonts/Bodoni-72.ttc");
	/* font-weight: 700; */
}


@font-face {
	font-family: million-font;
	src: url("../fonts/MyriadPro-Regular.otf");
	/* font-weight: 700; */
}
  

html {
	min-height: 100vh;
}

body {
	background: black;
	font-family: 'million-font' ,'Roboto Slab', serif;
	min-height: 100vh;
	margin: 0;
	overflow-x: hidden;
}

audio {
	display: none;
}

.clear {
	clear: both;
}

#game {
	display: none;
	text-align: center;
	background-image: url(../img/backgrund.jpg);
	background-position: center center;
    background-size: cover;
	min-height: 100vh;
}

#top {
	width: 960px;
	margin: 0 auto;
}

#levels {
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;
	color: white;
	text-align: right;
	margin-top: 40px;
	font-size: 1.3em;
	display: none;
}

.active {
	color: green;
	font-weight: bold;
	text-decoration: underline;
}


#question-box {
	/* background: #ddd;
	margin: 0 auto;
	padding: 10px;
	font-size: 1.5em; */
	width: 960px;
	font-size: 1.5em;
    color: #fff;
    border: 1px solid;
    margin: auto;
    display: flex;
    align-items: center;
	padding: 10px 20px;
    border-radius: 108px;
    border: 2px solid #2a7ff4;
    box-shadow: 0px 0px 3px #2a7ff4;
    margin-bottom: 3rem;
    margin-top: 3rem;
	position: relative;
}

div#question-box:after {
    position: absolute;
    top: 44%;
    left: -2000px;
    content: '';
    background: #2374f5;
    width: 2000px;
	box-shadow: 0px 0px 3px #2a7ff4;
    height: 2px;
}

div#question-box:before {
    position: absolute;
    top: 44%;
    right: -2000px;
    content: '';
    background: #2374f5;
	box-shadow: 0px 0px 3px #2a7ff4;
    width: 2000px;
    height: 2px;
}

.questions-box {
	display: flex;
	gap: 2%;
}

.questions-box > div {
	width: 49%;
}

.questions-box > div {
	color: #fff;
    border: 1px solid;
    margin: auto;
    display: flex;
    align-items: center;
	padding: 10px 20px;
    border-radius: 108px;
    border: 2px solid #2a7ff4;
    box-shadow: 0px 0px 3px #2a7ff4;
    margin-bottom: 3rem;
    /* margin-top: 3rem; */
	position: relative;
}

.questions-box > div:hover {
text-decoration: none;
}



.questions-box >div:first-child::after {
		position: absolute;
		top: 44%;
		left: -2000px;
		content: '';
		background: #2374f5;
		width: 2000px;
		box-shadow: 0px 0px 3px #2a7ff4;
		height: 2px;
}	

.questions-box > div:last-child::before {
		position: absolute;
		top: 44%;
		right: -2000px;
		content: '';
		background: #2374f5;
		box-shadow: 0px 0px 3px #2a7ff4;
		width: 2000px;
		height: 2px;
}

.big-text {
	color: #FF7E00;
	font-size: 2em;
	margin-right: 15px;
}

#money {
	font-size: 1.9em;
	font-weight: bold;
	color: green;
	float: right;
	display: block;
	height: 50px;
	padding-top: 20px;
	display: none;
}

#logo {
	width: 480px;
	/* float: left; */
	/* margin-left: 240px; */
	/* margin-top: 60px; */
}

#game-over {
	display: none;
	font-size: 8em;
	font-weight: bold;
	color: white;
	width: 980px;
	margin-top: 300px;
	margin: 0 auto;
	text-align: center;
}

#fifty {
	background: url('../img/50-50.png') no-repeat 0 0;
}

#phone-friend {
	background: url('../img/phone-friend.png') no-repeat 0 0;
}

#audience {
	background: url('../img/audience.png') no-repeat 0 0;
}

#next-question {
	background: url('../img/next-question.png') no-repeat 0 0;
}

#answer-box {
	color: white;
	font-size: 1.3em;
	text-align: left;
	width: 960px;
	margin: 0 auto;
}

#pre-start {
	display: none;
	min-height: 100vh;
	background-image: url('../img/millon.jpg');
	margin: 0;
    background-position: center center;
    background-size: cover;
	display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
	gap: 20px;
}

#pre-start button , #start-timer {
	outline: none;
	background: #fff;
	color: #000;
	padding: 10px 30px;
	border-radius: 4px;
	border: navajowhite;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	margin-bottom: 10px;
}

#pre-start button:hover , #start-timer:hover {
	background-color: #000;
	color: #fff;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 200px; /* Adjust as needed */
	position: absolute;
    top: 30px;
    left: 30px;
}

#problem-set {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f8f8f8;
	color: #000;
    background-image: none;
    font-weight: bold;
    font-size: 18px;
	outline: none;
}

.custom-select-wrapper::after {
    content: '\25BC';
    position: absolute;
    top: 67%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: rgb(0, 0, 0);
	outline: none;
}

.custom-select-wrapper label {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.answer:hover {
	text-decoration: underline;
	cursor: pointer;
}

.options-button {
	width: 300px;
    height: 107px;
    margin-left: 0;
    float: left;
    background-position: 0 0;
    cursor: pointer;
    transform: scale(0.8);
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    align-content: center;
    background-position: left center !important;
    text-align: start;
    padding-left: 125px;
}

#options {
	position: absolute;
	top: 0;
	display: flex;
	flex-direction: column;
	width: 200px;
	height: 100%;
	margin: 0 auto;
}

#second-options {
	position: absolute;
	top: 30px;
	right: 0;
	display: flex;
	flex-direction: column;
	width: 400px;
    align-items: center;
}

#second-options img {
	max-width: 160px;
	margin-bottom: 10px;
}

#second-options a {
	text-decoration: none;
	color: #fff;
	font-size: 16px;
}


#timer {
	background-color: #fff;
	padding: 5px;
	border-radius: 50%;
    font-size: 40px;
    color: #000;
    margin-top: 10px;
	display: inline-block;
    width: 50px;
    height: 50px;
	display: block;
	margin: auto;
}

.d-block {
	display: block;
}