* {
    box-sizing: border-box;
    font-family: Arial;
    
}

body {
    background-color: rgba(255, 255, 255, 0.055);
}

.hidden {
    display: none;
}


.image-container {
    display: flex;
    justify-content: center;
}

.grayscaleShadow {
    -webkit-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .7));
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .7)) invert(50%) sepia(0%) saturate(25%) brightness(110%) contrast(119%);
}

main {
    width: 98%;
    max-width: 520px;
    margin: 1em auto;
    position: relative;
    
}
.runes-image {
    width: 250px;
}

#header {
    width: 100%;
    height: 55px;
}

.logo {
    position: absolute;
    height: 65px;
    width: 65px;
    top: -10px;
    margin-right: 10px;
    overflow: hidden;
    z-index: 1;
}

.title {
    font-size: 36px;
    font-weight: normal;
    position: absolute;
    text-align: center;
    width: 100%;
    max-width: 520px;
    left: 10px;
}

.title > .titleText {
    display: inline;
}

.title > .tm {
    display: inline;
    position: relative;
    font-size: 12px;
    font-weight: normal;
    top: -15px;
    left: -10px;

}

.title > .titleText {
    display: inline;
}

.title > .tm {
    display: inline;
    position: relative;
    font-size: 12px;
    font-weight: normal;
    top: -15px;
    left: -10px;

}
.subtitle {
    font-size: 14px;
    position: absolute;
    text-align: center;
    width: 100%;
    max-width: 520px;
    top: 40px;
}

.menu-toggle {
    float: right;
    position: relative;
    cursor: pointer;
    height: 40px;
    width: 35px;
    z-index: 1;
}

.menu-icon-1,
.menu-icon-2,
.menu-icon-3 {
    position: absolute;
    right: 5px;
    height: 2px;
    width: 25px;
    background: #333;
}

.menu-icon-1 {
    top: 17px;
}

.menu-icon-2 {
    top: 9px;
}

.menu-icon-3 {
    top: 25px;
}

.menu-toggle.close .menu-icon-1 {
    top: 45px;
    transform: rotate(0.125turn);
}

.menu-toggle.close .menu-icon-2 {
    top: 45px;
    transform: rotate(0.375turn);
}

.menu-toggle.close .menu-icon-3 {
    display: none;
}

.embossed {
    color: #f9ad5c;
    text-shadow: -1px 1px 0 #a0a0a0, 1px 1px 0 #909090, 1px -1px 0 #ccc, -1px -1px 0 #bbb;
}

.about-letterpiece-blue, 
.about-letterpiece-red, 
.about-letterpiece-green, 
.about-letterpiece-yellow {
    position: absolute;
    height: 60px;
}
.about-letterpiece-green {
    transform: rotate(180deg);
    left: 5px;
}
.about-letterpiece-yellow {
    left: 45px;
}
.about-letterpiece-blue {
    left: -10px;
}
.about-letterpiece-red {
    left: 30px;
}

.about-text-image {
    display: inline-block;
    width: 75%;
}
.about-bear-logo {
    width: 70px;
    height: 70px;
}

.about-image-container {
    display: inline-block;
    width: 70px;
    height: 60px;
    position: relative;

}

.game-link{
    margin-bottom: 20px;
}

.game-link-image {
    width: 25%;
    max-width: 100px;
    height: auto;
    float: left;
    margin-right: 15px;
    box-shadow: 0px 0px 0px 10px #fff;
}

.game-link-title {
    font-size: small;   
    margin-bottom: 10px;

}

.game-link-fp .game-link-image {
    width: 25%;
    max-width: 100px;
    height: auto;
    float: left;
    margin-right: 15px;
    margin-top : 10px;
    box-shadow: 0px 0px 0px 10px #fff;
    border-bottom: #fff solid 15px;
}

.game-link-learn-more, 
.game-link-buy-now {
    font-size: small;
    background-color: #ECECEC;
    width: 100%;
    display: block;
    height: 25px;
    line-height: 25px;
    margin-bottom: 5px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;

}

.decipher-screen-title {
margin-top: 10px;
}

.decipher-open-image {
    width: 300px;
    height: auto;

}

.decipher-screen-text{
    font-size: 12px;
}

.centered {
    text-align: center;
}

#stats {
    width: 35px;
    height: auto;
    position: absolute;
    left: 20%;
    top: 5px;
    cursor: pointer;
    z-index: 1;
}

