

body {
    --title-font: "Zen Dots", sans-serif;
    --display-font: "Poppins", sans-serif;
}




/* common */
.noselect,
.page.menu *
 {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                supported by Chrome, Edge, Opera and Firefox */
}


body {
    background: var(--theme-background-color);
    font-family: var(--display-font);
    margin: 0;
}

.alertContain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
}
.alertContain.show {
    display: flex;
}
.gameAlert {
    background-color: var(--theme-alert-color);
    padding: 25px;
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
    border-radius: 10px;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.gameAlert .title {
    font-size: var(--font-size-title);
    font-family: var(--title-font);
    text-shadow: var(--shadow-dimensions) var(--shadow-color);
}
.gameAlert .btn {
    padding: 0px 5px 0px 5px;
    font-size: var(--font-size-item);
    
}

.btn {
    border-radius: 5px;
    display: inline-flex;
    background: var(--theme-button);
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
    cursor: pointer;
}


.contain {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: auto;
}

/* Pages */
.page {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.page.show {
    display: flex;
}

/* Menu Pages */
.page.menu {
    max-width: var(--screen-width);
}
.page.menu .title {
    font-size: var(--font-size-title);
    color: white;
    margin-bottom: 50px;
    font-family: var(--title-font);
    /* text-shadow: var(--title-shadow-offset) var(--title-shadow-offset) 0px var(--theme-title-background); */
    /* text-shadow: 5px 5px 0px blue, -5px -5px 0px red, 5px -5px 0px green, -5px 5px 0px orange; */
    /* text-shadow: var(--title-shadow-offset) var(--title-shadow-offset) 0px rgb(14, 87, 224), -var(--title-shadow-offset) -var(--title-shadow-offset) 0px rgb(62, 171, 207), var(--title-shadow-offset) -var(--title-shadow-offset) 0px cyan, -var(--title-shadow-offset) var(--title-shadow-offset) 0px teal; */
    text-shadow: 
        var(--title-shadow-offset) var(--title-shadow-offset) 0px var(--theme-title-ring-1),
        calc(-1 * var(--title-shadow-offset)) calc(-1 * var(--title-shadow-offset)) 0px var(--theme-title-ring-2),
        var(--title-shadow-offset) calc(-1 * var(--title-shadow-offset)) 0px var(--theme-title-ring-3),
        calc(-1 * var(--title-shadow-offset)) var(--title-shadow-offset) 0px var(--theme-title-ring-4);
    /* text-shadow: 5px 5px 0px blue, -5px -5px 0px blue, 5px -5px 0px blue, -5px 5px 0px blue; */
}
.page.menu .subtitle {
    font-size: var(--font-size-subtitle);
    margin-bottom: 50px;
    font-family: var(--title-font);
    color: var(--theme-font-color);
    text-shadow: var(--text-shadow);
}
.page.menu .item {
    color: var(--theme-font-color);
    font-size: var(--font-size-item);
    font-weight: 900;
    margin-bottom: 15px;
    cursor: pointer;
    text-shadow: var(--text-shadow);
    /* text-shadow: var(--shadow-dimensions) var(--shadow-color); */
}
.page.menu .text {
    color: var(--theme-font-color);
    font-size: var(--font-size-item);
    font-weight: 900;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: var(--text-shadow);
}
.page.menu .item:active {
    transform: translate(2px, 2px);
}


.page.game {
    width: 100%;
    min-height: 100%;
    /* background-color: pink; */
    position: relative;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}
.page.game .content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* justify-content: center; */
    align-items: center;
    overflow-y: auto;
    padding: 25px;
}
.board {
    padding: 5px;
    max-width: var(--screen-width);
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    display: none;
    /* background-color: cyan; */
    padding-bottom: 130px;
    /* padding-top: 60px; */
    margin-top: 15px;
}
.board.show {
    display: inline-flex;
}
.board .row {
    display: flex;
    background-color: var(--theme-board-row-color);
    margin: 5px;
    max-width: 100%;
    border-radius: 5px;
    padding: 5px;
    /* box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05); */
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
}
.board .holeRing {
    border-radius: 100%;
    padding: 2px;
    margin: 5px;
    border: 5px solid rgba(0, 0, 0, 0);
}
.board .hole {
    background-color: var(--theme-ball-hole-color);
    height: var(--ball-size);
    width: var(--ball-size);
    border-radius: 100%;
    box-shadow: var(--shadow-dimensions) var(--shadow-color) inset;
}
.board .holeRing.set .hole {
    background-color: var(--this-ball-color);
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
}
.board .holeRing.wrong {
    border: 5px solid var(--theme-ball-wrong);
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
}
.board .holeRing.else {
    border: 5px solid var(--theme-ball-else);
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
}
.board .holeRing.right {
    border: 5px solid var(--theme-ball-right);
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
}
.topMenu {
    position: fixed;
    top: 0;
    align-items: center;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    background-color: var(--theme-color-area);
    padding: 15px;
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
}
.topMenu .btn {
    font-size: 18pt;
    padding: 0px 5px 0px 5px;
}
.colorInput {
    position: fixed;
    display: inline-flex;
    align-items: center;
    max-width: var(--screen-width);
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--theme-color-area);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
    bottom: 0;
}
.colorInput .color {
    height: var(--color-ball-size);
    width: var(--color-ball-size);
    margin: 5px;
    border-radius: 100%;
    /* box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); */
    background-color: var(--this-ball-color);
    box-shadow: var(--shadow-dimensions) var(--shadow-color);
}


@media (hover: hover) {
    .page.menu .item:hover {
        color: var(--theme-font-hover-color);
    }

    .btn:hover {
        background-color: var(--theme-button-hover);
    }
}

