@import url('https://fonts.googleapis.com/css2?family=Beau+Rivage&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
	overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;    
    overflow-x: hidden;
	background-color: #fff;
	max-width: 100vw;
}

body.main {
	padding: 650px 0 0 0;
}

body.manual {
	padding: 50px 0 0 0;
}


#header {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	max-width: 100vw;
	height: 70px;
	z-index: 20;
	background-color: rgba(0,0,0,0.5);
	box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.5);
}

#header-wrapper {
	max-width: 1000px;
	width: 100%;
	margin: auto;
}

#header h1 {
	position: relative;
	display: inline-block;
	color: #ffffff;
	font-family: 'Beau Rivage', cursive;
	margin: 0px auto;
	font-size: 40px;
	padding: 10px;
}

#logo {
	position: fixed;
	width: 512px;
	height: 512px;
	background: url(assets/logo512.png) no-repeat center;
	z-index: 1;
	top: 15px;
	left: 50%;
	margin-left: -256px;
	opacity: 0;
	transition: opacity 1s ease;
	transition-delay: 1s;
}

#logo.visible {
	opacity: 1;
}

#header-under {
	position: fixed;
	z-index: 19;
	width: 100%;
	height: 70px;
	top: -70px;
	background-color: rgba(0,0,0,0.8);
	transition: top 0.3s ease;
}

#header-under.active {
	top: 0px;
}

#header-mobile {
	display: none;
}

#mobile-menu {
	display: none;
}

#header > div > ul {
	/*background-color: #000;*/
	box-sizing: border-box;
	height: 70px;
	position: relative;
	float: right;
	list-style: none;
	margin: 0px auto;
	padding: 0px;
	text-align: right;
}

#header > div > ul > li {
	display: inline-block;
}

#header > div > ul > li > a, #header > div > ul > li > div > a {
	box-sizing: border-box;
	border-top: 4px solid transparent;
	display: inline-block;
	padding: 21px 25px 25px 25px;
	color: #f7c070;
	font-family: Lato, sans-serif;
	font-size: 1rem;
	font-weight: 500;
	transition: all 0.3s ease;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	outline: none !important;
	text-decoration: none;
}

#header > div > ul > li > div > a, #header > div > ul > li > a:hover {
	border-top: 4px solid #d5202a;
	color: #d5202a;
	background-color: #ffffff;
}

#header > div > ul > li > div > span {
	position: absolute;
	display: inline-block;
	background-color: transparent;
	top:0px;
	right:0px;
	width: 175px;
	height: 70px;
}

#header > div > ul > li > div:has(> span:hover) {
	display: none;
}

#header > div > ul > li > div {
	display: none;
	position: absolute;
	z-index: 1;
	top: 0px;
	left: 0px;	
	text-align: left;
}

#header > div > ul > li > div:hover, #header > div > ul > li > a:hover ~ div {
	display: block;
}

#header > div > ul > li > div > ul {
	list-style: none;
	margin: 0px auto;
	padding: 0px;	
	background-color: #ffffff;
	box-shadow: 0 8px 12px 0px rgba(0, 0, 0, 0.5);
	z-index: 10;
}

#header > div > ul > li > div > ul > li > a {
	box-sizing: border-box;
	display: block;
	padding: 10px;
	color: #000;
	font-family: Lato, sans-serif;
	font-size: 0.7rem;
	font-weight: 500;
	transition: all 0.3s ease;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	outline: none !important;
	text-decoration: none;
}

#header > div > ul > li > div > ul > li > a:hover {
	color: #d5202a;
	background-color: rgba(0,0,0,0.1);
}

ul.imglist {
	list-style: none;
	margin: 0;
	padding: 0 !important;
}

ul.imglist li::before {
	content: "" !important;
	margin-right: 0 !important;
    margin-left: 0 !important;
}

ul.imglist li {
	margin: 20px 0px;
}

ul.imglist li img {
	float: left;
  	margin-right: 10px;
}

ul.imglist li:after {
	content: "";
	display: table;
	clear: both;
}

h1 a {
	text-decoration: none;
	color: inherit;
}

#video-container {
    position: fixed;
    top: 0;
    left: 0;
	z-index: -1;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: #000;
}

#video-container video {
    display: none; 
    width: 100%;
    height: 650px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}

#loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#about-top {
	border: 1px dashed #aa814b;
	border-radius: 6px;
	padding: 10px;
	font-family: Roboto;
	font-size: 12px;
	font-weight: bold;
	margin-top: 20px;
	background-color: #fff;
}

