/*background styles*/
.background {
    width: 100vw;
    height: 100vh;
    background-image: url("../assests/background.png");
    background-size: cover;
    position: absolute;
    overflow-x: hidden;
}

/*remove up and left margins*/
.body {
    margin: 0px;
}

/*player's styles*/
.player {
    height: 250px;
    margin-top: 330px;
    position: absolute;
}

/*block styles*/
.block {
    background-image: url("../assests/flame.gif");
    background-size: cover;
    width: 90px;
    height: 150px;
    position: absolute;
    margin-top: 420px;
}

/* counting score styles*/
.score {
    position: absolute;
    font-size: 50px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 30px;
}

/* game over message styles*/
.endScreen {
    position: absolute;
    width: 500px;
    height: 350px;
    font-size: 60px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;

    justify-content: center;
    align-items: center;
    display: flex;

    flex-direction: column;
    margin-left: 400px;
    margin-top: 50px;

    visibility: hidden;
}

/*display final score styles*/
.endScore {
    font-size: 70px;
    color: brown;
}

/*Try again button styles*/
.btn {
    font-size: 40px;
    font-weight: bold;
    font-family: 'Your Word Art Font', cursive;
    height: 60px;
    width: 300px;
    background-color: blueviolet;
    color: aliceblue;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 30px;
}

.btn:hover {
    background-color: rgb(136, 3, 141);
    transform: scale(1.1);
    /* Slightly scale up on hover */
    transition: background-color 0.3s ease, transform 0.5s ease;
}

/*new game button styles*/
.btn2 {
    font-size: 40px;
    font-weight: bold;
    font-family: 'Your Word Art Font', cursive;
    height: 60px;
    width: 300px;
    background-color: blueviolet;
    color: aliceblue;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 30px;
    text-align: center;
}

.btn2:hover:hover {
    background-color: rgb(136, 3, 141);
    transform: scale(1.1);
    /* Slightly scale up on hover */
    transition: background-color 0.3s ease, transform 0.5s ease;
}