@font-face {
    font-family: 'lower_pixelregular';
    src: url('lowrespixel-regular-webfont.woff2') format('woff2'),
         url('lowrespixel-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    font-family: 'lower_pixelregular';

    background-color: rgb(36, 36, 36);
    width: 99%;
    height: 90vh;

    display: flex;
    justify-content: center; 
    align-items: center; 

    color: rgb(209, 209, 209)
}


#gameStartButton {
    font-family: 'lower_pixelregular';
    font-size: 50px;

    background-color: transparent;
    color: rgb(209, 209, 209);
    border: 0;

    cursor: pointer;
}

#mainTitle {
    color: rgb(209, 209, 209);
    font-size: 50px;
    font-weight: 100;

    cursor: default;
}

#gameStartMenu {
    text-align: center;
}

#itemImg {
    width: 128px;
    image-rendering: pixelated;
}

#itemSpawn {
    display: none;
}

#gameplay {
    display: none;
}

#countdown {
    
}

#timeDisplay { 
    display: none;
    text-align: center;
}

#gameStartButton2 {
    display: none;

    font-family: 'lower_pixelregular';
    font-size: 50px;

    background-color: transparent;
    color: rgb(209, 209, 209);
    border: 0;

    cursor: pointer;
}

header {
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

#shopThings {
    display: flex;
}

#statsThings {
    display: flex;
}


#shopIcon {
    background-color: transparent;
    border: 0;
}

#shopIcon img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    margin: 20px;
    
    cursor: pointer;
}

#statsIcon {
    background-color: transparent;
    border: 0;
}

#statsIcon img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    margin: 20px;
    
    cursor: pointer;
}

#closeShopIcon {
    background-color: transparent;
    border: 0;
    display: none;
}

#closeShopIcon img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    margin: 20px;
    
    cursor: pointer;
}

#coins {
    display: flex;
    flex-direction: row;
    align-items: center;
}



.coinImg {
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    margin: 5px;
}

#coinsGained {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#shop {
    display: none;
    width: 100%;
    height: 100%;
    padding: 100px 50px 0px 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.shopItem {
    border: 5px rgb(209, 209, 209) solid;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 25px;

    width: 150px;
    height: 250px;
}

.shopItem h1 {
    margin: 0;
    font-weight: 100;
}

.shopItem a {
    margin: 15px 0px 0px 0px;
}

.shopItemImg {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
}

.buyButton {
    background-color: rgb(27, 155, 27);
    font-family: 'lower_pixelregular';
    border: 5px rgb(18, 100, 18) solid;
    color: white;
    font-weight: 100;
    padding: 5px 20px 5px 20px;
    margin-top: 20px;

    display: none;
}

.buyButton p {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buyButton h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 100;
}

.shopSide {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shopRow {
    display: flex;
}

#tooFast {
    width: 90vh;
    height: 90vh;

    display: none;
}

#clickedTooFast {
    display: none;
    text-align: center;
    margin-bottom: 0;
}

.cantAffordText {
    color: #e23c37;
    margin: 0;
    margin-top: 10px;
}

.cantAffordBuyButton {
    background-color: #e23c37;
    font-family: 'lower_pixelregular';
    border: 5px #8a231f solid;
    color: white;
    font-weight: 100;
    padding: 5px 20px 5px 20px;
    margin-top: 20px;
}

.cantAffordBuyButton p {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cantAffordBuyButton h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 100;
}

.cantAfford {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.boughtButton {
    background-color: #3781e2;
    font-family: 'lower_pixelregular';
    border: 5px #243eb6 solid;
    color: white;
    font-weight: 100;
    padding: 15px 20px 15px 20px;
    margin-top: 20px;

    display: none;

}

#closeStatsIcon {
    background-color: transparent;
    border: 0;
    display: none;
}

#closeStatsIcon img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    margin: 20px;
    
    cursor: pointer;
}

#stats {
    display: none;
    text-align: center;
}

#stats h1 {
    font-weight: 100;
}

#side2 {
    display: none;
}

#arrows img {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    margin: 20px;
    
    cursor: pointer;
}

#arrows {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#pageNumber2 {
    display: none;
}

.pageNumber {
    font-size: 30px;
}

#arrows button {
    background-color: transparent;
    border: 0;
}