#rules {
    width: 35px;
    height: auto;
    position: absolute;
    left: 75%;
    top: 5px;
    cursor: pointer;
    z-index: 1;
}


/* *************stats screen */

.share-img {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 5px;
    margin-top: 5px;
}

.share-btn {
    position: relative;
    height: 35px;
    width: 140px;
    background-color: #00A2FF;
    float: right;
    margin: 10px 10px 10px 10px;
    border-radius: 15px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    line-height: 35px;
    top: -110px;
}

.word-btn {
    position: relative;
    height: 35px;
    width: 140px;
    background-color: #00A2FF;
    float: right;
    margin: 10px 10px 10px 10px;
    border-radius: 15px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    line-height: 35px;
    top: -110px;
}


.avg-guesses{
    position: relative;
    top: -80px;
    left: 10px;
}

#statsScreen {
    width: 95%;
    height: auto;
    margin: 0 auto;
    padding: 10px;
}

.statsContainer {
    border: 1px solid #555;
    border-radius: 15px;
    margin: 10px 0 0 0;
    overflow: hidden;
    position: relative;
}

.statsScreenTitle {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 10px;
}

.statsTitle {
    display: inline-block;
    height: 20px;
    background-color: #ECECEC;
    font-size: 10px;
    text-align: center;
    font-weight: bold;
    line-height: 20px;
    width: 100%;
}

.statsNum {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 10px;
}

.statsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr 1.25fr;
    grid-column-gap: 0;
}

.bar-graph-horizontal {
    max-width: 475px;
    margin-top: 10px;
}

.bar-graph-horizontal>div {
    float: left;
    margin-bottom: 8px;
    width: 100%;
}

.bar-graph-horizontal .barTitle {
    float: left;
    margin-top: 5px;
    margin-left: 10px;
    width: 20px;
    font-weight: bold;
}

.bar-graph-horizontal .bar {
    border-radius: 3px;
    height: 25px;
    float: left;
    overflow: hidden;
    position: relative;
    width: 0;
}

.bar-graph-one .bar::after,
.bar-graph-two .bar::after {
    color: #fff;
    content: attr(data-percentage);
    font-weight: 700;
    position: absolute;
    right: 10px;
    top: 3px;
}

.bar-graph-one .bar-current::after,
.bar-graph-two .hintbar-current::after {
    top: 1px;
}

.bar-current {
    border: 2px solid #00A2FF !important;
}

.hintbar-current {
    border-bottom: 2px solid #00A2FF !important;
    border-top: 2px solid #00A2FF !important;
    border-left: 2px solid #00A2FF !important;

}

.bar-graph-one .bar-1 .bar,
.bar-graph-one .bar-2 .bar,
.bar-graph-one .bar-3 .bar,
.bar-graph-one .bar-4 .bar,
.bar-graph-one .bar-5 .bar {
    background-color: #6D7472;
}

.bar-graph-two .bar-1 .bar,
.bar-graph-two .bar-2 .bar,
.bar-graph-two .bar-3 .bar,
.bar-graph-two .bar-4 .bar,
.bar-graph-two .bar-5 .bar {
    background-color: #e6870b;
    top: -202px;
    left: 30px;
    border: solid 2px #e6870b;

}

.graph-legend {
    margin: auto;
    display: flex;
    justify-content: center;
}

.invisible {
    visibility: hidden;
}

.graph-legend .bar-legend .on-bar {
    position: relative;
    display: inline-block;
    height: 25px;
    width: 125px;
    margin-right: 10px;
    /* border-radius: 3px; */
    background-color: #e6870b;
}

.on-bar::after {
    color: #fff;
    content: attr(data-percentage);
    font-weight: 700;
    position: absolute;
    left: 10px;
    top: 3px;
}




.decipher-link {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    z-index: 1;
    cursor: pointer;
    border-top: #333 solid 1px;
}

.decipher-img {
    height: 75px;
    position: relative;
    bottom: -20px;
    left: 10px;
    border: #333 solid 1px;
}

.decipher-text {
    position: relative;
    bottom: 60px;
    left: 20px;
    font-size: 12px;
    text-align: center;
    width: 100%;
}

.static-letterpiece-blue {
    position: absolute;
    bottom: 20px;
    left: 40%;
    height: 40px;
}

