/* FOR BOTH MOBILE AND DESKTOP*/
@font-face {
  font-family: Garamond;
  src: url(/assets/Fonts/EBGaramond-VariableFont_wght.ttf);
  font-weight: normal;
  font-style: normal;
}@font-face {
    font-family: Garamond italic;
    src: url(/assets/Fonts/EBGaramond-Italic-VariableFont_wght.ttf);
    font-weight: normal;
    font-style: italic;
}@font-face {
    font-family: Garamond italic;
    src: url(/assets/Fonts/EBGaramond-Italic-VariableFont_wght.ttf);
    font-weight: normal;
    font-style: italic;
}

*{
	box-sizing: border-box;
	font-size: 10pt;
	font-family: Garamond;
}

body{
	margin:10px;
}header, main{
	margin: 20px;
}

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

a{
	color: black;
	text-decoration: none;
	text-decoration: underline;
}
a:hover{
	filter: blur(2px);
}

main{
	margin-top: 60px;
	max-width: 800px;
}

/*------PROJECT BLOCKS-----*/
/* ALL OF THE BLOCKS SELECTORS */
.blocks{} /*wraps all the blocks within a subpage*/
.block{} /*wraps around each block*/
figure{} /*one level down from .block. wraps around image and image caption (figcaption) content*/
/* All of the text blocks are a paragraph element within a .block class*/

.pagetitle{
	margin-bottom: 20px;
}

h2, h3{
	line-height: 1;
	padding: 0;
	margin: 0;
}h2{
	font-size: 24pt !important;
	font-weight: normal;
	font-family: Garamond;
}h3{
	font-weight:400;
}

.blocks{
	margin-bottom:50px;
}figure{
	margin: 0px;
	margin-bottom: 20px;
}img{
	display: block;
	width:auto;
	max-width: 100%;
	max-height: 500px;
}figcaption{
	font-weight:200;
}

/*Image Gallery - Grid*/
.block>figure>ul{
    display: grid;
	grid-template-columns: auto auto auto auto auto auto;
	grid-gap: 5px;
}.block>figure>ul>li>img{
    cursor: pointer;
}

/*-----------------*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.7);
}/* Modal Content (image) */
.modal-content {
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  top:50%;
  left:50%;
  width: auto;
  max-width: 80vw;	
  max-height: 80vh;
}/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #ffffff;
  font-size: 32px;
  font-weight: thin;
  transition: 0.3s;
}.close:hover,
.close:focus {
  filter: blur(2px);
  text-decoration: none;
  cursor: pointer;
}/* Clear Floats */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}/* Caption of Modal Image */
#caption {
  display: block;
  position: absolute;
  bottom: 0;
  bottom:0;
  width: 100%;
  padding: 10px;
  text-align: center;
  color: white;
}

/*JUST FOR MOBILE*/
@media only screen and (max-width: 600px) {
	.block>figure>ul{
    display: grid;
	grid-template-columns: auto auto auto auto;
	grid-gap: 5px;
}
	
}/*JUST FOR DESKTOP*/
@media only screen and (min-width: 600px) {
	/* creates a 2 column layout*/
	body{
		display: grid;
		grid-template-columns: auto auto;
	}header{
		margin-top: 60px;
	}
}