body {
    margin: 0;
}

#fullWindowGrid {
    display: grid;
    grid-template-columns: auto 320px;
    grid-template-rows: 84px auto;
    height: 100vh;
    width: 100vw;
    margin: 0;
    gap: 10px;
    transition: grid-template-columns 1s;
}

@media screen and (max-width: 1000px) {
    #fullWindowGrid {
        grid-template-columns: auto 50px;
    }

    .scoreSidebar {
        visibility: hidden;
    }

    #sidebarArrow {
        visibility: visible;
        transform: rotate(180deg);
    }
}

/* Needed for absolute positioning of child elements */
#leftSideParent {
    display: grid;
    margin: 0;
    position: relative;
    padding: 0;
    grid-column: 1;
    grid-row: 1 / 3;
    grid-template-columns: auto;
    grid-template-rows: 84px auto;
    height: 100vw;
}

#logo {
    width: 288px;
    height: 84px;
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
}

#aboutButton {
    border: 1px solid;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    margin: 0px;
    cursor: pointer;
}

#aboutFullTextParent {
    display: block;
    position: absolute;
    background: #9a9a9a;
    z-index: 5;
    margin-left: 12.5vw;
    margin-right: 12.5vw;
    margin-top: 12.5vh;
    margin-bottom: 12.5vh;
    overflow: scroll;
    height: 75vh;
    width: 75vw;
    visibility: hidden;
}

#aboutClose {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.2rem;
    height: auto;
    border: solid 1px;
    padding: 0.25rem;
    cursor: pointer;
}

#aboutFullTextParent h2 {
    text-align: center;
}

#aboutFullText {
    text-align: left;
    padding: 5%;
}

.attribution {
    font-size: smaller;
}


#parentSubmitButton {
    display: block;
    top: 0;
    left: 0;
}

#imageParent {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.cardImage {
    border-radius: 10px;
    margin: 2px;
}

/* Generated by JS when hand done */
.oldcardImage {
    border-radius: 10px;
}

.unselectedCard {
    padding: 5px;
    box-shadow: 2px 1px 4px lightgray;
}

.selectedCard {
    border: 5px solid #e7ee10;
    padding: 0px;
}

.correctCard {
    background-color: #1e36ee;
}

.gameBoard {
    grid-column: 1;
    grid-row: 2;
}

#playGame {
    display: block;
    margin: 100px;
    margin-left: auto;
    margin-right: auto;
}

#fullSidebarContainer {
    margin: 0;
    padding: 0;
    position: relative;
    grid-column: 2;
    grid-row: 1 / 5;
}

.scoreSidebar {
    right: 0;
    background-color: rgb(255, 255, 255); /* Black */
    padding: 20px;
    padding-right: 8px;
    border-left: thick solid gray;
    overflow: hidden;
    position: relative;
    transition: opacity 1s;
    height: 100vh;
    /* Transition on visibility does not work the way it is needed, so is handled through javascript
    delay, update as necessary */
}

#sidebarArrow {
    width: 20px;
    height: auto;
    left: 0;
    top: 0;
    z-index: 1;
    padding: 4px;
    border: solid 1px;
    margin: 10px;
    position: absolute;
    transition: transform 0.5s;
    cursor: pointer;
}

#sidebarMainHeader {
    text-align: center;
}

.scoreHand {
    width: auto;
    height: auto;
    border: thin solid black;
    padding: 10px;
}

.cardImage {
    width: 120px;
    height: 168px;
}

.oldcardImage {
    width: 45px;
    height: 63px;
}

.scoreLabel {
    margin-top: 0px;
    margin-bottom: 0px;
}