.static-letterpiece-green {
    position: absolute;
    bottom: 20px;
    left: 43%;
    height: 40px;
    transform: rotate(180deg);
}

.static-letterpiece-red {
    position: absolute;
    bottom: 20px;
    left: 49%;
    height: 40px;
}

.static-letterpiece-yellow {
    position: absolute;
    bottom: 20px;
    left: 52%;
    height: 40px;
}

.arrow-right {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 40px;
    font-size: 28px;
};

.clue-root,
#guesses,
#keyboard,
#delete-enter-btn {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

#guesses {
    margin-top: 5px;
    height: 378px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #FFFBE7;
    overflow: hidden;
}

.guessesStyle {
    margin-top: 5px;
    min-height: 110px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #FFFBE7;
    overflow: hidden;
}

.separator {
    width: 100%;
    height: 1px;
    background: #555;
    margin-top: 5px;
    margin-bottom: 5px;
}

.guessesStyle>.guess {
    min-height: 50px;
}

.singleGuessHeight {
    min-height: 50px;
    height: 50px;
}

.close-button {
    position: absolute;
    right: 5px;
    top: 60px;
    cursor: pointer;
}

.guess {
    height: 16.9%;
    width: 100%;
    border-top: 1px solid #555;
}

.guess:first-child {
    border-top: none;
}

.current-guess.victory .cell,
.current-guess.victory .selected-cell {
    background: #a0f0b0;
}

.current-guess {
    background: #F4F4F4;
}

.cell {
    border-left: 1px solid #555;
    height: 100%;
    width: 20%;
    display: inline-block;
    vertical-align: middle;
}

.cell:first-child {
    border-left: none;
}

.selected-cell {
    background: #D8D8D8;
}

.correct-cell {
    background: #a0f0b0;
}


/* Styling for Clues */

.clue-root {
    height: 58px;
}

.clue-cell {
    display: inline-block;
    width: 20%;
    height: 100%;
    border-left: 1px solid #555;
}

.clue-cell:first-child {
    border-left: none;
}

.clue-box {
    height: 50px;
    width: 50px;
    background: rgb(24, 24, 24);
    border-radius: 5px;
    margin: 3px auto;
}

.blue-clue-svg {
    height: 50px;
    position: relative;
    left: -0.4em;
    top: 0em;
    padding: 5px 0 5px 0;
}

.green-clue-svg {
    height: 50px;
    position: relative;
    top: -3.35em;
    left: 0em;
    padding: 5px 0 5px 0;
    transform: rotate(180deg);
}

.red-clue-svg {
    height: 50px;
    position: relative;
    left: 0.95em;
    top: -6.7em;
    padding: 5px 0 5px 0;
}

.yellow-clue-svg {
    height: 50px;
    position: relative;
    left: 1.45em;
    top: -10.08em;
    padding: 5px 0 5px 0;
}

.grayscale {
    /* filter: grayscale(100%); */
    filter: invert(50%) sepia(0%) saturate(25%) brightness(110%) contrast(119%);
}

.modal {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    z-index: 10;
}

.modal-content {
    width: 88%;
    max-width: 440px;
    margin: 80px auto;
    background: #fff;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 1.5rem;
}


/* ***************letters in cells************************** */

.cell>.letter>* {
    max-height: 55px;
    margin: 0 auto;
}


/* *****************keyboard enter/delete button************************ */

.enterBtn,
.deleteBtn {
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 130px;
    height: 45px;
    border-radius: 2px;
    font-family: 'Arial';
    background: #D5D5D5;
    font-size: 22px;
    line-height: 43px;
    font-weight: bold;
    cursor: pointer;
}

.hintsBtn {

    position: relative;
    display: flex;
    justify-content: space-around;
    width: 100px;
    height: 35px;
    border-radius: 2px;
    font-family: 'Arial';
    background: #D5D5D5;
    font-size: 16px;
    line-height: 35px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
    

}

.keyboardButtons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 8vw;
    max-height: 45px;
}


/* **************keyboard*************************** */

#keyboard {
    position: relative;
    top: 10px;
}

.letterHitbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.letterRow {
    position: relative;
    display: flex;
    height: 14vw;
    max-height: 67px;
    justify-content: space-around;
    align-items: center;
}

.letterCol {
    position: relative;
    width: 12%;
    height: 100%;
    justify-content: space-around;
    align-items: center;
}


