main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@font-face {
  font-family: Zilla;
  src: url("mine/ZillaSlab-Regular.ttf");
}
@font-face {
  font-family: Domi;
  src:url("mine/DomillionBrushFree.otf");
}

#top-pop-up {
  /* display: none; */
  display: block;
  position: fixed;
  z-index: 1;
  padding-top: 20vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  animation-name: fadeIn;
  animation-duration: 0.4s
}

#top-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

#bottom-pop-up {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  padding-top: 50vh;
  width: 100%;
  height: 100%;
  overflow: auto;
  animation-name: fadeIn;
  animation-duration: 0.4s
}

#bottom-content {
  position: fixed;
  bottom: 0;
  background-color: #fefefe;
  width: 100%;
  animation-name: slideIn;
  animation-duration: 0.4s
}


#top-header {
  text-align: center;
  line-height: 10px;
  padding: 5px 16px;
  background-color: #affafa;
  color: #333;
  letter-spacing: 5px;
  font-size: 20px;
  font-family: Zilla;
}

#top-body,
#bottom-body {
  text-align: center;
  border-radius: 20px;
  padding: 2px 32px;
  font-size: 20px;
  letter-spacing: 5px;
  font-family: Zilla;
  font-weight: bold;
  color:#555
}

#top-footer,
#bottom-footer {
  width: 100%;
  background-color: #dddddd;
}

#top-bar,
#bottom-bar {
  width: 0%;
  height: 30px;
  background-color: #affafa;
  transition: 2s;
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}
