/**********************************
TYPOGRAPHY
**********************************/

body {
	font-size: 16px;
	margin: 0 auto;
}

html {
	--font-primary: 'Source Serif Pro', serif;
	--font-secondary: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4 {
	font-family: var(--font-primary);
}

h1 {
	font-size: 3.5em;
	font-weight: 700;
	line-height: 1.8;
	letter-spacing: 0.02em;
}

h2 {
	font-size: 2.25em;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

h3 {
	font-size: 2em;
	font-weight: 600;
	line-height: 1;
	margin-top: 3.5rem;
}

h4 {
	font-size: 1em;
}

p {
	font-family: var(--font-secondary);
	font-size: 1.2em;
	line-height: 2;
}

/********************************************
HEADER STYLES
********************************************/

header {
	margin: 4rem 0 3.5rem 0;
	border-bottom: 1px dashed #4286f4;
}

header h1 {
	padding-bottom: 0;
	margin-bottom: 0rem;
	padding-bottom: 0rem;
	line-height: 1;
}

/**********************************
LINK STYLING
**********************************/

a {
	color: #ff5983;
	text-decoration: none;
	border-bottom: 1px solid #ff5983;

}

a:hover {
	color: #4286f4;
	border-bottom: 1px solid #4286f4;
	transition: 500ms ease-in;
}

a:active {
	border: 1px solid blue;
	border-radius: 3px;
	padding: 2px;
}

/**********************************
LIST STYLES
**********************************/

 ul {
	list-style-type: decimal;
}

li {
	padding: .5rem .5rem 1rem .25rem;
}

li a {
	border-bottom: 1px solid #4286f4;
	color: #4286f4;
	font-size: 1em;
	font-family: var(--font-secondary);
	text-decoration: none;
	letter-spacing: 0.1em;
	padding: 3px;
	text-transform: uppercase;
}

li a:hover {
	background-color: #4286f4;
	color: white;
	transition: background-color 250ms linear;
}

li a:active {
	border: 1px solid blue;
	border-radius: 3px;
}


/**********************************
ID'S & CLASSES STYLES
**********************************/

#wrapper {
	max-width: 90vw;
	margin: 0 auto;
	padding-bottom: 3.5rem;
}

@media screen and (min-width: 850px) {
	#wrapper {
		max-width: 800px;
	}
}

.highlight-text {
	background: linear-gradient(0deg, rgba(66,134,244,.2) 50%, transparent 20%);
	font-weight: 800;
}


/**********************************
footer
**********************************/

footer p {
	align-items: center;
	background-color: #4286f4;
	color: white;
	display: grid;
	grid-template-columns: 1fr;
	font-family: var(--font-secondary);
	font-size: 1.2em;
	height: 275px;
	margin-bottom: 0;
	min-width: 100%;
	padding-bottom: 0;
	justify-items: center;
}