/* letter pieces */

.dash-yellow-0 {
    height: 11vw;
    max-height: 57px;
    transform: rotate(90deg);
}

.apostrophe-yellow-0 {
    height: 11vw;
    max-height: 57px;
    transform: rotate(45deg);
}

.letter {
    position: relative;
    top: 0;
    left: 0;
    width: 11vw;
    height: 11vw;
    max-height: 57px;
    max-width: 57px;
    margin: auto;
    -webkit-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .7));
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .7));
}


/* **********Snackbar ************ */

#snackbar {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    max-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: #333;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    bottom: 30px;
    /* 30px from the bottom */
}


/* Show the snackbar when clicking on a button (class added with JavaScript) */

#snackbar.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}


#snackbarMid {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    max-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: #333;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    top: 200px;

}


/* Show the snackbar when clicking on a button (class added with JavaScript) */

#snackbarMid.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadeinMid 0.5s, fadeoutMid 0.5s 2.5s;
    animation: fadeinMid 0.5s, fadeoutMid 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */

@-webkit-keyframes fadeinMid {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 200px;
        opacity: 1;
    }
}

@keyframes fadeinMid {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 200px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeoutMid {
    from {
        top: 200px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeoutMid {
    from {
        top: 200px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}


/* *********** */

.letterPress {
    top: 10px !important;
}

.a-red-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0.3vw;
    left: -3vw;
    transform: rotate(25deg);
}

.a-red-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0.1vw;
    left: 3vw;
    transform: rotate(335deg);
}

.a-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 1vw;
    left: 0;
    transform: rotate(90deg);
}

.b-red-0,
.d-red-0,
.e-red-0,
.f-red-0,
.h-red-0,
.k-red-0,
.l-red-0,
.n-red-0,
.p-red-0,
.r-red-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -0.1vw;
    left: -2vw;
}

.b-green-0,
.p-green-0,
.r-green-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -2.5vw;
    left: 1.3vw;
}

.b-green-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 2.5vw;
    left: 1.3vw;
}

.c-blue-0,
.g-blue-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    left: 0;
}

.d-blue-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    left: 0.8vw;
    transform: rotate(180deg);
}

.e-yellow-0,
.f-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -4vw;
    left: 1vw;
    transform: rotate(90deg);
}

.e-yellow-1,
.f-yellow-1,
.h-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -0.5vw;
    left: 1vw;
    transform: rotate(90deg);
}

.e-yellow-2,
.l-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 4.25vw;
    left: 1vw;
    transform: rotate(90deg);
}

.g-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 2.5vw;
    left: 3.5vw;
}

.h-red-1,
.n-red-2 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0;
    left: 4.5vw;
}

.i-red-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0;
    left: 0;
}

.j-yellow-0,
.u-yellow-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -2vw;
    left: 1.8vw;
}

.j-green-0,
.u-green-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3.5vw;
    left: -0.1vw;
    transform: rotate(90deg);
}

.k-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -2.5vw;
    left: 1vw;
    transform: rotate(45deg);
}

.k-yellow-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3vw;
    left: 1vw;
    transform: rotate(135deg);
}

.m-red-0,
.w-red-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0;
    left: -5vw;
}

.m-red-1,
.w-red-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0;
    left: 5vw;
}

.m-yellow-0,
.y-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -3vw;
    left: -2.5vw;
    transform: rotate(135deg);
}

.m-yellow-1,
.y-yellow-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -3vw;
    left: 2vw;
    transform: rotate(45deg);
}

.n-red-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0vw;
    left: 0.75vw;
    transform: rotate(155deg);
}

.o-blue-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    left: -2.5vw;
}

.o-blue-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    left: 2vw;
    transform: rotate(180deg);
}


.r-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3.25vw;
    left: 1vw;
    transform: rotate(135deg);
}

.q-blue-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    left: -1.75vw;
    top: 1.75vw;
    transform: rotate(315deg);
}

.q-blue-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    left: 1.75vw;
    top: -1.5vw;
    transform: rotate(135deg);
}

.q-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    left: 1vw;
    top: 0.75vw;
    transform: rotate(315deg);
}

.s-green-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -3vw;
    left: -1vw;
    transform: rotate(225deg);
}

.s-green-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3.75vw;
    left: 0.5vw;
    transform: rotate(45deg);
}

