@use "alchemy";

html {
	font-family: sans-serif;
	text-size-adjust: 100%;
	font-size: 14px;
	// border-box makes `width` include padding & borders
	box-sizing: border-box;
}

* {
	box-sizing: inherit;
}

body {
	background: #ffffff;
	color: #031634;
	padding: 0;
	margin: 0;
	font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
	font-weight: normal;
	font-style: normal;
	position: relative;
	cursor: default;
}

.row {
	display: flex;
	margin-bottom: 2rem;
	flex-flow: wrap;
	gap: 2rem;
}

.col {
	flex: 1 0 auto;
	background: #E8F3F8;
}

.header-image {
	box-shadow: #000 1px 1px 3px;
	background: #0B486B;
	display: flex;
	justify-content: center;
	padding: 2rem;
	color: white;

	.alchemy-logo {
		width: 10rem;
		height: 10rem;
		margin-right: 1rem;
	}

	.alchemy-name {
		align-self: center;
		text-align: center;
	}
}

tr:nth-child(even) {
	td {
		background-color: rgba(100, 100, 100, 0.1);
	}
}

td {
	vertical-align: top;
	padding: 1rem 0.2rem;
}

.package-description {
	max-width: 350px;
}

.content {
	padding: 2rem 10rem;

	article {
		padding: 2rem;
		border-radius: 3px;
		box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);

		h1 {
			margin-top: 0;
		}
	}

	@media screen and (max-width: 1500px)  {
		padding: 2rem 1rem;
	}
}

.engine {
	background: #0B486B;
	font-size: 2rem;
	color: white;
	text-align: center;
	display: flex;
	flex-flow: column;
	justify-content: center;

	span {
		flex: 0 0 auto;
	}
}

.modules {
	flex: 1 0 auto;

	td {
		padding-right: 1rem;
	}

	.failed {
		text-decoration: line-through;
	}
}

ul.checklist {
	padding-left: 0;
	list-style-type: none;
}

li.success::before,
li.failed::before {
	font-size: 2rem;
	margin-right: 0.9rem;
	line-height: 0;
	vertical-align: middle;
}

li.success::before {
	content: "✓";
	color: green;
}

.failed {
	font-weight: bold;
	color: #80061C;
}

li.failed::before {
	content: "✘";
	color: red;
}

.settings {

	th {
		text-align: left;
		border-bottom: 1px solid black;
	}

	table {
		width: 100%;
	}
}

.table-wrap {
	table {
		width: 100%;
	}
}