:root{
    --grass: seagreen;
    --dirtdark: #cd5c5c;
    --dirtlight: #deb887;
    --tractor: crimson;
    --tire: black;
    --rock: gray;
    --hole: maroon;
    --potato: darkgoldenrod;
    --fence: peru;
    --contWl: 92%;
    --contWm: 80%;
    --contWs: 60%;
}

h1{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
}

h2{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    font-weight: 900;
    font-size: 2rem;
}

span #id{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    font-weight: 900;
    font-size: 2rem;
}

p{
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
}

html body{
    overflow: hidden;
    background-color: var(--grass);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
}

.overlay{
    overflow: hidden !important;
    position: fixed;
    display: flex;
    flex-direction: column;
}

#modal{
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.65);
    width: 100%;
    height: 100%;
}

#uidisplay{
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.info{
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 80%;
    max-width: 60rem;
    background-color: #e7e7e7;
    border-color: black;
}

#instructions{
    
    border-width: .5rem;
    border-style: solid;
    border-radius: .5rem;
}

#endgame{
    visibility: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    border-width: .5rem;
    border-style: solid;
    border-radius: .5rem;
}

.title{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0rem;
    margin-bottom: -1.5rem;
}

.line{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: 5rem;
    margin-right: 5rem;
}

#instr6, #instr7, #soundset{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: auto;
    margin-right: auto;
}

.eximg{
    padding-right: 1rem;
}

#endimg{
    height: 10rem;
    margin-top: 2rem;
}

.btn{
    cursor: pointer;
    background-color: black;
}

.ltbtn{
    cursor:pointer;
    background-color: white;
    border-color: black;
    border-width: .1rem;
    height: 2rem;
}

.action{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#meter{
    position: relative;
    object-fit: cover;
    margin-left: 0%;
    top: 0;
    left: 0;
}

#scoreboard{
    position: relative;
    object-fit: cover;
    width: 95%;
}

.panel{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    background-color: black;
    border-color: white;
    border-style: solid;
    border-width: .125rem;
    border-radius: .25rem;
    width:100%;
}

#scorerow{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    column-gap: .25rem;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    flex-wrap: nowrap;
}

#scoretater{
    position: relative;
    height: 70%;
    margin-left: -.7rem;
}

#scoredisplay{
    position: relative;
    
}

#clockdisplay{
    position: relative;
    
}

.wrapper{
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
}

.field{
    background-color: var(--dirtlight);
    height: 100vh;
    min-height: 100vh;
}

.background{
    position: fixed;
    top: 0;
    object-fit: cover;
    width: 100%;
}