.t-red-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 1.25vw;
    left: 0;
}

.t-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -4.25vw;
    left: -0.5vw;
    transform: rotate(90deg);
}

.u-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -2vw;
    left: -1.8vw;
}

.v-red-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0;
    left: 2vw;
    transform: rotate(200deg);
}

.v-red-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 0;
    left: -3vw;
    transform: rotate(160deg);
}

.w-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3vw;
    left: 2vw;
    transform: rotate(135deg);
}

.w-yellow-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3vw;
    left: -2.25vw;
    transform: rotate(45deg);
}

.x-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3vw;
    left: -2.4vw;
    transform: rotate(45deg);
}

.x-yellow-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3vw;
    left: 2.5vw;
    transform: rotate(135deg);
}

.x-yellow-2 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -2vw;
    left: 2.8vw;
    transform: rotate(45deg);
}

.x-yellow-3 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -2vw;
    left: -2.8vw;
    transform: rotate(135deg);
}

.y-yellow-2 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 1.75vw;
    left: 0;
}

.z-yellow-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -3.5vw;
    left: -1.5vw;
    transform: rotate(90deg);
}

.z-yellow-1 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: 3.5vw;
    left: 1vw;
    transform: rotate(90deg);
}

.z-red-0 {
    height: 11vw;
    max-height: 57px;
    position: absolute;
    top: -0.1vw;
    left: 0vw;
    transform: rotate(40deg);
}




@media screen and (min-width: 300px) and (max-width: 350px) {
    .decipher-open-image {
        width: 280px;
        height: auto;
    }
    

    .cell>.letter {
        top: 5px;
    }

    #guesses {
        height: 325px;
    }

    .guess {
        height: 16.5%;
    }

    .guessesStyle {
        min-height: 110px;
    }

    .guessesStyle>.guess {
        height: 50px;
    }

    .singleGuessHeight {
        min-height: 50px;
    }

    .enterBtn,
    .deleteBtn
     {
        width: 100px;
        height: 35px;
        font-size: 15px;
        line-height: 32px;
        font-weight: bold;
    }
    .hintsBtn {
        width: 80px;
        height: 30px;
        font-size: 12px;
        line-height: 32px;
        font-weight: bold;
        margin-top: 3px;
    }

    .decipher-text {
        font-size: 10px;
        max-width: 225px;
        left: 50px
    }

    .game-link .game-link-image{
        margin-top: 20px;
    }

    .avg-guesses{
        position: relative;
        top: -135px;
        left: 10px;
    }
    .share-btn{
        position: relative;
        top: -180px;
    }
    .word-btn{
        position: relative;
        top: -165px;
    }
}

