html,body{
    height: 100%;
    min-height: 100%;
}
.bgbuildings{ 
    width: 100vw;
    position: absolute;
    bottom: -10px;
    z-index: 2;
    }
.container{
    /* display: inline-block; */
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
.containerbg{
    position: absolute;
    top: 0;
    left: 0;
}
.bgsun{
    position: absolute;
    top: -5px;
    height: 102%;
    width: 102%;
    left: -5px;
    z-index: 0;
}
.bgclouds{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
}
.spidermen{
    /* left: calc(75vw - 1.14319582741vh); */
    position: absolute;
    z-index: 4;
    top: 19.5vw;
    height: 4vh;
    left: -1.14319582741vh;
    /* transform-origin: 2% -35vh; */
    /* transform-origin: calc(1.14319582741vh + 3px) calc(-19vw - 1px); */
    /* transform: rotateZ(45deg); */
    width: auto;
    /* animation: webswings 3000ms infinite; */
    
}
.web{
    width: 5px;
    height: 20vw;
    background-color: white;
    /* */
    
    
    border-radius: 2px;
    /* transform: rotateZ(-180deg); */
    
   
    z-index: 3;
    /* width: 100%; */
    /* animation: webswings 3000ms infinite ; */
    }
#webrr{
    /* position: absolute;
    width: 5px;
    left: 75%;
    top: -1px; */
    height: 20vw;
    transform-origin: top;
    transform: rotateX(180deg);
    transform: rotateZ(45deg);
    animation: webswings 3000ms infinite;
    /* translater 5000ms 1 forwards; */
}
#weblr{
    z-index: 3;
    /* position: absolute; */
    /* width: 5px; */
    /* top: -1px; */
    height: 20vw;
        transform-origin: top;
        transform: rotateX(180deg);
        transform: rotateZ(45deg);
    /* left: 25%; */
    animation: webswings 3000ms infinite;
    /* animation:translatel 3000ms 1 forwards; */
    /* animation-direction: reverse; */
}
#weblp{z-index: 3;
position: absolute;
width: 2.5px;
top: -1px;
left: 25%;

}
#webrp{z-index: 3;
position: absolute;
width: 2.5px;
top: -1px;
left: 75%;

}
.weblpa{
    animation : translatel 3000ms 1 forwards;
}
.webrpa{
    animation: translater 3000ms 1 forwards;;
}
/* .webright{}
.webleft{
} */
@keyframes translatel {

    100% {
        left : 75%;

    }
}
@keyframes translater {
    50.99%{
        left: 105%;
    }
    51%{
        left : -5%;
    }
    100% {
        left: 25%;

    } 
}
@keyframes webswings {
    50%{
        
        transform: rotateZ(-45deg);
    }
    100%{
        transform: rotateZ(45deg);
        
    }
}
.navbar{
    position: absolute;
    left: 0;
    bottom:0;
    display: flex;
    align-items: center;
    background-color: red;
    width: 100vw;
    height:3.5rem;
    z-index: 10;
}
.box{
    border: 0.1rem solid white;
    border-radius: 0.2rem;
}
.navitems{
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin: 0.5rem;
    padding:0.4rem;
}
#scorebox{
    width: 8rem;
    background-color: white;
    height: 1.5rem;
}
#lifeline{
    margin-left: 3.5rem;
}
#photo145{
    position: absolute;
    height: 6rem;
    right: 0;
    bottom: 0;
    z-index: 12;
}
#realtime{
    position: absolute;
    height: 1rem;
    width:11rem;
    background-color: blue;
    animation-name:none ;
    animation-duration: 10s;
}
#timebox{
    height: 1rem;
    width:11rem;
}
@keyframes time{
    0%{
        width: 11rem;
    }
    100%{width: 0rem;
        background-color: transparent;}
}
#villain{
    z-index: 16;
    position: absolute;
    top: 7.7rem;
    left: 8rem;
    animation-name: villain;
    animation-duration: 3000ms;
    animation-iteration-count: infinite;
    transition-timing-function: linear;
}
#replay{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    /* opacity: 0.5; */
}
#Play{
    background-color: red;
    /* width: 25%; */
    /* height: 10%; */
    font-size: 40px;
    padding:  0 12.5% 0 12.5% ;
    color: white;
    /* margin: 0 37.5% 0 37.5%; */
    border-radius: 10%;

}
#inputn{
    display: none;
}
#spud{
    width: 25%;
    opacity: 60%;
}

#press{
    background-color: red;
    padding: 1%;
}
#Play:hover,
#press:hover {
    background-color: brown;
}
/* @keyframes villain{
    25%{
    transform: rotate(0)translate(6rem,3rem);
    }
    50%{
    transform: rotate(0) translate();
    }
    75%{top: 10.7rem;
        left: 16rem;
    }
    100%{
        top: 7.7rem;
    left: 8rem;
    }
} */