@import "./../generics.css";
:root {
	--trcolor: color 0.2s ease-in;
	--bgcolor: background-color 0.2s ease-in;
	--colourscheme: var(--trcolor), var(--bgcolor);
}
@keyframes loadAnim {
  from {
    opacity: .75;
  }
  to {
    opacity: .33;
  }
}
header.main {
  min-height: 75px;
}
header.main h2 {
  margin-top: 1.2em;
}
main {
  display:flex;
  flex: 0 0;
  justify-content: center;
}
input {
  border: none;
	border-bottom: 2px solid currentColor;
	z-index: 1;
	margin-top: 4px;
	position: relative;
	width: 40em;
}
input:focus {
  outline: none;
}
label {
	transition: var(--trcolor), font-size 0.3s ease-in, transform 0.3s ease-in;
	z-index: 0;
	position: absolute;
}
.input-wrap {
	margin-top: 16px;
	margin-right: 4em;
}
.input-wrap,
.input-wrap * {
	display: block;
	color: color-mix(in srgb, currentColor 87%, transparent);
}
.input-wrap:hover,
.input-wrap:focus-within,
.input-wrap:hover *,
.input-wrap:focus-within *,
.input-wrap.on {
	color: currentColor;
}
.input-wrap:focus-within label,
.input-wrap.on label {
	font-size: 0.7em;
	transform: translateY(-80%);
}
#arrow {
  translate: 0 -110%;
  right: 0;
  display: inline-block;
  border-radius: 5px;
  z-index: 2;
  padding: 2px;
  transition: var(--colourscheme), opacity 0.2s ease-in;
  &.off {
    color: red;
    pointer-events: none;
  }
  &:not(.off) {
    color: white;
    background-color: green;
  }
  &.loading {
    animation: .5s ease-in-out infinite alternate loadAnim;
    pointer-events: none;
  }
}
#hellspawner {
  top: 5em;
}
#hellspawner img {
  max-width: 50vw;
  height: 100%;
}
#hellsgates {
  position: absolute;
  left: 0;
  translate: -100%;
}