:root {
	--navbar-height: 4rem;
	--list-gap: 6rem;
	--color-primary: hsl(79, 99%, 46%);
	--color-navbar: hsl(79, 75%, 10%);
}

body {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
}

a {
	text-decoration: none;
}

a, a:visited, a:active {
	color: unset;
}

img {
	display: block;
}

.logo {
	display: flex;
	align-items: center;
	font-size: 2rem;
	font-weight: bold;
	color: var(--color-primary);
}

.navbar {
	position: fixed;
	display: flex;
	justify-content: center;
	width: 100%;
	height: var(--navbar-height);
	/* background: #3c3c3c; */
	background: var(--color-navbar);
}

.navbar-content {
	display: flex;
	width: 100%;
	max-width: 60rem;
	padding: 0 8rem 0 2rem;
}

.navlist {
    display: grid;
    grid-auto-flow: column;
	flex-grow: 1;
	justify-content: center;
	align-items: flex-end;
	gap: 2rem;
}

a.navitem {
	display: flex;
	align-items: flex-end;
	height: 100%;
	padding-bottom: 1rem;
	font-size: 1.125rem;
	transition: color 200ms;
}

a.navitem {
	color: #fff;
}

a.navitem:hover, a.navitem.active {
	color: var(--color-primary);
}

a.navitem.active {
	pointer-events: none;
}

main {
	padding: calc(var(--list-gap) + var(--navbar-height)) 0 var(--list-gap) 0;
}

.plist {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: auto;
	width: fit-content;
	max-width: 50rem;
	gap: var(--list-gap);
}

.pitem {
	display: flex;
	justify-content: center;
	gap: 2rem;
	width: 100%;
	padding: 2rem;
	border-radius: 16px;
	background: #f2f2f2;
}

.pitem:nth-child(even) {
	flex-direction: row-reverse;
}

.ptxt {
	line-height: 1.25;
	width: 100%;
	max-width: 20rem;
	display: flex;
	flex-direction: column;
}

.ptxt span {
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 0.5rem;
}

.pimg {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.pimg img {
	height: 10rem;
}

.ptechs {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 2rem;
}

.ptech {
	height: 22px;
	/* background: #0000000d; */
	/* background: #ffffff80; */
	padding: 4px;
	/* background: #000;
	padding: 6px; */
	/* border-radius: 50%; */
	/* border-radius: 4px; */

	/* height: 164px;
	background-color: #808080;
	border-radius: 0; */
}

.ptech img {
	height: 100%;
}

.pbtns {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 2rem;
}

.pbtn, .pbtn:visited {
	background: var(--color-primary);
	width: fit-content;
	height: fit-content;
	padding: 0.25rem 0.5rem;
	border-radius: 2px;
}

@media (width < 80rem) {
	.pitem, .pitem:nth-child(even) {
		flex-direction: column;
		align-items: center;
	}
}
