html {
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

* {
	box-sizing: inherit;
	font-family: inherit;
}

body {
	background: #f5f5f5;
}

main {
	padding: 0 10px;
}

.MWLogo {
	width: 100%;
	max-width: 400px;
	margin: 10px auto 100px;
	display: block;
}

h1, p {
	text-align: center;
}

h1 {
	margin-bottom: 40px;
}

.DNSForm {
	display: flex;
	flex-flow: row wrap;
	gap: 2px;
	max-width: 550px;
	margin: 10px auto 80px;
}

.DNSForm input[type="text"] {
	flex: 1;
	padding: 10px 20px;
	font-size: 1rem;
	border: none;
	background: #cccccc;
}

.DNSForm input[type="submit"] {
	font-size: 1rem;
	border: none;
	background: #222;
	color: #f5f5f5;
	padding: 8px 15px;
}

@media screen and (max-width: 350px) {
	.DNSForm input[type="submit"] {
		width: 100%;
	}
}

.DNSForm .errorOutput {
	margin: 5px 0 0;
	font-size: 1rem;
	color: #f14600;
	width: 100%;
}

.lookupResults {
	display: flex;
	flex-flow: row wrap;
	gap: 30px;
	justify-content: center;
}

.lookupResults > div {
	flex-grow: 1;
	width: calc(33% - 10px);
	padding: 60px 10px 5px;
	position: relative;
	min-height: 200px;
	font-size: 0.8rem;
	background: #dddddd;
	max-width: 300px;
	display: none;
}

.lookupResults > div.success {
	background-color: #23DE6B;
	display: block;
}

.lookupResults > div.error {
	background-color: #cc3929;
	color: #ffffff;
	display: block;
}

@media screen and (max-width: 900px) {
	.lookupResults > div {
		width: 100%;
	}
}

.lookupResults > div:before {
	position: absolute;
	font-size: 1rem;
	top: 5%;
	left: 50%;
	transform: translate(-50%, 0);
	font-size: 2rem;
}
.lookupResults > div.success:after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(45deg) skew(5deg, 0deg);
	width: 20px;
	height: 40px;
	border-right: 3px solid #000000;
	border-bottom: 3px solid #000000;
}
.lookupResults .dkim:before {
	content: 'DKIM';
}
.lookupResults .dmarc:before {
	content: 'DMARC';
}
.lookupResults .spf:before {
	content: 'SPF';
}

.guideLinkParent {
	text-align: center;
	margin-top: 20px;
}
.guideLinkParent a {
	text-decoration: none;
	color: #f14600;
}

.guideLinkParent a:hover {
	color: #972b00;
}
