@media only screen and (max-width: 400px) and  (min-width: 0px) {
    .scoreboard-content {
        width: 80%; }
}
@media only screen and (max-width: 600px) and  (min-width: 401px) {
    .scoreboard-content {
        width: 70%; }
}
@media only screen and (max-width: 800px) and  (min-width: 601px) {
    .scoreboard-content {
        width: 60%; }
}
@media only screen and (max-width: 1000px) and  (min-width: 801px) {
    .scoreboard-content {
        width: 50%; }
}
@media only screen and (max-width: 1200px) and  (min-width: 1001px) {
    .scoreboard-content {
        width: 40%; }
}
@media only screen and (max-width: 1400px) and  (min-width: 1201px) {
    .scoreboard-content {
        width: 30%; }
}
@media only screen and (min-width: 1401px) {
    .scoreboard-content {
        width: 25%; }
}
@media only screen and (max-height: 1000px) {
    .scoreboard-content {
        zoom: .9; }
}
@media only screen and (max-height: 800px) {
    .scoreboard-content {
        zoom: .8; }
}
@media only screen and (max-height: 600px) {
    .scoreboard-content {
        zoom: .7; }
}
@media only screen and (max-height: 520px) {
    .scoreboard-content {
        zoom: .6; }
}
@media only screen and (max-height: 410px) {
    .scoreboard-content {
        zoom: .5; }
}
@media only screen and (max-height: 300px) {
    .scoreboard-content {
        zoom: .4; }
}

hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.scoreboard {
    display: none;
    position: absolute;
    left: 0; 
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    z-index: 200;
    margin: 0 auto;
    vertical-align: middle;
    overflow: auto;
}

.scoreboard-center {
    display: table-cell;
    vertical-align: middle;
}

.scoreboard-content {
    position: relative; 
    text-align: center;
    vertical-align: middle;
    overflow: auto;
    padding: 20px;
    margin: auto;
    opacity: 0.8;
    z-index: 101;
    color: whitesmoke;
    background-color:black;
    border: 1px solid lightgray;
    border-radius: 25px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}