:root {
	--size-wheel: 32rem;
}

* {
    font-family: 'SVN-Gilroy', sans-serif;
    font-weight: 600;
}

html {
	box-sizing: border-box;
	height: 100%;
	overflow: hidden;
    background-color: #FFFBE6;
}

body {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
    margin: 20px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.msg {
	min-height: 4rem;
	margin-top: 0.5rem;
	text-transform: capitalize;
}

.wheel {
	position: relative;
	padding: 0;
	margin: 1rem 0;
	width: var(--size-wheel);
	height: var(--size-wheel);
	border: 6px solid #821131;
	border-radius: 50%;
	list-style: none;
	overflow: hidden;
	transition: cubic-bezier(0.075, 0.8, 0.2, 1) 7s;
}

.main span {
	display: inline-block;
	position: relative;
	padding: 0.5rem;
}

.main span::before {
	content: '';
	position: absolute;
	top: 0rem;
	left: 50%;
	border-left: 2rem solid transparent;
	border-right: 2rem solid transparent;
	border-top: 4rem solid rgb(255, 217, 0);
	z-index: 2;
	transform: translateX(-50%);
	animation: arrow ease-out 0.6s infinite;
}

@keyframes arrow {
	0% {
		top: -2rem;
	}
	80% {
		top: 0;
	}
	100% {
		top: -1.5rem;
	}
}

.main span::after {
	content: '';
	width: 2rem;
	height: 2rem;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #FABC3F;
	border-radius: 50%;
}

.wheel li {
	overflow: hidden;
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 50%;
	transform-origin: 0% 100%;
}

.text {
	position: absolute;
	left: -100%;
	width: 200%;
	height: 200%;
	display: block;
	text-align: center;
	padding-top: 1.7rem;
	font-weight: 600;
	color: #fff;
}

.text > b {
	display: inline-block;
	word-break: break-word;
	max-width: 20%;
}

.text-1 {
	background-color: rgb(0, 89, 255);
}

.text-2 {
	background-color: rgb(126, 182, 255);
}

.main {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

button {
	display: inline-block;
	text-align: center;
	border: 0;
	background-color: #C7253E;
	color: #fff;
	font-size: 1.5rem;
	border-radius: 4rem;
	padding: 0.5rem 1.5rem;
	width: auto;
	cursor: pointer;
	outline: none;
}

button:hover {
	opacity: 0.8;
}

.input-form {
    height: 100%;
    width: 100%;
    padding: 20px;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.input-form__ung-vien textarea,
.input-form__ban textarea {
    width: 100%;
    height: 25vh;
    background-color: #f1ecaa;
    border: 1px solid #dacd40;
    border-radius: 8px;
    padding: 12px 24px;
    margin: 8px 0;
    font-size: 16px;
}

.ket-qua {
	display: flex;
	justify-content: center;
	flex-direction: column;
	height: 100%;
}

.ket-qua ul {
	height: 100%;
}

.ket-qua li {
    min-width: 120px;
    background-color: #6C4E31;
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
    font-weight: 400;
    display: inline-block;
    margin: 6px;
    text-align: center;
}

.ket-qua--active {
    background-color: #603F26 !important;
	box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.281);
}

.ket-qua-reset {
	margin-bottom: 8px;
}

.ket-qua-reset span {
	color: white;
	background-color: #86AB89;
	display: inline-block;
	padding: 14px 18px;
	border-radius: 4rem;
	float: right;
	cursor: pointer;
	transition: 0.2s;
}

.ket-qua-reset span:hover {
	opacity: 0.8;
}