html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
}

body {
  background-image: url("images/alienlights.jpg");
  background-color: #090615;
  color: #ffffff;
  font-family: Verdana, Arial, sans-serif;
  text-align: center;
  overflow: hidden;
}

.hall-link {
  position: fixed;
  z-index: 10;
  top: 14px;
  left: 14px;
  display: inline-block;
  padding: 7px 10px;
  background-color: #11121d;
  border: 2px outset #3f5275;
  color: #d8d3ee;
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

.hall-link:visited {
  color: #d8d3ee;
}

.hall-link:hover {
  background-color: #292841;
  color: #ffffff;
}

.hall-link:active {
  border-style: inset;
}

.container {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) clamp(24px, 10vw, 192px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

h1 {
  flex: 0 0 auto;
  margin: 0;
  color: #55ddff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 52px;
  text-shadow:
    0 0 3px #55ddff,
    2px 2px 4px #17285c,
    0 0 6px rgba(0, 0, 0, 0.78),
    0 0 12px rgba(0, 0, 0, 0.42);
}

.parchment {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1000px;
  margin: 24px auto 0;
  padding: clamp(28px, 4vw, 52px);
  box-sizing: border-box;
  background-color: #e6e2e9;
  border: 8px ridge #3f5275;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.8);
  color: #302d38;
  font-family: Georgia, "Times New Roman", serif;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.parchment-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.intro {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 20px;
  line-height: 1.5;
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(95px, 1fr));
  gap: 28px 18px;
  margin: 0 auto;
}

.creation-icon {
  display: flex;
  min-width: 0;
  padding: 8px 5px;
  flex-direction: column;
  align-items: center;
  color: #5b517c;
  font-family: Verdana, Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.creation-icon:visited {
  color: #704f70;
}

.creation-icon:hover,
.creation-icon:focus-visible {
  background-color: #d8d3e2;
  outline: 1px dotted #4f4778;
  color: #8a4f78;
}

.creation-type {
  display: block;
  width: fit-content;
  margin: 0 auto -1px;
  padding: 2px 5px;
  box-sizing: border-box;
  background-color: #20242b;
  border: 1px solid #454b56;
  color: #ffffff;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.15px;
  word-spacing: 2px;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
}

.creation-thumbnail {
  display: block;
  width: 96px;
  height: 96px;
  max-width: 100%;
  object-fit: cover;
  box-sizing: border-box;
  background-color: #c0c0c0;
  border: 3px outset #aeb8d4;
  box-shadow: 3px 3px 0 rgba(48, 45, 56, 0.4);
}

.thenail-thumbnail {
  background-color: #4f586b;
}

.creation-title {
  margin-top: 9px;
}

.placeholder-thumbnail {
  background-color: rgba(91, 81, 124, 0.06);
  border: 2px dashed rgba(91, 81, 124, 0.55);
  box-shadow: none;
}

.hall-return {
  display: block;
  width: fit-content;
  margin: 42px auto 0;
  color: #4f4778;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: bold;
}

.hall-return:visited {
  color: #704f70;
}

.hall-return:hover {
  color: #8a4f78;
}

@media (max-width:700px) {

  .hall-link {
    top: 8px;
    left: 8px;
    padding: 5px 7px;
    font-size: 11px;
  }

  .container {
    padding: 46px 14px 14px;
  }

  h1 {
    font-size: 38px;
  }

  .parchment {
    margin-top: 14px;
    padding: 25px 16px;
    border-width: 6px;
  }

  .intro {
    font-size: 18px;
  }

  .creation-grid {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 22px 10px;
  }

}
