* {
	margin: 0;
	padding: 0;
}

:root {
	--primary-color: #88B8AD;
}

html {
	scroll-behavior: smooth;
}

@font-face {
	font-family: 'Pontano Sans';
	src: url('../fonts/Pontano_Sans/PontanoSans-Regular.ttf');
}

@font-face {
	font-family: 'Adonis';
	src: url('../fonts/Adonis_regular.otf');
}

@font-face {
	font-family: 'Adonis Bold';
	src: url('../fonts/Adonis_bold.otf');
}


/* Utilities  */
.container {
	width: 60%;
	margin: auto;
}

.wrapper {
	overflow-x: hidden;
}

.inv {
	display: none;
}

.top {
	padding-top: 60px;
}

.main-hr {
	border: 1px solid #000;
	width: 20%;
	margin: auto;
}

.main-h2 {
	padding-bottom: 20px;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.box {
	border: 1px solid #000;
	padding: 40px;
}

.box p, .p-top {
	padding-top: 20px;
}

.box a {
	margin: auto;
}

.bottom {
	padding-bottom: 30px;
}

h1, h2, h3 {
	font-family: 'Adonis Bold', serif;
	font-weight: 400;
	font-style: normal;
}

button, p, li {
	font-family: 'Pontano Sans';

}

p {
	line-height: 30px;
}

img {
	width: 100%;
}

.btn {
	text-decoration: none;
	background-color: #000;
	color: #fff;
	padding: 10px 20px;
	border: none !important;
}

.btn:hover {
	background-color: var(--primary-color);
	transition: all 0.8s;
	cursor: pointer;
}



/* Main Styling */
body {
	font-family: 'Lora', serif;
	font-size: 18px;
	background-color: #fff5f0;
}



/* Nav */
.main-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.main-nav ul {
	display: flex;
}

.main-nav h2 a {
	color: #000 !important;
	text-decoration: none !important;
}

.main-menu li {
	list-style: none;
	padding-right: 30px;
}

.main-menu a {
	text-decoration: none;
	color: #000;
}

.main-menu a:hover {
	color: var(--primary-color);
	transition: all 0.5s;
}

.main-menu a.current {
	border-bottom: 2px solid #000;
}

.menu-btn {
	cursor: pointer;
	position: absolute;
	top: 20px;
	right: 50px;
	z-index: 2;
	display: none;
}



/* Work */
.work-hr {
	border: 1px solid #000;
	width: 15%;
}

#work {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 30px;
	padding-top: 40px;
}

#work img {
	-webkit-box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.55);
	-moz-box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.55);
	box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.55);
}

#work h3 {
	padding: 20px 0 20px 0;
}

#work p, #work div {
	padding-bottom: 40px;
}


/* footer */
footer {
	text-align: center;
	background-color: var(--primary-color);
	padding: 30px;
}

footer h2 {
	padding-bottom: 20px;
}

footer div {
	padding-top: 20px;
}

footer a {
	margin: 10px;
	color: #000;
}




/*  Media Queries */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	.main-menu a.current {
		border: none;
	}

	.menu-btn {
		display: block;
	}

	.menu-btn:hover {
		color: #000;
		cursor: pointer;
	}

	.main-nav ul.main-menu {
		display: block;
		position: absolute; /* take it out of the relative flow  */
		top: 0;
		left: 0;
		background: #5b7b74;
		width: 50%;
		height: 100%;
		border-radius: #000 1px solid;
		padding: 50px;
		transform: translateX(-600px);
		transition: transform 0.5s ease-in-out;
		z-index: 1;
	}

	.main-nav ul.main-menu li {
		padding: 10px;
		font-size: 20px;
	}

	.main-nav ul.main-menu li:last-child { /* removes the bottom border of the list  */  
		border-bottom: 0;
	}

	.main-nav ul.main-menu.show {
		transform: translateX(-20px);
	}

	.main-menu a {
		color: #fff;
	}

	.inv {
		display: block;
	}

	.container {
		width: 80%;
	}

	.work-hr {
		width:  40%;
	}

	.main-nav h2 {
		font-size: 20px;
	}

	#work {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}

	footer a {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}

}

/* Small to medium devices (600-768) */
@media only screen and (min-width: 601px) and (max-width: 768px) {
	.container {
		width: 80%;
	}

	.main-nav h2 {
		font-size: 20px;
	}

	#work {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}


/* Large to some extra large devices (769 - 1200) */
@media only screen and (min-width: 769px) and (max-width: 1200px) {
	.container {
		width: 80%;
	}

	.main-nav h2 {
		font-size: 20px;
	}

	#work {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}