@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans JP';
}

body {
  color: #fff;
  height: 100vh;
  background-image: url(./assets/true-bg-2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

h1 {
  /* text-shadow: 1px 1px 2px #ffffffaa; */
 
}

img {
  position: relative;
  top: 0;
  width: 15em;
  margin: 0 2em;
  cursor: pointer;
  transition: top 0.2s ease-in-out;
}
img:hover {
  top: -1em;
}
img:active{
  opacity: 0.8;
}
main{
  text-align: center;
  display: grid;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
}
main h1 {
  margin-bottom: 1em;
  font-style: italic;
  color: #ff2222;
  text-shadow: 0px 0px 6px #000000ff;
  font-weight: bolder;
  font-size: 3.5em;
}
.select {
  display: flex;
  justify-content: center;
}
header {
  background-color: #000000aa;
  text-align: center;
  padding: 1em;
  color: #ff2222;
  font-weight: bolder;
  font-size: 2rem;
}

.score {
  background-color: #000000dd;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20em;
  padding: 1em;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}
.score span {
  position: absolute;
  right: 1em;
}

.result {
  position: fixed;
  top: 0;
  left: 0;
  font-size: 4em;
  font-weight: bolder;
  width: 100%;
  height: 100%;
  background-color: #000000dd;
  display: flex;
  justify-content: center;
  align-items: center;

}
.result div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 60%;
  color: #000;
  background-color: #fff;
  padding: 0em 0.5em;
  border-radius: 0.1em;
  text-shadow: 1px 1px 2px #000000ff;

}
.result p {
  text-align: center;
  margin: 0.5em;
}
.result img {
  width: 3em;
    top: 0em;
    opacity: 1;
    cursor: unset;
}
.win {
  color: lime;
}
.lose{
  color: #ff2222;
}
.draw {
  color: cadetblue;
}