    html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}
    
    .clearfix:after {visibility: hidden; display: block; font-size: 0; content: ''; clear: both; height: 0; }
    
    html { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
    
    *, *:before, *:after {box-sizing: inherit}
    
    .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; white-space: nowrap; clip-path: inset(100%); clip: rect(0 0 0 0); overflow: hidden;}
    
    .visually-hidden:not(:focus):not(:active) { position: absolute !important; height: 1px;  width: 1px; overflow: hidden; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; /* added line */}

    /* team styles */

    .bongs {
        background: #0a0908;
        color: #ffb703;
        font-size: 1.3rem;
    }
    .balls {
        background: #d90429;
        color: #EFEFEF;
        font-size: 1.3rem;
    }
    .cocks {
        background: #0066FF;
        color: #edf2f4;
        font-size: 1.3rem;
    }
    .glovers {
        background: #000107;
        color: #00a6fb;
        font-size: 1.3rem;
    }

    /* page styling */

    body {
        display: flex;
        flex-direction: column;
        font-family: 'Poppins', sans-serif;
        text-align: center;
        background: #050505;
        color: aliceblue;
    }
    .wrapper {
        max-width: 1000px;
        width: 90%;
        margin: 0 auto;
    }
    .logo {
        width: 100%;
        margin: 0 auto;
        padding: 30px 30px 0px 30px;
    }
    img {
        max-width: 400px;
    }
    h1 {
        text-align: center;
    }
    h3 {
        margin: 5px auto;
    }

    h4 {
        max-width: 400px;
    }
    a {
        font-size: 1.5rem;
        color: dodgerblue;
    }

    input, 
    select, 
    h4 {
        width: 90%;
        margin: 10px auto;
    }

    input, 
    select {
        max-width: 330px;
        background: black;
        color: white;
        border-radius: 10px;
        text-align: center;
        padding: 10px 0 10px 10px;
        border: 4px solid dodgerblue;
        font-size: 1rem;
    }

    select option {
        background: black;
    }
    button {
        width: 50%;
        max-width: 200px;
        height: 5vh;
        margin: 20px auto;
        text-align: center;
        background: skyblue;
        color: black;
        border-radius: 10px;
        text-align: center;
        box-shadow: 2px 2px 2px cadetblue;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
    }
    button:disabled {
        background: grey;
        color: #666666;
    }
    .inputBox {
        display: flex;
        flex-direction: column;
    }
    .thanks {
        width: 80%;
        height: 90vh;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* schedule page */
    .loading{
        font-size: 3rem;
    }
    .standings {
        display: flex;
        flex-direction: column;
        margin: 20px auto;
        width: 90%;
    }
    hr {
        border: 2px solid aliceblue;
        width: 60%;
    }

    .place, 
    .legend {
        display: grid;
        grid-template-columns: 1fr 0.3fr 0.3fr 0.3fr 0.3fr;
        text-align: left;
        border: 2px solid;
        width: 80%;
        margin: 0 auto;
    }
    .legend {
        order: -5;
    }
    .numbers {
        width: max-content;
        margin: 0 auto;
        display: flex;
        align-items: center;
    }
    .week {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
        margin: 40px auto;
        position: relative;
    }
    .holiday {
        font-size: 2.4rem;
        text-align: center;
        grid-template-columns: 1fr;
    }
    .team {
        font-size: 2rem;
        padding: 20px;
        margin: 20px 0;
        border: 4px solid;
        border-radius: 20px;
        position: relative;
    }
    .versus {
        font-size: 2rem;
        color: black;
        background: aliceblue;
        width: fit-content;
        border: 8px solid aliceblue;
        border-radius: 50%;
        margin: 0 auto;
        position: absolute;
        left: 50%;
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .versus1 {
        top: 13%;
    }
    .versus2 {
        top: 70%;
    }
    .home1 {
        position: absolute;
        top: 1%;
        left: 3%;
    }
    .home2 {
        position: absolute;
        top: 58%;
        left: 3%;
    }
    .away1 {
        position: absolute;
        top: 1%;
        right: 3%;
    }
    .away2 {
        position: absolute;
        top: 58%;
        right: 3%;
    }
    .gameTime {
        font-size: 1.5rem;
        border: none;
        background: none;
        color: aliceblue;
        margin: 0 auto;
        position: absolute;
        left: 50%;
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .gameTime1 {
        top: -26px;
    }
    .gameTime2 {
        top: 130px;
    }
    .spacer {
        grid-column: span 2;
        margin: 20px;
    }

    /* scorekeeper styling */

    .tracker {
        display: none;
    }

    .scoreKeeper {
        display: flex;
        flex-direction: column;
        margin: 50px 0;
    }

    /* reset screen */
    .resetScreen {
        max-width:600px;
        margin:40px auto;
    }
    /* lineup screen */
    .container {
        display: grid;
        grid-template-rows: repeat(5, 1fr);
        gap: 10px;
        width: 200px;
        margin: 0 auto;
    }
    .box {
        border: 3px solid dodgerblue;
        border-radius: .5em;
        padding: 5px;
        cursor: move;
        touch-action: none;
    }

    .red {
        border: 3px solid tomato;
    }
    .box.over {
        border: 3px dotted #666;
    }
    .left {
        border-top-left-radius: 70%;
        border-bottom-left-radius: 70%;
    }
    .right {
        border-top-right-radius: 70%;
        border-bottom-right-radius: 70%;
    }
    .manage {
        display: flex;
    }
    .lineup,
    .rosterLine {
        border: 5px solid blue;
        width: 70px;
        height: max-content;
        min-height: 200px;
        padding-bottom: 20px;
    }
    .rosterLine {
        opacity: 0.8;
    }
    .roster-and-clear {
        display: flex;
    }
    .printout {
        width: 170px;
        height: 400px;
        border: 3px solid blue;
        display: none;
    }
    .printout .box {
        width: 100px;
    }
    .printout {
        overflow-y: scroll;
        touch-action: pan-y;
        margin: 25px 0 0 0;
        background: rgb(0, 0, 50);
        border-left: 6px solid purple;
        border-right: 6px solid purple;
    }
    .lineup-container {
        display: grid;
        grid-template-columns: repeat(2, 70px);
        grid-template-rows: 45px 25px auto;
        border: 6px solid purple;
    }
    .position-container,
    .roster-grid {
        display: grid;
        margin: 0px auto 20px auto;
        touch-action: none;
        justify-items: center;
    }
    .position-container {
        grid-template-columns: repeat(10, 60px);
    }
    .roster-grid {
        grid-template-columns: repeat(5, 60px);
    }
    .select-positions {
        display: flex;
        flex-direction: column;
    }
    .pos-sub-container.box {
        height: 35px;
    }
    .pos-sub-container,
    .roster-grid .box {
        width: 60px;
        display: grid;
        align-content: center;
        justify-items: center;
    }
    .clear-positions,
    .clear-lineup,
    .add-inning,
    .uneven-lineup,
    .save-progress,
    .lineup-type {
        height: auto;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    .lineup-type {
        grid-area: 1 / 1 / 2 / 3; 
        width: 100%;
        padding: 2px;
        height: 40px;
    }
    .buttons {
        display: flex;
        flex-direction: column;
        width: 260px;
    }
    .non-static-lineup
    .lineup-container {
        width: 170px;
    }
    .lineup-decision {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        width: 170px;
    }
    .buttons button:active,
    .lineup-type:active {
        background: tomato;
    }
    .score-container {
    display: grid;
      grid-template-columns: repeat(3, 70px);
      grid-template-rows: 25px repeat(8, 50px);
    }
    .inning {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .inning-score,
    .inning-score-total {
        border: 3px solid blue;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2rem;
        position: relative;
    }
    .inning-score-total {
        margin-top: 5px;
        border-top: 6px solid blue;
        border-bottom: 6px solid blue;
    }
    .edit-score {
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 0 30px 30px 0px;
        border-color: transparent transparent orange transparent;
        transform: rotate(90deg);
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: 10;
    }
    .rules {
        margin: 5px auto;
    }
    .bases {
        width: 40px;
        position: absolute;
        left: 2%;
        bottom: 0%;
    }
    @media (max-width: 890px) {
        .week {
            grid-template-columns: 1fr;
        }
        .team {
            margin: 13px 0;
        }
        .versus1 {
            top: 17%;
        }
        .versus2 {
            top: 72%;
        }
        .playoffs1 {
            top: 16%;
        }
        .playoffs2 {
            top: 66%;
        }
        .home1 {
            top: 0%;
        }
        .home2 {
            top: 55%;
        }
        .away1 {
            top: 23%;
        }
        .away2 {
            top: 78%;
        }
        .secondTeam {
            margin-bottom: 60px;
        }
        .gameTime2 {
            top: 240px;
        }
        .spacer {
            display: none;
        }
    }
    @media (max-width: 640px) {
        .place, 
        .legend {
            width: 100%;
        }
    }

    @media (max-width: 480px) {
        .legend .numbers:nth-child(-n+5) {
            font-size: 0.8rem;
        }
        .abbrev {
            display: none;
        }
        .place {
            font-size: 0.9rem;
        }
        .team {
            font-size: 1rem;
        }
        .gameTime2 {
            top: 210px;
        }
        .versus1 {
            top: 16%;
        }
        .versus2 {
            top: 71%;
        }
        .playoffs1 {
            top: 14%;
        }
        .playoffs2 {
            top: 65%;
        }
        .bases {
            width: 30px;
        }
    }