*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

a:hover {
  text-decoration: none;
}

/* Variables */
:root {
  --text-white: #f3f2f2;
  --text-black: #111;
  --gold-color: #d6b279;
  --dark-background-color: #333;
  --paper-color: #fffe;

  --decorated-font: 'Parisienne', Times, serif;
  --playful-font: 'Playpen Sans', cursive;
  --base-font: 'Nunito', sans-serif;

  --gold-border: 6px solid var(--gold-color);

  --mobile-navigation-menu-height: 50px;
  --text-container-max-width: 520px;

  /* Filters for icon color conversion */
  --gold-filter: invert(70%) sepia(37%) saturate(384%) hue-rotate(358deg) brightness(97%) contrast(90%);
  --white-filter: invert(100%) sepia(15%) saturate(2%) hue-rotate(104deg) brightness(112%) contrast(100%);
}

body {
	background: #fff;
	color: var(--text-white);
	font-family: 'Roboto', sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

.unselectable {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.selectable {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Responsive */
.mobile-only, .layer.mobile-only {
  display: none;
}

@media only screen and (max-width: 1264px) {
  .desktop-only, .layer.desktop-only {
    display: none;
  }
  .mobile-only, .layer.mobile-only {
    display: block;
  }
}

/* Loader screens */
.page-change-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff0;
  z-index: -1000;
}

.preloader .loading .progress {
  background-color: var(--gold-color);
}
.loading p {
  color: var(--gold-color);
  font-family: var(--decorated-font);
  font-size: 18px;
  margin-top: 0;
}


/* =Typography
-------------------------------------------------------------- */
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
}

h1, h2 { margin: 0; }

h1 {
	font-size: 80px;
	font-weight: 800;
	line-height: 80px;
	/* letter-spacing: -0.08em; */
  padding: 20px 0;
}

h2 {
	font-size: 56px;
	font-weight: 800;
	line-height: 1em;
	color: var(--gold-color);
  font-family: var(--decorated-font);
  margin-bottom: 50px;
}

h3 {
  font-size: 18px;
  line-height: 1.5em;
  margin-bottom: 38px;
  color: var(--text-black);
  font-weight: 800;
  font-family: var(--base-font);
}

p {
  font-size: 18px;
  color: var(--text-black);
  margin-bottom: 50px;
  font-family: var(--base-font);
}

p em {
  font-style: normal;
  font-weight: 800;
}

.subtitle {
  color: #333;
  margin-bottom: 0;
  font-size: 16px;
  text-align: center;
  width: 100%;
}


/* =Content Styles
-------------------------------------------------------------- */

.wrapper {
  text-align: center;		
  position: absolute;
  overflow: hidden;
  display: table-cell;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.scene,
.layer {
  display: block;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  
}

.scene {
  position: relative;
  overflow: hidden;
}

.layer {
  position: absolute;
  top: 0;
  left: 0;
}

.layer * {
  -webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	transition: all 0.8s;
}

.layer div {
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}


/* Backgrounds */
.background-mountains {
  background: url(../images/mountains-background.jpg) no-repeat 50% 100%;
  bottom: -20px;
  background-size: cover;
  position: absolute;
  width: 110%;
  left: -5%;
  top: -5%;
}

.background-castle {
  background: url(../images/castle-background.jpg) no-repeat 50% 100%;
  bottom: -20px;
  background-size: cover;
  position: absolute;
  width: 110%;
  left: -5%;
  top: -5%;
}

.background-forest {
  background: url(../images/forest-background.jpg) no-repeat 50% 100%;
  bottom: -20px;
  background-size: cover;
  position: absolute;
  width: 110%;
  left: -5%;
  top: -5%;
}

/* Hero layers */
.hero {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 10px;
  right: 10px;
}

/* Profile */

.profile {
  position: absolute;
  bottom: -40px;
  left: calc(10% + 50px);
  animation: all 0.8s;
}

.profile img {
  height: 95vh;
}

.desktop-only .profile .title {
	display: block;
	text-align: center;
	position: absolute;
	z-index: 2;
	bottom: 13vh;
  left: calc(50% - 270px);
  animation: all 0.8s;
  width: max-content;
}

.mobile-only .profile {
  position: absolute;
  bottom: 0;
  left: 60px;
  right: 0;
}


.mobile-only .profile img {
  max-width: 100%;
  max-height: 60vh;
  height: auto;
  transform: scale(1.3);
}



.title h1 {
  color: var(--text-white);
  text-shadow: 0 0 10px #e7e7e7, 0 0 20px #fff, 0 0 50px var(--gold-color);
  font-size: 60px;

  
  font-family: var(--decorated-font);
}

.title h1:hover {
  text-shadow: 0 0 10px #e7e7e7, 0 0 20px #fff, 0 0 50px var(--gold-color), 0 0 30px #fff, 0 0 60px var(--gold-color);
}

.mobile-only .title h1 {
  font-size: 45px;
}

.fooldal-menu-items-layer {
  position: absolute;
  top: 20%;
  bottom: 0;
  left: calc(50% - 300px);
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}

.menu-items-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 60px;
}
.menu-items-container .menu-items-row {
  display: flex;
  gap: 10vw;
  flex-wrap: wrap;
}

.cloud-1 {
  position: absolute;
  bottom: -20%;
  right: -10%;
}

.cloud-2 {
  position: absolute;
  bottom: -40%;
  left: -20%;
}

.cloud-2 img {
  transform: scale(1.5);
}

.mobile-only .top-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 20px;
}

