@font-face {
  font-family: "404 Serif";
  src: url("fonts/pp-editorial-new-ultralight.woff2") format("woff2");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "404 Serif";
  src: url("fonts/pp-editorial-new-ultralight-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 200;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  background: #fff;
  color: #000;
  font-family: "404 Serif", Garamond, Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
}

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

.layout {
  min-height: 100vh;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-header {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.site-header a {
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  transition: opacity 180ms ease, filter 180ms ease;
}

.site-header a:hover {
  opacity: 0.18;
  filter: blur(0.35px);
}

.instagram {
  width: 17px;
  height: 17px;
  display: block;
  margin-top: 5px;
}

.instagram svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #000;
  stroke-width: 1.5;
  transition: transform 160ms ease;
}

.instagram .dot {
  fill: #000;
  stroke: none;
}

.instagram:hover svg {
  transform: scale(1.08);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  margin-bottom: 42px;
  font-family: "PP Editorial New", "404 Serif", Garamond, Georgia, serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.03em;
  transform: translateY(-10px) scaleY(1.6);
  transform-origin: center;
}

.exhibition {
  display: block;
  text-align: center;
  line-height: 1.05;
}

.exhibition span {
  display: block;
  transition: opacity 180ms ease, filter 180ms ease;
}

.exhibition:hover span {
  opacity: 0.18;
  filter: blur(0.35px);
}

.artist {
  font-size: 21px;
  margin-bottom: 2px;
}

.title {
  font-size: 20px;
  margin-bottom: 3px;
}

.dates {
  font-size: 19px;
}

.venue {
  margin-top: 43px;
  margin-bottom: 2px;
  font-size: 20px;
}

.address {
  font-size: 15px;
  line-height: 1.3;
}

.thanks {
  margin-top: 28px;
  font-size: 15px;
}

footer {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cities {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  font-size: 18px;
}

.city-location {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.city-location.brussels .city-emoji {
  order: 0;
}

.city-location.brussels .city-name {
  order: 1;
}

.city-location.tokyo .city-name {
  order: 0;
}

.city-location.tokyo .city-emoji {
  order: 1;
}

.city-emoji {
  display: inline-block;
  margin: 0;
  line-height: 1;
  text-align: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.city-emoji.is-changing {
  opacity: 0;
  transform: translateY(1px);
}

@media (max-width: 600px) {
  .layout {
    min-height: 100vh;
    padding: 16px;
    justify-content: flex-start;
  }

  .site-header {
    top: 16px;
    right: 16px;
    gap: 2px;
  }

  .site-header a {
    font-size: 13px;
  }

  .instagram {
    width: 14px;
    height: 14px;
    margin-top: 4px;
  }

  main {
    width: 100%;
    padding-top: 31vh;
  }

  .logo {
    font-size: 21px;
    margin-bottom: 40px;
  }

  .artist {
    font-size: 19px;
  }

  .title {
    font-size: 18px;
  }

  .dates {
    font-size: 17px;
  }

  .venue {
    margin-top: 39px;
    font-size: 18px;
  }

  .address {
    font-size: 13px;
  }

  .thanks {
    margin-top: 24px;
    font-size: 13px;
  }

  footer {
    bottom: 16px;
  }

  .cities {
    gap: 48px;
    font-size: 17px;
  }
}
