/* ======================== */
/* ROOT VARIABLES           */
/* ======================== */
:root {
	/* Wygląd interfejsu */
	--border-radius: 4px;
}

/* ======================== */
/* HEADER & NAVIGATION      */
/* ======================== */

body {
	background: #fdfdfd;
}

header {
	position: relative;
	z-index: 99;
	padding: 1rem 0;
}

.header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.logo {
	display: flex;
	align-items: center;
	transition: opacity 0.3s;
}

.logo:hover {
	opacity: 0.8;
}

.logo a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #222222;
	font-weight: 700;
	font-size: 1.5rem;
}

nav.nav {
	position: static;
	font-size: 1.05rem;
}

/* ======================== */
/* BURGER MENU              */
/* ======================== */
.menu-btn {
	display: none;
}

.menu-icon {
	display: block;
	cursor: pointer;
	padding: 0.5rem 0;
}

.navicon {
	background: #222222;
	display: block;
	height: 2px;
    width: 25px;
	position: relative;
	transition: background 0.2s ease-out;
}

.navicon::before,
.navicon::after {
	content: '';
	display: block;
	background: #222222;
	height: 100%;
	width: 100%;
	position: absolute;
	transition: all 0.2s ease-out;
	transform-origin: center;
}

.navicon::before {
	top: 0.5rem;
}

.navicon::after {
	top: -0.5rem;
}

.menu-btn:checked ~ .menu-icon .navicon {
	background: transparent;
}

.menu-btn:checked ~ .menu-icon .navicon::before {
	transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon::after {
	transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon::before,
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon::after {
	top: 0;
}

/* ======================== */
/* MAIN NAVIGATION          */
/* ======================== */
.menu {
	padding: 0 20px;
    font-size: 1.15rem;
}

ul.menu {
	list-style: none;
	display: none;
	position: absolute;
	top: 3rem;
	left: 0;
	width: 100%;
	flex-direction: column;
	background: #ffffff;
	z-index: 100;
}

ul.menu li {
	margin: 0;
	width: 100%;
	border-bottom: 1px solid #dddddd;
}

ul.menu li:last-child {
	border-bottom: none;
}

ul.menu li a {
	padding: .75rem 0;
	display: block;
	text-decoration: none;
	color: #222222;
}

ul.menu li a:hover {
	font-weight: 600;
}

.demo-label {
	font-size: 0.75rem;
	color: red;
	font-weight: 600;
	margin-left: 0.5rem;
}

.app-name-demo-label {
	font-size: 0.75rem;
	color: red;
	font-weight: 600;
	margin-left: 0.5rem;
}

.menu-btn:checked + .menu-icon + ul.menu {
	display: flex;
}

/* ======================== */
/* APP LIST                 */
/* ======================== */
.app-list-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 40px 0;
	box-sizing: border-box;
}

.app-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.app-list-header {
	text-align: center;
	margin-bottom: 40px;
}

.app-list-header h1 {
	font-size: 2.2em;
	color: var(--primary);
	margin: 0;
	font-weight: 500;
}

.app-list a {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.app-list .btn-secondary {
	background: var(--white);
	color: var(--primary);
	border-color: var(--primary);
	border-width: 1px;
	font-weight: 400;
}

.app-list .btn-secondary:hover {
	background: var(--primary);
	color: var(--white);
}

.app-list .btn-primary {
	background: var(--primary);
	color: var(--white);
	border-color: var(--primary);
	border-width: 1px;
	font-weight: 400;
}

.app-list .btn-primary:hover {
	background: var(--white);
	color: var(--primary);
}

.app-name-demo-label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-left: 0.35rem;
}

@media (min-width: 800px) {
	.app-list-container {
		width: 600px;
	}
}
