@charset "utf-8";

*, *:before, *:after {
	box-sizing: border-box;
}

body {
	margin: 0px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1em;
	background-color: #fefae0ff;
}

#container {
	width: 1000px;
	margin: 0px auto;
	background-color: #fefae0ff;
}

nav ul {
	padding-left: 0px; 
	border-bottom: 1.8px solid #473010;
	text-align: center;
}

nav ul li{
	list-style-type: none; 
	display: inline-block;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 10px;
	padding-bottom: 20px;
	font-weight: 500;
	font-size: 1.2em;
	
}

nav a:link, nav a:visited {
	color: #473010;
	text-decoration: none;
}

nav a:hover, nav a:active {
	color: #eca21d;
	text-decoration: underline;
}

.mainParent {
	display: flex;
	justify-content: center;
	align-items: center; 
	margin-bottom: 260px;
	margin-top: 150px; /* 260 and 150 px */
}

.mainContent {
	margin: auto; 
}

.mainContent h1 {
    font-family: 'DM Serif Text', serif;
    font-size: 6em;
    line-height: 1;
    color: #4d5423;
    font-weight: 500;
    text-align: center;
	margin-bottom: 5px;
}

.mainContent p {
    font-weight: 600;
	font-size: 1.1em;
    color: #473010;
    text-align: center;
}

.mainParent img {
	margin-right: -160px;
}

.buttons {
    border-radius: 25px;
    width: 140px;
    height: 35px;
    margin-left: 95px;
    margin-top: 25px;
    background-color: #eca21d;
    color: #fefae0;
    font-size: 0.8em;
    cursor: pointer;
    border: 0;
    font-weight: 500;
}

.buttons:link, .buttons:visited {
	background-color: #8f5f26;
}

.buttons:hover, .buttons:active {
	background-color: #473010;
}

.aboutMe {
	display: flex;
	justify-content: space-between;
	align-items: center; 
	padding-top: 30px;
	padding-bottom: 10px;
	background-color: #4d5423;
	height: 700px;
	margin-bottom: -35px;
	margin-top: -4px;
}

.aboutChild {
	order: 2;
	margin-left: 50px;
	margin-right: 80px;
	margin-bottom: 10px;
	color: #fefae0ff;
	align-content: center;
}

.aboutChild h2 {
    font-family: 'DM Serif Text', serif;
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: left;
}

.aboutChild p {
	padding-bottom: 15px;
	color:#fefae0ff;
}

.aboutMe img {
    margin-top: 60px;
    margin-bottom: 80px;
    border-top-right-radius: 250px;
    border-top-left-radius: 250px;
	margin-left: 80px;
	
}

#gridContainer {
	display: flex; 
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 0px 80px 80px 80px;
}

.gridChild {
	margin-bottom: 40px;
	display: block; 
	margin: 15px;
	position: relative; 
}

.gridContent {
	width: 250px;
	height: 250px;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
	display: flex; 
	justify-content: center; 
	align-items: center; 
	flex-direction: column;
	opacity: 0;
	transition: 0.3s;
	text-align: center;
	padding: 15px;
}

.gridContent:hover, .gridContent:active {
	opacity: 1;
	 -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.gridContent h3 {
	font-size: 1.1em;
	color: #fefae0ff;
	font-weight: 600;
	
}

.gridContent button {
	text-align: center;
	font-size: 0.8em;
	text-decoration: none;
	margin: auto;
	width: 80px;
	height: 30px;
	background-color: orange;
}

.gridContent h4 {
	margin-top: 5px;
}

#works {
	background-color: #f8bd53;
	margin-bottom: -20px;
}

#works h2 {
	 font-family: 'DM Serif Text', serif;
	 font-size: 2.5em;
	 font-weight: 500;
     color: #fefae0ff;
	 text-align: center;
	 padding-top: 40px;
}

#works p {
	font-size:1em;
	 font-weight: 500;
     color: #fefae0ff;
	 text-align: center;
	margin-top: -25px;
	margin-bottom: 25px;
}

#works h4 {
	font-weight: 300;
	font-size: 1em;
	justify-content: center;
	align-items: center; 
	text-align: center;
	margin-bottom: -30px;
}

.contactParent {
	display: flex;
	justify-content: center;
	align-items: center; 
	margin-top: 10px; /* 260 and 150 px */
	background-color: #4d5423;
}

.contactContent {
	margin: auto; 
	padding-bottom: 10px;
}

.contactContent h3 {
    font-family: 'DM Serif Text', serif;
    font-size: 2em;
    line-height: 1;
    color: #fefae0ff;
    font-weight: 500;
    text-align: center;
	margin-bottom: 5px;
}

.contactContent p {
    font-weight: 600;
	font-size: 1em;
    color: #fefae0ff;
    text-align: center;
}

.contactContent h4 {
	font-weight: 600; 
	margin-top: -5px;
	text-align: center;
}

.contactContent a:link, .contactContent a:visited {
	color: #fefae0ff;
}

.contactContent a:hover, a:active {
	color: #f0c16c;
}

#works a:link, #works a:visited {
	color: #fefae0ff;
}

#works a:hover, #works a:active {
	color: #ebe2a7;
}

#tmoContainer {
	width: 1000px;
	margin: 0px auto;
	background-color: #fefae0ff;
}

#tmo {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;

}
#tmo img {
	width: 300px;
	height: 300px;
	margin-left: 10px;
}
.tmoChild {
	order: 1;
	margin: 50px;
	
}

.tmoChild h1, p {
	color: #473010;
	font-weight: 500;
}

.tmoChild h1 {
	font-family: 'DM Serif Text', serif;
	font-size: 2em;
}

.tmoGallery {
	display: flex; 
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.tmoGalleryContent {
	display: inline-block; 
	position: relative; 
	margin-right: 10px;
	margin-left: 10px;
	margin-top: 50px;
	margin-bottom: 50px;
	
}

.tmoGalleryContent img {
	width: 300px;
	height: 300px;
}

.tmoChild a:link, .tmoChild a:visited {
	color: #eca21d;
	font-weight: 500;
}

.tmoChild a:hover, .tmoChild a:active {
	color: #473010;
	text-decoration: underline;
	font-weight: 500;
}