* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html, body {

	font-size: 10px;
	font-family: 'Jost', sans-serif;
	
}

a {
	text-decoration: none;
}
.container {
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

p {
	color: #fff;
	font-size: 1.4rem;
	margin-top: 5px;
	line-height: 2.5rem;
	font-weight: 300;
	letter-spacing: 0.05rem;
}
.section-title {
	font-size: 4rem;
	font-weight: 300;
	color: black;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	text-align: center;
}


.brand img {
	margin-top: 10px;
	padding: 0;
	width: 200px;
}


#header {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100vw;
	height: auto;
}
#header .header {
	min-height: 8vh;
	background-color: rgba(31, 30, 30, 0.24);
	transition: 0.3s ease background-color;
}
#header .nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	max-width: 1300px;
	padding: 0 10px;
}
#header .nav-list ul {
	list-style: none;
	position: absolute;
	background-color: #131e29;
	width: 100vw;
	height: 100vh;
	left: 100%;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
	transition: 0.5s ease left;
}
#header .nav-list ul.active {
	left: 0%;
}

.nav-list ul li a.active-link {
  color: #00b5e2 !important;
}

#header .nav-list ul a {
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
	text-decoration: none;
	color: white;
	text-transform: uppercase;
	padding: 20px;
	display: block;
}
#header .nav-list ul a::after {
	content: attr(data-after);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	color: rgba(240, 248, 255, 0.021);
	font-size: 13rem;
	letter-spacing: 50px;
	z-index: -1;
	transition: 0.3s ease letter-spacing;
}
#header .nav-list ul li:hover a::after {
	transform: translate(-50%, -50%) scale(1);
	letter-spacing: initial;
}
#header .nav-list ul li:hover a {
	color: #00b5e2;
}
#header .hamburger {
	height: 60px;
	width: 60px;
	display: inline-block;
	border: 3px solid white;
	border-radius: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	cursor: pointer;
	transform: scale(0.8);
	margin-right: 20px;
}
#header .hamburger:after {
	position: absolute;
	content: '';
	height: 100%;
	width: 100%;
	border-radius: 50%;
	border: 3px solid white;
	animation: hamburger_puls 1s ease infinite;
}
#header .hamburger .bar {
	height: 2px;
	width: 30px;
	position: relative;
	background-color: white;
	z-index: -1;
}
#header .hamburger .bar::after,
#header .hamburger .bar::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	background-color: white;
	transition: 0.3s ease;
	transition-property: top, bottom;
}
#header .hamburger .bar::after {
	top: 8px;
}
#header .hamburger .bar::before {
	bottom: 8px;
}
#header .hamburger.active .bar::before {
	bottom: 0;
}
#header .hamburger.active .bar::after {
	top: 0;
}


#hero {
  position: relative;
  width: 100%;
  height: 100vh;            
  background: url('/img/wg_background.jpg') center/cover no-repeat;
  
}
.flex-container {
  display: flex;
  width: 100%;
  height: 60px;
  background-color: #131e29;
  background: linear-gradient(to right, #00b5e2, #131e29);
  margin: 0;
}

.flex-content-right {
	clip-path: polygon(0 0, 50% 0%, 40% 100%, 0 100%);
  width: 100%;
  height: 60px;
  background-color: #131e29;
  margin: 0; 
  justify-content: center;
}


.flex-content-left {
	clip-path: polygon(0 0, 40% 0%, 50% 100%, 0 100%);
  width: 100%;
  height: 60px;
  background-color: #131e29;
  margin: 0; 
  justify-content: center;
}


#particles-js {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;               
}


.logo-container {
	pointer-events: none;
  position: relative;
  z-index: 1;               
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;             
}
.logo-container img {
  width: 200px;             
}


#hero .hero {
  position: relative;  
}

#hero img {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
}


#Portfólió {
  width: 100%;
  height: 100vh;            
  background:
    radial-gradient(circle at center,
      rgba(0, 0, 0, 0.6) 100%,
      rgba(0, 0, 0, 0.6) 100%),
    url('img/wg_background.jpg') center/cover no-repeat;
  background-blend-mode: overlay;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 3rem;
  justify-content: center;
}

.tiles + * {
	border-top: 0 !important;
}

.tiles article {
  position: relative;
  flex: 0 0 calc((100% - 4rem) / 3);
  height: 25rem;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}

			

.tiles article header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
  text-align: center;
  pointer-events: none;
}

