/*https://codepen.io/mattc0m/pen/rNdMjKX*/

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
	font-family: 'Space Mono', monospace;
	display: flex;
	flex-direction: column;
	max-width: 70%;
	padding: 32px;
	margin: 60px auto;
	border: 1px solid #eee;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
	background-color: #00001d;
	color: #dddddd;
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizelegibility;
	letter-spacing: -0.25px;
}

ul {
	padding-left: 20px;
	list-style-type: none;
}

li {
	padding-left: 40px;
	position: relative;
	font-size: 16px;
	line-height: 20px;

	&:before {
		content: '';
		display: block;
		height: 25px;
		width: 25px;
		border-radius: 50%;
		border: 2px solid #ddd;
		position: absolute;
		top: -5px;
		left: 0;
	}

	& .title {
		font-weight: bold;
	}

	& a {
		text-decoration: none;
		color: #75d000;

		&:visited {
			color: #369600;
		}

		&:hover {
			color: #a0ff00;
			text-decoration: underline;
		}
	}
}

ul:not(.two-columns) li:not(:last-child) {
	margin-bottom: 30px;
}

ul.two-columns li:not(:nth-last-child(1)):not(:nth-last-child(2)) {
	margin-bottom: 30px;
}

ul.alternating-colors:not(.two-columns) {
	& li:nth-child(odd):before {
		border-color: #8800bd;
	}

	& li:nth-child(even):before {
		border-color: #2378D5;
	}
}

ul.alternating-colors.two-columns {
	& li:nth-child(4n):before, & li:nth-child(4n+1):before {
		border-color: #8800bd;
	}

	& li:nth-child(4n+2):before, & li:nth-child(4n+3):before {
		border-color: #2378D5;
	}
}

ul.two-columns {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
}

ul.two-columns li {
	flex: 0 0 50%;
	box-sizing: border-box;
	padding-right: 10px;
}
