@font-face {
    font-family: NotoColorEmojiLimited;
    unicode-range: U+1F1E6-1F1FF;
    src: url(https://raw.githack.com/googlefonts/noto-emoji/main/fonts/NotoColorEmoji.ttf);
}

.emoji {
    font-family: 'NotoColorEmojiLimited', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol';
}

* {
    /*z-index: 0;*/
    font-family: 'Clear Sans', 'Helvetica Neue', 'Franklin Gothic Demi Cond', 'Bahnschrift', Arial, sans-serif;
    /*font-weight: 400;*/
    cursor: default;
}

body {
    color: rgba(50, 50, 50, 1);
    margin: 0;
    background-color: #ffffff;
}

.award {
    position: absolute;
    width: 7vw;
    bottom: 1vh;
    right: 1vh;
}
.award:hover {
    cursor: pointer;
}
@media all and (orientation:portrait) {
    .award {
        display: none;
    }
}

.modal-bg {
    color: rgba(50, 50, 50, 1);
    z-index: 2;
    width: 100%;
    height: 100%;
//background-color: #ffffff;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-opacity {
    color: rgba(50, 50, 50, 1);
    background-color: white;
    opacity: 75%;
    width: 100%;
    height: calc(50% + 50vh);
    z-index: 2;
    position: absolute;
    display: flex;
}

.finished-bg {
    z-index: 2;
    width: 100%;
    height: 100%;
//background-color: #ffffff;
    position: absolute;
    top: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

.blueLinkFix a {color: #FFFFFF !important; text-decoration: none;}

#mobileAd {
    display: none;
    width: 100%;
    height: 10vh;
    z-index: 4;
    flex-direction: column;
    align-items: center;
    opacity: 25%;
}

#adMobileText {
    height: 10%;
    margin-bottom: -1vh;
}

#innerAdMobile {
    background-color: lightpink;
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktopAd {
    position: absolute;
    width: 20vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media all and (orientation: portrait){
    .desktopAd {
        display: none;
    }
}

@media all and (orientation: portrait){
    #mobileAd {
        /* TODO
             FOR MOBILE ADD TO BE SHOWN, DISPLAY = FLEX
             IF MOBILE ADD SHOULD BE HIDDEN, DISPLAY = NONE */
        display: none;
    }
}

/* TODO
     FOR DESKTOP ADD TO BE SHOWN, NO DISPLAY STYLE
     IF DESKTOP ADD SHOULD BE HIDDEN, DISPLAY = NONE */
#desktopAd-left {
    background-color: rgba(255, 28, 177, 0);
    left: 5vw;
    display: none;
}
#desktopAd-right {
    background-color: rgba(32, 178, 170, 0);
    right: 5vw;
    display: none;
}

.innerAd {
    width: 70%;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#innerAdLeft {
    background-color: #ff1cb1;
}

#innerAdRight {
    background-color: lightseagreen;
}

.paragraph-one {
    color: rgba(50, 50, 50, 1);
    height: 80%;
    font-size: 1.9vh;
}

.paragraph-one-2{
    font-size: 2.5vh;
    word-wrap: normal;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .paragraph-one {
        height: 100%;
        font-size: 100%;
    }
    .paragraph-one-2{
        font-size: 100%;
    }
}

.modal-content-2 {
    background-color: #C9B458;
    color: white; !important;
    border: 2px solid #C9B458;
    font-size: 25px;
}

.modal-content {
    display: flex;
    width: 700px;
    height: 90%;
    border-radius: 4px;
    padding: 20px;
    position: relative;
    background-color: white;
    border: 2px solid #D3D6DA;
    color: rgba(50, 50, 50, 1);
}

@media screen and (min-width: 400px) and (max-width: 1079px) {
    .modal-content {
        display: flex;
        width: 700px;
        height: 70%;
        border-radius: 4px;
        padding: 20px;
        position: relative;
    }
    .paragraph-one-2{
        font-size: 2.5vh;
    }
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .modal-content {
        display: flex;
        width: 700px;
        height: 400px;
        border-radius: 4px;
        /*align-items: center;*/
        /*align is vertical, justify is horizontal*/
        /*justify-content: center;*/
        padding: 20px;
        position: relative;
    }
}

.modal-content-2 {
    display: flex;
    width: 700px;
    height: 90%;
    border-radius: 4px;
    padding: 20px;
    position: relative;
    color: white; !important;
}

@media screen and (min-width: 400px) and (max-width: 1079px) {
    .modal-content-2 {
        display: flex;
        width: 700px;
        height: 70%;
        border-radius: 4px;
        padding: 20px;
        position: relative;
    }
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .modal-content-2 {
        display: flex;
        width: 700px;
        height: 440px;
        border-radius: 4px;
        /*align-items: center;*/
        /*align is vertical, justify is horizontal*/
        /*justify-content: center;*/
        padding: 20px;
        position: relative;
    }
}

