@font-face {
	font-family: 'opensans';
	src:
	  local("opensans"),
	  url("../fonts/opensans-regular.ttf") format("truetype");
}
  @font-face {
	font-family: 'opensans-bold';
	src:
	  local("opensans-bold"),
	  url("../fonts/opensans-bold.ttf") format("truetype");
}

:root {
	--open-sans: 'opensans', sans-serif;
	--open-sans-bold: 'opensans-bold', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	height: 100%;
}

body {
	min-height: 100%;
	font-family: var(--open-sans);
	color: #000;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

body.modal-open {
	overflow: hidden;
}

img {
	display: block;
	margin: 0;
	height: auto;
	max-width: 100%;
}

img::selection {
	user-select: none
}

button {
	box-shadow: none;
	text-shadow: none;
	background-image: none;
	outline: none;
}
button:hover, button:focus {
	outline: none;
}

.header {
	padding: 10px 20px 20px 20px;
	flex-shrink: 0;
	width: 90%;
}

.header .container {
	width: 100%;
	max-width: 950px;
	margin: 0 auto;
}

.header h1 {
	margin: 30px 0 10px 0;
	color: #000;
	font-size: clamp(1.875rem, 0.689rem + 5.2711vw, 4.0625rem);
	line-height: 1.23;
	font-family: var(--open-sans-bold);
}

.header p {
	margin: 0 0 5px 0;
	color: #000;
	font: 18px / 27px var(--open-sans);
	max-width: 610px;
}

.top-header {
	background: #2792ea;
	padding: 10px 20px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: end;
}

.top-header .white-wrapper {
	background: transparent;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 3px 6px 3px 2px;
}

.logo-wrapper {
	display: flex;
	align-items: center;
	justify-content: end;
	width: 100%;
	max-width: 950px;
}

.logo-wrapper.bottom {
	padding: 0 10px;
}

.logo-wrapper .logo {
	height: 40px;
	width: auto;
}

.wheel-section {
	padding: 0 20px 60px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
	flex-grow: 1;
	width: 100%;
}


.wheel-section .wheel-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 95%;
	max-width: 1000px;
}

.wheel-section .layer-B-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	flex-shrink: 0;
	z-index: 1;
	transform-origin: center center;
	aspect-ratio: 1 / 1;
}

.wheel-section .layer-A-image {
	flex-shrink: 0;
	z-index: 3;
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
}

.wheel-section .spin-wheel-btn {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	padding: 8px;
	width: 12.34%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	color: #fff;
	font-size: clamp(0.625rem, 0.25rem + 1.6667vw, 0.875rem);
	line-height: 1.25;
	border: none;
	background: #000;
	flex-shrink: 0;
	cursor: pointer;
}

.wheel-section .results-wrapper {
	padding: 30px 0 20px 0;
	flex-shrink: 0;
	width: 100%;
}

.wheel-section .color-wrapper {
	padding: 30px 20px 20px 20px;
	width: 100%;
	max-width: 650px;
	margin: 0 auto;
}

.wheel-section .color-row {
	display: flex;
	align-items: center;
	justify-content: start;
	margin-bottom: 10px;
}

.wheel-section .color-row .color {
	flex-shrink: 0;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	margin-right: 15px;
}

.wheel-section .color-row .color.green {
	background: #168335;
}

.wheel-section .color-row .color.yellow {
	background: #fcbf00;
}

.wheel-section .color-row .color.orange {
	background: #f28900;
}

.wheel-section .color-row .color.red {
	background: #cf1520;
}

.footer {
	width: 100%;
	height: 50px;
	background: #000;
}

#modal-overlay {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .6);
	z-index: 15;
	pointer-events: none;
	opacity: 0;
	transition: opacity .35s linear;
}

#modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.modal {
	position: fixed;
	z-index: 20;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	opacity: 0;
	width: calc(100% - 40px);
	max-width: 400px;
	max-height: 70%;
	background: #fff;
	border: 1px solid #000;
	display: flex;
	transition: transform .35s ease-in, opacity .25s ease-in;
}