@media screen and (min-width: 350px) and (max-width: 383px) {
    

    .decipher-open-image {
        width: 320px;
        height: auto;
    
    }
    
    .buttonLtr>.letter {
        top: -2px;
        width: 6vw;
        height: 6vw;
    }

    /* Fixes height for mobile, at least for Android 12 on a OnePlus 8T  */
    .cell>.letter {
        top: 3px;
    }

    #guesses {
        height: 325px;
    }

    .guess {
        height: 16.5%;
    }

    .guessesStyle {
        min-height: 110px;
    }

    .guessesStyle>.guess {
        height: 50px;
    }

    .singleGuessHeight {
        min-height: 50px;
    }

    .enterBtn,
    .deleteBtn {
        width: 100px;
        height: 35px;
        font-size: 15px;
        line-height: 32px;
        font-weight: bold;
    }

    .hintsBtn {
        width: 80px;
        height: 30px;
        font-size: 12px;
        line-height: 32px;
        font-weight: bold;
        margin-top: 3px;
    }

    .decipher-text {
        left: 30px
    }

    .separator{
        margin-top: 10px;
    }
    .avg-guesses{
        position: relative;
        top: -135px;
        left: 10px;
    }
    .share-btn{
        position: relative;
        top: -185px;
    }
    .word-btn{
        position: relative;
        top: -170px;
    }

}
@media screen and (min-width: 384px) and (max-width: 424px) {
    

    .decipher-open-image {
        width: 320px;
        height: auto;
    
    }
    
    .buttonLtr>.letter {
        top: -2px;
        width: 6vw;
        height: 6vw;
    }

    /* Fixes height for mobile, at least for Android 12 on a OnePlus 8T  */
    .cell>.letter {
        top: 3px;
    }

    #guesses {
        height: 325px;
    }

    .guess {
        height: 16.5%;
    }

    .guessesStyle {
        min-height: 110px;
    }

    .guessesStyle>.guess {
        height: 50px;
    }

    .singleGuessHeight {
        min-height: 50px;
    }

    .enterBtn,
    .deleteBtn {
        width: 100px;
        height: 35px;
        font-size: 15px;
        line-height: 32px;
        font-weight: bold;
    }

    .hintsBtn {
        width: 80px;
        height: 30px;
        font-size: 12px;
        line-height: 32px;
        font-weight: bold;
        margin-top: 3px;
    }

    .decipher-text {
        left: 30px
    }

    .separator{
        margin-top: 10px;
    }
    .avg-guesses{
        position: relative;
        top: -165px;
        left: 10px;
    }
    .share-btn{
        position: relative;
        top: -130px;
        right: -160px
    }
    .word-btn{
        position: relative;
        top: -170px;
        
    }

}
@media screen and (min-width: 425px) and (max-width: 500px) {
    .statsTitle {
        font-size: 12px;
    }
    .decipher-open-image {
        width: 360px;
        height: auto;
    
    }
    .avg-guesses{
        position: relative;
        top: -165px;
        left: 10px;
    }
    .share-btn{
        position: relative;
        top: -130px;
        right: -160px
    }
    .word-btn{
        position: relative;
        top: -170px;
        
    }

    .buttonLtr>.letter {
        top: 0 !important;
        width: 6vw;
        height: 6vw;
    }

    /* Fixes height for mobile, at least for Android 12 on a OnePlus 8T  */
    .cell>.letter {
        top: 2px;
    }

    #guesses {
        height: 370px;
    }

    .guess {
        height: 16.5%;
    }

    .guessesStyle {
        min-height: 115px;
    }

    .guessesStyle>.guess {
        height: 55px;
    }

    .singleGuessHeight {
        min-height: 58px;
    }

    .enterBtn,
    .deleteBtn{
        width: 110px;
        height: 40px;
        font-size: 17px;
        line-height: 39px;
    }

    .hintsBtn {
        width: 80px;
        height: 30px;
        font-size: 12px;
        line-height: 32px;
        font-weight: bold;
        margin-top: 3px;
    }
    #aboutScreen div:nth-child(12) {
        margin-top: 30px;
    }
    .separator{
        margin-top: 15px;
    }

}

/* if the viewport width is more than 520px */

