@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
}

html {
	min-height: 100%;
}

body {
	font: 1.125em/1.3em  "League Spartan", sans-serif;
	color: #000;
}

#wrapper {
	position: relative;
	margin: 1rem auto;
	overflow: hidden;
	max-width: 590px;
	border: solid 3px #009ADA;
	background: #fff url('bg.jpg') no-repeat bottom right;
	padding: 1rem 1.5rem;
}

p {
	padding-bottom: 0.3rem;
}

h1 {
	margin: 0.3rem 0;
	font-size: 1em;
	line-height: 1.1em;
	color: #009ADA;
	text-align: center;
}

article p {
	text-align: center;
}

h2 {
	font-size: 1em;
	line-height: 1.3;
	color: #009ADA;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
}

ul {
	padding: 0;
	list-style: none;
}

li {
	padding: 0 0 0 16px;
}

ul li:before {
	content: "\2022";
	font-size: 1em;
	margin: 0 0 0 -16px;
	float: left;
}

header {
	padding: 0;
	display: flex;
	justify-content: center;
}

article {
	padding: 0;
}

.flexbox {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.flexbox section {
	width: 49%;
}

.flexbox section:last-of-type {
	width: 46%;
}

footer {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
}

img {
	max-width: 100%;
	height: auto;
}

@media only screen and (max-width:589px) {
	#wrapper {
		border: none;
		margin: 0 auto;
		padding: 1.5rem 1.5rem 4rem;
	}

	p {
		text-align: left;
	}
	.flexbox section,.flexbox section:last-of-type{
		width: 100%;
	}
	footer{
		position: static;
	}
	ol, ul{
		padding-bottom: 1rem;
	}


	p :is(a, span) {
		display: inline-block;
	}

}