.tiles article:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.tiles article:hover header {
  opacity: 0;
}
.tiles article header h3 a {
  color: #fff !important;
  font-size: 1.8rem;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  display: block;
}

.link {
	text-decoration: none;
}

.tiles article h3 a:hover {
	color: inherit !important;
}

.tiles article .link.primary {
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 4;
}

.tiles article::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 181, 226, 0.6) 0%,
    rgba(19, 30, 41, 0.8) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: background 0.3s ease;
}

.tiles article:after {
	background-color: transparent !important;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}

.tiles article:hover::before {
  opacity: 0;
}

.tiles article.is-transitioning {
	-moz-transform: scale(0.95);
	-webkit-transform: scale(0.95);
	-ms-transform: scale(0.95);
	transform: scale(0.95);
	-moz-filter: blur(0.5em);
	-webkit-filter: blur(0.5em);
	-ms-filter: blur(0.5em);
	filter: blur(0.5em);
	opacity: 0;
}

			

@media screen and (max-width: 1280px) {

	.tiles article {
		padding: 4em 3em 2em 3em ;
		height: 30vh;
		max-height: 30em;
		min-height: 20em;
	}

}

@media screen and (max-width: 980px) {

	.tiles article {
		width: 50% !important;
		flex: 0 0 calc((100% - 2rem) / 2);
	}

}

@media screen and (max-width: 736px) {
	#Portfólió {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 2rem;
			}

	.tiles article {
		padding: 3em 1.5em 1em 1.5em ;
		height: 16em;
		max-height: none;
		min-height: 0;
		flex: 0 0 100%;
	}

	.tiles article h3 {
		font-size: 1.5em;
	}
		
}

@media screen and (max-width: 480px) {

	#Portfólió {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 2rem;
  }

  .tiles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .tiles article {
    flex: none;
    width: 100% !important;
    aspect-ratio: 16/9;
    height: auto !important;
  }




				.flex-content-right {
	clip-path: polygon(0 0, 70% 0%, 60% 100%, 0 100%);
	background-color: #131e29; }

	.flex-content-left {
	clip-path: polygon(0 0, 60% 0%, 70% 100%, 0 100%);
	background-color: #131e29; }

		}
		



.diag-split .diag-container {
  position: relative;
  width: 100%;
  height: 100vh;
  
}


.diag-split .diag-text {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  padding: 4rem 5rem;
  background-color: #131e29;
  background-image: url('img/wg_background.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: top;
  clip-path: polygon(
    0%   0%,
    70%  0%,
    50% 100%,
    0%  100%
  );
  z-index: 2;
}

.diag-split .diag-text p {
	font-size: 2rem;
	width: 50%;
}

.diag-split .diag-text h2 {
	font-size: 3rem;
	text-transform: uppercase;
}


.diag-split .diag-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('img/WG_about_bg.jpg') no-repeat center center;
  background-size: cover;
background-position: right;
  background-attachment: fixed;
  clip-path: polygon(
    50%  0%,
    100% 0%,
    100% 100%,
    40% 100%
  );
  z-index: 1;
}


#Kapcsolat.contact-split {
  position: relative;
  padding: 6rem 0;
  background:
    radial-gradient(circle at center,
      rgba(0, 181, 226, 0.6) 100%,
      rgba(0, 0, 0, 1) 100%),
    url('img/WG_contact_bg.jpg') center/cover no-repeat;
  background-blend-mode: overlay;
}

#Kapcsolat.contact-split::before {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 3;
}


#Kapcsolat .contact-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}


#Kapcsolat .contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

#Kapcsolat .contact-form h2 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}


#Kapcsolat .contact-form .field {
  margin-bottom: 1.5rem;
  background-color: rgba(0, 0, 0, 0.8);
}

#Kapcsolat .contact-form .field input,
#Kapcsolat .contact-form .field textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  color: #fff;
  background: transparent;
  border: 3px solid #00b5e2;
  outline: none;
  resize: none;
  box-sizing: border-box;
}


#Kapcsolat .contact-form .poly-btn {
  align-self: flex-start;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: 3px solid #00b5e2;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  transition: background-color .3s;
}

#Kapcsolat .contact-form .poly-btn:hover {
  background: #00b5e2;
  color: #131e29;
}

#Kapcsolat .contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background-color: rgba(0, 0, 0, 0.8);
  height: 350px;
  clip-path: polygon(
    0%   0%,
    70%  0%,
    50% 100%,
    0%  100%
  );
}

#Kapcsolat .contact-info h2 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 2rem;
}


#Kapcsolat .contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#Kapcsolat .contact-info ul li {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

