/*
Theme Name: L'Burn Theme
Author: Share it
Author URI: https://www.share-it.io/
Description: Theme for L'Burn
Version: 0.2
*/

/* IMPORTS */

/* COLORS */

:root {
	--color-primary: #dc3129;
	--color-primary-50: #fef3f2;
	--color-primary-100: #fee3e2;
	--color-primary-200: #ffb4aa;
	--color-primary-300: #fca9a5;
	--color-primary-400: #f87771;
	--color-primary-500: #ef4c44;
	--color-primary-600: #dc3129;
	--color-primary-800: #b9231c;
	--color-primary-850: #99211b;
	--color-primary-900: #7f211d;
	--color-primary-950: #450d0a;
	--color-white: #ffffff;
	--color-black: #000000;
	--color-neutral-50: #f6f6f6;
	--color-neutral-100: #e7e7e7;
	--color-neutral-200: #d1d1d1;
	--color-neutral-300: #b0b0b0;
	--color-neutral-400: #888888;
	--color-neutral-500: #6d6d6d;
	--color-neutral-600: #5d5d5d;
	--color-neutral-800: #4f4f4f;
	--color-neutral-800: #454545;
	--color-neutral-900: #3d3d3d;
	--color-neutral-950: #2a2a2a;
}

body {
	background-color: var(--color-primary-100);
	color: var(--color-neutral-950);
}

/* CLEANUP */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

img {
	display: block;
	max-width: 100%;
}

/* FONTS */

.text-s {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.4px;
}

body,
.text-m {
	font-family: "Libre Franklin", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.25px;
}

.header-menu,
.header-user__name,
.text-l {
	font-family: "Libre Franklin", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.5px;
}

.label-s {
	font-family: "Libre Franklin", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-size: 11px;
	line-height: 16px;
	letter-spacing: 0.5px;
}

.label-m {
	font-family: "Libre Franklin", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.5px;
}

.label-l {
	font-family: "Libre Franklin", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.1px;
}

.title-s {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.1px;
}

.title-m {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.15px;
}

.title-l {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 22px;
	line-height: 28px;
	letter-spacing: 0;
}

.title-xl {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-size: 60px;
	line-height: 65px;
	letter-spacing: -2px;
}

.headline-s {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: 0;
}

.headline-m {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 28px;
	line-height: 36px;
	letter-spacing: 0;
}

.headline-l {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: 0;
}

.display-s {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 36px;
	line-height: 44px;
	letter-spacing: 0;
}

.display-m {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 45px;
	line-height: 52px;
	letter-spacing: 0;
}

.display-l {
	font-family: "Archivo Black", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-size: 57px;
	line-height: 64px;
	letter-spacing: -0.25px;
}

/* BUTTONS */

.btn {
	font-family: "Libre Franklin", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.1px;
	background-color: var(--color-neutral-950);
	color: var(--color-white);
	border-radius: 999px;
	border: none;
	height: 2.5rem;
	padding-inline: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	cursor: pointer;
}

.btn-l {
	font-weight: 700;
	font-size: 17px;
	line-height: 32px;
	letter-spacing: 0.6px;
	height: 3.5rem;
	padding-inline: 2rem;
}

.btn-primary {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-neutral-950);
	border: 1px solid var(--color-neutral-950);
}

.btn-arrow {
	background-image: url('assets/images/arrow-right-white.svg');
	background-repeat: no-repeat;
	background-size: 1rem;
	background-position: calc(100% - 1.2rem) 50%;
	padding-right: 3rem;
}

/* BADGE */

.badge {
	font-family: "Libre Franklin", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-size: 10px;
	line-height: 16px;
	letter-spacing: 0;
	background-color: var(--color-neutral-100);
	padding: 0.25rem 0.75rem;
	border-radius: 999rem;
}

/* CARD */

.card {
	background-color: var(--color-neutral-50);
	border-radius: 0.75rem;
	box-shadow: 0px 1px 2px 0px #0000004d;
}

.card-section {
	padding: 1.5rem;
}

.card-section + .card-section {
	border-top: 1px solid var(--color-neutral-200);
}

/* LAYOUT */

.layout {
	--header-height: 6rem;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	padding-top: var(--header-height);
}

.layout > header {
	background-color: var(--color-neutral-50);
}

.layout > main {
	flex: 1;
}

.layout > footer {
	background-color: var(--color-primary-200);
}

.container {
	width: 100%;
	max-width: 70rem;
	margin: 0 auto;
}

/* HEADER */

header {
	height: var(--header-height);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
}

header .container {
	max-width: 90rem;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 1rem;
}

header .logo {
	flex-shrink: 0;
}

.header-menu ul {
	list-style: none;
	display: flex;
	gap: 2.5rem;
	align-items: start;
}

.header-menu a {
	font-size: 0.75rem;
	text-decoration: none;
	color: var(--color-neutral-950);
}

.header-menu a:hover {
	color: var(--color-neutral-500);
}

