/* Global Styles */
h1, h2 {
  font-family: 'UnifrakturMaguntia', cursive;
}

body {
  background-color: #000;
  color: #eee9d6; /* ivory-like */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Social Icons Row */
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.socials a img {
  width: 32px;
  height: 32px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.socials a img:hover {
  opacity: 1;
}

/* Tile Layout */
.tiles {
  display: grid;
  grid-template-columns: 160px;
  grid-auto-rows: 160px;
  gap: 10px;
  justify-content: center;
  align-content: center;
  height: calc(75vh - 100px);
}

.tile {
  position: relative;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.tile h2 {
  position: absolute;
  bottom: 8px;
  left: 8px;
  margin: 0;
  font-size: 32px;
  color: #eee9d6;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 6px;
  border-radius: 3px;
}

/* Subpage Content */
.content {
  max-width: 360px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: left;
}

.back {
  display: block;
  text-align: center;
  margin-top: 20px;
  text-decoration: none;
  color: #eee9d6;
  font-size: 14px;
}
