/*
 * The Tertiary Readiness Programme
 * Based on the Teal Three child theme of Twenty Fourteen, by Timothy Allen.
 */

/* Noto Serif and Noto Sans replace Droid Serif and Droid Sans. Latin subset, only the weights in use. */
@font-face {
	font-family: "Noto Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/noto-serif-latin-400.woff2) format("woff2");
}
@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/noto-sans-latin-700.woff2) format("woff2");
}

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #f5f5f5;
	color: #2b2b2b;
	font: 16px/1.5 "Noto Serif", serif;
}

a {
	color: #008080;
}
a:visited,
a:hover {
	color: #d56100;
}

::selection {
	background: #d56100;
	color: #fff;
}

.site {
	max-width: 1260px;
	background: #fff;
}

main {
	max-width: 750px;
	margin: 0 auto;
	padding: 62px 10px 48px;
	hyphens: auto;
	overflow-wrap: break-word;
}

h1 {
	margin: 0 0 24px;
	color: #008080;
	font: 700 26pt/1.0909 "Noto Sans", sans-serif;
	text-align: center;
}

.paragraph {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.paragraph img {
	width: 250px;
	height: 250px;
	max-width: 100%;
	margin: 0 25px 0 0;
	border-radius: 50%;
	vertical-align: middle;
}
.paragraph p {
	margin: 0;
	text-align: justify;
}

@media (min-width: 673px) {
	main {
		padding-right: 30px;
		padding-left: 30px;
	}
}

@media (max-width: 600px) {
	main {
		padding-top: 20px;
	}
	.paragraph {
		display: block;
		text-align: center;
	}
	.paragraph img {
		margin-bottom: 5px;
	}
}
