@import url("equipment.css?18");

:root {
  --vh: 1vh;
}

html {
  background-color: #000000;
  color: #ffffff;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', "ヒラギノ角ゴ ProN W3", "Yu Gothic UI", "メイリオ", Meiryo, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

body:not(.field) {
  max-width: 500px;
  margin:auto;
}
::-webkit-scrollbar {
  background: rgba(0,0,0,.2);
  width:5px;
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.66);
}

header {
  box-sizing: border-box;
  height: calc(var(--vh, 1vh) * 5);

}
main{
  box-sizing: border-box;
  height: calc(var(--vh, 1vh) * 89);
}
.none {
  display: none !important;
}

button {
  border: none;
  background-color: #333333;
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  transition: all 200ms;
  border-bottom: 2px solid #000000;
  margin: 3px 0;
}

button[disabled] {
  background-color: #999999 !important;
  color: #bbbbbb;
  border-bottom: 2px solid #888888;
}

input {
  border: none;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 200ms;
  border-top: 1px solid rgba(0, 0, 0, .66);
  margin: 3px 0;
}

::placeholder {
  font-weight: bold;
  color: rgba(80, 120, 255, .8);
}

input::-webkit-input-placeholder {
  font-weight: bold;
  color: rgba(80, 120, 255, .8);
}

input:-moz-placeholder {
  font-weight: bold;
  color: rgba(80, 120, 255, .8);
}

input::-moz-placeholder {
  font-weight: bold;
  color: rgba(80, 120, 255, .8);
}

input:-ms-input-placeholder {
  font-weight: bold;
  color: rgba(80, 120, 255, .8);
}

#game_logo {
  z-index: 1000;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000000;
  animation: logo-back 4s linear forwards;
  overflow: hidden;

  img {
    position: absolute;
    width: 90vw;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translate(0, -50%);
    animation: logo 4s ease-in-out forwards;
  }
}

@keyframes logo-back {
  0% {
    opacity: 1;
  }

  55% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes logo {
  0% {
    transform: translate(0, -50%) scale(0.75);
  }

  45% {
    transform: translate(0, -50%) scale(1);
  }

  55% {
    transform: translate(0, -50%) scale(1);
  }

  100% {
    transform: translate(0, -50%) scale(2);
  }
}

button:hover {
  background-color: #222222;
}

#info {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-weight: bold;
  border-radius: 3px;
  padding: 4px 8px;
  top: 10%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 80%;
  animation: info 2500ms ease-in-out forwards;
  z-index:1000;
}

@keyframes info {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    top: 10%;
    opacity: 1;
  }

  90% {
    top: 10%;
    opacity: 1;
  }

  100% {
    top: 0%;
    opacity: 0;
  }
}

.alert {
  font-weight: bold;
  color: rgb(200, 0, 0);
}

div.mini {
  font-size: .8rem;
}

hr.mini {
  margin: 1.2% 0;
  border: none;
}

