:root {
	--background: rgb(252 251 248);
	--color: rgb(0 0 0);
	--colorOffset: rgb(100 100 100);
	--yellow: rgb(247, 221, 129);
	--red: rgb(149 15 6);
	--tableOffset: rgb(252 247 228);
	--buttonColor: rgb(255 255 255);
	--borderColor: rgb(0 0 0 / 5%);
	--radius: 12px;
	--maxWidth: 600px;
	--inputBackground: rgb(255 255 255);
	--inputColor: rgb(0 0 0);
}

html,
body {
	background: var(--background);
	color: var(--color);
	overflow-x: hidden;
	position: relative;
	margin: 0;
}

.center {
	text-align: center;
}

#stripe {
	background: url(/Arrrrriba/Images/Stripe-2.webp) 0 0 repeat-x;
	background-size: 250px auto;
	height: 112px;
	left: -10%;
	margin: 0;
	position: absolute;
	top: 30px;
	transform: rotate(-1.5deg);
	width: 120%;
}

.box {
	background: var(--yellow);
	box-shadow: rgb(0 0 0 / 40%) 3px 3px 6px;
	color: var(--red);
	font-weight: bold;
	padding: 10px;
	position: absolute;
	right: 20px;
	top: 25px;	
	transform: rotate(2.3deg);
	width: 150px;
}

	h1 {
		font-size: 24px;
		font-weight: bold;
		line-height: 1em;
		margin: 0;
		opacity: .8;
	}
	
		h1 a {
			color: var(--red);
			text-decoration: none;
		}

	h2 {
		font-size: 12px;
		font-weight: bold;
		line-height: 1.1em;
		margin: 4px 0 0;
		opacity: .8;
	}
	
hr {
	border: 0;
	border-top: 1px solid var(--borderColor);
	height: 0;
	margin: 60px auto;
	width: 75px;
}

/* ************************* MAIN ************************* */

main {
	margin: 180px auto 0;
	max-width: var(--maxWidth);
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

	main a {
		color: var(--red);
	}

	main a:hover {
		color: var(--color);
	}

article header h3 {
	grid-area: h3;
	font-size: 24px;
	margin: 0;
}

	article header h3 time {
		color: var(--colorOffset);
	}
	
article .text {
	font-size: 17px;
	letter-spacing: 0.025em;
	line-height: 1.4em;
}

article footer hr {
	border: 0;
	border-bottom: 4px solid rgb(0 0 0 / 25%);
	margin: 30px auto;
	padding: 0;
	width: 30px;
}

/* ************************* HEADERS ************************* */

h4 {
	margin: 0;
}

h5 {
	font-size: 16px;
	margin: 0;
}

/* ************************* SCORE ************************* */

.scoreHolder {
	background: var(--tableOffset);
	border-bottom: 1px solid var(--borderColor);
	border-top: 1px solid var(--borderColor);
	display: grid;
	grid-template-columns: auto max-content;
	margin: 10px 0;
	padding: 20px 40px;
	position: relative;
}

.pricePoint img{
	width: 76px;
}

.scoreHolder p {
	margin: 5px 0 0;
}

.scoreHolder time.box {
	font-size: 13px;
	font-weight: bold;
	line-height: 1.1em;
	right: -5px;
	text-align: center;
	top: -5px;
	width: 80px;
}

/* ************************* IMAGES ************************* */

figure {
	margin: 20px 0;
	position: relative;
}

.figureRight {
	float: right;
	margin: 10px 0 10px 25px;
	width: 50%;
}

figcaption.box {
	font-size: 17px;
	line-height: 1.1em;
	right: -5px;
	top: -5px;
}

.figureRight figcaption.box {
	font-size: 14px;
}

img {
	max-width: 100%;
}

/* ************************* CONTACT ************************* */

table {
	border-top: 1px solid var(--borderColor);
	border-collapse: collapse;
	width: 100%;
}

th,
td {
	border-bottom: 1px solid var(--borderColor);
	padding: 10px;
}

	td:first-of-type {
		background: var(--tableOffset);
		border-right: 1px solid var(--borderColor);
	}

address {
	font-style: normal;
}

/* ************************* FORMS ************************* */

button,
input {
	border: 1px solid var(--red);
	border-radius: 0;
	font: 16px/1em adelle, serif;
	padding: 10px 10px;
}

	input {
		background: var(--inputBackground);
		color: var(--inputColor);
	}

	button {
		background: var(--red);
		color: var(--buttonColor);
	}

.formColumns {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	margin: 20px auto;
	max-width: 350px;
}

/* ************************* PAGE NAV ************************* */

#pageNavigator,
#pageNavigator li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#pageNavigator {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
	background: var(--tableOffset);
	border-bottom: 1px solid var(--borderColor);
	border-top: 1px solid var(--borderColor);
	margin: 30px 0 0;
	padding: 20px 40px;
}

#pageNavigator li:nth-of-type(2) {
	text-align: center;
}

#pageNavigator li:last-of-type {
	text-align: right;
}

#pageNavigator a {
	text-decoration: none;
}

#pageNavigator strong {
	color: var(--color);
	display: block;
}

#pageNavigator span {
	text-decoration: underline;
}

/* ************************* FOOTER ************************* */

body>footer {
	margin: 0 auto 30px;
	padding: 0 20px;
	max-width: var(--maxWidth);
}

footer a {
	color: var(--red);
}

footer a:hover {
	color: var(--color);
}

#scoreLegend h4 {
	line-height: 1.4em;
	margin-bottom: 16px;
	text-align: left;
}

#scoreLegend h4 span {
	font-weight: normal;
}

/* ************************* RESPONSIVE ************************* */

@media(max-width: 1300px) {
	body>header {
		top: 45px;	
	}
}

@media(max-width: 600px) {
	.scoreHolder {
		padding: 20px;
	}
	
	article .text {
		font-size: 18px;
		line-height: 1.3em;
	}
	
	#pageNavigator {
		font-size: 12px;
	}
	
	#scoreLegend {
		font-size: 80%;
	}
	
	#scoreLegend img {
		max-width: unset;
		width: 90px;
	}
}

@media(max-width: 360px) {
	.scoreHolder img {
		width: 90px;
	}
}