.header-menu .menu {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.header-menu .current-menu-item:not(.btn) {
	font-weight: 700;
	font-family: "Archivo Black", sans-serif;
}

.header-menu .current-menu-item:not(.btn)::after {
	content: "";
	position: absolute;
	display: block;
	font-weight: 700;
	height: 0.25rem;
	width: 0.75rem;
	border-radius: 1rem;
	background-color: var(--color-neutral-800);
}

.header-menu .btn {
	text-align: center;
	line-height: 1;
    height: auto;
    padding: 0;
}

.header-menu .btn a {
    padding: 0.875rem 1rem;
}

.header-menu .btn-tertiary {
	border: 1px solid var(--color-neutral-950);
	background-color: transparent;
}

.header-menu .btn-primary a {
	color: var(--color-white);
}

.header-user {
	position: relative;
}

.header-user__control {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	cursor: pointer;
}

.header-user__control::after {
	content: "\e136";
	font-family: "Phosphor";
}

input:checked ~ .header-user__control::after {
	content: "\e13c";
}

.header-user__icon {
	color: var(--color-neutral-800);
	font-size: 2.5rem;
	line-height: 1em;
}

.header-user__menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	background-color: var(--color-neutral-50);
	border-radius: 0 0 0.25rem 0.25rem;
	box-shadow: 0px 1px 2px 0px #0000004d;
	padding: 1rem;
	width: 12rem;
	display: none;
	letter-spacing: 0.5px;
}

.header-user__menu ul {
	display: grid;
	list-style: none;
	gap: 0.5rem;
}

.header-user__menu a {
	color: black;
	text-decoration: none;

	&:hover {
		opacity: 70%;
	}
}

input:checked ~ .header-user__menu {
	display: block;
}

@media (min-width: 1024px) {
	.header-menu .menu {
		gap: 1.5rem;
	}

	.header-menu .menu-item:not(.btn) a {
		font-size: 1rem;
	}
}

/* burger menu */
.burger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	background: none;
	border: none;
	cursor: pointer;
}

.burger span {
	display: block;
	height: 3px;
	width: 100%;
	background: #333;
	border-radius: 2px;
}

@media (max-width: 768px) {
	.burger {
		display: flex;
	}

	.header-menu {
		display: none;
		position: absolute;
		top: 96px;
		left: 0;
		right: 0;
		background: #fff;
		padding: 1rem;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	}

	.header-menu.active {
		display: block;
	}

	.header-menu .menu {
		flex-direction: column;
	}
}

/* MAIN */

main {
	padding-block: 3rem;
}

/* FOOTER */

footer {
	padding-block: 5rem;
}

footer .container {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 2rem;
	padding: 0 1rem;
}

.footer-newsletter {
	flex: 25rem 0 1;
}

.footer-newsletter__form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	margin-top: 0.25rem;
}

.footer-newsletter__input {
	flex: 1;
	border: 1px solid var(--color-neutral-800);
	border-radius: 0.5rem;
	padding: 0.5rem;
	height: 2.5rem;
}

footer .logo img {
	max-width: 10rem;
}

.footer-menu ul {
	list-style: none;
	margin-top: 1rem;
}

.footer-menu a {
	text-decoration: none;
	color: var(--color-neutral-950);
	padding-block: 0.5rem;
	display: block;
}

.footer-menu a:hover {
	text-decoration: underline;
}

.footer-menu li.btn {
	display: none;
}

.footer-social ul {
	list-style: none;
	margin-top: 1rem;
}

.footer-social a {
	text-decoration: none;
	color: var(--color-neutral-950);
	padding-block: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-social a:hover span {
	text-decoration: underline;
}

.footer-social__icon {
	color: var(--color-neutral-800);
	font-size: 1.5rem;
	line-height: 1em;
}

@media (max-width: 767px) {
	footer {
		padding-block: 2rem;
	}

	footer .container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-newsletter {
		flex: auto;
	}

	.footer-social a {
		justify-content: center;
	}
}

/* SECTION */

section {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

section > section {
	gap: 1.5rem;
}

/* LISTS */

.points-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.points-list li {
	color: var(--color-neutral-800);
	display: flex;
	align-items: center;
	gap: 1rem;
}

.points-list li::before {
	content: "\E606";
	font-family: "Phosphor-Fill";
	color: var(--color-primary);
	font-size: 1.5rem;
	margin-right: 0.5rem;
}

.badge-list {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.attributes-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.attributes-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.attributes-list-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.attributes-list-icon {
	color: var(--color-neutral-600);
	font-size: 1.25rem;
	line-height: 1em;
}

.attributes-list-value {
	color: var(--color-neutral-800);
}

/* BREADCRUMBS */

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
    padding: 0 1rem;
}

.breadcrumbs span {
	color: var(--color-neutral-800);
	display: flex;
	align-items: center;
    flex-wrap: wrap;
	gap: 0.5rem;
}

.breadcrumbs a {
	color: var(--color-neutral-950);
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs span:has(> a)::after {
	content: "\e13a";
	font-family: "Phosphor";
	color: var(--color-neutral-600);
}

/* WORKSHOP */

.workshop-content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	position: relative;
	padding: 0 1rem;
}

.workshop-card-header {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.workshop-buttons {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 980px) {
	.workshop-content {
		display: grid;
		grid-template-columns: 2fr 1fr;
	}
}

/* HELPERS */

.text-primary {
	color: var(--color-primary);
}

.text-muted {
	color: var(--color-neutral-600);
}

.text-neutral-8 {
	color: var(--color-neutral-800);
}

.font-semibold {
	font-weight: 600;
}

.mt-3 {
	margin-top: 1.5rem;
}

.mr-1 {
	margin-right: 0.5rem;
}

.radius-m {
	border-radius: 0.75rem;
}

.sticky-sidebar {
	position: sticky;
	top: calc(var(--header-height) + 1.5rem);
	height: fit-content;
}

.hidden {
	display: none;
}

/* RESPONSIVENESS */

@media screen and (max-width: 48rem) {
}

@media screen and (max-width: 40rem) {
}

.page-404 {
	text-align: center;
	padding: 4rem 2rem;
}

.page-404 a {
	margin-top: 1rem;
	display: inline-block;
	line-height: 2.8;
	text-decoration: none;
}