@media screen and (min-width: 500px) {

    .statsTitle {
        font-size: 12px;
    }
    .decipher-open-image {
        width: 400px;
        height: auto;
    
    }
    .avg-guesses{
        position: relative;
        top: -165px;
        left: 10px;
    }
    .share-btn{
        position: relative;
        top: -130px;
        right: -160px
    }
    .word-btn{
        position: relative;
        top: -170px;
        
    }
    .separator{
        margin-top: 30px;
    }
    .guessesStyle {
        min-height: 115px;
    }

    .guessesStyle>.guess {
        height: 68px;
    }

    .singleGuessHeight {
        min-height: 68px;
    }

    #guesses {
        height: 385px;
    }

    .cell>.letter {
        top: 3px;
    }

    .buttons {
        position: relative;
        display: flex;
        justify-content: space-around;
        width: 35%;
        height: 52px;
        border: 1px solid #555;
        border-radius: 5px;
        background: #fff0f0;
    }

    .a-red-0 {
        top: 0;
        left: -16px;
        transform: rotate(25deg);
    }

    .a-red-1 {
        top: 0;
        left: 16px;
        transform: rotate(335deg);
    }

    .a-yellow-0 {
        top: 5px;
        left: -1px;
        transform: rotate(90deg);
    }

    .b-red-0,
    .d-red-0,
    .e-red-0,
    .f-red-0,
    .h-red-0,
    .k-red-0,
    .l-red-0,
    .n-red-0,
    .p-red-0,
    .r-red-0 {
        top: -0.5px;
        left: -10.4px;
    }

    .p-green-0,
    .r-green-0,
    .b-green-0 {
        top: -13px;
        left: 6.2px;
    }

    .b-green-1 {
        top: 13px;
        left: 6.2px;
    }

    .c-blue-0,
    .g-blue-0 {
        left: 0;
    }

    .d-blue-0 {
        left: 4.6px;
        transform: rotate(180deg);
    }

    .e-yellow-0,
    .f-yellow-0 {
        top: -20.8px;
        left: 5.2px;
        transform: rotate(90deg);
    }

    .e-yellow-1,
    .f-yellow-1,
    .h-yellow-0 {
        top: -2.6px;
        left: 5.2px;
        transform: rotate(90deg);
    }

    .e-yellow-2,
    .l-yellow-0 {
        top: 22.1px;
        left: 5.2px;
        transform: rotate(90deg);
    }

    .g-yellow-0 {
        top: 13px;
        left: 18.2px;
    }

    .h-red-1,
    .n-red-2 {
        top: 0;
        left: 23.4px;
    }

    .i-red-0 {
        top: 0;
        left: 0;
    }

    .j-yellow-0,
    .u-yellow-1 {
        top: -12px;
        left: 9.6px;
    }

    .j-green-0,
    .u-green-0 {
        top: 15px;
        left: -0.5px;
        transform: rotate(90deg);
    }

    .k-yellow-0 {
        top: -13.6px;
        left: 5.2px;
        transform: rotate(45deg);
    }

    .k-yellow-1 {
        top: 16.2px;
        left: 5.2px;
        transform: rotate(135deg);
    }

    .m-red-0,
    .w-red-0 {
        top: 0;
        left: -26px;
    }

    .m-red-1,
    .w-red-1 {
        top: 0;
        left: 26px;
    }

    .m-yellow-0,
    .y-yellow-0 {
        top: -15.6px;
        left: -13px;
        transform: rotate(135deg);
    }

    .m-yellow-1,
    .y-yellow-1 {
        top: -15.6px;
        left: 10.4px;
        transform: rotate(45deg);
    }

    .n-red-1 {
        top: 0vw;
        left: 3.9px;
        transform: rotate(155deg);
    }

    .o-blue-0 {
        left: -13px;
    }

    .o-blue-1 {
        left: 10.4px;
        transform: rotate(180deg);
    }

    .r-yellow-0 {
        top: 16.5px;
        left: 5.2px;
        transform: rotate(135deg);
    }

    .q-blue-0 {
        left: -9.1px;
        top: 9.1px;
        transform: rotate(315deg);
    }

    .q-blue-1 {
        left: 9.1px;
        top: -7.8px;
        transform: rotate(135deg);
    }

    .q-yellow-0 {
        left: 5.2px;
        top: 3.9px;
        transform: rotate(315deg);
    }

    .s-green-0 {
        top: -16px;
        left: -5.2px;
        transform: rotate(225deg);
    }

    .s-green-1 {
        top: 17px;
        left: 2.6px;
        transform: rotate(45deg);
    }

    .t-red-0 {
        top: 6.5px;
        left: 0;
    }

    .t-yellow-0 {
        top: -22.1px;
        left: -2.6px;
        transform: rotate(90deg);
    }

    .u-yellow-0 {
        top: -12px;
        left: -9px;
    }

    .v-red-0 {
        top: 0;
        left: 10.4px;
        transform: rotate(200deg);
    }

    .v-red-1 {
        top: 0;
        left: -15.6px;
        transform: rotate(160deg);
    }

    .w-yellow-0 {
        top: 15.6px;
        left: 10.4px;
        transform: rotate(135deg);
    }

    .w-yellow-1 {
        top: 15.6px;
        left: -11.7px;
        transform: rotate(45deg);
    }

    .x-yellow-0 {
        top: 15.6px;
        left: -12.48px;
        transform: rotate(45deg);
    }

    .x-yellow-1 {
        top: 15.6px;
        left: 13px;
        transform: rotate(135deg);
    }

    .x-yellow-2 {
        top: -10.4px;
        left: 14.56px;
        transform: rotate(45deg);
    }

    .x-yellow-3 {
        top: -10.4px;
        left: -14.56px;
        transform: rotate(135deg);
    }

    .y-yellow-2 {
        top: 9.1px;
        left: 0;
    }

    .z-yellow-0 {
        top: -18.2px;
        left: -7.8px;
        transform: rotate(90deg);
    }

    .z-yellow-1 {
        top: 18.2px;
        left: 5.2px;
        transform: rotate(90deg);
    }

    .z-red-0 {
        top: 0;
        left: 0;
        transform: rotate(40deg);
    }
}

