/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: square;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Set every element's box-sizing to border-box */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Titillium Web', sans-serif;
    background-image: url('https://sunshinecircus.neocities.org/img/bg.jpg');
    background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
    font-family: 'Papyrus';
    letter-spacing: 1px;
    margin-bottom: 15px;
    
}

/* Copy and paste your work from yesterday here and start to refactor into flexbox */

h1 {
	  color: #0096FF;
	 
}


.nav {
	display: flex;
	height: 11%;
	justify-content: space-between;
	align-content: center;
	padding: 40px;
} 
.nav a {
	display: flex;
	color: #0096FF;;
	text-decoration: none;
	padding-top: 10px;
	
}
.nav:first-child {
margin-left: 3%;
}

.header {
	display: flex;
	height: 50%;
	margin-top: 4%;
	margin-bottom: 4%;
	justify-content: center;
	
}
.text {
	display: flex;
	justify-content: space-between;
	width: 50%;
	flex-wrap: wrap;
	
	
}
.text h1 {
	display: flex;
	font-size: 120px;
	height: fit-content;
	width: 100%;
	align-content: center;
	text-align: center;
	margin-top: 9%;
}


.text p {
	border: 1px solid lightgreen;
	text-align: center;
	width: fit-content;
	padding-top: 25px;
	padding-left: 45px;
	padding-right: 45px;
	padding-bottom: 25px;
	margin-left: 37%;
	color: #58F36E;
	font-weight: bold;
	font-size: 24px;
	
}

.header img {
	height: 90%;
	width: 30%;
	margin-left: 5%;
}

hr {
	border: 1px solid black;
	width: 90%;
}

.top {
	display: flex;
	height: 20%;
	margin-top: 3%;
}
.first {
	flex-direction: column;
	height: 50%;
	width: 40%;
	margin-left: 5%;
}

.first p {
	width: 100%;
}

.second {
	flex-direction: column;
	height: 50%;
	width: 40%;
	margin-left: 10%;
}

.middle-img {
	width: 90%;
	margin-left: 80px;
	padding: 10px;
	margin-top: 30px;
}

.column_one, .column_two, .column_three {
	display: flex;
	flex-direction: column;
	width: 25%;
	justify-content: space-around;
}
.bottom {
	display: flex;
	justify-content: space-between;
	margin: 2% 4.5%;
}

footer > h2, footer > address, footer > a, footer > p {
	display: block;
	margin-left: 5%;
	line-height: 80px;
}
.copyright {
	text-align: center;
	margin: 50px 0px 50px 0px;
}

 a img { 
	 height: 125%;
	 width: fit-content;
	 margin-right: 50px;
 }

.services-header-img {
	display: block;
	width: 90%;
	height: 25%;
	margin-left: 5%;
}
.services_header{
	margin: 5%;
}
.boxes{
	display: flex;
	flex-wrap: wrap;
	width: fit-content;
	height: fit-content;
	
	justify-items: center;
	justify-content: space-around;
	
}
button{
	width: 30%;
	height: 20%;
	border-radius: 15px;
	margin: 5% 3%;
	
}
.box{
	
	border: 1px solid black;
	background-color: lightgray;
	padding: 3%;
	justify-content: space-around;
	margin: 5%;
	width: 40%;
}
ul {
	border: 1px solid black;
	list-style-type: square;
	display: block;
	width: 40%;
	margin-left: 5%;
}
.footer{
	border: 1px solid black;
	display: flex;
	flex-wrap: wrap;
	margin-left: 5%;
}