.hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-image: url("../images/main-background.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 100vh;
	padding-top: var(--header-height);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2rem;
}

.hero__content {
	max-width: 560px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 100%;
}

.hero__media {
	align-self: flex-end;
	flex-shrink: 1;
	min-width: 0;
}

.hero__image {
	position: absolute;
	right: -100px;
	top: 0;
	display: block;
	width: auto;
	max-height: 100vh;
	margin-left: auto;
}

.hero__title {
	font-size: 76px;
    line-height: 0.85;
    font-weight: 600;
    color: var(--color-accent);
}

.hero__subtitle {
	font-size: 16px;
	line-height: 1;
	color: var(--color-accent);
	max-width: 420px;
}

/* Breakpoints: 1440 / 1280 / 1024 / 768 / 380 */

@media (max-width: 1440px) {
	.hero__title {
		font-size: 52px;
	}
}

@media (max-width: 1280px) {
	.hero__title {
		font-size: 46px;
	}
}

@media (max-width: 1024px) {
	.hero__inner {
		min-height: auto;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		text-align: center;
		padding-bottom: 60px;
		gap: 24px;
	}

	.hero__content {
		display: flex;
		flex-direction: column;
		gap: 2rem;
		max-width: 100%;
	}

	.hero__subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.hero__media {
		align-self: center;
		order: -1;
	}

	.hero__image {
		max-width: 420px;
		max-height: 50vh;
		margin: 0 auto;
	}

	.hero__title {
		font-size: 38px;
	}
}

@media (max-width: 768px) {
	.hero__title {
		font-size: 32px;
	}

	.hero__subtitle {
		max-width: 100%;
	}

	.hero__image {
		max-width: 320px;
		max-height: 40vh;
	}
}

@media (max-width: 380px) {
	.hero__title {
		font-size: 26px;
	}

	.hero__subtitle {
		font-size: 14px;
	}

	.hero .btn {
		width: 100%;
	}

	.hero__image {
		max-width: 260px;
	}
}