.finished-content {
    display: flex;
    width: 700px;
    height: 40%;
    background-color: white;
    border: 2px solid #D3D6DA;
    border-radius: 4px;
    padding: 20px 20px 30px 20px;
    position: relative;
    justify-content: center;
    text-align: center; !important;
    align-items: center; !important;
    align-content: center; !important;
    color: rgba(50, 50, 50, 1);
}

@media screen and (min-width: 380px) and (max-width: 1079px) {
    .finished-content {
        display: flex;
        width: 700px;
        height: 42%;
        align-content: center;
        background-color: white;
        border: 2px solid #D3D6DA;
        border-radius: 4px;
        padding: 20px 20px 30px 20px;
        position: relative;
        text-align: center; !important;
        align-items: center; !important;
        align-content: center; !important;
        color: rgba(50, 50, 50, 1);
    }
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .finished-content {
        display: flex;
        width: 400px;
        height: 185px;
        background-color: white;
        border: 2px solid #D3D6DA;
        border-radius: 4px;
        /*align-items: center;*/
        /*align is vertical, justify is horizontal*/
        /*justify-content: center;*/
        padding: 20px 20px 30px 20px;
        position: relative;
        text-align: center; !important;
        align-items: center; !important;
        align-content: center; !important;
        color: rgba(50, 50, 50, 1);
    }
}

.modal-heading {
    font-weight: 500;
    font-size: 60px;
    color: rgba(50, 50, 50, 1);
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .modal-heading {
        font-weight: 500;
        font-size: 38px;
        color: rgba(50, 50, 50, 1);
    }
}

.modal-heading-2 {
    font-weight: 500;
    font-size: 60px;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .modal-heading-2 {
        font-weight: 500;
        font-size: 50px;
    }
}

.modal-content-2 strong {
    cursor: pointer;
}

#finished-heading{
    font-weight: 500;
    font-size: 60px;
    text-align: center;
    color: rgba(50, 50, 50, 1);
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    #finished-heading {
        font-weight: 500;
        font-size: 38px;
        text-align: center;
    }
}

.finished-text {
    font-size: 200%;
    text-align: center;
    align-content: center;
    color: rgba(50, 50, 50, 1);
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .finished-text {
        font-size: 20px;
        text-align: center;
        align-content: center;
    }
}

.paragraph-one {
    line-height: 1.6;
    color: rgba(50, 50, 50, 1);
}

.modal-credits {
    position: absolute;
    bottom: 10px;
    left: 20px;
    opacity: 43%;
    line-height: .2;
    color: rgba(50, 50, 50, 1);
}

.close, .finished-close, .close-2 {
    position: absolute;
    top: 0;
    right: 14px;
    font-size: 500%;
    font-weight: 200;
    transform: rotate(45deg);
    cursor: pointer; !important;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .close, .finished-close, .close-2 {
        position: absolute;
        top: 0;
        right: 14px;
        font-size: 42px;
        font-weight: 200;
        transform: rotate(45deg);
        cursor: pointer; !important;
    }
}

.game-container {
    /*z-index: -1;*/
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@media all and (orientation: portrait){
    .game-container {
        margin-bottom: 50vh;
    }
}

h1 {
    font-weight: 800;
    font-size: 60px;
    padding: 10px;
    margin: 3px;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    h1 {
        font-weight: 800;
        font-size: 32px;
        padding: 0;
        margin: 3px;
    }
}

.title-container {
    width: 100%;
    border-bottom: solid 1px #d3d6da;
    margin-bottom: 0;
}

/* STATLE */
.heading {
    margin: 0 auto;
    text-align: center;
    width: 30%;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .heading {
        margin: 0 auto;
        text-align: center;
        width: 130px;
    }
}

/* ? */
.open {
    display: inline-block;
    float: right;
    width: 20px;
    text-align: center;
    cursor: pointer; !important;
    padding: 10px;
    font-size: 60px;
    font-weight: 800;
    margin: 0px 30px 0px 0px;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .open {
        float: right;
        width: 10px;
        text-align: center;
        cursor: pointer; !important;
        padding: 10px;
        font-size: 20px;
        font-weight: 800;
    }
}

.tile-container {
    width: 700px;
    margin-top: 2%;
    margin-bottom: 2%;
}

@media screen and (min-width: 1080px) and (max-width: 1919px) {
    .tile-container {
        width: 700px;
        margin-top: 10px;
        margin-bottom: 5px;
    }
}

@media screen and (min-width: 1920px) and (max-width: 9999px) {
    .tile-container {
        width: 700px;
        margin-top: 110px;
        margin-bottom: 107px;
    }
}

/* width 720px on 1920px display */
.key-container {
    width: 80%;
    height: 6vh;
    display: flex;
    flex-wrap: wrap;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .key-container {
        width: 720px;
        display: flex;
        flex-wrap: wrap;
    }
}

.key-container button {
    width: 100px;
    height: 100%;
    border-radius: 4px;
    border: none;
    background-color: #d3d6da;
    padding-top: 0; /*centers it a bit more vertically*/
    margin: 4px;
    font-weight: 600;
    font-size: 30px;
    cursor: pointer;
    color: #323232;
}

.individualBtn {
    color: #323232 !important;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .key-container button {
        width: 43px;
        height: 58px;
        border-radius: 4px;
        border: none;
        background-color: #d3d6da;
        padding-top: 0; /*centers it a bit more vertically*/
        margin: 4px;
        font-weight: 600;
        cursor: pointer;
        font-size: 14px;
        text-decoration: none;
        color: #323232;
    }
}

