:root {
	--base1: #0a0908;
	--base2: #631124;
	--base2l: #b71f42;
	--base3: #f2f4f3;
	--base3d: #ebeeec;
	--base4: #b79d85;
	--base4d: #957557;
	--base5: #7d6a51;
	
	--tinta-sotet: #505050;
	--tinta-vilagos: #ffffff;
	--tinta-footer: #f5f6f7;

	--hatter: #f2f4f3;

	--piros: #eb1940;
	--zold: #11c45d;

//	--card: #0b1220;
	--card-size: calc(min(90vh,90vw) / 5);
	--gap: 12px;
}

body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
	margin: 0;
	padding: 0;
	border: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

body {
	font-family: "Montserrat", sans-serif;
	color: var(--tinta-sotet);
	background-color: var(--hatter);
	font-size: 20px;
	line-height: 42px;
	font-weight: 300;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
}

* {
	scrollbar-width: thin;
	scrollbar-color: var(--base2) var(--base4);
}

/* Chrome, Edge, Safari */

*::-webkit-scrollbar {
	width: 12px;
}

*::-webkit-scrollbar-track {
	background: var(--base4);
}

*::-webkit-scrollbar-thumb {
	background-color: var(--base2);
	border-radius: 20px;
	border: 3px solid var(--base4);
}

::-moz-selection {
	color: var(--base3);
	background: var(--base2l);
}

::selection {
	color: var(--base3);
	background: var(--base2l);
}

h1 {
	font-size: 42px;
	line-height: 54px;
	text-align: left;
	font-weight: 400;
	margin: 0;
	padding: 0 0 32px 0;
}

h2 {
	font-size: 30px;
	text-align: left;
	font-weight: 400;
	margin: 0;
	padding: 0 0 32px 0;
}

h2.hirek {
	font-size: 30px;
	text-align: left;
	font-weight: 400;
	margin: 0;
	padding: 0 0 0 0;
}

h3 {
	font-size: 22px;
	text-align: left;
	font-weight: 400;
	margin: 0;
	padding: 0 0 32px 0;
}

.csik, .csik_2 {
	position: relative;
	display: block; /* inline-block; */
	margin-bottom: 32px;
}

.csik::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 0;
	height: 3px;
	background-color: var(--base1);
	animation: underline 1s forwards;
}

.csik_2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 0;
	height: 3px;
	background-color: var(--base2);
	animation: underline 1s forwards;
}

@keyframes underline {
	from { width: 0; }
	to   { width: 200px; }
}
 
p.bekezdes {
	text-align: left;
	font-size: 20px;
	line-height: 42px;
	margin: 0 0 64px 0;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-o-hyphens: none;
	hyphens: none;
}

p.bekezdes_kozepre {
	text-align: center;
	font-size: 20px;
	line-height: 42px;
	margin: 0 0 64px 0;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-o-hyphens: none;
	hyphens: none;
}

p.bekezdes_jobbra {
	text-align: right;
	font-size: 20px;
	line-height: 42px;
	margin: 0 0 64px 0;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-o-hyphens: none;
	hyphens: none;
}

p.datum {
	padding: 0 0 32px 16px;
	font-size: 14px;
	text-align: left;
}

p.erdekesseg {
	text-align: left;
	font-size: 18px;
	line-height: 28px;
	margin: 0 0 0 0;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-o-hyphens: none;
	hyphens: none;
}

p.carousel {
	text-align: center;
	text-shadow: 0 1px var(--base1), 1px 1px 2px var(--base1);
	font-size: 14px;
	line-height: 22px;
	font-weight: 500;
	margin: 0 0 0 0;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-o-hyphens: none;
	hyphens: none;
}
  
p.footer {
	font-size: 16px;
	line-height: 28px;
	margin: 0 0 0 0;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-o-hyphens: none;
	hyphens: none;
}

p.footer_kozepre {
	font-size: 16px;
	line-height: 28px;
	text-align: center;
	margin: 0 0 0 0;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-o-hyphens: none;
	hyphens: none;
}

