:root {
  --color-bg: #111616;
  --color-display: rgba(255,255,255,1);
  --color-txt: rgba(255,255,255,.75);
  --color-sub: rgba(255,255,255,.5);
  --color-div:rgba(255,255,255,.04);
  --color-accent: #A5AE66;
  --font-display: "Barlow Condensed", sans-serif;
  --font-txt: "EB Garamond", serif;
  --font-size-small: .75rem;
  --font-size-medium: 1rem;
  --font-size-large: 1.62rem;
  --font-size-big: 2.62rem;
}

*, *::after, *::before {
  box-sizing: border-box;
  font-family: garam;
}

html, body {
  margin: 0;
  font-size: 100%;
  background-color: var(--color-bg);
  color: var(--color-txt);
  font-family: var(--font-txt);
}
html h1, html h2, html h3, html h4, html h5, html h6, body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: var(--font-display);
  color: var(--color-display);
  text-transform: uppercase;
  margin: 0.5em 0;
  font-weight: normal;
  font-style: italic;
}
html h1 .sub, html h2 .sub, html h3 .sub, html h4 .sub, html h5 .sub, html h6 .sub, body h1 .sub, body h2 .sub, body h3 .sub, body h4 .sub, body h5 .sub, body h6 .sub {
  font-family: inherit;
  color: var(--color-sub);
}
html h1, body h1 {
  font-size: var(--font-size-big);
  font-weight: 700;
  margin: 0;
}
html h2, body h2 {
  font-size: var(--font-size-large);
  font-weight: 700;
}
html h3, body h3 {
  font-size: var(--font-size-large);
}
html h4, html h5, html h6, body h4, body h5, body h6 {
  font-size: var(--font-size-medium);
}
html a, body a {
  color: var(--color-accent);
}
html a.btn, body a.btn {
  color: var(--color-bg);
  background-color: var(--color-accent);
  display: inline-block;
  padding: 0.75em 1.25em;
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.0625em;
  filter: brightness(0.86);
}
html a.btn:hover, body a.btn:hover {
  filter: brightness(1);
}
html a.btn:active, body a.btn:active {
  filter: brightness(0.55);
}
html p, body p {
  line-height: 1.4;
}

body {
  padding: 8vw;
  max-width: 1366px;
  margin: 0 auto;
}

.app__header {
  text-align: center;
  padding: 0 0 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.app__header svg.logo {
  max-width: 80%;
  margin-bottom: 2rem;
}
.app__header p {
  display: block;
  font-size: 1.25rem;
  line-height: 1.4;
  max-width: 512px;
  margin-left: 0;
  margin-right: 0;
}
@media screen and (max-width: 512px) {
  .app__header {
    padding: 0 0 4rem;
  }
  .app__header svg.logo {
    margin-bottom: 0;
  }
}

.app__footer {
  color: var(--color-sub);
  font-size: var(--font-size-medium);
  padding: 4vw 0;
  text-align: center;
}

.app__section--header {
  padding: 4vw 0 0 0;
  text-align: center;
}

.app__section--twocolumn {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.app__section--twocolumn img.profile--img {
  border-radius: 0.5rem;
  /* width: 200px;
   height: 200px;*/
}
@media screen and (max-width: 512px) {
  .app__section--twocolumn {
    flex-direction: column;
    flex-direction: column-reverse;
  }
}

.app__section--grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 4vw;
}
.app__section--grid a {
  display: block;
  text-align: center;
  text-decoration: none;
}
.app__section--grid a h3 {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.0625em;
  margin-bottom: 0.25em;
  font-size: var(--font-size-medium);
}
.app__section--grid a span {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.0625em;
}
.app__section--grid img {
  width: 100%;
  box-shadow: 1rem 1rem 1rem -0.5rem rgba(0, 0, 0, 0.5), -1rem -1rem 2rem -0.5rem rgba(255, 255, 255, 0.04);
}
@media screen and (max-width: 768px) {
  .app__section--grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 336px) {
  .app__section--grid {
    grid-template-columns: 1fr;
  }
}

ul.app__section--list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
ul.app__section--list li a.column {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.0625em;
  text-decoration: none;
  font-family: var(--font-display);
  margin: 0;
  padding: 0;
}
ul.app__section--list li a.source {
  display: block;
  text-decoration: none;
  color: var(--color-sub);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.0625em;
}
ul.app__section--list li a.title {
  font-size: var(--font-size-large);
  color: var(--color-display);
  text-decoration: none;
  font-family: var(--font-display);
}

.app__dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  display: flex;
  overflow-y: auto;
}

.app__dialog--card {
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
  height: auto;
  max-width: 1024px;
  margin: auto;
}
.app__dialog--card img {
  display: block;
  width: 30%;
  aspect-ratio: 5/8;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 512px) {
  .app__dialog--card {
    flex-direction: column;
  }
  .app__dialog--card img {
    display: block;
    width: 50%;
    aspect-ratio: 5/8;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .app__dialog--card .info {
    text-align: center;
    margin: 0 auto;
  }
  .app__dialog--card .info article {
    text-align: left;
  }
  .app__dialog--card img {
    width: 50%;
    margin: 0 auto;
  }
}

a.btn-sub {
  color: var(--color-display);
  background-color: var(--color-div);
  display: inline-block;
  padding: 0.75em 1.25em;
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.0625em;
  filter: brightness(0.86);
}
a.btn-sub:hover {
  filter: brightness(1);
}
a.btn-sub:active {
  filter: brightness(0.55);
}

a.btn.close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background-color: var(--color-div);
  color: var(--color-txt);
}

#open {
  display: none;
}
#open:target {
  display: flex;
}
