/*!
Theme Name: fhnpapp
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: fhnpapp
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.

fhnpapp 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.
 */

@font-face {
    font-family: Montserrat;
    src: url('fonts/Montserrat.ttf');
    font-display: block;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

:root {
    --site-green: #336e58;
    --site-green-important: #88c18a;
    --site-green-light: #f4f7ee;
    --site-green-secondary: #d1dea9;
    --site-green-secondary-darker: #7c9b58;

    --site-orange: #d98018;
    --site-grey: #739088;

}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
    background-color: var(--site-green-light);
}

/**
 * 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;
}

body .site-main a {
    color: var(--site-green);
    font-weight: 600;
    text-decoration: none;
}

body .site-main a:hover {
    color: #44614a;
}

/**
 * 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: Montserrat, 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;
}

h1, h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--site-green);
    font-weight: 700;
    margin-block-start: 0;
    margin-block-end: 1rem;
    line-height: 1.2;
}

p {
    font-weight: 500;
    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 {
    min-height: 100dvh;
}

/*
body::before {
    content: "";
    position: fixed;
    z-index: -99;
    height: 120%;
    width: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(0deg, rgba(49, 124, 63, 0.6) 0%, rgba(255, 255, 255, 0.6) 96.1%);
    background-size: cover;
    background-repeat: no-repeat;
}
*/
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

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 {

}
.site {
   min-height: 100dvh;
}
.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}
.entry-header {
    margin-top: 30px;
}

.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;
}

/* breadcrumbs */
.breadcrumbs-wrapper {
    display: block;
    margin-bottom: 2px;
}

.breadcrumbs-wrapper * {
    text-decoration: none;
    color: #000 !important;
    font-weight: 500;
}