a.normal:link {
	color: var(--base2l);
	text-decoration: none;
	border-bottom: solid 1px transparent;
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
    overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

a.normal:visited {
	color: var(--base2l);
	text-decoration: none;
	border-bottom: solid 1px transparent;
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
    overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

a.normal:hover {
	color: var(--base2l);
	text-decoration: none;
	border-bottom: solid 1px var(--base2l);
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
    overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

a.normal:active {
	color: var(--base2l);
	text-decoration: none;
	border-bottom: solid 1px var(--base2l);
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
    overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

a.nincs_semmi:link {
	text-decoration: none;
}

a.nincs_semmi:visited {
	text-decoration: none;
}

a.nincs_semmi:hover {
	text-decoration: none;
}

a.nincs_semmi:active {
	text-decoration: none;
}

a.footer:link {
	font-size: 16px;
	line-height: 28px;
	color: var(--base4);
	text-decoration: none;
	border-bottom: solid 1px transparent;
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
    overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

a.footer:visited {
	font-size: 16px;
	line-height: 28px;
	color: var(--base4);
	text-decoration: none;
	border-bottom: solid 1px transparent;
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
    overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

a.footer:hover {
	font-size: 16px;
	line-height: 28px;
	color: var(--base3);
	text-decoration: none;
	border-bottom: solid 1px var(--base3);
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
    overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

a.footer:active {
	font-size: 16px;
	line-height: 28px;
	color: var(--base3);
	text-decoration: none;
	border-bottom: solid 1px var(--base3);
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
    overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

a.gomb_1:link {
	display: inline-block;
    background-color: var(--base2);
    border: none;
    color: var(--tinta-vilagos);
	font-size: 14px;
	font-weight: 400;
    padding: 4px 40px;
    margin: 4px 2px;
//	border-radius: 24px;
	display: inline-block;
	text-shadow: 0em 0.05em 0em rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	text-decoration: none;
}

a.gomb_1:visited {
	display: inline-block;
    background-color: var(--base2);
    border: none;
    color: var(--tinta-vilagos);
	font-size: 14px;
	font-weight: 400;
    padding: 4px 40px;
    margin: 4px 2px;
//	border-radius: 24px;
	display: inline-block;
	text-shadow: 0em 0.05em 0em rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	text-decoration: none;
}

a.gomb_1:hover {
	display: inline-block;
    background-color: var(--base4d);
    border: none;
    color: var(--tinta-vilagos);
	font-size: 14px;
	font-weight: 400;
    padding: 4px 40px;
    margin: 4px 2px;
//	border-radius: 24px;
	display: inline-block;
	text-shadow: 0em 0.05em 0em rgba(0,0,0,0.5);
	text-decoration: none;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
}

a.gomb_1:active {
	display: inline-block;
    background-color: var(--base4d);
    border: none;
    color: var(--tinta-vilagos);
	font-size: 14px;
	font-weight: 400;
    padding: 4px 40px;
    margin: 4px 2px;
//	border-radius: 24px;
	display: inline-block;
	text-shadow: 0em 0.05em 0em rgba(0,0,0,0.5);
	text-decoration: none;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
}

.transition {    
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
  
.container-fluid {
	padding: 0;
}

.divider {
	height: 100px;
}

.bg-base1 {
	color: var(--tinta-vilagos);
	background-color: var(--base1);
}

.bg-base2 {
	color: var(--tinta-vilagos);
	background-color: var(--base2);
}

.bg-base3 {
	color: var(--tinta-sotet);
	background-color: var(--base3);
}

.bg-base4 {
	color: var(--tinta-vilagos);
	background-color: var(--base4);
}

.bg-base5 {
	color: var(--tinta-vilagos);
	background-color: var(--base5);
}

.bg-footer {
	color: var(--tinta-vilagos);
	background-color: var(--base1);
}
/*
.caption-fejlec {
	position: absolute;
	left: 0;
	top: 30%;
	width: 100%;
	text-align: center;
	color: #000000;
}

.caption-sav {
	position: absolute;
	background: transparent;
	left: 0;
	top: 45%;
	width: 100%;
	text-align: center;
	color: #000000;
}

@media screen and (max-width: 767px) {
	.caption-sav {
//		top: 20%;
	}
}
*/
/* NAVBAR */

.navbar {
	padding: 12px 0;
	background-color: var(--base1);
	z-index: 9999;
	border: 0;
	border-radius: 0;
	font-size: 16px !important;
	-webkit-box-shadow: 0px 1px 8px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 1px 8px 1px rgba(0,0,0,0.1);
	box-shadow: 0px 1px 8px 1px rgba(0,0,0,0.1);
}
  
.navbar li a, .navbar .navbar-brand {
	color: var(--base4) !important;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.navbar-nav li a:hover, .navbar-nav li.active a {
	color: var(--base3) !important;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
//	background-color: var(--hatter) !important;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.navbar-default .navbar-toggle {
	border-color: transparent !important;
	color: var(--base1) !important;
}

.navbar-default .icon-bar {
	background-color: var(--base1);
}

.navbar-toggle {
	background-color: var(--base1) !important;
}

.navbar-toggle:hover {
	background-color: var(--base1) !important;
}

.img-navbar {
    position: fixed;
    top: 1px;
}

/* GALLERY */

div.gallery img {
	display: inline-block;
	z-index: 10000;
	margin: 0 0 32px 0;
}

img.gallery_thumb {
	width: auto;
	height: 300px;
}

@media screen and (max-width: 768px) {
    img.gallery_thumb {
	  width: 100%;
	  height: auto;
  }
}

span.gallery_full {
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: var(--base1);
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 10000;
}

span.gallery_full img {
	position: fixed;
	background-color: var(--base3);
	margin: 0;
	padding: 0;
	max-height: 80%;
	max-width: 80%;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
//	box-shadow: 0 0 20px var(--base1);
    z-index: 10000;
}

span.gallery_full_text {
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--base3);
	margin: 0 48px;
	padding: 0;
    z-index: 10000;
	font-size: 16px;
}

a.gallery_close, a.gallery_prev, a.gallery_next {
	position: fixed;
	text-decoration: none;
	visibility: hidden;
	color: var(--base3);
	font-size: 36px;
    z-index: 10000;
}

a.gallery_close {
	top: 1%;
	right: 1%;
	font-size: 64px;
    z-index: 10000;
}

a.gallery_close::after {
	content: '\00d7';
    z-index: 10000;
}

a.gallery_prev {
	top: 50%;
	transform: translate(0%, -50%);
	font-size: 32px;
	left: 2%;
    z-index: 10000;
}

a.gallery_next {
	top: 50%;
	transform: translate(0%, -50%);
	font-size: 32px;
	right: 2%;
    z-index: 10000;
}

a:target ~ a.gallery_close, a:target ~ a.gallery_prev, a:target ~ a.gallery_next {
	visibility: visible;
    z-index: 10000;
}

a:target > img.gallery_thumb + span.gallery_full {
	visibility: visible;
	opacity: 1;
	pointer-events: initial;
    z-index: 10000;
}

span.gallery_full {
	cursor: initial;
	z-index: 10000;
}

/* BACK TO TOP */

#backtotopbutton {
	display: inline-block;
	background-color: var(--base2);
	width: 50px;
	height: 50px;
	text-align: center;
	border-radius: 50%;
	border: solid 2px var(--tinta-vilagos);
	position: fixed;
	bottom: 20px;
	right: 20px;
	transition: background-color .2s, opacity .2s, visibility .2s;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
}

#backtotopbutton::after {
	content: "\f077";
	position: relative;
	top: 0;
	font-family: FontAwesome;
	font-weight: 200;
	font-style: normal;
	font-size: 20px;
	top: 2px;
	color: var(--tinta-vilagos);
}

#backtotopbutton:hover {
	cursor: pointer;
	background-color: var(--base1);
	text-decoration: none;
}

#backtotopbutton:active {
	cursor: pointer;
	background-color: var(--base1);
	text-decoration: none;
}

#backtotopbutton.show {
	opacity: 0.8;
	visibility: visible;
}

/* CAROUSEL */

.carousel-control.right, .carousel-control.left {
	background-image: none;
	color: var(--base3);
}

.carousel-indicators li {
	border-color: var(--base3);
}

.carousel-indicators li.active {
	background-color: var(--base3);
}

/* TOOLTIP */

.tooltip.bottom .tooltip-inner {
//	background-color: var(--base2);
	color: (--base3);
	font-size: 16px;
//	border: solid 1px var(--base1);
}

.tooltip.bottom .tooltip-arrow {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-top-color: var(--base1);
	border-width: 5px -5px 0;
}

/* TIMELINE */

.timeline {
	position: relative;
	max-width: 1170px;
	margin: 0 auto;
}

.timeline::after {
	content: '';
	position: absolute;
	width: 6px;
	background-color: #ffffff;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
}

.container-timeline {
	padding: 10px 40px;
	position: relative;
	background-color: inherit;
	width: 50%;
}

.container-timeline::after {
	content: '';
	position: absolute;
	width: 32px;
	height: 32px;
	right: -16px;
	background-color: var(--base4);
	border: 4px solid var(--base4);
	top: 15px;
	border-radius: 50%;
	z-index: 1;
}

.left-timeline {
	left: 0;
}

.right-timeline {
	left: 50%;
}

.left-timeline::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	right: 30px;
	border: medium solid #ffffff;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent #ffffff;
}

.right-timeline::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	left: 30px;
	border: medium solid #ffffff;
	border-width: 10px 10px 10px 0;
	border-color: transparent #ffffff transparent transparent;
}

.right-timeline::after {
	left: -16px;
}

.content-timeline {
	padding: 20px 30px;
	background-color: #ffffff;
	position: relative;
	border-radius: 12px;
}

@media screen and (max-width: 600px) {

.timeline::after {
	left: 31px;
}

.container-timeline {
	width: 100%;
	padding-left: 70px;
	padding-right: 25px;
}

.container-timeline::before {
	left: 60px;
	border: medium solid #ffffff;
	border-width: 10px 10px 10px 0;
	border-color: transparent #ffffff transparent transparent;
}

.left-timeline::after, .right-timeline::after {
	left: 15px;
}

.right-timeline {
	left: 0%;
}
}

/* ACCORDION */

.panel-group .panel {
	border-radius: 0;
	box-shadow: none;
	background-color: transparent;
	border-color: transparent;
}

.panel-default > .panel-heading {
	padding: 0;
	border-radius: 0;
	background-color: transparent;
	border-color: transparent;
}

.panel-title {
	color: var(--tinta-vilagos);
}

.panel-title > a {
	display: block;
	padding: 20px 30px;
	text-decoration: none;
	color: var(--tinta-vilagos);
	background-color: var(--base2);
	font-size: 20px;
	font-weight: 300;
}

.panel-title:hover {
	color: var(--tinta-vilagos);
}

.panel-title:hover a {
	color: var(--tinta-vilagos);
	background-color: var(--base4);
}

.more-less {
	float: right;
	color: var(--tinta-vilagos);
	top: 8px;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
	border-top-color: transparent;
	background-color: transparent;
	width: 100%;
	padding: 20px 30px;
}

/* BUTTONS FOR GAMES */

.button_games_green {
	padding: 4px 40px;
	font-size: 18px;
	background-color: #11c45d;
	border: none;
	cursor: pointer;
	color: var(-base3);
	transition: background 0.3s;
}

.button_games_green:hover {
	background-color: #069c46;
}

/* KVÍZ */

#quiz-container {
//	background-color: var(--base2);
	padding: 20px 0;
	width: 100%;
	min-height: 620px;
	max-width: 100%;
	text-align: center;
}

#timer {
	font-size: 20px;
	margin-bottom: 15px;
	color: #f67f73;
	text-align: right;
}

