@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #777777;
	font-family: "Arial", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
	background: #fff;
	border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

a:hover {
	text-decoration: underline;
}

p {
	padding-bottom: 1rem;
}

p,
ul {
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

h1 {
	font-size: 1.3rem;
	line-height: 1.3;
	padding: 1rem 0;
	color: #DA003E;
}

h2 {
	font-size: 1.2rem;
	line-height: 1.3;
	padding-bottom: 1rem;
	color: #003B49;
}

h3 {
	font-size: 1.1rem;
	line-height: 1.3;
	padding-bottom: 1rem;
	color: #003B49;
}

.gray {
	color: #003B49;
}

ul {
	padding: 0 0 1rem 3rem;
}

header {
	display: flex;
	justify-content: end;
	gap: 2rem;
	padding: 1rem 1.5rem;
}

article {
	padding: 0 4rem;
}

footer {
	padding: 2rem 4rem;
	display: flex;
	justify-content: end;
}

@media only screen and (max-width: 799px) {
	#wrapper {
		border: none;
		margin: 0 auto;
        padding: 16px;
	}
}

@media only screen and (max-width: 736px) {
	article {
		padding: 0 2rem;
	}

	footer {
		padding: 2rem;
	}
}

@media only screen and (max-width: 560px) {

	header,
	footer {
		justify-content: center;
		padding: 1rem;
	}

	article {
		padding: 0 1rem;
	}

	h1 {
		text-align: center;
	}

	ul {
		padding-left: 1rem;
	}
}
