html {
	background: #f9f8f5;
	height: 100%;
}

body {
	color: #3a3a3a;
	display: flex;
	flex-direction: column;
	font-family: 'Mukta Malar', sans-serif;
	font-size: 20px;
	font-size: 1.25rem;
	height: 100%;
	max-width: 1060px;
	margin: 0 auto;
	padding: 0 1em;
}

a {
	border-bottom: .1em solid #3a57bb;
	color: inherit;
	display: inline-block;
	position: relative;
	text-decoration: none;
	z-index: 0;
}

a:hover {
	color: white;
	transition: all .1s ease-in .15;
}

a:before {
	background: #3a57bb;
	bottom: 0;
	content: "";
	display: block;
	height: 0;
	position: absolute;
	transition: all .2s ease-in;
	width: 100%;
	z-index: -1;
}

a:hover:before {
	height: 100%;
}

img {
	max-width: 100%;
	height: auto;
}

.main {
	margin: 0 auto;    
    padding-bottom: 2em;
}

@media (min-width: 980px) {
	.main {
		display: flex;
		justify-content: space-between;
	}
}

h1 {
	border-bottom: 4px dotted #b9b6a6;
	color: #3a57bb;
	display: block;
	font-size: 1.5em;
	font-weight: 800;
	flex: none;
	line-height: 1;
	margin: 1em 0 .6em;
	padding-bottom: .5em;
	text-align: center;
    text-shadow: 1px 3px 0px #ffffff;
}

@media (min-width: 350px) {
	h1 {
		font-size: 2.5em;
	}
}

@media (min-width: 500px) {
	h1 {
		font-size: 3.5em;
		margin: 1em auto .6em;
		width: 80%;
	}
}

@media (min-width: 700px) {
	h1 {
		font-size: 3.5em;
		margin: 1em auto .6em;
		width: 70%;
	}
}

.main > * {
	line-height: 1.2;
	text-align: center;
}

.main > aside {
	max-width: 300px;
	margin: 0 auto;
}

.main > div {
	margin-top: 0;
	max-width: 640px;
	margin: 0 auto;
}

@media (min-width: 980px) {

	.main > * {
		text-align: right;
	}

	.main > aside {
		flex: 1;
		max-width: 30%;
		margin: 0;
		order: 1;
	}
}

@media (min-width: 1100px) {
	.main > div {
		margin-top: 1.5em;
	}

}

p {
	font-size: .8em;
	line-height: 1;
}

p:first-of-type {
	font-size: 1.5em;
	margin-bottom: 1em;
}

@media (min-width: 750px) {
	p {
		font-size: 1.1em;
		line-height: 1.2;
	}

	p:first-of-type {
		font-size: 2em;
		margin-bottom: 2em;
	}
}

@media (min-width: 1100px) {
	p:first-of-type {
		margin-top: .5em;
	}
	
}

.foot {
	color: #b9b6a6;
	margin-top: auto;
	text-align: center;
	font-size: .8em;
	padding-bottom: .5em;
}