.body{
    margin: 0px;
}

.background{
    width: 100%;
    height: 100vh;
    background-image: url("resources/background2.jpg");
    background-size: cover;
    background-repeat: repeat-x;
    overflow-x: hidden;
    position: absolute;
}

.robo{
    height: 250px;
    margin-top: 390px; 
    position: absolute;
}

/*box*/

.box{
    width: 95px;
    height: 95px;
    position: absolute;
    margin-top: 585px;
    background-image: url(resources/william-robinson-gun-alien-firing-animation.gif);
    background-size: contain;
    background-repeat: no-repeat;
}

.score{
    font-size: 50px;
    font-weight: bold;
    margin-left: 30px;
    margin-top: 25px;
    position: absolute;
    color: #fff;
}

.end {
    width: 100%;
    height: 100vh;
    position: absolute;
    background-image: url("resources/background2.jpg");
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    font-weight: bold;
    color: white;
    font-family: monospace;
    visibility: hidden;
}

.end-rectangle {
    background-color: rgb(0, 0, 0); /* Semi-transparent white background */
    padding: 30px;
    border-radius: 40px;
    text-align: center;
}

.end .btn {
    width: 200px;
    height: 50px;
    font-size: 25px;
    font-weight: bold;
    background-color: red;
    color: white;
    border: none;
    border-radius: 15px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.end .btn:hover {
    background-color: yellow;
    color: black;
    width: 250px;
    cursor: pointer;
    transition-duration: 0.5s;
    font-weight: bold;
}


.btn{
    width: 200px;
    height: 50px;
    font-size: 25px;
    font-weight: bold;
    background-color: red;
    color: white;
    border: none;
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.btn:hover{
    background-color: yellow;
    color: black;
    width: 250px;
    cursor: pointer;
    transition-duration: 0.5s;
}

/*start*/

.b1{
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #000;
}


.s1 {
    position: relative;
    font-family: monospace;
    text-transform: uppercase;
    font-size: 5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, red, #fff, red);
    background-repeat: no-repeat;
    background-size: 1000px;
    animation: animate 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgb(1, 41, 239, 0);
}


@keyframes animate{
    0%{
        background-position: 900%;
    }
    50%{
        background-position: -800%;
    }
    100%{
        background-position: 900%;
    }
}


.btn2{
    width: 200px;
    height: 50px;
    font-size: 25px;
    font-weight: bold;
    background-color: red;
    color: white;
    border: none;
    border-radius: 15px;
}

.btn2:hover{
    background-color: yellow;
    color: black;
    width: 250px;
    cursor: pointer;
    font-family: monospace;
    transition-duration: 0.5s;
}

.main-screen{
    height: 250px;
}

/*win*/
.win {
    width: 100%;
    height: 100vh;
    position: absolute;
    background-image: url("resources/background2.jpg");
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    font-weight: bold;
    color: white;
    visibility: hidden;
}

.win-rectangle {
    background-color: rgb(0, 0, 0); /* Semi-transparent white background */
    padding: 50px;
    border-radius: 40px;
    text-align: center;
}

/* .wi{
    width: 175px;
    height: 165px;
    background-image: url("resources/background2.jpg");
    background-size: cover;
} */

.btn3{
    width: 200px;
    height: 50px;
    margin-top: 45px;  
    font-size: 25px;
    font-weight: bold;
    background-color: red;
    color: white;
    border: none;
    border-radius: 20px;
}

.btn3:hover{
    background-color: yellow;
    color: black;
    width: 250px;
    cursor: pointer;
    font-family: monospace;
    transition-duration: 0.5s;
}
.win .p1{
    color: yellow;
    font-family: 2rem;
}