@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Open Sans', sans-serif;
    background-color: whitesmoke;
}
.body-container{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-box{
    width: 30%;
    height: 65%;
    display: flex;
    flex-direction: column;
    border: 1px solid grey;
}
.first-box{
    flex: 1.3;
    width: 100%;
    background-image: url("bg.png");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.second-box{
    flex: 1;
    background-color: white;
    display: flex;
    flex-direction: column;
}
.title-box{
    display: flex;
    flex:.5;
    align-items: center;
    border-bottom: 1px solid grey;
    padding: 10px;
    font-weight: bold;
}
.main-second-box{
    padding: 10px 15px;
    flex: 1;
}
.score-Style{
    font-size: 32px;
}
.instruction{
    font-size: 14px;
    margin-bottom: 10px;
}
h4{
    display: inline-block;
}
select{
    margin-left: 5px;
    border-radius: 5px;
}
.button-container{
    margin-top: 30px;
    width: 100%;
    display: flex;
}
button{
    flex:1;
    height: 45px;
    cursor: pointer;
    color: white;
    outline: none;
    border: none;
    border-radius: 5px;
}
#player1-Add{
    background-color: #02CAA9;
}
#player2-Add{
    background-color: #2D8ED9;
}
#reset-Btn{
    background-color: crimson;
}
button:hover{
    opacity: 0.9;
}
button:active{
    opacity: 0.7;
}

@media (max-width: 767px) {
    .main-box{
        width: 90%;
    }
    .first-box{
        flex: 1;
    }
}
  