#question-number {
	font-weight: 600;
	margin-bottom: 10px;
}

#question {
	font-size: 20px;
	margin-bottom: 20px;
	min-height: 180px;
}

.answer {
	display: block;
	width: 100%;
	margin: 8px 0;
	padding: 12px;
	background: var(--base5);
	color: var(--tinta-vilagos);
	border: none;
	cursor: pointer;
	transition: background 0.3s;
	font-size: 16px;
}

.answer:hover {
	background: var(--base4);
}

/*
#start-btn, #restart-btn {
	padding: 4px 40px;
	font-size: 18px;
	background-color: #11c45d;
	border: none;
	cursor: pointer;
	color: var(-base3);
	transition: background 0.3s;
}

#start-btn:hover, #restart-btn:hover {
	background-color: #069c46;
}

*/

/* MEMÓRIA */

.container_memory {
//	width: calc(var(--card-size)*4 + var(--gap)*3 + 2rem);
	max-width: 95vw;
	padding: 20px 0;
	color: var(--tinta-vilagos);
	background-color: var(--base2);
	align-items: center;
}

.status_memory {
	clear: both;
	display: inline-grid;
	gap: 0.75rem;
	width: 100%;
	align-items: center;
}

.pill1 {
	margin-bottom: 0;
	font-size: 20px;
	text-align: left;
	font-color: var(--base3);
}

