@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}
.slider{
    position: absolute;
    height: 100%;
    right: 10px;
    top: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px;
}
#upbutton{
    right: 80px;
    top: 0px;
    width: 100px;
    position: absolute;
    height: 50px;
    font-size: 30px;
    background-color: red;
    cursor: pointer;
    border: 2px solid black;
    border-radius: 20px;

}
#downbutton{
    position: absolute;
    right: 80px;
    top: 80px;
    font-size: 30px;
    background-color: red;
    cursor: pointer;
    width: 100px;
    height: 50px;
    border: 2px solid black;
    border-radius: 20px;
}
.sliderleft{
    position: absolute;
    height: 100%;
    left: 10px;
    top: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px;
}
#upbuttonleft{
    left: 80px;
    top: 0px;
    width: 100px;
    position: absolute;
    height: 50px;
    font-size: 30px;
    background-color: red;
    cursor: pointer;
    border: 2px solid black;
    border-radius: 20px;

}
#downbuttonleft{
    position: absolute;
    left: 80px;
    top: 80px;
    font-size: 30px;
    background-color: red;
    cursor: pointer;
    width: 100px;
    height: 50px;
    border: 2px solid black;
    border-radius: 20px;
}
.pselect {
    display: none;
}

.diffselect {
    display: none;
}

.start {
    display: flex;
    justify-content: center;
    align-items: center;
}

.startgame {
    font-size: 40px;
    margin: 10px;
    background-color: black;
    color: yellow;
    box-shadow: 0px 0px 10px 3px red;
    cursor: pointer;
}

#headtext {
    text-align: center;
    font-weight: 900px;
    text-shadow: 0px 0px 2px red;
    font-size: 45px;
}

#gamecontainer {
    position: relative;
    text-align: center;
}

#gamearea {
    border: 3px solid;
}

#scoretext {
    font-size: 80px;
}

#resetbutton {
    text-align: center;
    position: relative;
    font-size: 20px;
    width: 70px;
    height: 40px;
    border: 3px solid;
    border-radius: 15px;
    cursor: pointer;
    display: none;
    left: 48%;
}
#bouncesound{
    display: none;
}


/* Button for Controlling movement of paddle2
 */
@media screen and (max-width: 600px) {
    #gamearea {
        height: 25vh;
        width: 96vw;
    }
    #upbutton , #downbutton{
        margin-top: 300px;
        right: -10px;
        width: 99px;
       
    }
    #upbuttonleft , #downbuttonleft{
        margin-top: 300px;
        left: -5px;
        width: 99px;
       
    }
    #resetbutton{
        bottom: -200px;
        left: 38%;
    }
    
    .startgame{
        font-size: 30px;
    }
    .pselect{
        font-size: 30px;
        }
    /* Yahan par aapke CSS rules honge jo 600 pixels ya usse chhote screen sizes ke liye apply honge */
};
