*{
    padding: 0;
    margin: 0;
}

@keyframes float {
	0% {
		text-shadow: 2px 10px 10px rgba(0,0,0,0.6);
		transform: translatey(0px);
	}
	50% {
		text-shadow: 1px 1px 1px rgba(0,0,0,0.9);
		transform: translatey(10px);
	}
	100% {
		text-shadow: 2px 10px 10px rgba(0,0,0,0.6);
		transform: translatey(0px);
	}
}


body {
    background-image: url(background.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

#jc {
    font-family: "Sixtyfour Convergence", serif;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    
}
#name {
    margin: 100px;
}

.float {
    text-shadow: 5px 5px 15px rgba(0,0,0,0.6);
    transform: translatey(0px);
    animation: float 10s ease-in-out infinite;
}

#gameboc{
    display: flex;
    justify-content: center;
    width: 100%;
}

#jumpyjared {
    width: 100%;
}

#game {
    margin: 10%;
    width: 80%;
    height: 200px;
    border: 1px solid black;
    background-color: lavenderblush;
    box-shadow: 3px 3px 2px rgb(15, 15, 15);
}

@media only screen and (max-width: 480px) {
    #game{
        width: 80%;
    }
}

#text {
    width: 80%;
    display: flex;
    position: absolute;
    margin-top: 2em;
    justify-content: center;
    font-family: monospace;
    font-weight: bolder;
    text-shadow: 3px 3px 3px rgb(119, 118, 118);

   
}

#character{
    width: 50px;
    height: 50px;
    background-image: url(jhead50.gif);
    position: relative;
    top: 150px;
}
.animate{
    animation: jump 500ms;
}
@keyframes jump{
    0%{top: 150px;}
    30%{top: 100px;}
    70%{top: 100px;}
    100%{top: 150px;}
}
#block{

    width: 40px;
    height: 40px;
    background-image: url(smol.gif);
    position: relative;
    top: 110px;
    left: 80%;
    animation: block 1s infinite linear;
}

@keyframes block{
    0%{left: 95%;}
    100%{left: -3%;}
}

#reset {
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#resetbutt {
    font-family: monospace;
    font-size: 20px;
    height: 50%;
    width: 10%;
    min-width: 75px;
    display: flex;
    justify-content: center;
    color: white;
    background-color: rgb(92, 86, 86);
    box-shadow: 3px 3px 2px rgb(24, 24, 24);
}
