* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SIDE */

body {
  font-family: Helvetica, Arial, sans-serif;
  background: white;
  color: black;

  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* WRAPPER */

main {
  width: 100%;
  max-width: 1100px;

  padding: 28px;

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

/* HEADER */

header {
  width: 100%;
  max-width: 900px;

  margin-bottom: 26px;
}

/* NAV */

.top-nav {
  width: 100%;

  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  margin-bottom: 28px;

  font-size: 12px;
  letter-spacing: 1px;
}

.top-nav a {
  color: black;
  text-decoration: none;
}

.top-nav a:hover {
  opacity: 0.5;
}

.nav-left {
  justify-self: start;
}

.nav-center {
  letter-spacing: 5px;
  font-size: 14px;
}

.nav-right {
  justify-self: end;
}

/* BILDE */

.gallery {
  display: flex;
  justify-content: center;

  margin-bottom: 30px;
}

.gallery img {
  height: 62vh;

  width: auto;

  max-width: 100%;

  object-fit: contain;

  display: block;
}

/* INFO */

.info {
  width: 100%;
  max-width: 900px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  gap: 20px;

  font-size: 12px;
  line-height: 1.9;
}

.column.center {
  text-align: center;
}

.column.right {
  text-align: right;
}

/* UNDERSIDER */

.page {
  width: 100%;
  max-width: 560px;

  font-size: 13px;
  line-height: 1.9;

  padding-bottom: 80px;
}

/* UTSTILLINGER */

.exhibition {
  margin-bottom: 52px;
}

.date {
  font-size: 11px;
  letter-spacing: 1px;

  margin-bottom: 10px;

  text-transform: uppercase;
}

.exhibition-text {
  line-height: 1.85;
}

/* MOBIL */

@media (max-width: 700px) {

  body {
    height: auto;
  }

  main {
    padding: 24px 20px 50px;
  }

  .gallery img {
    height: 45vh;
  }

  .info {
    grid-template-columns: 1fr;

    gap: 24px;

    text-align: center;
  }

  .column.right {
    text-align: center;
  }

  .top-nav {
    font-size: 11px;
  }

  .nav-center {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .page {
    max-width: 100%;
  }

}
/* HOVER-PLAKATER */

.poster-trigger {
  display: inline-block;
}

.poster {
  position: fixed;

  top: 50%;
  right: 60px;

  transform: translateY(-50%);

  width: 340px;
  height: auto;

  opacity: 0;

  pointer-events: none;

  z-index: 9999;

  transition: opacity 0.2s ease;

  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.poster-trigger:hover .poster {
  opacity: 1;
}

/* mobil */

@media (max-width: 700px) {

  .poster {
    display: none;
  }

}
