@font-face {
    font-family: 'BricolageGrotesque_24pt-Regular';
    src: url('../fonts/BricolageGrotesque_24pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BricolageGrotesque_24pt-Bold';
    src: url('../fonts/BricolageGrotesque_24pt-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'BricolageGrotesque_24pt-Regular', sans-serif;	
	color-scheme: dark;
		margin: 0;
	padding: 0;
	overflow-x: hidden;
	scroll-behavior: auto !important;
}

b {
    font-family: 'BricolageGrotesque_24pt-Bold';
    font-weight: normal;
    font-style: normal;	
}

.small {
		font-size: .75rem;
}

.small-extra {
		font-size: .66rem;
}

@media (min-width:1200px) {
	h1, .h1 {
		font-size: 3.5rem;
	}
	h3, .h3 {
		font-size: 1.5rem;
	}
}

.container {
	max-width: 1430px
}

.bg-dark {
	background: #090909!important;
}

.text-dark {
	color: #090909!important;
}

.bordr-dark {
	border-color: #090909!important;
}

#main {
	position: relative;
	width: 100%;
	min-height: 100vh;
	overflow: visible;
}

.sections-track {
	display: block;
	width: 100%;
}

.section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 4.5rem!important;
}

@media (max-width:1199px){
	.section {
		padding-top: 5.5rem!important;
	}
} 

.section > .container {
	width: 100%;
}

html {
	overflow-y: scroll;
	scrollbar-gutter: stable;
}

body {
	overflow-x: hidden;
}
.main-nav button.active {
	opacity: 1;
	  text-decoration: line-through;
}

#footerscale {
	width: 495px;
	max-width: 100%;
	overflow: hidden;
}

#footerscale-svg {
	display: block;
	max-width: 100%;
margin-inline: auto;
}

#footerscale-track {
	will-change: transform;
}

header {
	background: rgba(9,9,9,0.3);
	backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}

#topbar {  display: grid;
  grid-template-columns: 1fr 495px 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
    justify-content: center; 
	  align-content: center; 
  grid-template-areas:
    "topblank topscale main-nav";

}

.topblank { grid-area: topblank; }

.topscale { grid-area: topscale; }

.main-nav { grid-area: main-nav; }

		#topscale {
				position: relative;
				width: 495px;
				overflow: hidden;
			}

			#topscale-svg {
display: block;
max-width: 100%;
margin-inline: auto;
}

			#topscale-track {
				will-change: transform;
			}

@media (max-width:1419px) {
#topbar {  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 0px 0px;
  grid-auto-flow: row;
    justify-content: center; 
	  align-content: center; 
  grid-template-areas:
    "topscale topscale"
	"topblank main-nav";
}

#footerscale {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

#topscale {
position: relative;
	width: 100%;
overflow: hidden;
}
	
}

#home-inner {
  position: relative;
  overflow: hidden;
}

#home-inner .home-bg {
  position: absolute;
  inset: 2%; /* kicsit nagyobb, hogy forgásnál ne lógjon ki üres rész */
  background: url("../img/cd.png") center center / cover no-repeat;
  background-size: contain;
  z-index: 0;
}

#home-inner .content {
  position: relative;
  z-index: 1;
}

/* mobil/tablet: natív snap */
@media (max-width: 1024px), (pointer: coarse) {
	html {
		scroll-snap-type: y mandatory;
		scroll-behavior: smooth;
	}
}

/* desktop: a JS kezeli, itt ne snap-eljen natívan is */
@media (min-width: 1025px) and (pointer: fine) {
	html {
		scroll-snap-type: none;
	}
}

.btn-lg {
	line-height: 1;
	padding: 1rem 1.5rem;
	width: 100%;
	max-width: 265px;
}

.btn-lg:hover {
	background: rgba(217,217,217,0.1);
	transition: all 0.5s ease-in-out;
}

.btn-lg:hover .small {
	padding-left: .5rem;
		transition: all 0.5s ease-in-out;
}

.about-block {  display: grid;
  grid-template-columns: 8% 1fr 265px;
  grid-template-rows: auto auto auto;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "about-image about-text about-button"
    "about-image about-text about-button"
    "about-image about-text about-button";
}

.about-image { grid-area: about-image; }

.about-text { grid-area: about-text; }

.about-button { grid-area: about-button; }

@media (max-width:1199px) {
.about-block {  display: grid;
  grid-template-columns: 16% 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "about-image about-text about-text"
    "about-image about-button about-button";
}

}

@media (max-width:768px) {
.about-block {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "about-image"
    "about-text"
	"about-button";
}

}

.letter-space {
letter-spacing: 8px;	
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0px;
}

.nav-item {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}

.nav-toggle {
  position: relative;
  width: 40px;
  height: 40px;
}

.nav-toggle svg {
  position: absolute;
  inset: 0;
  margin: auto;
  transform-origin: center;
  cursor: pointer;
}

#eye {
  opacity: 1;
  visibility: visible;
}

#x {
  opacity: 0;
  visibility: hidden;
}

@media (max-width:768px) {
	.nav-item {
		font-size: .8rem
	}
	
}

.intro {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 20vh 40vh 15vh;
  gap: 0px 0px;
  justify-items: center; 
  grid-auto-flow: row;
  grid-template-areas:
    "slow"
    "logo"
    "affi";
}

.slow { grid-area: slow; }

.logo { grid-area: logo; }

.affi { grid-area: affi; text-align: center }


.slow .img-fluid {
	max-height: 15vh
} 

.logo .img-fluid {
	max-height: 40vh
} 

.affi .img-fluid {
	max-height: 15vh
} 

@media (max-width:768px) {
	
	.intro {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 15vh 40vh 15vh;
  gap: 0px 0px;
  justify-items: center; 
  grid-auto-flow: row;
  grid-template-areas:
    "slow"
    "logo"
    "affi";
}

.slow { grid-area: slow; }

.logo { grid-area: logo; }

.affi { grid-area: affi; }


.slow .img-fluid {
	max-height: 15vh
} 

.logo .img-fluid {
	max-height: 40vh
} 

.affi .img-fluid {
	max-height: 15vh
} 


	
}

@media (max-width:540px) {
	.intro {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 15vh 40vh 10vh;
  gap: 0px 0px;
  justify-items: center; 
  grid-auto-flow: row;
  grid-template-areas:
    "slow"
    "logo"
    "affi";
}

.slow { grid-area: slow; }

.logo { grid-area: logo; }

.affi { grid-area: affi; }


.slow .img-fluid {
	max-height: 15vh
} 

.logo .img-fluid {
	max-height: 40vh
} 

.affi .img-fluid {
	max-height: 10vh
} 

#home {
	padding-top: 7rem!important;
}	
}