.pill2 {
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 600;
	text-align: left;
	font-color: var(--base3);
}

.pill3 {
	margin: 60px 0 15px 0;
	font-size: 20px;
	text-align: center;
	font-color: var(--base3);
}

.board_memory {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: var(--gap);
//	background: transparent;
}

.card_memory {
	width: 100%;
	aspect-ratio: 1/1;
	perspective: 1000px;
	cursor: pointer;
	position: relative;
	overflow: visible;
}

.inner_memory {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform .45s cubic-bezier(.2,.9,.3,1);
}

.card_memory.flipped_memory .inner_memory {
	transform: rotateY(180deg);
}

.face_memory {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	backface-visibility: hidden;
}

.front_memory {
	background-color: var(--base5);
	transform: rotateY(180deg);
	font-size: 2.4rem;
}

.back_memory {
	background: var(--base5);
	border: var(--base1);
}

.back_memory:hover {
	background: var(--base4);
	border: var(--base1);
	transition: background 0.3s;
}

/*

.button_memory {
	padding: 4px 40px;
	font-size: 18px;
	background-color: #11c45d;
	border: none;
	cursor: pointer;
	color: var(-base3);
	transition: background 0.3s;
}

.button_memory:hover {
	background-color: #069c46;
}

*/

footer.memory {
	margin-top: 15px;
//	color: rgba(230,238,246,0.6);
//	font-size: 0.85rem;
}

