@media all and (max-width: 600px) {
    body {
        background-color: black;
    }

    #wrapper {
        padding: 0em;
        width: 100%;
        border: none;
    }
}

@media all and (max-width: 850px) and (min-width: 600px) {
    body {
        padding: 0;
        background-color: black;
        margin-left: 0em;
        margin-right: 0em;
    }

    #wrapper {
        margin: auto;
        padding: 1em;
        width: 90%;
        border: solid 5px white;
    }

    .btnGroup button {
        box-shadow: 8px 8px white;
    }
}

@media all and (min-width: 850px) {
    body { 
        background: url("./images/wires.jpg") fixed;
        background-position: center bottom;
        background-size: 100% 90%;
        background-repeat: no-repeat;
        background-color: black;
        padding: 1em;
    }

    #wrapper {
        margin: auto;
        padding: 2em;
        max-width: 1000px;
        min-width: 325px;
        padding-top: 1em;
        padding-bottom: 1em;
        box-shadow: 0px 0px 80px black;
        border: solid 5px white;
    }

    .btnGroup button {
        box-shadow: 8px 8px white;
    }
}

a:link, a:visited {
    color: lightblue;
    text-decoration: underline;
}

a:hover, a:active {
    text-decoration: underline;
}

body {
    color: white;
    font-size: 24px;
    position: relative;
    font-family: Times New Roman, serif;
}

h2 {
    font-size: 1.8em;
}

p {
    margin-left: 2%;
    margin-right: 2%;
}

ol {
    list-style-position: outside;
    padding-left: 1em;
}

ol ol {
    padding: 0.2em 0 0.2em 2em;
}

li {
    padding: 0.1em 0 0.1em 0;
}

#fixedbutton {
    position: fixed;
    height: 70px;
    width: 70px;
    bottom: 5%;
    right: 5%;
    filter: drop-shadow(0em 2px 10px rgba(0, 0, 0, 1));
}

#navmenu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 1em;
    width: 100%;
    padding-top: 1em;
    padding-bottom: 1em;
}

#navmenu a:link, #navmenu a:visited {
    color: lightgray;
    text-decoration: none;
}

#rules {
    margin-left: 2%;
}

#timerButton {
    height: 3em;
    width: 94%;
    transition: background-color 0.2s;
}

#wrapper {
    background-size: 50vh;
    background-color: rgba(0, 0, 0);
    overflow: hidden;
    padding-bottom: 100px;
}

.btnGroup button {
    background-color: rgba(0, 0, 0, 1);
    border-radius: 1%;
    border: 0.1em solid rgba(255, 255, 255, 1);
    cursor: pointer;
    color: white;
    padding: 0.625em 0em;
    float: right;
    margin: 2%;
    font-weight: 300;
    font-size: 1.6em;
    font-family: Times New Roman, serif;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipses;
}

.btnGroup:after button {
    content: "";
    clear: both;
    display: table;
}

.btnScore {
    height: 6em;
    width: 45%;
    transition: background-color 0.2s;
}

.btnScoreDown {
    height: 3em;
    width: 45%;
}

.btnScoreReset {
    height: 3em;
    width: 80%;
}

.center {
    margin: auto;
    padding: 1em;
}

.navitem {
    text-align: center;
}

.navitem:hover, .navitem:active {
    text-decoration: underline;
}

.ruleHeader {
    margin-left: -2%;
}

.slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 90%;
    max-width: 20em;
    height: 0.36em;
    background: rgba(0, 0, 0, 1);
    border: 0.2em solid rgba(255, 255, 255, 1);
    border-radius: 1%;
    align-items: center;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1.4em;
    height: 1.4em;
    border: 0.2em solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    background: rgba(0, 0, 0, 1);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 1.4em;
    height: 1.4em;
    border: 0.2em solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    background: rgba(0, 0, 0, 1);
    cursor: pointer;
}
