body {
  margin: 0;
  --rowCount: 4;
}

.title {
  background-color: #eee;

  display: block;
  font-size: 48px;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

.navbar {
  background-color: #000;
  color: white;
  display: block;
  font-size: 18px;
  text-align: left;
  padding: 10px;
  font-weight: normal;
}
a {
  all: unset;
}
.navItem {
  display: inline-block;
  border: 1px solid white;
  cursor: pointer;
  padding: 5px;
  margin: 4px;
}

.navItem:hover {
  color: #0f0;
  border: 1px solid #0f0;
}

.active {
  color: #0f0;
}

div.header {
  display: block;
  background: #ccc;
  font-size: 36px;
  text-align: center;
  border-radius: 10px 10px 0px 0px;
}

div.mainBody {
  margin: auto;
  border: 2px solid #ccc;
}

div.wrapper {
  margin: auto;
  display: block;
  border: 5px solid #ccc;
  text-align: center;
  padding: 0px;
}

div.gallery {
  border: 5px solid #ccc;

  display: inline-block;
  border-radius: 10px 10px 0px 0px;
  padding: 0px;
  margin: 10px;
}

div.gallery:hover {
  border: 5px solid #777;
  cursor: pointer;
}

div.gallery img {
  --stepOne: calc((100vw - 14px));

  --stepTwo: calc(var(--stepOne) / var(--rowCount));
  --stepThree: calc(-36px + var(--stepTwo));
  max-width: var(--stepThree);
  min-width: 150px;
  height: auto;
  display: inline-block;
  margin: 0px;
}

div.desc {
  padding: 15px;
  text-align: center;
}

div.footer {
  display: block;
  background: #ccc;
  font-size: 36px;
  text-align: center;
  padding: auto;
  border-radius: 0px 0px 10px 10px;
}

div.tagLine {
  display: block;
  background-color: rgb(165, 164, 110);
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
}