.modal.active {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.modal .close-modal-btn {
	border: none;
	position: absolute;
	width: 32px;
	height: 32px;
	right: 0;
	top: 0;
	transform: translate(calc(50% - 5px), calc(-50% + 5px));
	border-radius: 50%;
	background: #014f85;
	color: #fff;
	font-size: 25px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal .close-modal-btn span {
	transition: all .3s ease-in-out;
}

.modal .close-modal-btn:hover span,
.modal .close-modal-btn:focus span {
	transform: rotate(180deg);
}

.modal-content {
	padding: 0px 0px 5px 0px;
	overflow-y: auto;
	font-size: .9rem;
	line-height: 1.2rem;
	flex-shrink: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.modal-content .tag {
	text-align: center;
	font-size: .85rem;
	padding: 17px 10px;
	color: #fff;
	font-family: var(--open-sans-bold);
}

.modal-content .tag.blue {
	background: #09467e;
}

.modal-content .tag.pink {
	background: #ae2c72;
}

.modal-content .tag.light-green {
	background: #2ba5a4;
}

.modal-content .title {
	text-align: center;
	margin: 5px 0 20px 0;
	font-size: .85rem;
	padding: 13px 10px;
	color: #000;
	font-family: var(--open-sans-bold);
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content .title span {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	margin-right: 12px;
}

.modal-content .title span.green {
	background: #007e3f;
}

.modal-content .title span.yellow {
	background: #f9be2e;
}

.modal-content .title span.orange {
	background: #ec6732;
}

.modal-content .title span.red {
	background: #f03c25;
}

.modal-content .highlight-text {
	margin: 0 0 20px 0;
	padding: 0 10px;
}

.modal-content .subtitle {
	margin: 0 0 3px 0;
	font-family: var(--open-sans-bold);
	padding: 0 10px;
}

.modal-content .type {
	margin: 0 0 0px 0;
	padding: 0 10px;
}

.modal-content .description {
	padding: 0 10px;
}

.modal-content .description.mb-25 {
	margin: 0 0 25px 0;
}

.modal-content .description.mb-2 {
	margin: 0 0 2px 0;
}

.modal-content .summary {
	font-size: .84rem;
	font-style: italic;
	margin: 0 0 0px 0;
	padding: 0 10px;
}

.modal-content ul {
	margin: 5px 0 25px 0;
	padding: 0 10px 0 30px;
}

.modal-content ul li p {
	margin: 0 0 5px 0;
}

.modal-content .custom-dropdown-wrapper {
	margin: 0 0 20px 0;
}

/* .modal-content > .custom-dropdown-wrapper:last-of-type {
	margin-bottom: 0;
} */

.modal-content .btn-custom-dropdown {
	border: 0;
	padding: 3px 10px 4px 10px;
	margin: 0 0 3px 0;
	width: 100%;
	box-shadow: none;
	text-align: left;
	outline: none;
	border-radius: 0;
	background: #fff;
	color: #000;
	font-family: var(--open-sans-bold);
	font-size: 0.9rem;
	line-height: 1.2rem;
	cursor: pointer;
	display: flex;
	align-items: start;
	justify-content: space-between;
}

.modal-content .btn-custom-dropdown:hover, .modal-content .btn-custom-dropdown:focus {
	outline: none;
	box-shadow: none;
}

.modal-content .btn-custom-dropdown .arrow-icon {
	flex-shrink: 0;
	margin-left: 10px;
	width: 20px;
	transition: all .3s ease-in;
	pointer-events: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent
}

.modal-content .btn-custom-dropdown.open .arrow-icon {
	transform: rotate(180deg)
}

.modal-content .btn-custom-dropdown.close .arrow-icon {
	transform: rotate(0deg);
}

.modal-content .custom-dropdown-content {
	padding-bottom: 0px;
	overflow: hidden;
	transition: height .3s ease-out;
}

.modal-content .custom-dropdown-content.hide {
	height: 0;
}

.modal-content .custom-dropdown-content.show {
	height: var(--openHeight);
}

.modal-content .link-text {
	color: #000;
	padding: 0 10px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	line-height: 1.2rem;
	font-weight: 600;
}

.modal-content .external-link {
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.2rem;
	color: #014f85;
	font-weight: 600;
}

@media only screen and (min-width: 768px) {
	.modal {
		transform: translate(-50%, -50%) scale(0);
		width: calc(50% - 80px);
		max-width: 350px;
	}

	.modal.active {
		transform: translate(60px, -50%) scale(1);
	}

	#modal-overlay {
		background: rgba(0, 0, 0, 0);
	}
}

@media only screen and (max-width: 500px) {
	.header {
		width: 100%;
	}

	.header h1 {
		margin-top: 15px;
	}

	.wheel-section .wheel-wrapper {
		width: 100%;
	}

	.wheel-section .spin-wheel-btn {
		width: 14%;
	}

	.top-header .white-wrapper {
		gap: 6px;
	}
}

