.overlay {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.699);
  padding: 16px;
}

.overlayAlignment {
  display: flex;
  justify-content: center;
  position: relative;
}

.overlayCard {
  position: absolute;
  top: 50vh;
  max-width: 400px;
  transform: translate(0, -50%);
}

.overMonsterContainer {
  background-color: rgb(8, 37, 51);
  border-radius: 16px;
  overflow: hidden;
}

.overMonsterHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overMonsterDetails {
  background-color: white;
  padding: 8px;
  border-radius: 16px;
}

.overMonsterDetails td {
  color: black !important;
}

.buttonArea {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
}
.nextButtons {
  border-radius: 100%;
  width: 40px;
  height: 40px;
  background-color: orangered;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-style: none;
  font-size: 24px;
}

.nextButtons:hover {
  background-color: rgb(255, 51, 0);
}

.nextButtons:active {
  background-color: rgb(255, 30, 0);
}

.overlayLoading {
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(8, 37, 51);
  padding: 16px;
}

.loadingAlignment {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loadingImage {
  height: 300px;
  width: 300px;
  animation-name: spin;
  animation-duration: 5000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  transform-origin: center;
  margin: auto;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
