@import url('./normalize.min.css');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Tienne:wght@400;700&display=swap');

html {
	background:
		linear-gradient(135deg, #1d627f 21px, #d9ecff 22px, #d9ecff 24px, transparent 24px, transparent 67px, #d9ecff 67px, #d9ecff 69px, transparent 69px),
		linear-gradient(225deg, #1d627f 21px, #d9ecff 22px, #d9ecff 24px, transparent 24px, transparent 67px, #d9ecff 67px, #d9ecff 69px, transparent 69px)0 64px;
	background-color:#1d627f;
	background-size: 64px 128px;
}

nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.grid {
	display: grid;
	height: calc(100vh - 70px);
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 20px;
	margin: 35px;
}

.banner {
	grid-column: 1 / -1;
	background-image: url('../img/nstwr5_2020_banner.jpg');
	background-position: center bottom;
	background-size: contain;
	background-repeat: no-repeat;
}
.banner a {
	display: block;
	width: 100%;
	height: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  /* opacity: 0; */
  transition: .5s ease;
  background-color: rgba(0,0,0,0.67);
}

.exhibit a,
.certificate a {
	display: block;
	height: 100%;
	width: 100%;
	color: white;
	font-family: sans-serif;
	/* font-weight: bold; */
	font-size: 3em;
	position: relative;
	text-align: center;
}
.exhibit a span,
.certificate a span {
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
	text-transform: uppercase;
}

.exhibit a img,
.certificate a img {
	width: 100%;
	height: auto;
}

body {
	font-family: 'Open Sans', sans-serif;

}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Tienne', serif;
	font-weight: bold;
}
nav {
	font-family: 'Tienne', serif;
	font-weight: normal;
	background-color: #efefef;
	padding: 35px;
	font-weight: bold;
}
nav h1 {
	font-size: inherit;
	display: inline;
}
nav a {
	font-weight: normal;
}

.container {
	min-height: calc(100vh - 88px - 88px - 70px);
	padding: 35px;
	/* max-width: 1600px;
	margin: 0 auto; */
	background-color: white;
}

.container > * + * {
	margin-top: 1.5em;
}

.container .header {
	text-align: center;
}
.container .header img {
	height: 250px;
	width: auto;
}

.container .header .zoom {
	margin-top: 35px;
}
.container .header .zoom img {
	height: auto;
	width: 42vw;
}

.themes {
	display: flex;
	flex-direction: row;
	gap: 35px;
}
.themes > div {
	flex: 1;
	padding: 25px;
}


.microsite .themes {
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.microsite .themes > div {
	padding: initial;
}

.zoom {
	object-fit: contain;
}

.zoom img {
	width: 100%;
	height: auto;
}

.microsite .gallery a {
	display: inline-block;
	position: relative;
}
.microsite .gallery a > img {
	width: 150px;
	height: auto;
}

.gallery a:hover .magni> img {
  opacity: 1;
}

.gallery a .magni{
	background-color: rgba(0, 0, 0, 0.1);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: background-color 0.15s ease 0s;
	-o-transition: background-color 0.15s ease 0s;
	transition: background-color 0.15s ease 0s;
}

.gallery a .magni> img {
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	opacity: 0;
	position: absolute;
	top: 50%;
	-webkit-transition: opacity 0.3s ease 0s;
	-o-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}

.gallery a:hover .magni{
 	 background-color: rgba(0, 0, 0, 0.5);
}

.lg-prev-slide
{
	display: none;
}


footer {
	background-color: #000080;
	color: white;
	padding: 35px;
	text-align: center;
}
footer a {
	color: white;
}

.thumbs {
	text-align: center;
}

.thumbs a {
	padding: 15px;
	display: inline-block;
}

.columns {
	max-width: 1600px;
	margin: 20px auto;
}

.row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	gap: 20px;
}

.column {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	flex: 1;
}

.columns img {
	width: 100%;
	height: auto;
}

@media (max-width:950px) {
	.row {
		flex-direction: column;
	}
}