@font-face {
    font-family: 'lato';
    src: url('/fonts/lato/lato-regular-webfont.woff2') format('woff2'),
         url('/fonts/lato/lato-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'lato';
    src: url('/fonts/lato/lato-bold-webfont.woff2') format('woff2'),
         url('/fonts/lato/lato-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}


body {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  font: 18px 'lato', sans-serif;
	margin: 0 auto;
	color: #000000;
}

a,
a:link,
a:visited {
	color: #333333;
	transition: color .2s ease;
}

a:hover {
	color: #666666;
}
	
a:active {
	color: #333333;
}

.nav{
    list-style:none;
    padding:0;
    text-align:center;
}

.nav li{
    display:inline;
    margin: 0px 2em;
}

.nav a{
    display:inline-block;
    padding:0;
    text-decoration: none;
}

.nav a:hover {
	text-decoration: underline;
}

hr {
	  display: block;
  margin-top: 2em;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
  width: 90%;
  max-width: 500px;
}

header a img{
	display: flex;
	align-items: center;
	padding: 0;
	max-width: 90%;
	margin: 0 auto;
}

@media (min-width: 500px) {
  header a img {
    max-width: 500px;
  }
}






.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
}

.media {
  max-width: 600px;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media img {
  max-width: 100%;
  height: auto;
}

.layer {
  opacity: 0;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10px;
  height: 90%;
  background: #FFFFFF;
  color: #000000;
  transition: all 0.9s ease;
  transform: scale(0.1);
}

.layer p,
footer p {
  text-align: center;
  font-size: 15px;
  letter-spacing: 1px;
}

.media:hover .layer {
  opacity: 0.8;
  width: 90%;
  transition: all 0.5s ease;
	transform: scale(1);
}

.about {
	margin:  0 2em;	
	width: 90%;
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
}

.about p {
	text-indent: 5%;
	margin: .5px 0px;
}
