body {
    background-color: #FFF5E8;
    font-size: 1.3rem; /* 30% bigger font size */
    color: #3e3F3f;
    overflow-x: hidden;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
}

.bi-keyboard-size {
    font-size: 1.5em; /* 2em will scale the icon to twice its size */
}


.modal .modal-body {
    font-size: 1rem;  /* Adjust as needed */
}

#helpModal .modal-content {
    background-color: #FFF5E8;
}

#helpModal .color-correct {
    background-color: #FF9900;
    border: 1px solid #3e3F3f;
    margin: 5px 0;
    text-align: center;
    padding: 10px;
}

#helpModal .color-missplaced {
    background-color: #9BBEE6;
    border: 1px solid #3e3F3f;
    margin: 5px 0;
    text-align: center;
    padding: 10px;
}

#helpModal .color-notappearing {
    background-color: #fcdfba;
    border: 1px solid #3e3F3f;
    margin: 5px 0;
    text-align: center;
    padding: 10px;
}

.bi-lightbulb-fill, .bi-flag-fill {
    color: white;
}

#wordle-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.wordle-row {
    display: flex;
}

.wordle-cell {
    width: 50px;
    height: 50px;
    border: 1px solid #3e3f3f;
    margin: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    text-transform: uppercase;
    border-radius: 5px; 
}

.wordle-cell-next {
    box-shadow: 2px 2px 2px -1px rgba(0,0,0,1);
}

.cell-hint {
    transition: background-color 1s ease;
}

.cell-reveal {
    background-color: #FF9900 !important; 
    /*color: #FDEAD2;*/
}

.permanent-hint {
    background-color: #FF9900 !important; /* Your chosen hint color */
    /*background-color: #ffb84d !important; /* Your chosen hint color */
    /*color: #FDEAD2;*/
}


/* Mobile styles: fixed at the bottom */
.simple-keyboard {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it's above other content */
}

/* The container for the keyboard */
.seedle39-keyboard, .simple-keyboard {
    background-color: #FFF5E8 !important;
}

/* The style for each key */
.seedle39-keyboard .hg-button {
    background-color: #FDEAD2;
    color: #3e3f3f;
    border-radius: 1px;
    margin: 0px;
    font-size: 1rem; /* Larger font size for visibility */
}

/* The style for the active key (when pressed) */
.seedle39-keyboard .hg-button:active {
    background-color: #FF9900 !important;
}

/* The style for special keys like 'ENTER' and 'Backspace' */
.seedle39-keyboard .hg-button.hg-red {
    /*background-color: #FF9900;*/
}

.hg-theme-default .hg-button {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    align-items: center;
    background: #FDEAD2;
    color: #3e3f3f;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    height: 35px;
    justify-content: center;
    padding: 1px;
}

.hg-correct-char {
    background-color: #FF9900 !important; 
}

.hg-misplaced-char {
    background-color: #9BBEE6 !important; 
}

.hg-wrong-char {
    background-color: #fcdfba !important; 
}

#resetCol {
    display: none;
    /* other styles */
}


.lizzy-darkblue {
    color: #446799;
}

.lizzy-darkblue-bg {
    color: #446799;
}

a {
    color: #446799;
}

a:hover {
    color: #446799;
}

.footer-link {
    font-size: 0.9rem;
    color: #3e3F3f;
    ;
}

.footer-link:hover {
    text-decoration: none;
    color: #3e3F3f;
}



#toastMessage {
    background-color: #FF9900;
}

.bitcoin {
    color: #FF9900;
}

.toast-body {
    font-size: 1.3em;
}




@keyframes shake {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(-9px);
    }
    20% {
        transform: translateX(9px);
    }
    30% {
        transform: translateX(-9px);
    }
    40% {
        transform: translateX(9px);
    }
    50% {
        transform: translateX(0);
    }

}

.shake-animation {
    animation: shake 1s;
}

.popup-image {
    position: fixed;
    right: 0px; /* Adjust the spacing to your preference */
    bottom: -30px; /* Adjust the spacing to your preference */
    z-index: 9999; /* Ensure it's above other items */
    display: none; /* Hide it initially */
    width: 300px;
}
.hint-btn {
    background-color: #FF9900;
    border-color: #FF9900;
    color: white;
}

.hint-btn.active,
.hint-btn:active, .hint-btn:focus {
    background-color: #FF9900;
    border-color: #FF9900;
    color: #ffffff;
}

.hint-btn:hover
 {
    background-color: #b36b00;
    border-color: #b36b00;
    color: #ffffff;
}

.hint-btn:disabled {
    background-color: #fdead2;
    border-color: #fdead2;
    color: white;
}

/*.share-btn {
    background-color: #446799;
    border-color: #446799;
    color: white;
}*/


@keyframes growAndBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(2);
    }
}

.bounce-effect {
    animation: growAndBounce 2s ease-in-out;
}




@media(max-width: 400px){
    .modal .modal-body {
        font-size: 0.8rem;
    }

}

@media (max-width: 400px) {

    .hg-theme-default .hg-button {
        height: 55px;
    }

    .wordle-cell {
        width: 40px;
        height: 40px;
    }

    .hsize {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hsize {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .hsize {
        font-size: 1rem;
    }
    .popup-image {
        width: 450px;
    }
}


/* Large screens: 3 columns wide under a specific row */
@media (min-width: 992px) { /* Adjust the min-width according to Bootstrap's 'lg' breakpoint */
    .simple-keyboard {
        position: static; /* Reset position */
        width: auto; /* Reset width */
        max-width: none; /* Ensure it can take the necessary space */
    }

    .hg-theme-default .hg-button {
        height: 75px;
    }

    /* Assuming .simple-keyboard is a direct child of the container which has the buttons */
    .container > .row + .simple-keyboard {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Adjust accordingly if it's not 3 columns */
        /* Align the keyboard under the buttons row */
        position: relative;
        bottom: auto;
        left: auto;
        z-index: auto; /* Reset z-index */
    }

    .wordle-cell {
        width: 70px;
        height: 70px;
       
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.8em;
    }

    h1 {
        font-family: 'Playfair Display', serif;
        font-size: 1.8em;
    }

    .popup-image {
        width: 600px;
    }

}


/* For screens with limited height, such as MacBook Air */
@media screen and (max-height: 800px) { /* Adjust max-height as needed */
    /* Adjust the height of the keyboard buttons for smaller heights */
    .hg-theme-default .hg-button {
        height: 45px; /* Smaller height */
        /* Additional styles as needed */
    }

    /* Adjust the wordle cells for smaller heights if needed */
    .wordle-cell {
        width: 40px; /* Adjust width if needed */
        height: 40px; /* Smaller height */
        font-size: 1em; /* Adjust font size as needed */
    }

    /* Any other adjustments for smaller heights can go here */
}

/* Media query for iPhone SE 2nd generation */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 667px) 
  and (-webkit-device-pixel-ratio: 2)
  and (orientation: portrait) {

    .hg-theme-default .hg-button {
        height: 45px; 
    }

    .wordle-cell {
        width: 30px; 
        height: 30px; 
        font-size: 1em; 
    }
}


/* iPhone 12 mini and larger devices in portrait */
@media only screen 
  and (min-device-width: 360px)
  and (-webkit-device-pixel-ratio: 3) {

    .hg-theme-default .hg-button {
        height: 55px; /* Adjust as needed */
    }

    .wordle-cell {
        width: 38px; /* Adjust as needed */
        height: 38px; /* Adjust as needed */
        font-size: 1.2em; /* Adjust as needed */
    }
}


