#pending-transactions {
  text-align: center;
  min-width: 20%;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99999999;
}

.loading-div {
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  height: 5%;
  background-color: white;
  border: solid black 0.3em;
  color: black;
  font-size: 1.2vw;
  line-height: 1.5vw;
  padding: 20px;
  text-align: center;
}

.etherscan-link {
  text-decoration: none;
}

#loading-popup {
  border: solid 2px black;
  background-color: #f6ff00;
  padding: 5vw;
  z-index: 99999;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33vw;
  text-align: center;
  box-shadow: 0 0 5000px 5000px rgba(0, 0, 0, 0.88);
}

#error-popup,
#status-popup {
  background-color: #f6ff00;
  z-index: 99999;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 53vw;
  min-height: 35vh;
  border: solid 10px black;
  text-align: center;
  box-shadow: 0 0 5000px 5000px rgba(0, 0, 0, 0.88);
}

#error-popup p,
#status-popup p {
  width: 100%;
  font-size: 2.8vw !important;
  line-height: 3vw !important;
  position: absolute;
  color: black;
  top: 50%;
  left: 50%;
  padding: 1vw;
  transform: translate(-50%, -50%);
  text-align: center;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.blinking {
  animation: blinker 1.6s linear infinite;
}

.success {
  background-color: rgb(49, 219, 49) !important;
  color: black !important;
}

.failure {
  background-color: #f72119 !important;
}

#block-screen,
#block-screen-error,
#block-screen-status,
#block-screen-approval,
#block-screen-loading {
  z-index: 9998;
  width: 100vw;
  opacity: 0;
  position: absolute;
  top: 0;
}

@media screen and (max-width: 991px) {
  #pending-transactions {
    min-width: 85%;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .loading-div {
    font-size: 4vw !important;
    line-height: 4.6vw !important;
    border-width: 5px;
  }

  #loading-popup {
    width: 75vw;
    border-width: 5px;
  }

  h1 {
    font-size: 5vh !important;
    line-height: 5.4vh !important;
  }

  #error-popup,
  #status-popup {
    width: 75vw;
    min-height: 25vh;
    border-width: 5px;
  }

  #error-popup p,
  #status-popup p {
    font-size: 5vw !important;
    line-height: 5.2vw !important;
    width: 90%;
  }
}