.quiz {
    padding: 50px;
    background: #2D628F;
    border-radius: 15px;
    color: #fff;
}

.quiz button {
    font-size: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 15px 50px;
    color: #c24747;
    outline: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.quiz-header h3 {
    line-height: 1.1;
}

.quiz-header h3, .quiz-header span {
    font-size: 45px;
    color: #fff;
    margin-bottom: 50px;
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    margin-bottom: 50px;
}

.quiz-question header p {
    font-size: 24px;
    margin: 0;
}

.quiz-question header p span {
    font-weight: 600;
}

.quiz-answers {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quiz-answers div {
    display: flex;
    align-items: center;
    gap: 30px;
}

.quiz-result {
    display: none;
}

.quiz-result.active {
    display: block;
}

.quiz-result p {
    font-size: 24px;
    margin: 0;
}

.quiz-results a {
    width: fit-content;
    margin-top: 50px;
    font-size: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 15px 50px;
    color: #c24747;
    outline: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: none;
}

.quiz-results table {
    display: none;
    margin-top: 50px;
    border: none;
    table-layout: fixed;
}

.quiz-results table td {
    border: 1px solid #c24747;
}

.quiz-results table tr td:nth-child(1) {
    width: 35%;
}

.quiz-results table tr td:nth-child(2) {
    width: 15%;
}

.quiz-results table tr td:nth-child(3) {
    width: 25%;
}

.quiz-results table tr td:nth-child(4) {
    width: 25%;
}

.quiz-results table thead tr td {
    font-weight: 600;
}

@media (max-width: 1230px) {
	.quiz {
		padding: 24px;
		border-radius: 10px;
	}
	
	.quiz-header h3, .quiz-header span {
		font-size: 28px;
		margin-bottom: 24px;
	}
	
	.quiz-question.active {
		margin-bottom: 24px;
	}
	
	.quiz-results {
		overflow-x: auto;
	}
	
	.quiz-results table {
		min-width: 896px;
		margin-top: 24px;
		overflow-x: auto;
	}
	
	.quiz-results td {
		font-size: 14px;
		line-height: 1.4;
	}
	
	.quiz-results a {
		margin-top: 24px;
	}
}

@media (max-width: 767.98px) {
	.quiz {
		padding: 20px;
		position: relative;
	}
	
	.quiz-header h3, .quiz-header span {
		font-size: 24px;
		margin-bottom: 20px;
	}
	
	.quiz-question.active {
		margin-bottom: 20px;
	}
	
	.quiz-results table {
		margin-top: 20px;
	}
	
	.quiz-answers div {
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}
	
	.quiz button {
		width: 100%;
	}
	
	.quiz-answers span {
		position: absolute;
		top: 20px;
		right: 20px;
		font-size: 16px;
	}
	
	.quiz-results a {
		margin-top: 20px;
		padding: 15px 20px;
		font-size: 14px;
		width: 100%;
	}
}