/*
This artwork, software and audio files have the following copyright
©2019-2026 Edwin van der Heide. All Rights Reserved.
*/

/* Inter 4.1 (SIL Open Font License, see /_fonts/inter/LICENSE.txt), served
   from this site, the same files as the rest of evdh.net. The ?v= query must
   match the preload links in index.html. There are regular and bold files
   only, so font-weight 600 is shown in bold. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/_fonts/inter/Inter-Regular.woff2?v=4.1") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url("/_fonts/inter/Inter-Italic.woff2?v=4.1") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/_fonts/inter/Inter-Bold.woff2?v=4.1") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: italic;
  font-weight: 700;
  font-display: optional;
  src: url("/_fonts/inter/Inter-BoldItalic.woff2?v=4.1") format("woff2");
}

body {
  margin: 0 1dvw;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  background: #000;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.work-title {
  font-size: 2.8rem;
  color: #eee;
  font-weight: 600;
  margin-bottom: 0.1vh;
  margin-top: 3.5vh;
}

.work-details {
  font-size: 1.2em;
  color: #eee;
  font-weight: 600;
}

.work-title a,
.work-details a,
.work-text-pt a,
.work-text-eng a,
.work-title a:visited,
.work-details a:visited,
.work-text-pt a:visited,
.work-text-eng a:visited {
  text-decoration: none;
  color: inherit;
  font: inherit;
}

.work-title a:hover,
.work-details a:hover,
.work-text-pt a:hover,
.work-text-eng a:hover {
  text-decoration: underline;
  filter: brightness(0.7);
}

.work-text-pt,
.work-text-eng {
  font-size: 0.9em;
  line-height: 1.8;
  text-align: justify;
  font-weight: 400;
}

.work-text-pt {
  color: #ddd;
}

.work-text-eng {
  color: #bbb;
  font-style: italic;
}

#block-description {
  display: flex;
  flex-direction: row;
  gap: 2%;
  align-items: flex-start;
  flex-wrap: wrap;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 2vw;
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.but-box {
  text-align: right;
  padding: 0;
  margin-bottom: 1px;
  margin-right: 8px;
  background-color: #000;
}

button.but-fullscreen {
  all: unset;
  color: #fff;
  background-color: #000;
  font-family: 'Courier New', monospace;
  margin-bottom: 0px;
  margin-right: 0px;
  font-size: 25px;
  cursor: pointer;
  border-radius: 0px;
}

button.but-fullscreen:hover {
  color: #666;
}

#iframe-container {
  width: 100%;
  height: 100dvh;
  border: none;
  display: block;
  margin-top: 0rem;
  background-color: #000;
  top: 0;
  left: 0;
  z-index: 9999;
}

#iframe-itself {
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  display: block;
  background-color: #000;
}

.close-fullscreen {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background-color: #000;
  color: #fff;
  font-size: 1.4rem;
  border: none;
  padding: 0em 0em;
  border-radius: 0px;
  cursor: pointer;
  display: none;
}

.close-fullscreen:hover {
  color: #e0e0e0;
}

@media (max-width: 800px) {
	#block-description {
		flex-direction: column;
	}

	#iframe-container {
		height: auto;
	}

	#iframe-itself {
		height: 160vw;
	}

	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}