@media (max-width: 520px) {
	:root {--gap: 8px}
}

/* SORBARENDEZŐ */

.container_order {
	width: 100%;
	max-width: 900px;
	padding: 20px 0;
}

.controls_order {
	display: flex;
	text-align: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

button.arrow {
	background-color: var(--base5);
	border: 1px solid var(--base1);
	color: var(--base3);
	transition: background 0.3s;
}

.board_order {
	background: transparent;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 200px;
}

.item_order {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background-color: var(--base5);
	color: var(--base3);
	font-size: 16px;
	font-weight: 300;
	cursor: grab;
	user-select: none;
	transition: transform 150ms ease, box-shadow 150ms ease, opacity 120ms ease;
}

.item_order.dragging {
	opacity: 0.6;
	transform: scale(0.98);
	box-shadow: 0 12px 30px var(--base1);
}

.item_order.drag-over {
	outline: 3px dashed var(--base3);
	background-color: var(--base2l);
}

.item_order .label_order {
	flex: 1;
}

.item_order .controls-arrow {
	display: flex;
	gap: 6px;
}

.button_arrow_order {
	background: var(--base4);
	color: var(--base3);
	border: 0;
	padding: 6px 8px;
	cursor: pointer;
}

.wrong_order {
	outline: 2px solid var(--piros);
}

.correct_order {
	outline: 2px solid var(--zold);
}

.status_order {
	margin-top: 14px;
//	font-weight: 300;
}

.hint_order {
//	opacity: 0.9;
	margin-top: 8px;
}

@media (max-width: 600px){
	.item_order { padding: 10px; }
//	button { padding: 8px; }
}

/* GRÁF */

canvas {
	width: 100%;
	height: 100%;
	display: block;
	background: transparent;
	padding: 0 0 64px 0;
}

/* BREADCRUMB */

.breadcrumb {
	background-color: var(--base3d);
	margin: 0 0 32px 0;
	padding: 2px 12px;
	font-size: 16px;
}

.breadcrumb > li + li:before {
	content: "\203A";
	color: var(--base5);
}

.breadcrumb a {
	color: var(--base2l);
	text-decoration: none;
	border-bottom: solid 1px transparent;
	-webkit-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -moz-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -ms-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    -o-transition: color .2s ease-out, border-bottom-color .2s ease-out;
    transition: color .2s ease-out, border-bottom-color .2s ease-out;
}

/* MISC */

.rounded {
	border-radius: 12px;
}

.inverz {
	background-color: var(--tinta-sotet);
	color: var(--tinta-vilagos);
	padding: 2px;
	font-weight: 400;
}

.ikon {
	font-size: 200px;
	color: var(--base5);
}

.max_szelesseg {
	width: 100%;
}

hr {
	border: 1px solid #e8e8e8;
	margin: 16px 0;
}

span.csik {
	padding: 0 0 16px 0;
}