body {
    justify-content: center;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    touch-action: pan-y pan-x;
    margin: 0;
    align-items: center;
}

#wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#scoreWrapper {
    width: 80%;
    max-width: 500px;
    position: relative;
    display: flex;
    margin: 20px auto;
    height: auto;
    justify-content: space-evenly;
}

.score-label {
    font-size: 1.3em;
}

#seedWrapper {
    width: 80%;
    position: relative;
    display: flex;
    margin: 10px auto;
    height: auto;
    justify-content: center;
}

#letter-container {
    position: relative;
    width: 90%;
    height: 100%;;
    flex-grow: 1;
    max-width: 500px;
    max-height: 500px;
    margin-bottom: 20px;
}

.tile {
    position: absolute;
    display: flex;
    aspect-ratio: 1;
    border-color: rgb(0, 0, 0);
    border-width: 2px;
    border-style: solid;
    border-radius: 6px;
    background: antiquewhite;
    font-size: 2em;
    text-align: center;
    user-select: none;
    width: 50px;
    height: 50px;
    left: 0px;
    bottom: 0px;
    transition-duration: 500ms;
    transition-property: transform;
    transition-timing-function: ease-in-out;
    user-select: none;
    -webkit-user-select: none;
}

.tileCentre {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.letter-wrapper {
    position: relative;
    width: 100%;
    margin: auto;
    pointer-events: none;
}

.tile.potential {
    background: rgb(250, 255, 109);
    transform: scale(0.9);
}

.tile.valid {
    background: rgb(149, 255, 135);
    transform: scale(0.9);
}

#solutionLabel {
    text-align: center;
}

.button {
    position: relative;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

#undoBtn {
    opacity: 0.5;
    background-image: url(../assets/2d07fbf8359f7fc12f9d.svg);
}

#share-btn {
    position: absolute;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../assets/97e7dabbfb217c868198.svg);
    right: 20px;
    top: 10px;
}

.modal-background {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0000007a;
    display: none;
    justify-content: center;
}

.modal-content {
    width: 100%;
    max-width: 400px;
    max-height: 100%;
    background: white;
    border-radius: 10px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
    position: relative;

    transition-duration: 500ms;
    transition-property: transform;
    transition-timing-function: ease-in-out;
}

#stats-title {
    margin-top: 20px;
    user-select: none;
    font-size: 1.2em;
    font-weight: bold;
}

.stats-sub-title {
    margin-top: 20px;
    margin-bottom: 10px;
    user-select: none;
    font-size: 1.2em;
    font-style: italic;
}

#found-words-container {
    margin-bottom: 20px;
    padding: 10px 20px;
    background: antiquewhite;
    border-radius: 10px;
}

.stats-found-word {
    margin-top: 5px;
    user-select: none;
    font-weight: bold;
    text-align: center;
}

#stats-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    width: 90%;
}

.stats-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0px
}

.stats-score-label {
    font-size: 2.4em;
    user-select: none;
}

.stats-heading-label {
    font-size: 0.8em;
    user-select: none;
    text-align: center;
}

#turns-graph {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 150px;
    min-height: 150px;
    justify-content: space-evenly;
    align-items: flex-end;
    margin-top: 20px;
    margin-bottom: 20px;
}

.turn-graph-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 5px;
    justify-content: end;
}

.graph-bar-background {
    height: 100%;
    width: 20px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 5px;
}

.graph-bar {
    background: #6688ff;
    height: 50%;
    width: 100%;
    min-height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.graph-bar-key {
    width: 100%;
    text-align: center;

    user-select: none;
}

.graph-bar-label {
    width: 100%;
    text-align: center;
    color: white;

    user-select: none;
}

.chart-title {
    margin-top: 20px;
    font-size: 1em;
    user-select: none;
}

#blocking-view {
    position: fixed;
    width: 100%;
    height: 100%;
}
/*!
 * Toastify js 1.12.0
 * https://github.com/apvarun/toastify-js
 * @license MIT licensed
 *
 * Copyright (C) 2018 Varun A P
 */

.toastify {
    padding: 12px 20px;
    color: #ffffff;
    display: inline-block;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
    background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
    background: linear-gradient(135deg, #73a5ff, #5477f5);
    position: fixed;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    max-width: calc(50% - 20px);
    z-index: 2147483647;
}

.toastify.on {
    opacity: 1;
}

.toast-close {
    background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    opacity: 0.4;
    padding: 0 5px;
}

.toastify-right {
    right: 15px;
}

.toastify-left {
    left: 15px;
}

.toastify-top {
    top: -150px;
}

.toastify-bottom {
    bottom: -150px;
}

.toastify-rounded {
    border-radius: 25px;
}

.toastify-avatar {
    width: 1.5em;
    height: 1.5em;
    margin: -7px 5px;
    border-radius: 2px;
}

.toastify-center {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content;
    max-width: -moz-fit-content;
}

@media only screen and (max-width: 360px) {
    .toastify-right, .toastify-left {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: fit-content;
    }
}