#Kapcsolat .contact-info ul li .icon {
  width: 3rem;
  height: 3rem;
  margin-right: 0.75rem;
  object-fit: contain;
}


@media screen and (max-width: 768px) {
  .diag-split .diag-container {
    display: block;
    height: auto;
  }

 
  .diag-split .diag-text {
    position: relative !important;
    clip-path: none !important;
    width: 100% !important;
    height: auto !important;
    background:
      #131e29 url('img/wg_background.jpg') no-repeat center center/cover;
    padding: 3rem 1.5rem;
    text-align: left;
  }
  .diag-split .diag-text h2 {
    font-size: 2.8rem;
	width: 100% !important;
    height: auto !important;
    margin-bottom: 1rem;
  }
  .diag-split .diag-text p {
    font-size: 1.6rem;
	width: 100% !important;
    height: auto !important;
    line-height: 2.4rem;
    margin-bottom: 1rem;
  }


  .diag-split .diag-image {
    position: relative !important;
    clip-path: none !important;
    width: 100% !important;
    height: 70vh !important;
    background: url('img/WG_about_bg_mobile.jpg')
                no-repeat right center/cover;
    background-attachment: scroll !important;
  }

  #Kapcsolat.contact-split::before {
  z-index: -1;
}
#Kapcsolat .contact-container {
    flex-direction: column;
  }
  #Kapcsolat .contact-split::before {
    display: none;
  }
  #Kapcsolat .contact-form,
  #Kapcsolat .contact-info {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
	clip-path: none;
  }
  #Kapcsolat .contact-info ul li {
    display: flex;
    flex-direction: column;
	align-items: center;
	text-align: center;
	margin-right: 0;
	margin-bottom: 2;
  }

#Kapcsolat .contact-info ul li .icon {
    width: 4rem;
    height: 4rem;
    font-size: 3rem;
    margin-right: 0;
    margin-bottom: 1rem;
	margin-top: 1rem;
}


#Kapcsolat .contact-form .poly-btn {
  align-self: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: 3px solid #00b5e2;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  transition: background-color .3s;
}
}


#footer {
	background-color: #131e29;
}
#footer .footer {
	min-height: 100px;
	flex-direction: column;
	padding-top: 20px;
	padding-bottom: 10px;
}
#footer .brand img {
  width: 50px;  
  margin-top: 10px;
  padding: 0;
}


#footer p {
	color: white;
	font-size: 1.3rem;
}

@keyframes hamburger_puls {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.4);
	}
}


@media only screen and (min-width: 768px) {
	
	h1.section-title {
		font-size: 6rem;
	}

	
	#hero h1 {
		font-size: 4rem;
	}
	

	
	#Portfólió .service-bottom .service-item {
		flex-basis: 45%;
		margin: 2.5%;
	}
	

	

	
	#Rólunk .about {
		flex-direction: row;
	}
	#Rólunk .col-left {
		width: 600px;
		height: 400px;
		padding-left: 60px;
	}
	#Rólunk .about .col-left .about-img::after {
		left: -45px;
		top: 34px;
		height: 98%;
		width: 98%;
	
	}
	#Rólunk .col-right {
		text-align: left;
		padding: 30px;
	}
	#Rólunk .col-right h1 {
		text-align: left;
	}
	
	#Kapcsolat .contact {
		flex-direction: column;
		padding: 100px 0;
		align-items: center;
		justify-content: center;
		min-width: 20vh;
	}
	#Kapcsolat .contact-items {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		margin: 0;
	}
	#Kapcsolat .contact-item {
		width: 30%;
		margin: 0;
		flex-direction: row;
	}
	#Kapcsolat .contact-item .icon {
		height: 100px;
		width: 100px;
	}
	#Kapcsolat .contact-item .icon img {
		object-fit: contain;
	}
	#Kapcsolat .contact-item .contact-info {
		width: 100%;
		text-align: left;
		padding-left: 20px;
	}
	
}



@media only screen and (min-width: 1200px) {
	
	#header .hamburger {
		display: none;
	}
	#header .nav-list ul {
		position: initial;
		display: block;
		height: auto;
		width: fit-content;
		background-color: transparent;
	}
	#header .nav-list ul li {
		display: inline-block;
	}
	#header .nav-list ul li a {
		font-size: 1.8rem;
	}
	#header .nav-list ul a:after {
		display: none;
	}
	

	#services .service-bottom .service-item {
		flex-basis: 22%;
		margin: 1.5%;
	}
}


