/*
html {
	font-size: 1.48vh;
}
*/

.welcome__section {
	display: flex;
	justify-content: center;
	min-height: calc(100dvh - 7.5rem);
	margin-bottom: 4rem;
}

.welcome__section--left {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
	width: calc((5 / 12) * 100%);
}

.welcome__heading {
	padding-bottom: 0;
}

.welcome__content {
	margin: 0;
	margin-bottom: 2rem;
	color: var(--gray);
}

.welcome__button {
	padding: 0.5rem 2rem;
}

.welcome__section--right {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
	width: calc((7 / 12) * 100%);
}

.welcome__player {
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	height: 29.6rem;
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
	border-radius: 0.25rem;
	font-size: 3.2rem;
	background-image: url("../images/player.png");
	background-position: center;
	background-size: cover;
}

.welcome__buttons {
	width: 100%;
	margin-top: 1rem;
}

.trustedby {
	margin-bottom: 4rem;
}

.trustedby__heading {
	padding-bottom: 4rem;
}

.trustedby__entries {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4rem 0;
}

.trustedby__entry {
	display: flex;
	width: 24rem;
}

.trustedby__logo {
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: content-box;
	width: 4rem;
	height: 4rem;
	padding: 0.75rem;
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
	border-radius: 0.25rem;
}

.trustedby__image {
	max-width: 4rem;
	max-height: 4rem;
}

.trustedby__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 1rem;
}

.contactus {
	margin-bottom: 0.75rem;
	padding: 2rem;
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
	border-radius: 0.25rem;
}

.contactus__heading {
	padding-bottom: 1rem;
}

.contactus__content {
	margin: 0;
	margin-bottom: 1.5rem;
	color: var(--gray);
}

.contactus__button {
	padding: 0.5rem 2rem;
}

.products__section {
	display: flex;
}

.products__section--left {
	width: 25%;
}

.products__section--right {
	width: 75%;
}

.form__group--products {
	margin-bottom: 0.25rem;
}

.products__select {
	width: 12rem;
	border-left: none;
}

.products__list {
	display: grid;
	margin-top: 1rem;
	column-gap: 1rem;
	grid-template-columns: repeat(2, 1fr);
	row-gap: 1rem;
}

.products__entry {
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
	border-radius: 0.25rem;
	display: flex;
	flex-direction: column;
	height: 100%; /* WAŻNE: pozwala na równe kafelki */
	box-sizing: border-box;
}

.products__wrapper {
	position: relative;
}

.products__image {
	width: 100%;
	height: 100%;
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

.products__flags {
	display: flex;
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	gap: 0.25rem;
}

.products__link {
	color: var(--white);
	text-decoration: none;
	height: 100%;
	display: flex;
	flex-direction: column;

	&:hover {
		color: var(--white);
		text-decoration: none;
	}
}

.products__content {
	display: grid;
	align-items: center;
	padding: 0.75rem;
	grid-template-columns: 1fr auto;
	gap: 0.75rem;
	height: -webkit-fill-available;
}

.products__label {
	font-weight: 700;
}

.products__price {
	font-size: 1.2rem;
}

.product__wrapper {
	width: 100%;
	margin-bottom: 1rem;
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
	border-radius: 0.25rem;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.product__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product__section {
	display: flex;
	gap: 0 1rem;
}

.product__section--left {
	width: calc((8 / 12) * 100%);
}

.product__section--right {
	box-sizing: border-box;
	width: calc((4 / 12) * 100%);
}

.creator {
	display: flex;
	align-items: center;
	margin: 1rem 0;
}

.creator__image {
	width: 2rem;
	height: 2rem;
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
	border-radius: 0.25rem;
}

.creator__name {
	margin-left: 0.5rem;
}

.product__category {
	display: inline-block;
	margin-bottom: 1rem;
}

.product__button {
	margin-bottom: 1rem;
}

.product__escrow {
	margin-bottom: 1rem;
}

.product__tags {
	margin-top: 1rem;
}

.tags {
	display: flex;
}

.tags__tag {
	margin-top: 0.25rem;
	margin-right: 0.25rem;
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
}

.creators {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4rem 12rem;
	align-content: center;
}

.creators__entry {
	width: 12rem;
}

.creators__image {
	width: 6rem;
	height: 6rem;
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
	border-radius: 0.25rem;
	margin-bottom: 0.5rem;
}

.creators__category {
	border: 0.075rem solid hsl(from var(--white) h s l / 0.1);
}

.error {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.error__icon {
	font-size: 10rem;
}

.error__sublabel {
	margin-bottom: 1rem;
	color: var(--gray);
	font-size: 1rem;
}

@media (max-width: 1280px) {
	.welcome__section {
		flex-direction: column;
	}

	.welcome__section--left {
		width: 100%;
		margin-bottom: 2rem;
	}

	.welcome__section--right {
		width: 100%;
	}

	.products__section {
		flex-direction: column;
	}

	.products__section--left {
		width: 100%;
		margin-bottom: 2rem;
	}

	.products__section--right {
		width: 100%;
	}

	.product__section {
		flex-direction: column-reverse;
	}

	.product__section--left {
		width: 100%;
	}

	.product__section--right {
		width: 100%;
		margin-bottom: 2rem;
	}
}

/* */

.nav--style {
	overflow: hidden scroll;
	height: calc(100dvh - 6.75rem);

	.nav__item {
		padding-left: 0;
	}
}

.nav__item--docs-category {
	padding-left: 0;

	&:first-child {
		padding-top: 0;
	}
}

.nav__link--docs-category {
	font-weight: 700;
}

.nav__item--docs {
	padding: 0.25rem 0.75rem;
}

.nav__link--docs {
	color: var(--gray);
}

.navbar__nav--social {
	.navbar__item {
		padding: 1rem 0.5rem;
	}

	.navbar__item:last-child {
		padding-right: 1rem;
	}

	.navbar__link {
		color: var(--white);

		&:hover {
			color: var(--brand);
		}
	}
}

.tabs__panel--inputs {
	.input {
		margin-bottom: 1rem;

		&:last-child {
			margin-bottom: 0;
		}
	}
}

@media (max-width: 1280px) {
	.navbar__nav--social {
		.navbar__item {
			padding: 1rem;
		}
	}

	.welcome__player {
		height: 19rem;
	}

	.documentation__section--left {
		width: 100%;
		margin-bottom: 2rem;
	}

	.documentation__section--right {
		width: 100%;

		.nav__item {
			padding-right: 0;
		}
	}
}

.icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.lucide {
	width: 1em;
	height: 1em;
}
