@import url('https://fonts.googleapis.com/css2?family=Inter&family=Lilita+One&display=swap');

:root{
    --lightblue: #A0DDE0;
    --pink: #F886A8;
    --green: #AAD59F;
    --purple: #CDBCDC;
    --yellow: #FDC453;
    --blue: #9AB2D6;
  }

body{
    margin: 2em 0;
    background-color: #E8EEE8;
    color: #443730;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3{
    font-family: 'Lilita One', sans-serif;

}

#game{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5em;
}

#board{
    border: 10px solid white;
    background-color: white;
    width: 700px;
    height: 700px;
    /* grid container */
    display: grid;
    /* set 7x7 grid, even spaces */
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(7, 1fr);
    grid-gap: 1px;
}

.boardSpace{
    /* border: 1px solid #443730; */
    background-color: white;
    /* flex container */
    display: flex;
    align-items: center;
    justify-content: center;
}

.boardSpace:nth-of-type(9){
    /* to set empty space in center of board/grid */
    grid-area: 2 / 2 / 7 / 7;
}

#start{
    text-align: center;
}

#sidePanel{
    max-width: 400px;
}

#console{
    background-color: #fffcf2;
    border: 1px solid #443730;
    padding: 1em;
    margin-top: 1em;
}

ol{
    margin-top: 0;
}

li{
    padding-top: 1em;
}

#bookshelfHeading{
    margin: 0;
    padding-bottom: 1em;
}

#diceRoll{
    margin: 0;
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

#dice{
    width: 50px;
    height: 50px;
    background-color: white;
    border: 1px solid #443730;
    border-radius: 10px;
    text-align: center;
    line-height: 10px;
}

#dice p{
    font-family: 'Lilita One', sans-serif;
    font-size: 1.25em;
}

#bookPrompts{
    background-color: white;
    border: 1px solid #443730;
    padding: 1.5em;
    margin: 2em 1em;
}

#space0, #space7, #space15, #space21{
    background-color: var(--lightblue);
    text-align: center;
}

#space1, #space9, #space13, #space18{
    background-color: var(--pink);
    text-align: center;
}

#space2, #space6, #space12, #space20{
    background-color: var(--green);
    text-align: center;
}

#space3, #space8, #space14, #space19{
    background-color: var(--purple);
    text-align: center;
}

#space4, #space10, #space16, #space22{
    background-color: var(--yellow);
    text-align: center;
}

#space5, #space11, #space17, #space23{
    background-color: var(--blue);
    text-align: center;
}

.moveHereImg{
    display: none;
}

.token{
    display: none;
}

#token-space13{
    display: block;
}

#popup{
    display: none;
    /* background-color: white; */
    border: 1px solid #443730;
    padding: 2em;
}

#card{
    display: none;
    padding: 1em;
    height: 100px;
    width: 150px;
}

.pinkCard{
    border: 2px solid #F886A8;
    border-top: 25px solid #F886A8;
}

.greenCard{
    border: 2px solid #AAD59F;
    border-top: 25px solid #AAD59F;
}

.blueCard{
    border: 2px solid #9AB2D6;
    border-top: 25px solid #9AB2D6;
}

.purpleCard{
    border: 2px solid #CDBCDC;
    border-top: 25px solid #CDBCDC;
}

.yellowCard{
    border: 2px solid #FDC453;
    border-top: 25px solid #FDC453;
}

.lightBlueCard{
    border: 2px solid #A0DDE0;
    border-top: 25px solid #A0DDE0;
}

#errorText{
    color: red;
    font-size: 0.8em;
    margin: auto;
    text-align: center;
    display: none;
}

#reward{
    display: none;
    padding: 1em;
    margin-left: 2em;  
}

#bookshelf, #finalBookshelf{
    border-right: 3px solid #443730;
    border-left: 3px solid #443730;
    border-top: 5px solid #443730;
    border-bottom: 10px solid #443730;
    background-color: #F6EFEE;
    box-shadow: inset 0 0 3px #443730;
    height: 90px;
    display: flex;
    align-items: flex-end;
}

#booksRead{
    background-color: white;
    border: 1px solid #443730;
    padding: 1em;
    margin-top: 2em;
    width: 400px;
}

#numBooksRead{
    margin-bottom: 0;
}

#completeButton{
    border: none;
    border-radius: 5px;
    color: #443730;
    padding: 0.5em;
    font-weight: 700;
}

#completeButton:hover{
    border: 1px solid #443730;
}

#instructions{
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 20px;
}

#instructions li{
    padding-top: 10px;
    padding-bottom: 0;
}

#gameDescription{
    margin-top: 0;
    margin-bottom: 0;
}