*{
    margin: 0;
    padding: 0;
    font-family: "Jersey 15", sans-serif;
}
.jersey-15-regular {
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  .jersey-25-regular {
    font-family: "Jersey 25", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
#winText{
    position: fixed;
    z-index: 100;
    width: 100%;
    font-size: 10rem;
    -webkit-text-stroke: 0.14125rem white;
    line-height: 100vh;
    text-align: center;
}
#startScreen{
    width: 100vw;
    height: 100vh;
    /* opacity: 1; */
    background-size: 100% 100%;
    background-color: rgb(49, 97, 57);
    z-index: 100;
    padding: 0px 2px 2px 0px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-around;
    position: fixed;
    top: 0;
}
#startScreen h1{
    font-family: "Jersey 25";
    font-size: 5rem;
    text-align: center;
    margin: auto;
    color: white;
}
#startHeadImage{
    height: 50vh;
    margin: auto;
}
.startSprite{
    width: 100px;
    height: 100px;
    background-size: cover;
    image-rendering: pixelated;
}
#buttons{
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: center;
    margin: auto;
    /* background-color: goldenrod; */
}
.startingButton:hover{
    background-color: rgb(152, 95, 67);
    font-size: 2.7rem;
    cursor: pointer;
}
.startingButton{
    background-color: rgb(166,124,82);
    width: 40%;
    height: 15vh;
    border: solid yellow 1rem;
    padding: 8px;
    border-radius: 1rem;
    margin: auto;
    text-align: center;
    align-content: center;
    font-size: 2.5rem;
    transition: 250ms ease-out;
    color: white;
}
/* .startingButton h2{
    font-size: 3rem;
} */
#DifficultyHeader{
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#difficultyChoices{
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: center;
    margin: auto;
    /* background-color: goldenrod; */
}
.difficultyBtn:hover{
    background-color: rgb(152, 95, 67);
    font-size: 2.2rem;
    cursor: pointer;
}
.difficultyBtn{
    background-color: rgb(166,124,82);
    width: 30%;
    height: 10vh;
    aspect-ratio: 2/3;
    border: solid yellow 1rem;
    padding: 0.35rem;
    border-radius: 1rem;
    margin: 1rem auto;
    text-align: center;
    align-content: center;
    font-size: 2rem;
    transition: 250ms ease-out;
    color: white;
}
#backToStart{
    position: absolute;
    top: 1rem;
    right: 1rem;
    aspect-ratio: 3/2;
    height: 8vh;
    border: yellow solid 8px;
    /* padding: 0.5rem; */
    border-radius: 0.5rem;
    margin: auto;
    text-align: center;
    align-content: center;
    background-color: rgb(166, 124, 82);
    transition: 250ms ease-out;
    font-size: 1.5rem;
    color: white;
}

#instructionScreen{
    visibility: hidden;
    width: 100vw;
    height: 100vh;
    background-color: rgb(43, 89, 61);
    position: fixed;
    opacity: 0;
    z-index: 100000;
    padding: 1px;
    top: 0;
}
#InstructionsHeader{
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#InstructionsHeader h1{
    text-align: center;
    margin: auto;
    font-size: 5rem;
    font-family: "Jersey 25";
    -webkit-text-stroke: 0.04125rem white;
    text-stroke: 0.04125rem white;
}
#exitInstructions{
    width: 25%;
    height: 8vh;
    border: yellow solid 8px;
    /* padding: 0.5rem; */
    border-radius: 0.25rem;
    margin: auto;
    text-align: center;
    align-content: center;
    background-color: rgb(166,124,82);
    transition: 250ms ease-out;
    font-size: 2.5rem;
    color: white;
}
#exitInstructions :hover{
    background-color: rgb(152, 95, 67);
    cursor: pointer;
    font-size: 3.2rem;
    transition: 250ms ease-out;
}
#exitInstructions h3{
    padding: 0;
}
#instructionHolder{
    width: 90%;
    height: 70%;
    position: relative;
    display: flex;
    justify-content: space-around;
    /* align-content: center; */
    margin: auto;
    flex-wrap: wrap;
}
.instruction{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
    margin: auto;
    background-color: rgb(190, 146, 103);
    border: 8px yellow solid;
    border-radius: 1rem;
    width: 40%;
    text-align: center;
    font-family: "Mallanna", sans-serif;
}
.instructionWide{
    width: 90%;
}
.instruction h3{
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-family: "Jersey 25";
}
.instruction p{
    font-size: 1.5rem;
}
.spriteContainer{
    flex-direction: row;
}
.instructionSprite{
    max-width: 75%;
    max-height: 8rem;

    background-size: cover;
    image-rendering: pixelated;
    margin-top: 1rem;
}



