html,
body,
main {
	font-family: Arial;
	transition: 3s;
}

a {
	text-decoration: none;
	color: inherit;
}

.center {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	max-width: 600px;
	max-height: 700px;

	text-align: center;

	margin: auto;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.center {
		max-width: 600px;
		max-height: 530px;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.center {
		max-width: 600px;
		max-height: 530px;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.center {
		max-width: 600px;
		max-height: 530px;
	}
}


.JGM-main h1 {
	font-size: 5.5em;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.JGM-main h1 {
		font-size: 5em;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.JGM-main h1 {
		font-size: 5em;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.JGM-main h1 {
		font-size: 5em;
	}
}



.JGM-main h4 {
	font-size: 2.5em;
	font-family: "Cardo", serif;
}

.JGM-social {
	margin: 0 auto;
}

.JGM-social .item {
	display: inline;
}

.JGM-social .item .icon {
	width: 100px;
	height: 100px;
	font-size: 50px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.JGM-social .item .icon {
		width: 60px;
		height: 60px;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.JGM-social .item .icon {
		width: 60px;
		height: 60px;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.JGM-social .item .img {
		width: 60px;
		height: 60px;
	}
}


.JGM-smallprint {
	margin-top: 50px;
	color: black;
	font-size: 10px;
}

.JGM-smallprint a {
	text-decoration: none;
	color: inherit;
}

header {
	text-align: right;
}

.nav {
	width: 500px;
	display: inline-block;
	list-style-type: none;

	font-size: 20px;
	letter-spacing: 1px;
	font-family: "Cardo", serif;

	padding-left: 0;
	margin-top: 25px;
	cursor: pointer;
}

.fadein {
	opacity: 0;
	-webkit-animation: fadein 1.5s 0.3s ease-out forwards;
	/* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 1.5s 0.3s ease-out forwards;
	/* Firefox < 16 */
	-ms-animation: fadein 1.5s 0.3s ease-out forwards;
	/* Internet Explorer */
	-o-animation: fadein 1.5s 0.3s ease-out forwards;
	/* Opera < 12.1 */
	animation: fadein 1.5s 0.3s ease-out forwards;
}

@keyframes fadein {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/*
	Contact section
*/
#contact {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #ddd;
	border: 1px solid #aaa;
	border-radius: 10px;
	padding: 50px;
	width: 100%;
	max-width: 50%;
}

#contact h3 {
	font-size: 50px;
	margin: 0 0 20px 0;
	width: 100%;
	text-align: center;
}

#contact .contact-form {
	width: 100%;	
}

#contact .contact-form .form-control{
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
}

#contact .contact-form .form-control label {
	margin-bottom: 6px;
}

#contact .contact-form .form-control .input {
	border: 1px solid;
	border-radius: 3px;
	min-height: 40px;
	padding: 2px 10px;
	font-size: 20px;
}

#contact .contact-form .form-control textarea {
	resize: vertical;
	min-height: 150px !important;
	max-height: 300px;
}

#contact .close-contact {
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	font-size: 20px;
}

#contact button {
	height: 40px;
	padding: 0 20px;
	cursor: pointer;
}

#contact .buttons-container.right { 
	text-align: right;
}

.hidden {
	display: none !important;
}

/*TODO: Remove*/
/**
 * Did this to improve UX. Images were getting pushed down by the new font
 */
.JGM-fixedHeightHack {
	height: 55px;
}


.JGM-links a {
	font-size: 2em;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.JGM-links a {
		font-size: inherit;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.JGM-links a {
		font-size: inherit;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.JGM-links a {
		font-size: inherit;
	}
}


/**
 * Templates
 */

/* Mobiles are first */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}