.mobile-only .title {
  position: static;
}
.mobile-only .menu-items-row {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

@media only screen and (max-width: 1264px) {
  .cloud-1 {
    bottom: 0%;
    right: -10%;
  }
  
  .cloud-2 {
    bottom: 0%;
    left: -10%;
  }
  .cloud img {
    transform: scale(2);
  }
}


/* Text */

.button {
	display: inline-block;
	text-decoration: none;
	font-size: 18px;
	font-weight: 400;
	line-height: 1em;
	letter-spacing: 0.2em;
	text-transform: none;
	color: var(--text-white);
	background: transparent;
	border: none;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 4px;
	padding: 15px 25px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.button:hover {
	background: var(--gold-color);
	color: #fff;
	border: 1px solid var(--gold-color);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
  box-shadow: 0 0 10px #e7e7e7, 0 0 20px var(--gold-color);
}

.button-gold {
  background: var(--gold-color);
  color: var(--text-white);
  border: 1px solid var(--gold-color);
}

.icon-button-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--playful-font);
  gap: 10px;
}
.icon-button-vertical img{
  height: 2em;
  display: block;
  -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
  transition: all 0.3s;
}

.icon-button-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: var(--playful-font);
  gap: 10px;
  text-align: left;
}
.icon-button-horizontal img{
  height: 1em;
  display: block;
  -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
  transition: all 0.3s;
}

/* Page elements */
.section-header {
  margin-top: 20px;
}

.text-container {
  margin: 20px auto 40px;
  max-width: var(--text-container-max-width);
  padding: 20px;
  background-color: var(--paper-color);
  border: var(--gold-border);
}

.text-container p,
.text-container h3 {
  text-align: left;
}

.text-container h2 {
  text-align: center;
}

.text-container ul {
  padding-left: 20px;
  margin-bottom: 50px;
}

.text-container ul>li {
  margin-bottom: 5px;
  list-style-type: disc;
  font-size: 18px;
  color: var(--text-black);
  font-family: var(--base-font);
  text-align: left;
}

.text-container-gap {
  height: 100px;
  width: 200px;
  margin: 0 auto;
  background: url(../images/icons/arrow-down-white.svg) no-repeat 50% 100%;
  background-size: contain;
}

.text-container-navigation {
  display: flex;
  max-width: var(--text-container-max-width);
  margin: 40px auto;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 30px 10px;
}

.scrollable-layer {
  overflow-y: scroll;
  overflow-x: hidden;
}

/* Rólam page */


.page-rolam .desktop-only .profile,
.page-kapcsolat .desktop-only .profile {
  transform: translateX(-150px);
}

/* Szolgáltatások page */

.szolgaltatasok-layer .cards-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: space-evenly;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
}

.szolgaltatasok-layer .card {
  background-color: var(--paper-color);
  border: var(--gold-border);
  padding: 20px;
  width: 350px;
  height: fit-content;
}

.szolgaltatasok-layer .card:hover {
  color: var(--text-white);
  background-color: #d6b279ee;
}

.szolgaltatasok-layer .card h3 {
  /* font-family: var(--base-font); */
  font-size: 24px;
  color: var(--text-black);
  margin-bottom: 10px;
  margin-top: 5px;
}

.szolgaltatasok-layer .card p {
  margin-bottom: 18px;
}

.szolgaltatasok-layer .card:hover h3,
.szolgaltatasok-layer .card:hover p {
  color: var(--text-white);
  -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.szolgaltatasok-layer .card img {
  height: 50px;
}

.szolgaltatasok-layer .card:hover img {
  filter: var(--white-filter);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;

}

.page-szolgaltatasok .background-mountains {
  transform: scale(1.3);
}

.page-talalj-onmagadra .background-mountains {
  transform: scale(1.6);
}

.kapcsolat-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.contact-container {
  text-align: left;
}

.contact-container .contact-item {
  margin-bottom: 20px;
  font-size: 18px;
}

.contact-container .contact-item a {
  color: var(--gold-color);
  text-decoration: underline;
}

.contact-container .icon-container {
  display: inline-block;
  width: 30px;
  margin-right: 10px;
  text-align: center;
}

.contact-container .contact-item img {
  height: 1em;
}

.contact-container .phone-icon {
  transform: scale(1.2);
}

/* Back button */
.navigation-menu-layer .button {
  width: fit-content;
}

.desktop-only.navigation-menu-layer {
  padding-top: 20px;
  left: 20px;
  width: 340px;
}

.mobile-only.navigation-menu-layer {
  width: 100%;
  height: var(--mobile-navigation-menu-height);
}

.mobile-only.navigation-menu-background-layer {
  background-color: var(--gold-color);
  width: 100%;
  height: var(--mobile-navigation-menu-height);
}

.mobile-only.navigation-menu-layer .navigation-menu-container {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 1264px) {
  .scrollable-layer {
    top: var(--mobile-navigation-menu-height);
    height: calc(100% - var(--mobile-navigation-menu-height));
  }
  .scrollable-layer .text-container {
    margin-top: 20px;
  }

}