#playspace{
    /* width: 40%; */
    height: 60vh;
    aspect-ratio: 1/1;
    background-image: url(./assets/Board.png);
    background-repeat: no-repeat;
    background-size: cover;
    image-rendering: pixelated;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#playArea{

    display: flex;
    flex-direction: column-reverse;
}
.slotRow{
    height: 17%;
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.slot{
    width: 19%;
    /* height: 75%; */
    aspect-ratio: 1/1;
    background-image: url(./assets/Slot.png);
    background-repeat: no-repeat;
    background-size: cover;
    image-rendering: pixelated;
    position: relative;
}
.hand{
    width: 100%;
    height: 16vh;
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    justify-content: space-between;
    margin: auto;
    background-color: gray;
    background-repeat: no-repeat;
    background-size: cover;
    image-rendering: pixelated;
    align-content: center;
    transition: 100ms ease-in-out;
    overflow-x: scroll;
}
.card{
    background-image: url(./assets/Card.png);
    background-repeat: no-repeat;
    background-size: cover;
    image-rendering: pixelated;

    height: 55%;
    aspect-ratio: 1/1;

    display: flex;
    margin: auto;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.handCard{
    cursor: pointer;
}
.boardCard{
    position: absolute;
    top: 3%;
    left: 3%;
    width: 95%;
    height: 95%;
}
.cardSprite{
    width: 60%;
    margin: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 0.1rem white);
}
.tickContainer{
    position: absolute;
    display: flex;
    justify-content: center;
}

.topTicks{
    flex-direction: row;
    width: 100%;
    height: 15%;
    top: -9%;
    left: 0;
}
.rightTicks{
    flex-direction: column;
    height: 100%;
    width: 15%;
    right: -9%;
    top: 0;
    /* transform: rotate(90deg); */
}
.bottomTicks{
    flex-direction: row;
    width: 100%;
    height: 15%;
    bottom: -9%;
    left: 0;
    /* transform: rotate(180deg); */
}
.leftTicks{
    flex-direction: column;
    height: 100%;
    width: 15%;
    left: -9%;
    top: 0;
    /* transform: rotate(270deg); */
}

.horizontalTick{
    width: 100%;
}
.verticalTick{
    height: 100%;
}
.rightTick{
    transform: rotate(90deg);
}
.downTick{
    transform: rotate(180deg);
}
.leftTick{
    transform: rotate(270deg);
}


.Tick{
    image-rendering: pixelated;
}
#scoreRed{
    color: darkred;
}
#scoreBlue{
    color: blue;
}

#redHand{
    /* background-color: rgb(126, 94, 94); */
    background-image: url(./assets/redBack.jpg);
}
#blueHand{
    /* background-color: rgb(102, 99, 130); */
    background-image: url(./assets/blueBack.jpg);
}
.handEnd{
    background-repeat: no-repeat;
    background-size: cover;
    image-rendering: pixelated;
    height: 16vh;
}
.handDivide{
    display: flex;
    width: 80%;
    justify-content: center;
    margin: 16px auto;
}
body{
    background-color: rgb(49, 97, 57);
}
#scoreBoard{
    top: 42vh;
    width: 10vw;
    padding: 1rem;
    font-size: 2rem;
    font-family: "Jersey 25";
    margin: auto;
    border: solid yellow 1rem;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    background-color: rgb(166,124,82);
    position: absolute;
    left: 8%;
}
@media only screen and (max-width: 1080px) {
    .handCard{
        margin: auto 1rem;
    }
    .inactiveHand{
        display: none;
    }
    .handDivide{
        width: 95%;
    }
    #scoreBoard{
        top: auto;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: 240px;
        height: auto;
        display: flex;
        justify-content: space-between;
        height: auto;
        padding: 1rem;
        margin: auto;
    }
    #startHeadImage{
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
    .startingButton{
        font-size: 2rem;
        height: auto;
        border: yellow 0.5rem solid;
    }
    #ModeHeader{
        width: 100%;
        padding-top: 12vh;
        /* position: absolute; */
        /* top: 0; */
    }
    #DifficultyHeader{
        width: 100%;
        padding-top: 15vh;
    }
    #modeChoices{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 60%;
    }
    .difficultyBtn{
        font-size: 2rem;
        height: auto;
        border: yellow 0.4rem solid;
        width: 60%;
        aspect-ratio: 4/1;
    }
    #buttons{
        width: 95%;
        padding: 0.5rem;
    }
}
@media only screen and (max-width: 520px) {
    .inactiveHand{
        display: none;
    }
    .startingButton{
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    .difficultyBtn{
        font-size: 2rem;
        padding: 0.35rem;
    }
    #playspace{
        width: 95vw;
        height: auto;
    }
    #playArea{
        height: 80vh;
        margin: 2rem auto;
        justify-content: space-between;
    }
    .instruction{
        /* width: 35%; */
        padding: .05rem;
        margin: 0.5rem auto;
    }
    #InstructionsHeader h1{
        font-size: 3rem;
    }
    .instruction h3{
        font-size: 1.5rem;
    }
    .instruction p{
        font-size: 1rem;
    }
}
@media only screen and (max-width: 430px) {

    #playArea{
        width: 95vw;
        height: 80vh;
        margin: 2rem auto;
        justify-content: space-between;
    }
    #playspace{
        margin: 1rem;    
    }
    .inactiveHand{
        display: none;
    }

}