@font-face {
	font-family: Outfit;
	src: url(fonts/Outfit/Outfit-VariableFont_wght.ttf);
    font-weight: 100 1000;
}

@font-face {
	font-family: Merriweather;
	font-weight:  400;
	src:  url(fonts/Merriweather/Merriweather-Regular.ttf);
}

@font-face {
	font-family: Merriweather;
	font-weight: 400;
	font-style:  italic;
	src:  url(fonts/Merriweather/Merriweather-Italic.ttf);
}

@font-face {
	font-family: Merriweather;
	font-weight:  700;
	src:  url(fonts/Merriweather/Merriweather-Bold.ttf);
}

body {
	color: #283523;
	background-color: #f9fbfc;
	font-family: Merriweather, serif;
	padding-bottom:  80px;
    letter-spacing: 0.3px;
}

header {
	font-family: Outfit, sans-serif;
	font-weight: 100;
	padding: 10px;
	max-width: 700px;
	margin: auto;
}

header a {
	color: inherit;
	text-decoration: none;
}

h1 {
	text-decoration: none;
    font-family: Outfit, sans-serif;
    text-align: center;
}

h1 a {
	text-decoration: none;
	color: inherit;
}

article {
	width:  90%;
	margin:  auto;
	display: flex;
	flex-direction: column;
	align-items:  center;
}

article p {
    max-width: 500pt;
    padding: 10px;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

/*
article picture {
	width:  80vw;
}
*/

article picture img {
	max-width: 80vw;
	padding: 1.5vw;
	margin-left:  -1.5vw;
    background-color: white;
    filter: drop-shadow(0 0 20px #666);
    display: block;
}

article picture.tall {
	max-width:  70vw;
	max-height:  95vh;
}

article picture.tall img {
	max-height: 95vh;
}

figcaption {
	font-family: Outfit, sans-serif;
	font-weight: 100;
	text-shadow:  0 0 3px white;
}

main.home {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content:  center;
    /* max-width: 1230px; */
    margin: auto;
    align-content: center;
}

main.home a, main.home img {
    max-width: 95vw;
    width: 400px;
    aspect-ratio: 4/3;
    display: block;
}

main.home a {
	margin: 5px;
    position: relative;
    color: inherit;
	text-decoration: none;
	font-family: Outfit, sans-serif;
}

main.home img {
    object-fit: cover;
}

main.home a div {
	position: absolute;
    margin: auto;
    bottom: 1%;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: rgba(255,255,255,0.5);
    border-radius: 10px;
    padding: 5px;
    font-weight: 200;
}
