@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Roboto:wght@400;700&display=swap');

body {
    background-color: #121213;
    margin: 0;
    padding: 0;
    color: #ffffff;
    width: 100vw;
    font-family: 'Roboto', sans-serif;
}

header {
    border-bottom: 1px solid #3a3a3c;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 16px;
    height: 50px;
}

.title {
    color: #ffffff;
    font-family: 'Bree Serif', serif;
    text-align: center;
}

.modal-title {
    color: #ffffff;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.content {
    width: 100%;
    color: #ffffff;
    font-family: 'Roboto', serif;
    text-align: center;
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.modal-button {
    border: none;
    width: 45%;
    height: 25px;
}

.button-dismiss {
    width: 20%;
    margin: auto;
}
.modal {
    flex-wrap: wrap;
    width: var(--grid-width);
    margin: auto;
    height: 40vh;
}

.toast-container {
    min-height: 2vh;
    width: var(--grid-width);
}

.toast {
    background-color: #3a3a3c;
    text-align: center;
    margin: auto;
}

.cell {
    border: 2px solid #3a3a3c;
    width: calc(var(--grid-width)/var(--word-length));
    height: calc(var(--grid-width)*1/var(--word-length));
    font-size: xx-large;
    font-weight: 700;
    margin: auto;
    text-align: center;
}

.cell-locked {
    transform: rotateX(180deg);
}

.cell-gray { 
    color: white;
    background-color: #3a3a3c;
    transition: transform 1s;
    transform-style: preserve-3d;
    transform: rotateX(-180deg);
}

.cell-yellow {
    border: 2px solid #b59f3b;
    background-color: #b59f3b;
    color: white;
}

.cell-green {
    border: 2px solid #538d4e;
    background-color: #538d4e;
}

.row {
    width: var(--grid-width);
}

.grid {
    width: var(--grid-width);
    margin: 10vh auto;
    height: calc(var(--grid-width)*(6/var(--word-length)));
}

.container {
    display: flex;
    height: calc(100vh - 51px);
    width: 100vw;
}

.clickable {
    cursor: pointer;
}


:root {
    --grid-width: 30vw;
    --word-length: 5;
  }

@media only screen and (max-width: 1080px) {
    .creator-modal {
        width: 40%;
    }
    :root {
        --grid-width: 40vw;
      }
  }

  @media only screen and (max-width: 850px) {
    .creator-modal {
        width: 50%;
    }
    :root {
        --grid-width: 50vw;
      }
}

@media only screen and (max-width: 650px) {
    .creator-modal {
        width: 60%;
    }
    :root {
        --grid-width: 60vw;
      }
}

@media only screen and (max-width: 650px) {
    .creator-modal {
        width: 70%;
    }
    :root {
        --grid-width: 70vw;
      }
}

@media only screen and (max-width: 450px) {
    .creator-modal {
        width: 80%;
    }
    :root {
        --grid-width: 80vw;
      }
}

.hidden {
    display: none;
}