body {
  background-color: black;
  color: black;
  font-family: "serif";
    font-size:18px;
    color: #876863;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.box {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  background: none;
  overflow: hidden;
}

.message-wrapper {
  position: relative;
  width: 1100px;
  height: auto;
  top: 15px;
  margin: auto;
  justify-content: center;
}

.message-background {
  display: block;
  width: 100%;
  height: auto;
  justify-content: center;
}

.main-pic {
  position: relative;
  top: 10px;
  justify-content: center;
}

.tooth-box {
  /*position: relative;*/
  top: 1410px;
  left: 1278px;
  width: 75px;
  height: auto;
}

.tooth-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tooth-box.hoverimage:hover {
  opacity: 1;
  transform: scale(1.1)
}

.link-box {
  position: relative;
  top: 1440px;
  left: 35px;
  align-items: center;
  margin: auto;
  justify-content: center;
}

.popup {
  display: none;
  position: absolute;
  background: #ffffff;
  border: 2px solid #333;
  font: "serif";
  color: #000000;
  border-radius: 8px;
  padding: 5px;
  width: 200px;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* Close button */
.popup .close {
  display: none;
  position: absolute;
  top: 3px;
  right: 10px;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

footer {
  position: absolute;
  left: 0;
  background-color: #2F2F2FAA;
  text-align: left;
  padding: 10px;
  position: fixed;
  bottom: 0;
  width: 100%;  
}