#boxes-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: -100px; 
    max-width: 1000px;
    margin: 0 auto 
}

.box {
    flex: 1;
	z-index: 1;
    min-height: 300px;
    background-color: #f8f3ec;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    position: relative;
	order: 0; 
}

.box h2 {
	color: #303030;
	font-size: larger;
}

.main-box {
	z-index: 2;
    flex-grow: 1.6;
    margin: -80px 0; 
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
}

.main-box a {
	font-size: larger;
	text-decoration: none;
	color: #d5202a;
}

.main-box a:hover {
	color: #aa814b;
}

.box ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-box ul li {
	display: inline-block;
	border: 1px solid #f9dab1;
	padding: 6px;
	margin: 4px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 14px;
}

.main-box ul li i {
	font-size: 14px;
	line-height: 14px;
}

.first-box ul, .last-box ul {
	text-align: left;
	font-size: 14px;
	line-height: 18px;
}

.first-box ul li, .last-box ul li {	
	padding: 6px 0px 6px 0px;
	border-bottom: 1px dotted #f7c070;
	color: #303030;
}

.first-box ul li:last-child, .last-box ul li:last-child {	
	border-bottom: 0px none;
}

.first-box ul li:first-child, .last-box ul li:first-child {	
	padding-top: 20px;
}

.inner-box-container {
	position: relative;
    width: 100%; /* Adjust this value to control the width of the inner div */
    padding-top: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px; /* Rounded corners */
    margin: auto; /* Centers the inner box inside the parent box */
	border: 2px solid #f9dab1;
	overflow: hidden;
}

.inner-box {
	margin: 10px;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	box-sizing: border-box;
	border-radius: 15px;
	position: absolute;
	top:0px;
	left:0px;
	background-size: cover;
    background-position: center;
}

.main-box .inner-box-container .inner-box {
	background-image: url('assets/pos-terminal.jpg');
}

.first-box .inner-box-container .inner-box {
	background-image: url('assets/pincer-tablettel.jpg');
}

.last-box .inner-box-container .inner-box {
	background-image: url('assets/penztargep-vendeglatas.jpg');
}

.side-box-left {
    position: absolute;
    top: 450px;
    left: 0;
    height: 200px;
    z-index: 5;
	background-image: url('assets/boxspacer-left.png');
	background-position: right center;
	background-repeat: no-repeat;
}

.side-box-right {
    position: absolute;
    top: 450px;
    right: 0;
    height: 200px;
    z-index: 5;
	background-image: url('assets/boxspacer-right.png');
	background-position: left center;
	background-repeat: no-repeat;
}

#content-section {
	width: 100%;
	z-index: 1;
	position: relative;
	background-color: #ffffff;
}

.content-wrapper {
	max-width: 1040px;
	padding: 20px;
	box-sizing: border-box;
	display: block;
    position: relative;
    margin: 0 auto;
	line-height: 1.5;
}

.content-wrapper h3 {
	display: inline-block;
	border-left: 6px solid #f7c070;
	padding: 5px;
}

.content-flex {
	display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 auto 
}

.content-infobox {
	font-style: italic;
	font-weight: bold;
	border-radius: 5px;
	border: 1px solid #f7c170;
	background-color: #f8f3ec;
	padding: 20px;
	margin: 20px 0px;
}

.content-flex .img-wrapper {
	object-fit: contain;
	object-position: center top;
}

.content-flex .img-wrapper.mobil {
	display: none;
}

.content-flex .img-wrapper.desktop {
	margin: 0px 20px 0px 20px;
}

.content-flex .img-wrapper img {
	box-sizing: border-box;
	box-shadow: inset 0 0 0 3px #f7c170;
	background: radial-gradient(#f7c170 15%, transparent 16%) 0 0, radial-gradient(#f7c170 15%, transparent 16%) 8px 8px, radial-gradient(transparent 15%, transparent 16%) 0 1px, radial-gradient(transparent 15%, transparent 16%) 8px 9px;
	background-size: 16px 16px; 
	padding: 4px;
	background-clip: content-box;
	display: inline-block;
}

#content-section hr {
	border-top: 2px dotted #f7c070;
	height: 0px;
	margin: 20px 0px;
}

.content-wrapper ul {
    list-style-type: none;
    padding-left: 1.5em;
}

.content-wrapper ul li::before {
    content: '» ';
    color: #f7c070;
    margin-right: 0.5em;
    margin-left: -1.5em;
}

.content-wrapper ul li h4 {
    display: inline-block;
	padding: 0;
	margin: 0;
	color: #d5202a;
}

