body {
	margin: 0 2.5em;
	background: #FFFEF9;
	overflow-x: hidden;
}

/* ~~ columns ~~ */

.col-1of1 {
	width: 100%;
}

.col-1of2 {
	width: 50%;
	overflow-x: hidden;
}

.col-2of3 {
	width: 67%;
	overflow-x: hidden;
}

.col-1of3 {
	width: 30%;
	overflow-x: hidden;
}

.col-1of4 {
	width: 25%;
	overflow-x: hidden;
}

.col-1of5 {
	width: 20%;
	overflow-x: hidden;
}

.col-1of6 {
	width: 17%;
	overflow-x: hidden;
}

/* ~~ typefaces ~~ */

.instrument-serif-regular {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.instrument-serif-regular-italic {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

h1, h2, h3, h4, p {
	margin: 0 !important;
}

h1 {
	font-family: "Instrument Sans", sans-serif;
	font-size: 4em;
	font-weight: 400;
}

.footer-block h1, .nav-block h1 {
	font-size: 3em;
}

h2 {
	font-family: "Shippori Mincho B1", serif;
	font-size: 1.5em;
	letter-spacing: -1px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.15em;
	padding-bottom: 0.5em;
}

h3 {
	font-family: "Instrument Sans", sans-serif;
	font-size: 1.5em;
	font-weight: 300;
	padding-bottom: 0.5em;
}

h4 {
	font-family: "Instrument Sans", sans-serif;
	font-size: 1.25em;
	font-weight: 400;
	font-style: normal;
	padding-bottom: 0.5em;
}

p {
	font-family: "Instrument Sans", sans-serif;
	font-size: 1.15em;
	font-weight: 400;
	font-style: normal;
	line-height: 1.15sem;
}

nav a, nav h4, .footer-block h1, .nav-block h1 {
	letter-spacing: -1px;
}

nav a, nav h4, .footer-block h1, .footer-block p, .nav-block h1 {
	font-family: "Shippori Mincho B1", serif;
}

.tint {
	color: rgba(0, 0, 0, 0.5);
}

.caption {
	font-family: "Instrument Sans", sans-serif;
	font-size: 0.8em;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.text-list li:not(:last-child) {
	margin-bottom: 25px;
}

/* ~~ links ~~ */

a, .intext-link {
	text-decoration: none;
	color: black;
}

nav a:hover, a:hover, .intext-link:hover {
	color:#FF00A8;
}

nav {
	width: 100%;
	position: sticky;
	top: 0;
	padding: 2.5em 0 0 0;

	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;

	background-color: #FFFEF9;
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	margin-bottom: 2.5em;
}

nav > div {
	display: flex;
	gap: 50px;
}

footer {
	margin: 1em 0;
}

.footer-block {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.footer-block > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 2em;
}

/* ~~ index ~~ */

.block {
	padding: 2.5em 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);

	display: flex;
	justify-content: space-between;
	gap: 2.5em;
}

.first > .text-block {
 float: right;
}

.content-block, .project-block, .image-block, .image-gallery {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	gap: 2.5em;
}

.info-block {
	display: flex;
	flex-direction: column;
	gap: 2.5em;
} 

.project-block img, .image-block img, .image-item img {
	max-width: 100%;
	border-radius: 5px;
}

.col-2of3 > .image-block:not(:last-child) {
	margin-bottom: 2.5em;
}

/* ~~ project page ~~ */
/* gallery */

.image-gallery {
	z-index: -1;
}

.image-gallery .column {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
}

.image-item {
	position: relative;
}

.image-item img {
  width: 100%;
  object-fit: cover;
}

.border-img img {
	border: 0.5px solid rgba(0, 0, 0, 0.25);
}

#emails img {
	width: 100% !important;
	object-fit: contain;
}

/* ~~ about page ~~ */
.experience-block table {
	margin-bottom: 2.5em;
}

table {
	width: 100%;
	font-family: "Instrument Sans", sans-serif;
	font-size: 1.15em;
	font-weight: 400;
	border-spacing: 0;
	text-align: left;
}

#work-experience th, #work-experience td {
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	padding: 1em 0.5em;
}

#more-info {
	line-height: 5em;
	margin-bottom: 9.375em;
}