:root {
  color-scheme: light dark;
}

html {
  height: 100%;
}

.pow-bot-deterrent {
  background-color: transparent;
  border: none;
  font-size: 1.2em;
  padding: 0;
  margin-bottom: 2em;
  min-width: 100%;
}

.pow-bot-deterrent-link {
  color: #4da8da;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.2em;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  transition: color 0.3s;
}

@media screen and (max-width: 410px) {
  .pow-bot-deterrent-icon {
    height: 3em;
  }
}

@media screen and (max-width: 380px) {
	.pow-bot-deterrent-link span {
		display: none;
  }
}

.pow-bot-deterrent-link:hover,
.pow-bot-deterrent-link:active,
.pow-bot-deterrent-link:visited {
  color: #8ed2ff;
}

.pow-bot-deterrent-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.pow-bot-deterrent-icon-container {
  margin-left: 1em;
  margin-top: 0.2em;
  margin-bottom: -1em;
  margin-right: 0.2em;
}

.pow-bot-deterrent-best-hash {
  font-family: 'Courier New', Courier, monospace;
  background: rgba(0, 0, 0, 0.4);
  color: #4da8da;
  transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
  padding: 0.3em 0.8em;
  margin-left: -0.5em;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: normal;
  display: block;
  float: right;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pow-bot-deterrent-best-hash-done {
  background: rgba(49, 189, 130, 0.2);
  color: #31bd82;
  border-color: #31bd82;
}

.pow-bot-deterrent-description {
  margin-top: 1.5em;
  font-size: 1em;
  color: #b0c4de;
  text-align: left;
}

.pow-bot-deterrent-progress-bar-container {
  background: rgba(255, 255, 255, 0.1);
  height: 8px;
  margin-top: 1.5em;
  border-radius: 4px;
  overflow: hidden;
}

.pow-bot-deterrent-progress-bar {
  background: linear-gradient(90deg, #4da8da, #9359fa);
  height: 100%;
  width: 0;
  transition: width 0.5s ease-out;
}

.pow-bot-deterrent-icon {
  height: 3.5em;
}

.pow-bot-deterrent-hidden {
  display: none;
}

.pow-checkmark-icon-checkmark {
  fill:none;
  stroke: #31bd82;
  stroke-width: 5rem;
  stroke-dasharray: 60em;
  stroke-dashoffset: 74em;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  animation: 0.8s normal forwards ease-in-out pow-draw-checkmark;
  animation-play-state: inherit;
}

.pow-checkmark-icon-border {
  fill:none;
  stroke: #aaa;
  stroke-width: 3rem;
  stroke-dasharray: 110em;
  stroke-dashoffset: 110em;
  stroke-linecap: butt;
  stroke-linejoin: round;
  animation: 0.8s normal forwards ease-in-out pow-draw-checkmark-border;
  animation-play-state: inherit;
}

.pow-gears-icon-gear-large {
  fill: #9359fa;
  animation: 4s linear infinite pow-spinning-gears-large;
  animation-play-state: running;
}
.pow-gears-icon-gear-small {
  fill: #9359fa;
  animation: 4s linear infinite pow-spinning-gears-small;
  animation-play-state: running;
}


@keyframes pow-draw-checkmark-border {
  0% {
    stroke-dashoffset: 110em; 
  }
  100% {
    stroke-dashoffset: 10em;
  }
}

@keyframes pow-draw-checkmark {
  0% {
    stroke-dashoffset: 74em;
  }
  100% {
    stroke-dashoffset: 120em;
  }
}

@keyframes pow-spinning-gears-small {
  0% {
    transform: translate(161px, 161px) rotate(0deg) translate(-161px,-161px);
  }
  100% {
    transform: translate(161px, 161px) rotate(360deg) translate(-161px,-161px);
  }
}

@keyframes pow-spinning-gears-large {
  0% {
    transform: translate(73px, 73px) rotate(360deg) translate(-73px,-73px);
  }
  100% {
    transform: translate(73px, 73px) rotate(0deg) translate(-73px,-73px);
  }
}