.page-template-quiz, .single-tv-quiz {
    width: 100%;
    height: 100vh;
    margin: 0;
    background: url(https://api.zlatnakopacka.mk/wp-content/uploads/2024/09/kopacka-kviz.jpg);
    font-family: "Mulish", sans-serif;
    background-size: 100%;
    background-repeat: no-repeat;
    overflow: hidden;
    background-position: center bottom;
}
.single-tv-quiz {
    background: url(https://zlatnakopacka.mk/wp-content/uploads/2026/06/bg.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
	
}
.single-tv-quiz * {
	font-family: "Science Gothic", sans-serif;
  	font-optical-sizing: auto;
}

@media screen and (max-width: 1024px) {
	.page-template-quiz, .single-tv-quiz {
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}
}

.page-template-quiz .logo, .single-tv-quiz .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.quiz-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 3rem auto;
    width: 35%;
    text-align: center;
    display: none;
    position: absolute;
    height: 60vh;
    left: 0;
    right: 0;
}

.quiz-wrapper[data-block="1"] {
    display: flex;
}

.questions-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quiz-wrapper h2 {
    color: white;
    margin-bottom: 3rem;
    font-size: 30px;
}

.questions {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-bottom: 1rem;
	gap: 2rem;
}

.questions-wrapper .questions:nth-last-child(1) {
    justify-content: space-evenly !important;
}

.question {
    color: white;
    border: 1px solid white;
    width: 200px;
    text-align: center;
    border-radius: 30px;
    font-size: 22px;
    line-height: 1.2;
    padding: 0;
}

.question:hover {
    background: white;
    color: black;
}

.question p {
    margin: 0;
    padding: 10px;
    cursor: pointer;
    text-transform: uppercase;
}

.form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 70%;
}

.form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper form input {
    background: none;
    border: 1px solid white !important;
    color: white;
    padding: 10px;
    border-radius: 30px;
    text-indent: 10px;
    font-size: 20px;
    box-shadow: none !important;
    outline: none !important;
}

.form-wrapper form input::placeholder {
    color: white !important;
}

.terms {
    font-size: 20px;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

input#terms {
    height: 20px;
    width: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background: none;
    color: black;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border: 1px solid white;
    border-radius: 0;
    position: relative;
}

input#terms:checked {
    background: white;
}

input#terms:checked:before {
    content: '\2713';
    color: rgb(74, 95, 151);
    position: absolute;
    left: 0;
    text-indent: 0;
    top: 0;
    font-size: 20px;
    right: 0;
    text-align: center;
    line-height: 1;
    color: #e30613;
    font-weight: bold;
}

.terms * {
    color: white;
}

button.submit-btn {
    background: white;
    color: #e30613;
    font-size: 20px;
    padding: 10px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

p.form-response {
    color: white;
    font-size: 20px;
}

.quiz-info-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.quiz-info-wrapper a {
	color: black;
	text-decoration: underline;
}

.quiz-info-wrapper .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
	margin-top: 20px;
}

.quiz-info-wrapper .cta-buttons a {
    background: #ef0b1c;
    width: fit-content;
    padding: 5px 20px;
    border-radius: 10px;
    color: white;
	text-decoration: none;
}

.counter-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter-wrapper, .questions-counter-wrapper {
    display: flex;
}

.counter-wrapper .hour-box, .questions-counter-wrapper .hour-box {
    display: flex;
    gap: 10px;
	align-items: center;
}

.counter-wrapper .hour-box p, .questions-counter-wrapper .hour-box p {
    font-size: 5rem;
    font-weight: bold;
	margin: 0;
	color: #ef0b1c;
}

.counter-wrapper .hour-box span, .questions-counter-wrapper .hour-box span {
    font-size: 5rem;
	color: #ef0b1c;
}

.quiz-questions-wrapper {
    display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quiz-questions-wrapper .question-answer {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.quiz-questions-wrapper .question-answer p {
    margin: 0;
    border: 1px solid;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2rem;
    cursor: pointer;
	display: grid;
	grid-template-columns: 0fr 1fr;
	align-items: center;
}

.quiz-questions-wrapper .question-answer p:hover {
	color: white;
	background: #ef0b1c;
}

.quiz-questions {
	padding: 1rem;
}

.quiz-info-wrapper p {
	margin: 0;
}

.time-left-to-answer .quiz-info-wrapper {
	padding: 1rem;
}

.rang-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.ranglist-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rang-listing {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid;
	background: linear-gradient(#ef0b1c 0 0) 0/0% no-repeat #fff;
	animation: l1 2s linear forwards;
	width: 100%;
	font-size: 1.5rem;
}

.rang-listing:nth-child(2) {
	animation: l2 2s linear forwards;
}

.rang-listing:nth-child(3) {
	animation: l3 2s linear forwards;
}

.rang-listing:nth-child(4) {
	animation: l4 2s linear forwards;
}

.rang-listing:nth-child(5) {
	animation: l5 2s linear forwards;
}

@keyframes l1 {
    100% {background-size:95%}
}
@keyframes l2 {
    100% {background-size:75%}
}
@keyframes l3 {
    100% {background-size:55%}
}
@keyframes l4 {
    100% {background-size:35%}
}
@keyframes l5 {
    100% {background-size:15%}
}

.question-title {
	display: none;
}


.active-question-block, .active-question-title {
	display: flex !important;
}

.main-quiz-question-tv .question-answer.active-question-block {
	display: grid !important;
    grid-template-columns: 1fr 1fr;
}

.quiz-questions-wrapper .question-answer p span {
    height: 100%;
    background: #ef0b1c;
    padding: 0 20px;
    color: white;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

.no-grid-question p {
	grid-template-columns: 1fr !important;
}

.quiz-ended .quiz-info-wrapper h2, .quiz-ended .quiz-info-wrapper h3 {
	text-align: center;
}

.quiz-ended .rang-list-wrapper {
	margin-top: 20px;
}

@media screen and (max-width: 1366px) {
    .questions {
        gap: 20px;
    }
    .quiz-wrapper {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {

    .quiz-wrapper {
        width: 90%;
    }

    .questions {
        gap: 20px;
    }
	.terms{font-size:16px;gap:5px;}

}

@media screen and (max-width: 600px) {
    .logo img {
        max-width: 80%;
    }
	
	.form-wrapper form {
		width: 90%;
	}
	
	.quiz-wrapper h2 {font-size:26px;}
}
