/* CSS Reset */

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, ul, li,
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;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input,
button {
	-webkit-appearance: none;
	-moz-appearance: none;
}

html,
body {
	font-family: 'Quicksand', sans-serif;
    color: #000;
	height: 100%;
	min-height: 100%;
}

a {
	text-decoration: none;
	cursor: pointer;
	color: #0045FA;
}

.fade-in {
	transition: all 0.6s ease;
	opacity: 0;
	transform: translateY(120px);
}

.loaded .fade-in {
	opacity: 1;
	transform: translateY(0);
}

p.fade-in {
	transition-delay: 0.1s;
}

a.fade-in {
	transition-delay: 0.2s;
}

img.fade-in {
	transition-duration: 0.6s;
}

.homepage {
	display: flex;
	padding: 2rem;
	justify-content: center;
	align-items: center;
	min-height: 100%;
	box-sizing: border-box;
}

.about {
	display: flex;
	max-width: 1140px;
	margin: 0 auto;
	gap: 8vw;
	align-items: center;
}

.about h1 {
	font-family: 'Tiro Gurmukhi', serif;
	color: #2F2F2F;
	font-size: 3rem;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.about p {
	font-size: 1.1rem;
	line-height: 1.5;
	color: #373737;
	margin-bottom: 1rem;
}

.about img {
	max-width: 380px;
	border-radius: 4rem;
}

a.contact {
	font-size: 1.1rem;
	display: inline-block;
}

a.contact.fade-in:hover {
	transition-delay: 0;
	padding-left: 1rem;
}

@media screen and (max-width:900px) {
	.about {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 5vw;
	}

	.about img {
		margin-bottom: 1rem;
	}
}

@media screen and (max-width:500px) {	
	.about img {
		max-width: 100%;
		border-radius: 3rem;
	}

	.about h1 {
		font-size: 2.3rem;
	}
}