/* nunito-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/nunito/nunito-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* nunito-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/nunito/nunito-v32-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* old-standard-tt-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Old Standard TT';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/standard/old-standard-tt-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
*,
*::after,
*::before {
	box-sizing: border-box;
}

body {
	margin: 0;
	--color-text: #1e2227;
	--color-bg: #e1ddd8;
	--color-link: #e64d06;
	--color-link-hover: #4ebbfb;
	--color-bg-shift: #1e2227;
	--page-padding: 2vw;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: 'Nunito', sans-serif;
	font-weight: 400;
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

main {
	position: relative;
	z-index: 100;
}

.bg {
	background: var(--color-bg);
	position: fixed;
	top: 0;
	height: 100%;
	width: 100%;
}

.intro {
	position: relative;
	display: grid;
	grid-template-areas:
		'intro-images intro-menu'
		'intro-title intro-title';
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	padding: 0 var(--page-padding) var(--page-padding);
	grid-gap: 5vh;
	height: 100vh;
}

.intro__title {
	grid-area: intro-title;
	text-transform: uppercase;
	align-self: end;
}

.intro__title-links {
	font-size: 0.65rem;
	margin-left: 0.25rem;
	display: flex;
	flex-wrap: wrap;
}

.demos {
	width: 100%;
}

.intro__title-links a {
	margin-right: 0.5rem;
}

.intro__title-main {
	font-size: 7.6vw;
	font-family: 'Old Standard TT', serif;
	font-weight: 400;
	margin: 0;
	line-height: 1.1;
	pointer-events: none;
}

.intro__title-sub {
    font-size: 2.2vw;
    font-weight: 300;
    margin: 0.5rem 0 0 0;
    line-height: 1;

}

.intro__gallery {
	display: flex;
	justify-content: flex-start;
	gap: 3rem;
}
.intro__gallery-item {
    width: 32%;
    max-width: 52vh;
    display: block;
    background-size: cover;
    margin-top: 1rem;
    background-position: 50% 50%;
    border-radius: 0 0 13vw 13vw;
    margin: 0;
}
.text {
    font-size: 2.8vw;
    padding-left: 2vw;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text p {
	margin: 0 0 1rem;
}

@media screen and (min-width: 53em) {
	body {
		--page-padding: 1.5rem;
	}

	.intro {
		grid-template-areas: 
		'intro-images intro-menu'
		'intro-images intro-ad'
		'intro-title ...';
		grid-template-columns: 100%;
		grid-template-rows: 1fr auto;
	}

	.intro__title {
		white-space: nowrap;
	}

}
@media screen and (max-width: 520px) {
	.intro {
		height: auto;
    display: flex;
    flex-direction: column;
	}
	.intro__gallery-item {
		position: absolute;
    top: 0px;
    left: 13px;
    height: 70vw;
    width: 40vw;
	}
	.intro__title {
    grid-area: intro-title;
    text-transform: uppercase;
    align-self: end;
    height: 70vw;
    z-index: 1;
    padding-left: 45.3vw;
    padding-top: 9.8vw;
}
.intro__title-main {
    font-size: 9.6vw;
    font-family: 'Old Standard TT', serif;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    pointer-events: none;
}
.intro__title-sub {
    font-size: 3.2vw;
    font-weight: 300;
    margin: 0.5rem 0 0 0;
    line-height: 1.2;
}
.text {
    font-size: 5.3vw;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.4vw;
}
a {
	white-space: nowrap;
}
}