/* || HERO */
.hero {
	display: flex;
	flex-direction: column;
	flex: 100%;
	gap: 48px;

	> h6 {
		text-align: center;
	}
}

.hero__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 55%;
}

.hero__content > div {
	gap: 4px;

	> h1 {
		font-size: 3rem;
		font-weight: 700;
	}
}


/* || SECTION / PROJECTS */
.section {
	display: flex;
	flex-direction: column;
	flex: 100%;
	gap: 20px;
}


/* || PROJECT CARD */
.project-card {
	display: flex;
	flex-direction: row;
	flex: 100%;
	border-radius: 16px;
	box-shadow: 0px 1px 4px 0px rgba(24, 19, 19, 0.25);
}

.leading {
	flex: 100%;
	padding: 8px;
	align-content: center;
	align-items: center;
}

.leading img {
	border-radius: 16px;
	width: 100%;
	height: auto;
}

.trailing {
	display: flex;
	flex-direction: column;
	flex: 100%;
	padding: 32px;
	gap: 8px;
	justify-content: space-between;
}

.trailing__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 12px;
	> h6 {
		color: var(--text-secondary);
	}
}

.trailing__content__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.app-info {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	img {
		max-width: 40px;
		max-height: 40px;
		border: 0.5px solid #E2E2E2;
		border-radius: 8px;
	}
}

.app-name {
	font-size: 2rem !important;
	line-height: 2.25rem !important;
}


/* || BUTTON */
.box__button {
	display: flex;
	align-self: flex-start;
}

.button--primary {
	background-color: white;
	color: var(--text-primary);
	padding: 8px 16px;
	gap: 8px;
	border-radius: 8px;
	cursor: pointer;
	border: 1px solid var(--text-primary);
	font-size: 1rem;
	font-weight: 700;
	flex-direction: row;
	align-self: flex-start;
	transition: 0.200s;
}

.button--cta {
	background-color: var(--surface-button);
	border: 1px solid var(--surface-button);
	color: white;
}

.button--primary:hover {
	background-color: var(--surface-button);
	border: 1px solid var(--surface-button);
	color: white;
}

.button--cta:hover {
	background-color: white;
	color: var(--surface-button);
}


/* || MEDIA QUERIES */

/* Width less than 760px */
@media (width <= 760px) {
	.hero {
		gap: 24px;
		> h6 {
			font-size: 0.75rem;
			line-height: 1rem;
		}
	}

	.hero__content {
		max-width: 100%;
		padding: 0px 64px;
	}

	.hero__content div {
		text-align: center;
		> h1 {
			font-size: 2rem;
			line-height: 2,5rem;
		}
	}
	h4 {
		font-size: 1rem !important;
		line-height: 1.5rem !important;
	}

	.project-card {
		flex-direction: column;
	}
	.trailing {
		gap: 20px;
	}

	.hero__content > p {
		font-size: 1rem;
		line-height: 1.5rem;
		text-align: center;
	}
}

/* Width less than 480px */ 
@media (width <= 480px) {
	.hero__content {
		padding: 0px 32px;
	}

	.button--primary {
		font-size: 0.75rem;
		line-height: 1rem;
	}
}

/* Width less than 820px */
@media (width <= 820px) {
	.trailing__content__text {
		gap: 12px;
	}
	.app-description {
		font-size: 1rem;
		line-height: 1.5rem;
	}
}