.breadcrumbs-wrapper a:hover {
    text-decoration: underline;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* badge css */
.badge__mini-qr {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
}

.responsive__container {
    display: grid;
    grid-gap: 0.75rem;
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1200px) {
    .responsive__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .responsive__container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.badge {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    /* aspect-ratio: 1; */
    flex-direction: row;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    border-radius: 6px;
    background-color: #FFFFFF;
    transition: all 200ms ease-out;
    outline: 2px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.badge:hover {
    /* outline: 2px solid var(--site-green); */
}

.badge__content {
    padding: 0.5rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.badge__content > * {
    font-size: 0.875rem;
}

.badge__button:hover {
    transform: translateY(-1px);
}

.badge__image-wrapper {
    position: relative;
}

.badge__image {
    display: block;
    width: 110px;
    min-width: 110px;;
    height: 110px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.badge__image-wrapper::after {
    content: "";
    position: absolute;
    background-image: url("img/fhnp-pin-normal.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    top: 4px;
    right: -1rem;
}

.badge--not-collected .badge__image-wrapper::after {
    background-image: url("img/map-icon-white.svg");
}

/*
.badge__background {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}
*/
.badge.badge--not-collected {
    filter: grayscale(0.8);
}

.badge.badge--not-collected .badge__title {

}

.badge.badge--not-collected .badge__background {
    filter: blur(4px);
}

.badge__title {
    line-height: 1.1;
    margin: 0;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge__collection-time, .badge__not-collected-text {
    font-size: 0.875rem;
    margin-top: 4px;
    color: var(--site-grey);
}


/* register */
.register-form__wrapper, .login-form__wrapper {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.qr-found__container .player-progress__info {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.qr-found__container .player-progress__summary {
    text-align: center;
}

/* player progress bar */
.player-progress__summary * {
    font-weight: 500;
    font-size: 0.875rem;
}

.player-progress__text {
    margin-top: 3px;
    font-size: 0.875rem;
}

.player-progress__summary {
    margin-bottom: 6px;
    cursor: pointer;
}

.player-progress__summary span {
    color: var(--site-green);
}

.player-progress__info {
    display: flex;
    flex-direction: column;
}

.player-progress-container {
    height: 8px;
    width: 100%;
    border: 1px solid var(--site-green);
    background-color: #EAEAEA;
    border-radius: 6px;
    position: relative;
}

.player-progress-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    display: flex;
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.player-progress-indicator span:not(:last-of-type) {
    border-right: 1px solid var(--site-grey);
}

.player-progress-indicator {
    padding: 0px 0;
}

.player-progress-indicator > span {
    flex: 1;
    position: relative;
}

.player-progress-bar {
    border-radius: 5px;
    height: 100%;
    position: relative;
}

.player-progress-bar__inside {
    width: 0;
    height: 100%;
    animation: expand 2s forwards;
    background-color: var(--site-green);
    border-radius: 5px;
}

.reachable-milestone {
    position: relative;
    left: 50%;
}

.reachable-milestone:hover {
    background: #EAEAEA !important;
}

.reachable-milestone__info {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    display: none;
    padding: 3px 6px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

/* modal */
.modal__title {
    font-size: 1.6rem !important;
}

.modal__container {
    background-image: url("img/modal-background-design.png");
    background-position: left bottom;
    background-size: 300px 300px;
    background-repeat: no-repeat;
}

#modal-1-content > div {
    margin-bottom: 6px;
}

.modal__footer {
    display: flex;
    justify-content: center;
}

.has-milestone {
    cursor: pointer;
}

.reachable-milestone {
    /* background-color: #cfff0054; */
    margin: 0;
    z-index: 1;
    height: 16px;
    width: 16px;
    display: block;
    position: absolute;
    border: 1px solid var(--site-green);
    border-radius: 50%;
    left: 100%;
    top: -5px;
    transform: translateX(-50%);
    background-color: white;


    /*  background-image: url("img/milestone-icon.svg"); */
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}

.milestone--completed {
    /*  background: linear-gradient(to right, var(--site-green) 50%, white 50%);
      background-size: 200% 100%;
      background-position: 100% 0; */
}

.reachable-milestone:hover .reachable-milestone__info {
    display: block;
}

/* custom css for site */

.site {

    display: flex;
    flex-direction: column;
}

.site-main, .site-header, .site-footer__inside, .site-top-bar, .header__top, .header__bottom {
    max-width: 2000px;
    width: 100%;
    margin: 0 auto;
}
.site-logo-anchor {
    max-width: 40%;
}
.header__top a {

}
.header__top .site-logo {

}
.site-main--fp {
    /*max-width: 1920px;
    padding: 0 !important; */
}

.site-header {
    padding: 0;
    max-width: 100%;
}

.site-main {

}

/* front page */

.front-page__section {
    border-radius: 3px;
    padding: 1rem;
    min-height: 200px;
}

.front-page__banner {

}

.front-page__banner .site-section__inner {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 40% 60%;
    position: relative;
    align-items: center;
}

.front-page__section.front-page__banner {
    padding: 0;
}

.overlay-decoration {
    position: absolute;
    height: 160px;
    width: 300%;
    background: url("img/bottom_decoration_element.png");
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: contain;
    transition: transform 0.1s linear; /* smooth motion */
}

.banner__content {
    text-align: end;
    padding-right: 50px;
    padding-bottom: 5%;
}

.site-main--fp h1, .site-main--fp h2 {
    font-size: 2.5rem;
}

.banner__content p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.banner-buttons__container {
    justify-content: flex-end;
    display: flex;
    gap: 1rem;
}

/* qr found page */
.site-main.page-qr-main {
    border-radius: 0;
    border: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    /*   background: linear-gradient(0deg, rgba(49, 124, 63, 1) 0%, rgba(255, 255, 255, 1) 100%);
       background-size: cover;
       background-repeat: no-repeat; */
    padding-top: 120px;
}

.page-qr-language-selector {
    position: absolute;
    right: 10px;
    left: 10px;
    top: 10px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
}

.qtranxs_widget img {
    width: 40px;
}

.qtranxs_widget ul {
    padding-inline-start: 0;
}

@supports (min-height: 100dvh) {
    .site-main.page-qr-main {
        min-height: 100dvh;
    }
}

.qr-found__container {
    margin-top: 60px;
    position: relative;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.qr-found__inside {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    margin-top: -80px;
}

.qr-found__animation-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.qr-found__animation-wrapper .lottie-container {
    width: 100px;
    margin-top: -120px;
    background-color: #ffffffd4;
    border-radius: 14px;
}

.qr-found__image {
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
    min-width: 210px;
    width: 30%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin-bottom: 20px;
}

.qr-found__container h2 {
    margin-block-start: 0;
    margin-block-end: 0;
    text-align: center;
}

@supports (aspect-ratio: 1 / 1) {
    .qr-found__image {
        aspect-ratio: 1 / 1;
    }
}


.site-top-bar {
    margin-top: 1rem;
    padding: 1rem;
}

.site-footer {
    position: relative;
    min-height: 300px;
    background-color: var(--site-green);
    margin-top: 180px;
}

.site-footer .project-info {
    background-color: var(--site-green-secondary);
    min-height: 200px;
    color: var(--site-green);
    padding-top: 40px;
}

.site-footer .project-info__logos {
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

}

.project-info__logos img {
    display: block;
    height: 100px;
}

.site-footer .project-info__content {
    width: 90%;
}

.site-footer .project-info {

}

.site-footer__bottom {
    padding-top: 80px;
    padding-bottom: 80px;
    color: #fff;
    display: flex;
    gap: 50px;
}

.site-footer__menu {
    display: flex;
    flex-direction: column;
}

.site-footer__menu a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
}

.site-footer__information {
    margin-left: auto;
    max-width: 600px;
    text-align: end;
}

.site-main {
    flex: 1;
}

.site-header, .site-footer {

}

.header__bottom-wrapper {

}

.header__top-wrapper {
    background-color: #FFFFFF;
}

.site-header .header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;

}

/* places */
.place-card {
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.place-card__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.place-card__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.place-card__title {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    margin-bottom: 1rem;
    margin-left: auto;
    padding: 1rem 2rem;
    width: 95%;
    min-width: 340px;
    background-color: #ffffff9e;
    color: #000;
    transition: all 200ms ease-in-out;
    position: relative;
    right: -1rem;
    font-size: 1.2rem;
}

.place-card:hover .place-card__title {
    background-color: #ffffff;
    right: 0;
}

.map-button__wrapper {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.map-button__info {
    position: absolute;
    right: 100%;
    min-width: 12rem;
    top: 6px;
    background: #ffffff9e;
    border-radius: 2px;
    padding: 0.4rem 0.8rem;
    color: #000;
    display: none;

}

.map-button__wrapper:hover .map-button__info {
    display: block;
}

.map-layer-controls-button {
    display: none;
    position: absolute;
    background-color: var(--site-green);
    background-image: url("img/zoom-out.svg");
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 9999;
    bottom: 18px;
    left: 10px;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-self: flex-start;
    font-weight: 700;
}

.zoomed-in .map-layer-controls-button {
    display: block;
}

.map-to-places-button {
    position: sticky;
    z-index: 9999;
    border-radius: 6px;
    bottom: 10px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    font-weight: 700;
}


/* Navigation */
.menu {
    list-style-type: none;
    padding-inline-start: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.main-navigation .menu {
    display: flex;
    justify-content: flex-end;
}

.main-navigation .menu .menu-item {
    margin-left: 1rem;
}

.main-navigation .menu .menu-item a {
    padding: 0.5rem 1rem;
    color: var(--site-green);
    text-transform: uppercase;
    font-weight: 700;
}

.main-navigation {

}

.site-icon {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    background-color: var(--site-green);
    padding: 12px;
}
.single-collectible .site-main  {
    margin-top: 1rem;
}
.single-collectible-picture__button {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background-color: var(--site-green);
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    opacity: 0.8;
    transition: opacity 200ms ease-in;
}

.single-collectible-picture__button:hover {
    opacity: 1;
}

.single-collectible-picture__button img {
    width: 18px;
    height: 18px;

}

/* bottom nav */
.player-navigation {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    margin-top: 0.5rem;
}

.player-navigation__mobile {
    flex-direction: column;
}

.player-navigation__header {

}

.player-navigation__header > div {
    display: flex;
    align-items: center;
}

.player-navigation .menu {
    display: flex;
}

.player-navigation__header .menu-item {
    margin-right: 1rem;
}

.player-navigation__header .menu-item a, .player-navigation__header a.logout-button {
    color: #000;
    font-weight: 500;
    display: block;
}

.player-navigation__header .menu-item.current-menu-item a {
    background-color: var(--site-green-secondary-darker);
    color: #fff;
}

.player-navigation .menu-item a, a.logout-button {
    text-decoration: none;

}

.player-navigation__header .menu-item a, a.logout-button {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    background-color: #fff;
}

.player-navigation .menu-item a:hover, a.logout-button:hover {
    text-decoration: underline;
}

.logout-button {

}

/* single page with aside */
.has-aside {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

aside h3 {
    color: var(--site-green);
}

.has-aside h1 {
    width: 100%;
}

section {

}

.has-aside section {
    border-radius: 6px;
    padding-bottom: 1rem;
    padding-right: 1rem;
    flex-basis: 0;
    flex-grow: 3;
    overflow: hidden; /* swiper fix */
}

.has-aside aside {
    border-radius: 6px;
    padding: 1rem;
    flex-basis: 0;
    flex-grow: 1;
    min-width: 320px;
    background: #ffffff9e;
}

@media screen and (max-width: 900px) {
    .has-aside section {
        min-width: 100%;
        padding-right: 0;
    }
}


/* CSS */
.button-37 {
    background-color: #13aa52;
    border: 1px solid #13aa52;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    outline: none;
    outline: 0;
    padding: 20px 60px;
    text-align: center;
    transform: translateY(0);
    transition: transform 150ms, box-shadow 150ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    animation: wiggle 2s infinite;
}

.wiggle {
    animation: wiggle 2s infinite;
}

.button-37:hover {
    box-shadow: rgba(0, 0, 0, .15) 0 3px 9px 0;
    transform: translateY(-2px);
}

/* CSS */
.button-83 {
    appearance: button;
    background-color: transparent;
    background-image: linear-gradient(to bottom, #fff, #f8eedb);
    border: 0 solid #e5e7eb;
    border-radius: .5rem;
    box-sizing: border-box;
    color: #482307;
    column-gap: 1rem;
    cursor: pointer;
    display: flex;
    font-size: 100%;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    outline: 2px solid transparent;
    padding: 0.4rem 1.2rem;
    text-align: center;
    text-transform: none;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    box-shadow: -6px 8px 10px rgba(81, 41, 10, 0.1), 0px 2px 2px rgba(81, 41, 10, 0.2);
    animation: wiggle 2s infinite;
}

.button-83:active {
    background-color: #f3f4f6;
    box-shadow: -1px 2px 5px rgba(81, 41, 10, 0.15), 0px 1px 1px rgba(81, 41, 10, 0.15);
    transform: translateY(0.125rem);
}

.button-83:focus {
    box-shadow: rgba(72, 35, 7, .46) 0 0 0 4px, -6px 8px 10px rgba(81, 41, 10, 0.1), 0px 2px 2px rgba(81, 41, 10, 0.2);
}

@keyframes fill {
    0% {
        /*  background-position: 100% 0; */
        background-color: transparent;

    }
    100% {
        /*  background-position: 0 0; */
        background-color: var(--site-green);
    }
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }
    60% {
        transform: rotate(0deg);
    }
    70% {
        transform: rotate(3deg);
    }
    80% {
        transform: rotate(-3deg);
    }
    85% {
        transform: rotate(3deg);
    }
    95% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* collectible page content */

/* question */

.question-section {
    display: none;
    margin-top: 20px;
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #ababab;
    border-radius: 14px;
}

.question-section.active {
    display: block;
}

.question-container {
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.question-section * {
    margin: 0;
}

.question-answer {
    border-radius: 6px;
    padding: 12px 12px;
    border: 1px solid #ababab;
    font-weight: 600;
    cursor: pointer;
}

.correct {
    background-color: lightgreen;
}

.incorrect {
    background-color: #ff4d4d;
}

.shake-correct {
    animation: shake 0.5s ease-in-out;
}

.shake-incorrect {
    animation: shake-wrong 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
}

@keyframes shake-wrong {
    0%, 100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-10px);
    }
    40% {
        transform: translateX(10px);
    }
    60% {
        transform: translateX(-10px);
    }
    80% {
        transform: translateX(10px);
    }
}
.front-page__section {
    overflow: hidden;
}
.site-section__inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

.site-section__inner--small {
    max-width: 900px;
}

.single-collectible__banner {
    height: 400px;
    padding-top: 2rem;
    position: relative;
}

.single-collectible__banner-label {
    padding: 0.5rem 1rem;
    background-color: #ffffffc9;
    display: inline-block;
    min-width: 310px;
    max-width: 95%;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.single-collectible__banner-label h1 {
    margin-bottom: 0;
}

.single-collectible__banner-image {
    position: absolute;
    object-fit: cover;
    object-position: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.single-collectible__banner-image {
    border-radius: 14px;
}

/* fp about  */
.about__content {
    color: var(--site-green);
    text-align: center;
    margin-top: 50px;

}

/* fp register */
.front-page__register {
    background-color: #fff;
    padding-top: 80px;
    padding-bottom: 300px;
    margin-bottom: -120px;
}

.register__content {
    text-align: center;
}

/* fp information */
.front-page__information, .front-page__about, .front-page__register {
}

.front-page__information {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--site-green-secondary);
    color: var(--site-green);
}

.front-page__information img {
    width: 100%;
}

.front-page__information .site-section__inner {
    display: grid;
    gap: 20px;
    grid-template-columns: 6fr 4fr;
}

.information__content p {
    margin-bottom: 0;
}

.information__content h2 {
    margin-top: 0;
}

.information__content {
    width: 100%;
    max-width: 600px;
}


.collectible-location-pin {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000 !important;
    margin: 40px 0;
}

.collectible-location-pin img {
    z-index: 1;
}

.collectible-location-pin span {
    margin-left: -18px;
    font-weight: 600;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    background-color: var(--site-green);
    color: #FFFFFF;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    transition: margin-left 200ms ease-in-out;
}

.collectible-location-pin:hover span {
    margin-left: -10px;
}

.page-collectible__content {
    position: relative;
    margin-bottom: 50px;
}

.page-collectible__content.hide-full-content .page-collectible__excerpt {
    margin-bottom: 20px;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 0%, transparent 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 0%, transparent 90%, transparent 100%);
}


.page-collectible__content .show-full-content__modal {
    border-radius: 6px;
    position: absolute;
    padding: 0.5rem 1rem;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    text-align: center;
    min-width: 300px;
    max-width: 400px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.collectible-info-modal {
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 0.5rem;
    padding-right: 1.5rem;
    border-radius: 6px;
}

.info--warning {
    border-left: 4px solid #FF9800;
    padding-left: 1rem;
}

.collectible-info-modal {
    display: flex;
    align-items: center;
}

.collectible-info-modal span {
    font-size: 0.8rem;
    color: #515151;
}
.collectible-info-modal h2 {
    border-bottom: 1px solid #bcbcbc;
}
.collectible-info-modal h2, .page-collectible__more h2 {
    margin-block-start: 0;
    font-size: 0.8rem;
    line-height: 1.2;

    padding-bottom: 0.4rem;
}

.question {
    font-size: 1rem;
}
.page-collectible__more h2 {
    font-size: 1rem;
}
.collectible-info-modal__content a {
    font-size: 0.8rem;
}
.collectible-info-modal.info--warning p {
    font-size: 0.8rem;
}

.collectible-info-modal__image {
    width: 60px;
    height: 60px;
}

.collectible-info-modal__content {
    margin-left: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.my-collection__top {
    margin-bottom: 0.75rem;
    margin-top: 30px;
}

/* cert */

.download-cert__button.disabled {
    opacity: 0.5;
    cursor: help;
}

#download-message {
    opacity: 1;
    transition: opacity 0.8s ease;
    padding: 8px;
    background: #ffe6e6;
    color: #b30000;
    border: 1px solid #ffb3b3;
    border-radius: 5px;
    margin-top: 8px;
    font-size: 14px;
}

#download-message.fade-out {
    opacity: 0;
}

@media screen and (min-width: 800px) {
    .my-collection__top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 2rem;

    }

    .cert-container {
        max-width: 400px !important;
    }
}

.cert__form {
    display: flex;
    justify-content: flex-end;
    padding-right: 0.5rem;
}

.cert__left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.cert__download-title {
    font-size: 0.75rem;
}

.cert__language-selector {
    border: none;
    outline: none;
    padding: 0.5rem 1rem 0.5rem 1rem;
    line-height: 1.2;
}

.cert__language-selector:focus {
    border: none;
    outline: none;
}

.place-card__map-button {
    background-image: url("img/map-icon-white.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transform-origin: center;
}

.place-card--collected {
    order: -1;
}

.place-card--collected .place-card__map-button {
    background-image: url("img/map-icon.svg");
}

.place-card__map-button:hover {
    transform: scale(1.05);
}

.download-cert__button {
    background-image: url("img/download-cert.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
    margin-left: 0.5rem;
    /* transform: translateY(30px);
    margin-top: -25px; */
}

.download-cert__button:hover {
    cursor: pointer;
}

.download-cert__button.disabled {
    /* background-image: url("img/milestone-icon.svg"); */
    opacity: 0.5;
}

.cert-container {
    position: relative;
    padding: 0.5rem;
    margin-bottom: 1.75rem;
    max-width: 100%;
    width: 100%;
    border-radius: 14px;
    border: 2px solid var(--site-grey);
    background-color: #FFFFFF;
}

.cert__info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2px;
}

.cert__info.cert-none {
    margin-left: 0;
}

.cert__image {
    min-width: 90px;
    width: 90px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    animation: wiggle 2s infinite;
}

.cert__content {
    margin-left: 1rem;
    margin-top: 10px;
}

.cert-none .cert__content {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 12px;
}

.cert__content > * {

    line-height: 1.2;
}

.cert__content span {
    font-size: 0.875rem;
    font-weight: 400;
    display: block;
    margin-top: 6px;
    color: var(--site-grey);
}

.cert__content h2 {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    margin: 0;
}

/* forminator like design for own inputs */

/* forminator redesign */
.forminator-button-submit {

}

/* forminator redesign end */
.edit-profile-form {
    max-width: 500px;
    width: 100%;
    padding: 1rem 0;
}

.site-button, .badge__button, .forminator-button-submit {
    border-radius: 50px !important;
    background-color: var(--site-green) !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    padding: 0.3rem 1.2rem;
    cursor: pointer;
    border: none !important;
    text-align: center;
}
.forminator-button-submit {
    padding: 0.3rem 1.2rem !important;
}
.site-button--main {
    background-color: var(--site-orange) !important;
    color: #fff !important;
}

.site-button--secondary {
    background-color: transparent !important;
    color: var(--site-green) !important;
    border: 2px solid var(--site-green) !important;
}

.site-button.site-button--big, .forminator-button-submit {
    padding: 0.8rem 2rem;
    font-weight: 700;
}

a.simple-link {
    text-decoration: underline !important;
    color: var(--site-green);
    font-size: 0.75rem;
}

.forminator-checkbox-box {
    color: var(--site-green) !important;
}

.forminator-description a {
    color: var(--site-green) !important;
    font-weight: 600;
}

label {
    color: var(--site-green) !important;
}

.edit-profile-form button, .enter-code-form button, .site-button, .problem-form__container input[type="submit"] {
    padding: 0.5rem 1rem;
}

.wpcf7-form p {

}

aside p {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

aside h3 {
    margin-bottom: 0.125rem;
}

.enter-code-form {
    margin-bottom: 40px;
}

.edit-profile-form p, .enter-code-form p {
    display: flex;
    flex-direction: column;
}

.edit-profile-form label, .enter-code-form label {
    font-weight: 600;
}

.edit-profile-form input, .enter-code-form input, .problem-form__container input, .problem-form__container textarea {
    padding: 10px;
}

.wpcf7-form p:last-of-type {
    display: flex;
}

.wpcf7-form p:last-of-type input {
    width: revert;
}

.problem-form__container {

    padding: 1rem 1rem;
    border-radius: 12px;
    background-color: #fff;

    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;

}

/* mobile nav */
body.menu-open {
    height: 100vh;
    overflow-y: hidden;
}

.mobile-nav-overlay {
    top: 0;
    right: 0;
    z-index: 9999;
    position: fixed;
    width: 0;
    height: 100%;
    background: linear-gradient(0deg, rgba(49, 124, 63, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: width 500ms ease-in-out, opacity 500ms ease-in-out;
    opacity: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.menu-open .mobile-nav-overlay {
    width: 100%;
    opacity: 1;
    transition: width 500ms ease-in-out, opacity 500ms ease-in-out;
}

.mobile-scroll-container {
    padding: 1rem;
    overflow: auto;
    width: 100%;
    max-height: 470px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-navigation__mobile {
    margin-top: auto;
}

.mobile-navigation a, .player-navigation__mobile a {
    padding: 0.5rem 1.5rem;
    background-color: var(--site-green);
    border-radius: 50px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 600;
    display: block;
    min-width: 240px;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #FFFFFF;
}

.mobile-navigation a:hover {
    text-decoration: underline;
}

.mobile-navigation .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-logo__mobile-nav {
    margin-bottom: 20px;
}

.mobile-nav-overlay > * {
    opacity: 0;
    transition: opacity 300ms ease-in;
}

.menu-open .mobile-nav-overlay > * {
    opacity: 1;
    transition: opacity 300ms ease-in 500ms;
}

.mobile-nav-overlay #menu-close-button {
    opacity: 0;
    transition: opacity 300ms ease-in;
}

.menu-open .mobile-nav-overlay #menu-close-button {
    opacity: 1;
    transition: opacity 300ms ease-in 500ms;
}

.mobile-navigation li {
    margin-bottom: 10px;
}

.mobile-navigation #primary-menu {
    padding: 0;
    font-size: 1rem;
}

#hamburger-button.is-active {
    position: fixed;
    z-index: 99999;
    top: 20px;
    right: 20px;
    animation: showButtonAnimation;
    animation-duration: 1s;
}

.header__top .hamburger {
    margin-top: 6px; /* vertical fix. */
    padding-right: 0;
}

/* mobile nav end */

/* lang selector */

select {
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6bm9uZX0uY2xzLTJ7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXJyb3dzPC90aXRsZT48cmVjdCBjbGFzcz0iY2xzLTEiIHdpZHRoPSI0Ljk1IiBoZWlnaHQ9IjEwIi8+PHBvbHlnb24gY2xhc3M9ImNscy0yIiBwb2ludHM9IjEuNDEgNC42NyAyLjQ4IDMuMTggMy41NCA0LjY3IDEuNDEgNC42NyIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIzLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zMyAzLjU0IDUuMzMiLz48L3N2Zz4=) no-repeat 95% 50%;
    background-position: right 15px center;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    /* and then whatever styles you want*/
    border: 1px solid #ccc;
    background-color: white;

    padding: 0.5rem 1.5rem 0.5rem 1rem;
    border-radius: 6px;
}
.cert-container select {
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6bm9uZX0uY2xzLTJ7ZmlsbDojN2M5YjU4O308L3N0eWxlPjwvZGVmcz48dGl0bGU+YXJyb3dzPC90aXRsZT48cmVjdCBjbGFzcz0iY2xzLTEiIHdpZHRoPSI0Ljk1IiBoZWlnaHQ9IjEwIi8+PHBvbHlnb24gY2xhc3M9ImNscy0yIiBwb2ludHM9IjEuNDEgNC42NyAyLjQ4IDMuMTggMy41NCA0LjY3IDEuNDEgNC42NyIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIzLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zMyAzLjU0IDUuMzMiLz48L3N2Zz4=) no-repeat 95% 50%;
}
.menu-language {
    display: flex;
    align-items: center;
    margin-left: 1%;
}

.language-chooser {
    padding-inline-start: 0;
    display: flex;
}

/*
.language-chooser .active {
    display: none;
}
*/
.language-selector-wrapper select {
    border: none;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    color: #fff;
    padding: 0.2rem 2.5rem 0.2rem 1.5rem;
    border-radius: 2rem;
    background-color: var(--site-green-secondary-darker);
}

.language-selector-wrapper select option {
    color: #fff;
    font-weight: 600;
}

.language-selector-wrapper select:focus {

    outline-color: #00AAEE;
}

.language-chooser a {
    font-weight: 600;
    color: black;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.menu-language li {
    padding: 0.5rem;
}


/* lang selector end */
/* hibabejelentő */
.wpcf7 input {
    width: 100%;
}


@media screen and (max-width: 1200px) {
    h1 {
        font-size: 1.25rem;
    }

    .main-navigation {
        display: none;
    }

    .player-navigation__header {
        display: none;
    }

    .menu-language {
        margin-left: auto;
    }
}

@media screen and (min-width: 1201px) {
    .header__top .hamburger {
        display: none;
    }
}


/* leaflet */

.leaflet-popup-content-wrapper {
    background-image: url(img/map-info-overlay-bg.svg) !important;
    background-size: cover !important;
    background-position: bottom center !important;
}

.leaflet-container {
    font-family: Montserrat !important;
    border-radius: 14px;
}

.map-custom-tooltip {
    padding: 0 2rem;
}

.leaflet-container .map-custom-tooltip a {
    border-radius: 50px;
    border: 1px solid var(--site-green);
    text-transform: uppercase;
    background-color: #FFFFFF;
    padding: 0.2rem 0.8rem;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    color: #000;
}

.map-custom-tooltip > * {
    text-align: center;
}

.map-custom-tooltip {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* swiper */

.swiper-slide {
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.swiper-slide .place-card__title {
    font-size: 1.125rem;
    min-width: 300px;
    line-height: 1.2;
}

.swiper__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-swiper-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    padding-left: 45px;
    padding-right: 45px;
}

@media screen and (max-width: 749px) {
    .main-swiper-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}

.swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%234c71ae'%2F%3E%3C%2Fsvg%3E") !important;
}

.swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%234c71ae'%2F%3E%3C%2Fsvg%3E") !important;
}

.swiper-button-next::after, .swiper-button-prev::after {
    content: "";
}

/* 404 */
.error-404 {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wrapper-404 {
    padding: 2rem 4rem;
    background-color: #FFFFFF;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;

}

.wrapper-404 h1 {
    text-align: center;
}

/* accordion */

.ea-header a {
    background-color: var(--site-green-important);
    color: #fff !important;
}

.ea-expand-icon::before {
    color: #fff;
}

.ea-card {
    border-radius: 20px !important;
    overflow: hidden;
    border: 1px solid var(--site-green-important) !important;
}

/* fp gameplay */

.front-page__gameplay h2 {
    text-align: center;
    margin: 40px 0 60px;
}

.gameplay__arrow {
    height: 140px;
    position: relative;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.gameplay__arrow img {
    margin-top: -60px;
    filter: brightness(0.8);
}

.gameplay__arrow--left img {

}


.gameplay__arrow--right img {
    grid-column: 5 / span 1;
}

.gameplay__arrow--left {

}

.gameplay__block {
    min-height: 200px;
    position: relative;
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    background-color: var(--site-green-important);
    grid-column: span 3;
}

.gameplay__block--left {
    padding-right: 30%;
}

.gameplay__number {
    transform: translate(-30px, -20px);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border: 3px solid var(--site-green);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    padding-left: 6px;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 500;
    color: var(--site-green);
    display: none;
}

.gameplay__block h3 {
    margin: 0;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.gameplay__row img {
    width: auto;
    height: 200px;
    object-fit: contain;
    align-self: center;
    position: relative;

    grid-column: span 2;
    z-index: 1;
}

.gameplay__row--right img {
    /*grid-column: 2 / 3; */
    margin-left: auto;
    margin-right: 30px;
}

.gameplay__row--left img {
    /*grid-column: 2 / 3; */
    margin-left: -30%;
}

.gameplay__wrapper {
    display: grid;
    grid-template-columns: 1fr;
}

.gameplay__row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

@media screen and (max-width: 900px) {
    .gameplay__block::before {
        content: "";
        position: absolute;
        height: 4px;
        width: 1rem;
        top: 50%;
        background-color: var(--site-green);
        transform: translateY(-2px);
        right: 100%;
    }

    .gameplay__block::after {
        content: "";
        position: absolute;
        height: 12px;
        width: 12px;
        border-radius: 6px;
        top: 50%;
        background-color: var(--site-green);
        transform: translate(-6px, -6px);
        left: 0;

    }

    .gameplay__block--left {
        padding-right: 2rem;
    }

    .timeline-mobile__container {
        border-left: 4px solid var(--site-green);
    }

    .gameplay__row img {
        margin: 0 !important;
        margin-top: 20px !important;
        justify-self: center;
    }

    .gameplay__row {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }

    .gameplay__row > img {
        order: 1;
    }

    .gameplay__arrow {
        display: none;
    }

    .front-page__information, .front-page__about, .front-page__register {

    }

    .gameplay__wrapper {
        padding: 0;
    }
}

@media screen and (max-width: 1000px) {
    .front-page__banner .site-section__inner {
        grid-template-columns: 1fr;
    }

    .banner__content {
        order: -1;
        padding: 4rem 2rem 1rem;
        text-align: center;
    }

    .banner-buttons__container {
        justify-content: center;
    }

    .front-page__section.front-page__banner img {
        max-width: 600px;
        justify-self: center;
    }
}

@media screen and (max-width: 650px) {
    .language-selector-wrapper select {
        font-size: 1rem;
        padding: 0.2rem 2rem 0.2rem 1rem;
    }
    .banner__content {
        text-align: start;
    }

    .banner-buttons__container {
        justify-content: flex-start;
    }

    .site-main--fp h1, .site-main--fp h2 {
        font-size: 2rem;
    }

    .site-button.site-button--big, .forminator-button-submit {
        padding: 0.4rem 1rem;
    }

    .front-page__information .site-section__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .front-page__information {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .front-page__information img {
        justify-self: center;
    }

    .banner__content br {
        display: none;
    }

    .about__content {
        text-align: start;
    }

    .site-footer__bottom {
        flex-wrap: wrap;
        gap: 20px;
    }
    .site-footer__information {
        text-align: start;
    }
}

/* teszt */

svg a:hover path {
    opacity: 0.5;
    filter: brightness(5);
    cursor: pointer;
    fill-opacity: 1 !important;
}

.fact-section img {
    position: absolute;
    width: 80px;
    display: none;
}

.fact-section .fact__img_1 {
    right: 0;
    bottom: 0;
}

.fact__img_2 {
    right: 0;
    top: 0;
}

.fact__img_3 {
    left: 0;
    bottom: 0;
}

.fact__img_4 {
    left: 0;
    top: 0;
}


.page-collectible__fact h2 {
    margin-top: 0;
}

.page-collectible__more {
    margin-top: 40px;
    align-items: start;
    padding-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}

.quiz-section, .more--toggle {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.quiz-section {
    grid-column: 1 / 3;
}

.more--toggle {

}

.more--toggle.more--toggle--span {
    grid-column: span 2;
}

.more--toggle .inner-content {
    display: none;
    padding: 2rem;
    text-align: center;
}

.more--toggle.open .inner-content {
    display: revert;
}

.more--toggle h2 {
    text-align: center;
    margin: 0;
    position: relative;
    padding: 2rem;
    cursor: pointer;
}

.quiz-section {
    padding: 2rem;
}

.quiz-section h2 {
    text-align: center;
}

.more--toggle h2::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    height: 100%;
    width: 40px;
    background-size: contain;
    background-position: center;
    background-image: url("img/paws_small.png");
    background-repeat: no-repeat;
}

.more--toggle h2::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 0;
    height: 100%;
    width: 40px;
    background-size: contain;
    background-position: center;
    background-image: url("img/touch-icon-green.svg");
    background-repeat: no-repeat;
}

/* collectible gallery */

.custom-gallery-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* space between items */
}

.custom-gallery-grid .gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* perfect square */
    overflow: hidden;
    border-radius: 12px; /* optional */
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.14) 0px 0px 0px 1px;
}

.custom-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.custom-gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive: 2 columns on tablets */
@media (max-width: 900px) {
    .custom-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 600px) {
    .custom-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* challenge solution */

#solution-wrapper {
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: center;
    gap: 8px; /* space between elements */
    margin: 10px 0;
}

#solution-wrapper button {
    margin: 0 auto;
}

#solution-wrapper input,
#solution-wrapper button,
#solution-wrapper span {
    box-sizing: border-box;
}

#solution-check {
    display: inline-block;
    font-weight: 600;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    background-color: var(--site-green);
    color: #FFFFFF;
    cursor: pointer;
    border-radius: 0.25rem; /* slightly rounded corners */
    user-select: none;
    text-align: center;
}

/* Accessibility: focus styles */
#solution-check:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

#solution-wrapper button {
    padding: 5px 10px;
    cursor: pointer;
}

#solution-wrapper span {
    font-weight: bold; /* optional styling for label */
}

/* gallery */

.pswp__bg {
    background: #fff;
}

.pswp__button.pswp__button--zoom {
    display: none;
}

.pswp__button--arrow--prev {
    left: -15px;
}

.pswp__button--arrow--next {
    right: -15px;
}

.pswp__caption {
    color: #303232;
    padding-bottom: 15px;
}

.pswp__icn {
    transform: scale(0.5, 0.5);
}

.pswp__button--arrow .pswp__icn {
    transform: scale(0.5, 0.5);
}

.pswp__button--arrow--next .pswp__icn {
    transform: scale(-0.5, 0.5);
}

.pswp__dynamic-caption--below {
    max-width: 100%;
    text-align: center;
    padding-top: 1em;
}

.pswp__dynamic-caption--mobile {
    background: none;
}

.riddle-section {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* flipcard */
.flipcard-container .flipcard:nth-child(1) {
    transform: rotateZ(2deg) rotateX(1deg);
}

.flipcard-container .flipcard:nth-child(2) {
    transform: rotateZ(-3deg) rotateX(0.5deg);
}

.flipcard-container .flipcard:nth-child(3) {
    transform: rotateZ(1.5deg) rotateX(-1deg);
}

.flipcard-container .flipcard:nth-child(4) {
    transform: rotateZ(-2deg) rotateX(1.2deg);
}

.flipcard {
    height: 400px;
    perspective: 1000px;
    margin: 20px;
}

.flipcard__inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flipcard__front, .flipcard__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;

    align-items: center;
    font-size: 1.2em;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1rem;
    box-sizing: border-box;
}

.flipcard__front {
    justify-content: center;
    background-color: #f0f0f0;
}

.flipcard__back {
    justify-content: center;
    background-color: #4CAF50;
    color: white;
    transform: rotateY(180deg);
}

.reveal-text {
    margin-top: 10px;
    padding: 1rem;
    font-size: 0.9em;
    color: #b7b7b7;
    -webkit-tap-highlight-color: transparent; /* iOS/Android */
    -webkit-touch-callout: none; /* Optional: disables callout on long press */
    cursor: pointer;
}


@media screen and (max-width: 1150px) {
    .more--toggle {
        grid-column: span 2;
    }

    .question-container, .riddle-section {
        grid-template-columns: 1fr;
    }

    .question-section {
        padding: 1rem;
    }

    .quiz-section, .more--toggle .inner-content {
        padding: 1rem;
    }
}

.contact-block {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
}
.contact-block p {
    margin: 0;
}
.contact-block iframe {
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
.contact-block {

}
.contact-block img {
    display: block;
}
.contact-block h2 {
    color: #fff;
    margin: 1rem 0;
}
.contact-content {
    align-self: start;
    position: relative;
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    background-color: var(--site-green-important);
    justify-self: start;
}
@media screen and (max-width: 1000px) {
    .contact-block {
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }
    .contact-content {
        padding: 1rem;
    }
}