body{
    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
h1{
    text-align: center;
    font-size: 600%;
}
h2{
    text-align: center;
    font-size: 300%;
    margin-left: 20vw;
    margin-right: 20vw;
}
h3{
    text-align: center;
    font-size: 150%;
}
p{
  text-align: center;
  margin-left:22vw;
  margin-right:20vw;
}
button{
    display: block;
    margin: 0 auto;
    height: 5vh;
    width: 10vw;
    background-color: rgb(114, 71, 39);
    border-color: black;
    color: white;
}
a{
    text-decoration: none;
}
.stack{
    position: relative;
}
.top {
  display: block;
}

.bottom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centers the button */
  opacity: 0;
}
.bottom:hover{
    opacity: 1;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr 1fr;
  text-align: center;
  margin: 0 auto;
  gap: 5vh;
  width: 25vw;
}
.grid button{
    height: 7.5vh;
    width: 10vw;
    font-size: 100%;
}
.grid4 {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr 1fr;
  text-align: center;
  margin-left: 33vw ;
  gap: 5vh;
  width: 25vw;
}
.grid4 button{
    height: 10vh;
    width: 15vw;
    font-size: 100%;
}
.b{
    font-size: 150%;
}
.artifact{
    height: 17.5vh ;
    width: 8vw ;
    position: absolute;
    top:80vh;
    left:80vw;
}
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 10000px; height: 10000px;
    background-color: black;
    pointer-events: none;
    z-index: 9999;
    /* Create a transparent circle using mask-image */
    mask-image: radial-gradient(circle 100px at center, transparent 0%, black 100%);
    mask-repeat: no-repeat;
    mask-position: center;

    /* Safari support */
    -webkit-mask-image: radial-gradient(circle 100px at center, transparent 0%, black 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
  }

.t1 { top: 400px; left: 550px; width: 80px; height: 80px;}
.t2 { top: 550px; left: 650px; width: 80px; height: 80px; }  
.t3 { top: 723px; left: 750px; width: 80px; height: 80px; }
.t4 { top: 534px; left: 850px; width: 80px; height: 80px; }
.t5 { top: 400px; left: 950px; width: 80px; height: 80px; }
.t6 { top: 300px; left: 1050px; width: 80px; height: 80px; }  
.t7 { top: 550px; left: 1150px; width: 80px; height: 80px; }
.t8 { top: 678px; left: 1250px; width: 80px; height: 80px; }
.t9 { top: 200px; left: 0px; width: 2000px; height: 10px;}
.t10 {top: 800px; left: 0px; width: 2000px; height: 10px;}


#hit {
      position: absolute;
      top: 500px;
      left: 100px;
      width: 60px;
      height: 100px;
      background-color: transparent;
      background-image: url(images/man.png);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
 .trap {
      position: absolute;
      background-color: burlywood;
      border-radius: 10px;
    }
#goal {
  position: absolute;
  top:450px;
  left:1550px;
  width: 60px;
  height: 60px;
  background-color: greenyellow;
  border-radius: 20px;
}
input{
  display: block;
  margin: 0 auto;
  height: 3vh; width: 12.5vw;
  font-size: 120%;
  background-color: burlywood;
  border-color: rgb(194, 158, 112);
}
.frame{
  display: block;
  margin: 0 auto;
  border-style: solid;
  border-color: black;
  border-width: 5px;
  background-color: transparent;
  width: 500px; height: 500px;
}
img{
  width: 100px; height: 100px;
  position: absolute;
  cursor: move;
}