.tbl3col {
	padding: 0;
	margin: 0;
	width: 100%;
}

.tbl3col li {
	display: inline-block;
	margin: 10px;
	padding: 0;
	width: calc(33% - 20px);
	text-align: center;
}

.tbl3col li img {
	display: block;
	width: 100%;
}

#footer {
	box-sizing: border-box;
	border-top: 4px solid #d5202a;
	padding: 10px 20px 20px 20px;
	width: 100%;
	background-color: #000;
	color: #fff;
	line-height: 1.6;
}

#footer h3 {
	color: #f7c070;
	font-size: 14px;
	font-weight: normal;
}

#footer-wrapper {
	max-width: 1000px;
	font-size: 12px;
	text-align: left;
}

.accordion-section h1 {
	font-family: Roboto;
	font-size: 22px;
	margin: 40px 0px 20px 0px;
}

.accordion {
	width: 100%;
}
  
.accordion h2 {
	margin: 0;
	padding: 0;
	font-family: Roboto;
	font-size: 18px;
}

.accordion-item {
	border-left: 4px solid #f7c070;
	overflow: hidden;
	padding-left: 20px;
	margin-bottom: 10px;
}
  
  .accordion-header {
	background-color: #ffffff;
	padding: 0px;
	cursor: pointer;
  }
  
  .accordion-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
  }

@media screen and (max-width: 768px) {

	#header-mobile {
		display: block;
		background-color: rgba(0,0,0,0.9);
		color: #ffffff;
		height: 70px;
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		max-width: 100vw;
		z-index: 20;
		box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.2);
	}

	#header-mobile h1 {
		position: relative;
		font-family: 'Beau Rivage', cursive;
		text-align: center;
		margin: 0px auto;
		font-size: 30px;
		padding: 20px;
	}

	#mobile-menu-btn {
		position: absolute;
		right: 0px;
		top: 0px;
		display: block;
		font-size: 20px;
		color: #fff;
		background-color: transparent;
		border: 0 none;
		margin: 0;
		padding: 20px;
	}

	#mobile-menu-btn.active {
		transform: rotateZ(90deg);
	}

	#mobile-menu-hider {
		display:none;
		position: fixed;
		top: 70px;
		width: 30%;
		height: calc(100% - 70px);
		left:0px;
		z-index: 15;
		background-color: transparent;
	}

	#mobile-menu {
		display: block;
		box-shadow: -15px 0 10px -10px rgba(0, 0, 0, 0.5);
		position: fixed;
		top: 70px;
		width: 70%;
		height: calc(100% - 70px);
		right: -100%;
		z-index: 16;
		background-color: rgba(247, 192, 112, 0.9);
		transition: right 0.3s ease;
		overflow: auto;
	}

	#mobile-menu.active {
		right: 0px;
	}

	#mobile-menu-hider.active {
		display: block;
	}

	#mobile-menu ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	
	#mobile-menu > ul > li {
		display: block;		
		border-bottom: 1px solid rgba(0,0,0,0.3);
	}

	#mobile-menu ul > li > a {
		display: block;
		padding: 20px;
		color: #303030;
		font-family: Roboto;
		font-size: 1.5rem;
		font-weight: 500;
		transition: color 0.3s;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		outline: none !important;
		text-decoration: none;
	}

	#mobile-menu ul > li > a:active {
		background-color: #303030;
		color: #f7c070
	}

	#mobile-menu > ul > li > ul > li > a {
		font-size: 1rem;
		line-height: 1rem;
		padding: 10px 20px 20px 40px;
	}

	#header, #header-under {
		display: none;
	}

    #boxes-container {
        flex-direction: column;
        align-items: center;
        top: -50px; 
		gap: 20px;
    }

    .box {
        width: 90%;
        margin-bottom: 20px;
    }
	
	.box:nth-child(1) {
    	order: 2;
	}

	.box:nth-child(2) {
		order: 1;
	}

	.box:nth-child(3) {
		order: 3;
	}
    
    .side-box-left, .side-box-right {
        display: none;
    }

	.content-flex {
		display: block;
    }

	.content-flex .img-wrapper.mobil {
		box-sizing: border-box;
		display: block;
		width: 100%;
		max-width: 100%;
		/*overflow: hidden;*/
	}

	.content-flex .img-wrapper.desktop {
		display: none;
	}

	.content-flex .img-wrapper img {
		width: 100%;
	}

	.content-wrapper img {
		max-width: 100%;
	}
	
}

@media screen and (max-width: 350px) {
	.content-flex .img-wrapper {
		display: none;
	}
}