.key-container button:hover {
    background-color: #b3b6b9;
    /* nice blue 0078ef */
}
/*.key-container-grey-overlay{*/
/*    background-color: red; !important*/
/*}*/
/*.key-container-dark-red-overlay{*/
/*    background-color: #b43b3b;*/
/*    color: white;*/
/*}*/
/*.key-container-dark-green-overlay{*/
/*    background-color: #3a8f2f;*/
/*    color: white;*/
/*}*/

.key-container button:nth-child(49):hover {
    background-color: #3a8f2f;
    color: white !important;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .key-container button:nth-child(42):hover {
        background-color: #3a8f2f;
        color: white !important;
    }
    .key-container button:nth-child(49):hover {
        background-color: #b3b6b9;
        color: #323232 !important;
    }
}

.key-container button:nth-child(52):hover {
    background-color: #b43b3b;
    color: white !important;
}

.key-container button:nth-child(49) {
    width: 316px;
    background-color: #6AAA64;
    color: white;  /* only on mobile? */
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .key-container button:nth-child(42) {
        width: 316px;
        background-color: #6AAA64;
        color: white !important;
    }
    .key-container button:nth-child(49) {
        width: 43px;
        background-color: #d3d6da;
        color: #323232;  /* removed important from this color to show white text on yellow 12/31/24 */
    }
}
.key-container button:nth-child(52) {
    width: 210px;
    background-color: #d05757;
    color: white !important;
}

.key-container button:nth-child(1) {
    margin-left: 65px;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .key-container button:nth-child(42),
    .key-container button:nth-child(52) {
        width: 120px;
    }

    .key-container button:nth-child(1) {
        margin-left: 32px;
    }
}

.tile-container div {
    display: flex;
}

#line-2 {
    cursor: pointer; !important;
    text-decoration: underline;
}

.sponsored {
    border-top: solid 2px #D3D6DA;
    padding-top: 8px;
}

#line-3 {
    cursor: pointer; !important;
    color: #6AAA64;
}

#line-4 {
    cursor: pointer; !important;
    /*text-decoration: underline;*/
    color: #6AAA64;
}

.tile-container .tile {
    width: 350px;
    height: 100px;
    border: 2px solid #D3D6DA;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px 2px 2px 2px;
    padding-bottom: 5px; /*centers it a bit more vertically*/

    font-size: 38px;
    font-weight: 800;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .tile-container .tile {
        width: 350px;
        height: 62px;
        border: 2px solid #D3D6DA;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 2px 2px 2px 2px;
        padding-bottom: 5px; /*centers it a bit more vertically*/

        font-size: 38px;
        font-weight: 800;
    }
}

/*
    .tile-container .questionMark {
    width: 350px;
    height: 62px;
    border: 2px solid #d3d6da;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00ff00;
    margin: 2px 2px 2px 2px;
    }
*/

.message-container {
    position: absolute;
    align-content: center;
    top: 62px;
    z-index: 1;
    height: 30px;
}

.message-container p {
    text-align: center;
    width: 80%;
    color: white;
    background-color: #323232;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    font-size: 30px;
}

@media screen and (min-width: 1080px) and (max-width: 9999px) {
    .message-container p {
        text-align: center;
        width: 80%;
        color: white;
        background-color: #323232;
        border-radius: 10px;
        padding: 10px;
        margin: 0px;
        font-size: 16px;
    }
}

.tile.flip {
    animation: 0.6s linear flipping;
}
@keyframes flipping {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

.tile.fade {
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
    0% {
        color: rgba(50, 50, 50, 0);
    }
    100% {
        color: rgba(50, 50, 50, 1);
    }
}

.gray-overlay {
    font-weight: 600 !important;
    color: white !important;
    background-color: #787C7E !important;
    border: none !important;
}

.yellow-overlay {
    font-weight: 600 !important;
    color: white !important;
    background-color: #C9B458 !important;
    border: none !important;
}

.green-overlay {
    font-weight: 600 !important;
    color: white !important;
    background-color: #6AAA64 !important;
    border: none !important;
}