/*!
Theme Name: fourity-quiz
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fourity-quiz
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

fourity-quiz is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* additional theme style */
body {
    background: #20718d;
	background-image: url(img/bg_winter.svg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
}
.site-main {
	position: relative;
	overflow-x: hidden;
}
.logo-holder {
    position: absolute;
    left: 25px;
    top: 25px;
    width: 140px;
	z-index: 2;
}
.post, .page {
    margin: 0;
}
#calendar {
	display: flex;
    flex-direction: column;
    gap: 10px;
	position: relative;
}
.calendar-title-holder {
    width: 100%;
    padding-top: 30px;
    text-align: center;
	height: 186px;
}
@keyframes glow-animation {
    0% {
        filter: drop-shadow(0 0 5px #add8e6)
                drop-shadow(0 0 10px #87ceeb)
                drop-shadow(0 0 20px #4682b4);
    }
    50% {
        filter: drop-shadow(0 0 20px #add8e6)
                drop-shadow(0 0 40px #87ceeb)
                drop-shadow(0 0 60px #4682b4);
    }
    100% {
        filter: drop-shadow(0 0 5px #add8e6)
                drop-shadow(0 0 10px #87ceeb)
                drop-shadow(0 0 20px #4682b4);
    }
}

.new-year-calendar-title {
	max-width: 40vw;
	width: 90%;
    animation: glow-animation 2.5s infinite; /* Trajanje animacije */
}
.calendar-title-holder h1 {
	font-size: 1.2vw;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: -2px;
    margin-bottom: 16px;
    letter-spacing: 20px;
}
.calendar-title-holder.get-smaller .new-year-calendar-title {
	max-width: 32vw;
	width: 90%;
	transition: all 1s ease;
}
.calendar-title-holder.get-smaller h1 {
	font-size: .9vw;
	letter-spacing: 8px;
	transition: all 1s ease;
}
.days-holder {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 10vh 14vw;
	/*
    background-image: url(img/bg-bricks2.jpg);
    background-size: 100% 100%;
    background-position-y: bottom;
	*/
}
.no-bg {
	background: none;
}
.day-box {
	padding: 0px 10px 0px 10px;
    margin-bottom: 20px;
    text-align: center;
    cursor: pointer;
    width: calc(100% / 6);
    position: relative;
}
.day-box[data-date-number="31"] {
	margin-right: auto;
	margin-left: auto;
}

@keyframes glow-animation-yellow {
    0% {
        filter: drop-shadow(0 0 5px #FFEC8B)  /* Bleda zlatna */
                drop-shadow(0 0 10px #FFD700) /* Zlatna */
                drop-shadow(0 0 20px #FFA500); /* Narandžasta */
    }
    50% {
        filter: drop-shadow(0 0 20px #FFEC8B)
                drop-shadow(0 0 40px #FFD700)
                drop-shadow(0 0 60px #FFA500);
    }
    100% {
        filter: drop-shadow(0 0 5px #FFEC8B)
                drop-shadow(0 0 10px #FFD700)
                drop-shadow(0 0 20px #FFA500);
    }
}
@keyframes glow-animation-light-yellow {
    0% {
        filter: drop-shadow(0 0 5px #fffacd)  /* Krem boja */
                drop-shadow(0 0 10px #ffffe0) /* Svetlo žuta */
                drop-shadow(0 0 20px #f0e68c); /* Svetlo zlatna */
    }
    50% {
        filter: drop-shadow(0 0 20px #fffacd)
                drop-shadow(0 0 40px #ffffe0)
                drop-shadow(0 0 60px #f0e68c);
    }
    100% {
        filter: drop-shadow(0 0 5px #fffacd)
                drop-shadow(0 0 10px #ffffe0)
                drop-shadow(0 0 20px #f0e68c);
    }
}

.day-box.today-is-nice-day {
	animation: glow-animation-light-yellow 2.5s infinite;
}
.inner-day-box {
    display: flex;
    flex-direction: column;
    height: 50vh;
}
.above-door {
    display: flex;
	margin-bottom: -5px;
	position: relative;
}
.door-above-img {
	width: 100%;
}
.day-box.disabled {
    cursor: not-allowed;
	filter: grayscale(0.4);
}
.day-box.disabled:after {
	content: '';
	position: absolute;
	top: 64%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	background-image: url(img/lock-icon-white.png);
	background-size: cover;
}
.day-box.active {
    background-color: #007bff;
    color: white;
}
.date-number {
	position: absolute;
    top: calc(50% + 1px);
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
	color: #ffffff;
    background-color: #720310;
	width: 1.2vw;
    height: 1.2vw;
	font-size: .8vw;
}
.day-box[data-date-number="31"] .date-number {
	background-color: transparent;
}
.back-door {
	position:relative;
	width: 90%;
	height: 100%;
	margin: 0 auto;
}
.door {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	transform-origin: left;
	transition: all 0.5s ease-in-out;
	background-image: url(img/doors2.png);
	background-size: 100% 100%;
}
.day-box[data-date-number="31"] .door {
	background-image: url(img/doors31.png);
}
.doorOpen {
	-webkit-transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
    -moz-transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
    -ms-transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
    -o-transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
	transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
}
.enterEffect {
	z-index: 99;
    animation: enterEffect 1.5s ease-out forwards;
	will-change: transform;
}
.preEnterEffect {
    position: absolute;
    top: 58%;
    left: 50%;
	-webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	height: 400px;
    width: 181px;
    z-index: 99;
    box-sizing: border-box;
	display: flex;
    flex-direction: column;
}
.preEnterEffect .door {
	width: 100%;
    height: 100%;
}
.preEnterEffect .back-door {
	background-color: #115269;
}
@keyframes enterEffect {
    0% {
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		-o-transform: scale(1);
        transform: scale(1);
    }
    5% {
		-webkit-transform: scale(1.2);
		-moz-transform: scale(1.2);
		-ms-transform: scale(1.2);
		-o-transform: scale(1.2);
        transform: scale(1.2);
    }
    10% {
		-webkit-transform: scale(1.5);
		-moz-transform: scale(1.5);
		-ms-transform: scale(1.5);
		-o-transform: scale(1.5);
        transform: scale(1.5);
    }
    15% {
		-webkit-transform: scale(1.8);
		-moz-transform: scale(1.8);
		-ms-transform: scale(1.8);
		-o-transform: scale(1.8);
        transform: scale(1.8);
    }
    20% {
		-webkit-transform: scale(2.2);
		-moz-transform: scale(2.2);
		-ms-transform: scale(2.2);
		-o-transform: scale(2.2);
        transform: scale(2.2);
    }
    25% {
		-webkit-transform: scale(2.6);
		-moz-transform: scale(2.6);
		-ms-transform: scale(2.6);
		-o-transform: scale(2.6);
        transform: scale(2.6);
    }
    30% {
		-webkit-transform: scale(3.1);
		-moz-transform: scale(3.1);
		-ms-transform: scale(3.1);
		-o-transform: scale(3.1);
        transform: scale(3.1);
    }
    35% {
		-webkit-transform: scale(3.7);
		-moz-transform: scale(3.7);
		-ms-transform: scale(3.7);
		-o-transform: scale(3.7);
        transform: scale(3.7);
    }
    40% {
		-webkit-transform: scale(4.5);
		-moz-transform: scale(4.5);
		-ms-transform: scale(4.5);
		-o-transform: scale(4.5);
        transform: scale(4.5);
    }
    45% {
		-webkit-transform: scale(5.5);
		-moz-transform: scale(5.5);
		-ms-transform: scale(5.5);
		-o-transform: scale(5.5);
        transform: scale(5.5);
    }
    50% {
		-webkit-transform: scale(6.5);
		-moz-transform: scale(6.5);
		-ms-transform: scale(6.5);
		-o-transform: scale(6.5);
        transform: scale(6.5);
    }
    55% {
		-webkit-transform: scale(7.5);
		-moz-transform: scale(7.5);
		-ms-transform: scale(7.5);
		-o-transform: scale(7.5);
        transform: scale(7.5);
    }
    60% {
		-webkit-transform: scale(8.5);
		-moz-transform: scale(8.5);
		-ms-transform: scale(8.5);
		-o-transform: scale(8.5);
        transform: scale(8.5);
    }
    65% {
		-webkit-transform: scale(10);
		-moz-transform: scale(10);
		-ms-transform: scale(10);
		-o-transform: scale(10);
        transform: scale(10);
    }
    70% {
		-webkit-transform: scale(12);
		-moz-transform: scale(12);
		-ms-transform: scale(12);
		-o-transform: scale(12);
        transform: scale(12);
    }
    75% {
		-webkit-transform: scale(15);
		-moz-transform: scale(15);
		-ms-transform: scale(15);
		-o-transform: scale(15);
        transform: scale(15);
    }
    80% {
		-webkit-transform: scale(18);
		-moz-transform: scale(18);
		-ms-transform: scale(18);
		-o-transform: scale(18);
        transform: scale(18);
    }
    85% {
		-webkit-transform: scale(21);
		-moz-transform: scale(21);
		-ms-transform: scale(21);
		-o-transform: scale(21);
        transform: scale(21);
    }
    90% {
		-webkit-transform: scale(25);
		-moz-transform: scale(25);
		-ms-transform: scale(25);
		-o-transform: scale(25);
        transform: scale(25);
    }
    95% {
		-webkit-transform: scale(28);
		-moz-transform: scale(28);
		-ms-transform: scale(28);
		-o-transform: scale(28);
        transform: scale(28);
    }
    100% {
		-webkit-transform: scale(32);
		-moz-transform: scale(32);
		-ms-transform: scale(32);
		-o-transform: scale(32);
        transform: scale(32);
    }
}
.overflow-hidden {
	overflow: hidden;
}
body.quiz-background {
	/* background-color: #01652f; */
	overflow-y: auto;
    overflow-x: hidden;
	background-position-y: calc(100% - 30px);
}
@media only screen 
  and (min-width: 320px) 
  and (max-width: 924px) 
  and (orientation: landscape) {
    body.quiz-background {
		padding-bottom: 64px;
	}
}

.quizzes {
    padding-top: 30px;
}
.quiz-container {
    min-height: calc(100vh - 216px);
	display: flex;
    flex-direction: column;
	transition: padding-top 1s ease;
}
.add-top-padding {
	padding-top: 5vh;
	transition: padding-top 1s ease;
}
.email-form {
    display: flex;
    flex-direction: column;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.timer {
    padding: 10px 20px;
    color: #8fe0ff;
	opacity: .6;
    font-size: 38px;
    width: 202px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
	font-weight: 900;
	transition: all 1s ease;
}
.timer.change-position {
	position: absolute;
	top: 64px;
	right: 0px;
	transition: all 1s ease;
}
.email-form label {
	font-size: 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}
.email-form input.nickname-input {
	margin-bottom: 10px;
    border-radius: 50px;
    padding: 10px;
	outline: none!important;
}
.email-form button {
	border-radius: 50px;
    padding: 10px;
    height: 46px;
    background-color: #fe4d3b;
	color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.quiz-form {
    display: flex;
    justify-content: center;
	position: relative;
    width: auto;
    max-width: calc(100% - 30px);
    margin-left: auto;
    margin-right: auto;
}
.next-question, .submit-quiz {
	position: absolute;
    bottom: 0px;
    right: 15px;
    width: 330px;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    background-color: #ed5757;
    color: #fff;
    border: none;
}
.main-question-wrapper {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    width: 360px;
	min-height: 358px;
    margin-right: 15px;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 30px;
}
.question-step {
	width: 100%;
	display: flex;
	justify-content: center;
}
.question-image-wrapper {
	text-align: center;
}
.question-text-wrapper {
	display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.question-text {
	text-align: center;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0px;
    margin-top: 0px;
}
.question-image-wrapper img {
	height: 270px;
	border-radius: 30px;
}
.answers-holder {
	display: flex;
    flex-direction: column;
    width: 360px;
    padding: 15px;
    margin-left: 15px;
}
.answers-holder label {
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
	background-color: #fff;
	padding: 12px 20px;
	cursor: pointer;
	font-weight: 600;
	font-size: 18px;
	border-radius: 50px;
	position: relative;
}
.answers-holder label:last-child {
	margin-bottom: 0px;
}
.answers-holder label input {
	opacity: 0;
}
label.wrong-answer:after {
    content: '\2716';
    position: absolute;
    right: -50px;
    background: #ea382f;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1em;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
}
label.correct-answer:after {
    content: '\2714';
    position: absolute;
    right: -50px;
    background: #26bf67;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1em;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
}
.back-to-calendar {
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    background-color: #46b4de;
    color: #fff;
    border: 2px solid #fff;
}
.retry-quiz {
	position: absolute;
    top: 20px;
    right: 222px;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    background-color: #46b4de;
    color: #fff;
    border: 2px solid #fff;
}
button:hover {
	border-color: initial;
}
.leaderboard {
	color: #fff;
	position: absolute;
	right: 20px;
	top: 200px;
	width: 500px;
	background-color: #20718d;
	text-align: center;
	border-radius: 26px;
	border: 4px solid #fff;
	transition: right .6s ease;
	z-index: 3;
}

.inner-leaderboard {
	padding: 0 0 30px 0;
	position: relative;
}
.inner-leaderboard:before {
    content: '';
    background-image: url(img/glow.png);
    width: 150px;
    height: 150px;
    position: absolute;
    top: -130px;
    right: -40px;
    z-index: 99999;
    background-size: cover;
}
.inner-leaderboard:after {
    content: '';
    background-image: url(img/glow.png);
    width: 150px;
    height: 150px;
    position: absolute;
    top: 126px;
    left: -85px;
    z-index: 99999;
    background-size: cover;
}
.leaderboard-table-holder {
	overflow-y: auto;
    height: 400px;
    padding: 0px 40px 0px 40px;
}
.inner-leaderboard table {
	margin: 0px;
}
.leaderboard-title {
    margin: 0 0 10px 0px;
    position: relative;
    padding: 16px 30px 16px 70px;
    transition: left .6s ease;
    cursor: pointer;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    border: 4px solid #fff;
    border-radius: 26px;
    text-transform: uppercase;
    margin-top: -36px;
    background-color: #46b4de;
    height: 72px;
	left: 0px;
	transition: left .6s ease;
}
.leaderboard-title:before {
    content: '';
    position: absolute;
    width: 32px;
    height: 36px;
    background-image: url(img/leaderboard64.png);
    left: 24px;
    background-size: cover;
}
.leaderboard.move-away-leaderboard {
	right: -512px;
	transition: right .6s ease;
}
.leaderboard-title.leaderboard-title-toogle {
	left: -191px;
	transition: left .6s ease;
}
.leaderboard th, .leaderboard td {
    padding: 5px 5px;
}
.leaderboard th {
    border-bottom: 1px solid #fff;
	position: sticky;
    top: 0;
    background-color: #20718d;
}
span.rank {
    display: flex;
    width: 25px;
    height: 25px;
    line-height: 1em;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}
.place-num1 {
	background: radial-gradient(circle, #ffd700 0%, #ffcc33 100%);
    box-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700, 0 0 60px #ffd700;
	color: #a1850b;
	font-weight: 600;
	animation: glow 2s infinite alternate;
}
.place-num2 {
	background: radial-gradient(circle, #c0c0c0 0%, #b5b5b5 100%);
    box-shadow: 0 0 20px #c0c0c0, 0 0 40px #c0c0c0, 0 0 60px #c0c0c0;
	color: #7b7b7b;
	font-weight: 600;
	animation: glow 2s infinite alternate;
}
.place-num3 {
	background: radial-gradient(circle, #cd7f32 0%, #b87333 100%);
    box-shadow: 0 0 20px #cd7f32, 0 0 40px #cd7f32, 0 0 60px #cd7f32;
	color: #7d4005;
	font-weight: 600;
	animation: glow 2s infinite alternate;
}
@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 1);
    }
}
.reward-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 24vh;
    font-size: 25px;
    width: 300px;
    color: #fff;
    text-align: center;
	line-height: 1.2em;
}
.reward-wrapper a {
	color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px;
    display: block;
    text-align: center;
    margin-top: 20px;
    background-color: #78af4e;
	position: relative;
	font-size: 18px;
	border-radius: 50px;
}
.filesize {
    position: absolute;
    font-size: 12px;
    right: 0;
    padding: 0;
    bottom: -24px;
}

/* scrollbar */
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #144c60;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  opacity: .6;
}

/* progress bar */
.progress-bar-container {
    background-color: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    width: 300px;
    margin: 0 auto;
	margin-bottom: 30px;
}
.progress-bar {
    width: 0;
    height: 100%;
    background-color: #4caf50; /* Boja trake */
    border-radius: 5px;
    transition: width 0.3s; /* Glatki prelaz */
}
.question-number {
    width: 100px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}
/* responsive */
@media screen and (max-width: 1550px) {
	.quizzes {
		padding-top: 0px;
	}
	.add-top-padding {
		padding-top: 2vh;
		transition: padding-top 1s ease;
	}
}
@media screen and (max-width: 1480px) {
	.days-holder {
		padding: 60px 15px;
        margin-left: auto;
        margin-right: 0;
		justify-content: center;
	}
	.day-box {
		width: 208px;
	}
	.inner-day-box {
		height: 412px;
	}
	.email-form {
		width: 320px;
	}
	.leaderboard {
		width: 468px;
        right: 50%;
        top: 390px;
        transform: translateX(50%);
	}
	.inner-leaderboard {
		padding: 0 0 20px 0;
	}
	.leaderboard-table-holder {
		overflow-y: auto;
        height: 232px;
        padding: 0px 20px 0px 20px;
        margin-bottom: 0;
	}
	.leaderboard-title {
		padding: 10px 30px 10px 60px;
		font-size: 20px;
		height: 56px;
	}
	.leaderboard-title:before {
		width: 24px;
		height: 28px;
		left: 24px;
	}
	.leaderboard-title.leaderboard-title-toogle {
		left: -456px;
	}
	.date-number {
		width: 22px;
		height: 22px;
		font-size: 16px;
	}
	.calendar-title-holder.get-smaller .new-year-calendar-title {
		max-width: 480px;
		width: 90%;
	}
	.calendar-title-holder.get-smaller h1 {
		font-size: 16px;
	}
}
@media screen and (max-width: 1200px) {
	.retry-quiz {
		right: inherit;
		left: 32px;
		top: 194px;
		width: 160px;
		font-size: 14px;
		padding: 14px 12px;
	}
	.back-to-calendar {
		right: inherit;
		left: 32px;
		top: 135px;
		width: 160px;
		padding: 14px 12px;
		font-size: 14px;
	}
	.calendar-title-holder h1 {
		font-size: 14px;
		letter-spacing: 8px;
	}
	.calendar-title-holder.get-smaller .new-year-calendar-title {
        max-width: 360px;
        width: 90%;
    }
	.calendar-title-holder.get-smaller h1 {
        font-size: 12px;
        letter-spacing: 6px;
    }
	.timer.change-position {
		top: 120px;
		font-size: 24px;
		width: 142px;
	}
}
@media screen and (max-width: 991px) {
	.quiz-form {
		width: 100%;
		max-width: 100%;
	}
	.main-question-wrapper {
		width: calc(100% - 340px);
	}
	.answers-holder {
		width: 340px;
	}
	.next-question, .submit-quiz {
		width: 306px;
		right: 30px;
	}
	.leaderboard {
		top: 36px;
	}
	.leaderboard-start-position {
		width: 468px;
        right: 50%;
        top: 390px;
        transform: translateX(50%);
	}
	.question-image-wrapper img {
		height: auto;
        max-width: 300px;
        max-height: 150px;
	}
	.question-step {
		width: 100%;
		justify-content: space-between;
		padding-left: 15px;
		padding-right: 15px;
	}
	.answers-holder label {
		font-size: 16px;
	}
	.question-text {
		font-size: 18px;
		line-height: 1.4em;
	}
	.reward-wrapper {
		top: 160px;
	}
}
@media screen and (max-width: 768px) {
	.logo-holder {
		left: 15px;
		top: 18px;
		width: 112px;
	}
	.calendar-title-holder {
		position: relative;
		padding-top: 58px;
		height: 130px;
	}
	.new-year-calendar-title {
		max-width: 320px;
	}
	.calendar-title-holder.get-smaller .new-year-calendar-title {
		max-width: 320px;
	}
	.calendar-title-holder h1 {
		font-size: 12px;
        letter-spacing: 4px;
        margin-top: 0;
        position: absolute;
        top: 18px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
		width: 100%;
	}
	.calendar-title-holder.get-smaller h1 {
        font-size: 12px;
        letter-spacing: 4px;
        margin-top: 0;
        position: absolute;
        top: 18px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
		width: 100%;
    }
	.back-to-calendar {
        right: inherit;
        left: 20px;
        top: 143px;
        width: 80px;
        height: 80px;
        padding: 10px;
        font-size: 12px;
        text-align: center;
        line-height: 1.2em;
    }
	.quizzes {
        padding-top: 4px;
    }
	.quiz-container {
		min-height: calc(100vh - 170px);
	}
	.retry-quiz {
		right: inherit;
		left: 20px;
		top: 232px;
		width: 80px;
		height: 80px;
		padding: 10px;
		font-size: 12px;
		text-align: center;
		line-height: 1.2em;
	}
	.quiz-form {
		padding-bottom: 92px;
		padding-top: 30px;
	}
	.timer.change-position {
		top: 90px;
        font-size: 24px;
        width: 142px;
        right: inherit;
        left: 50%;
        transform: translateX(-50%);
    }
	.question-step {
		width: 100%;
		flex-wrap: wrap;
	}
	.add-top-padding {
		padding-top: 0px;
	}
	.main-question-wrapper {
        width: 100%;
        flex-direction: row;
        min-height: unset;
		margin-right: 0;
		justify-content: center;
    }
	.answers-holder {
        width: 100%;
        padding: 15px 0px;
        margin-left: 0;
    }
	.question-image-wrapper {
		text-align: center;
		width: 50%;
	}
	.question-text-wrapper {
		padding-left: 15px;
	}
	.question-text {
		text-align: left;
		margin-bottom: 10px;
	}
	.next-question, .submit-quiz {
        width: calc(100% - 30px);
        right: inherit;
        left: 50%;
        transform: translateX(-50%);
        bottom: 44px;
        top: unset;
    }
	label.correct-answer:after {
		right: 4px;
	}
	label.wrong-answer:after {
		right: 4px;
	}
}
@media only screen 
  and (min-width: 320px) 
  and (max-width: 924px) 
  and (orientation: landscape) {
    .calendar-title-holder.get-smaller h1 {
		position: absolute;
		top: 5px;
		left: 50%;
		transform: translateX(-50%);
    }
}
@media screen and (max-width: 575px) {
	.logo-holder {
        left: 2px;
        top: 6px;
        width: 84px;
    }
	.calendar-title-holder {
        position: relative;
        padding-top: 40px;
        height: 110px;
    }
	.new-year-calendar-title {
        max-width: 230px;
    }
	.days-holder {
        padding: 34px 0px;
    }
	.day-box {
        width: 136px;
    }
	.inner-day-box {
        height: 220px;
    }
	.preEnterEffect {
		height: 320px;
		width: 150px;
		top: 50%;
	}
	.calendar-title-holder.get-smaller h1 {
		letter-spacing: 2px;
		top: 8px;
	}
	.calendar-title-holder.get-smaller .new-year-calendar-title {
        max-width: 220px;
    }
	.back-to-calendar {
		left: unset;
        right: 5px;
        top: 68px;
        width: 66px;
        height: 66px;
        padding: 5px;
        font-size: 10px;
        text-align: center;
        line-height: 1.2em;
        border-radius: 50%;
    }
	.quizzes {
		padding-top: 16px;
	}
	.quiz-container {
        min-height: calc(100vh - 138px);
    }
	.email-form label {
		font-size: 16px;
		text-align: center;
		color: #fff;
		margin-bottom: 6px;
	}
	.leaderboard {
		border: 2px solid #fff; 
		width: calc(100vw - 20px);
		top: 20px;
	}
	.leaderboard-start-position {
        right: 50%;
        top: 332px;
        transform: translateX(50%);
    }
	.leaderboard-table-holder {
        height: 220px;
        padding: 0px 7px 0px 7px;
    }
	.leaderboard-title {
		border: 2px solid #fff; 
	}
	.retry-quiz {
		left: 9px;
        top: 68px;
        width: 66px;
        height: 66px;
        padding: 5px;
        font-size: 10px;
        text-align: center;
        line-height: 1.2em;
	}
	.reward-wrapper {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		top: 148px;
		font-size: 20px;
		width: 300px;
		color: #fff;
		text-align: center;
	}
	.reward-wrapper a {
		font-size: 16px;
		margin-top: 8px;
	}
	.question-image-wrapper img {
        height: auto;
        max-width: 158px;
        max-height: 182px;
    }
	.day-box {
        width: 125px;
		padding: 0px 6px 0px 6px;
    }
	.timer.change-position {
		top: 72px;
	}
	.quiz-form {
		padding-top: 0px;
	}
}
.snowfall-flakes {
	position: fixed!important;
}
.site-footer {
	position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    padding-bottom: 5px;
    padding-top: 5px;
    background-color: #20718d;
    color: #fff;
    font-size: 13px;
	z-index: 2;
}
.site-footer p {
	margin: 0px;
}
.site-footer a, .site-footer a:hover, .site-footer a:visited {
	color: #fff;
	text-decoration: none;
}
/* 404 */
.main-404 {
	height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
	color: #fff;
    text-align: center;
}
.error-404 h2 {
	font-size: 60px;
    font-weight: 900;
    margin: 0;
}
.error-404 h1 {
	margin: 0px;
}
.main-404 .page-header {
	margin-top: -104px;
}

/* countdown */
.comming-soon {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
	text-align: center;
}
.countdown-holder {
	width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    padding-top: 100px;
}
#countdown {
    display: flex;
	color: #fff;
}
.unit-holder {
	position: relative;
	padding-top: 20px;
}
.unit-delimiter {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 50px;
	line-height: 1em;
	font-weight: 900;
}
.unit-name {
	position: absolute;
	top: 0px;
	font-size: 14px;
	display: block;
	text-align: center;
	width: 100%;
}
.single-time-unit {
	font-weight: 900;
	width: 90px;
	display: flex;
	justify-content: center;
	margin-top: -22px;
	font-size: 68px;
}
@media screen and (max-width: 767px) {
	#countdown {
		margin-top: 30px;
	}
	.unit-delimiter {
		font-size: 30px;
	}
	.single-time-unit {
		font-weight: 900;
		width: 60px;
		display: flex;
		justify-content: center;
		margin-top: -12px;
		font-size: 40px;
	}
}