* {
    font-family: 'League Spartan', sans-serif;
    box-sizing: border-box;
    --swiper-theme-color: #000;
    --swiper-navigation-size: 30px;
}

.beta {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    background: #333;
    color: white;
    border: none;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 2px 2px;
    border-radius: 100px;
    font-weight: bolder;
}

body {
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    align-self: flex-start;
    margin-left: 10px;
}

.header img {
    height: 40px;
    margin-right: 10px;
}

.header h1 {
    font-size: 24px;
    margin: 0;
    color: #333;
}

.game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding-bottom: 10px;
    min-height: 90vh;
    box-sizing: border-box;
}

.level-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.level-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.level-title.easy {
    color: #4CAF50;
}

.level-title.medium {
    color: #FFC107;
}

.level-title.hard {
    color: #f44336;
}

.level-dots {
    display: flex;
    justify-content: center;
}

.level-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
}

.level-dot.active {
    background-color: #4CAF50;
}

.level-dot.completed {
    background-color: #4CAF50;
}

.level-dot.active.incomplete {
    background-color: #f44336;
}

.puzzle-image {
    max-width: 100%;
    max-height: 100%;
    /* min-height: 200px; */
    height: auto;
    margin-bottom: 0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.puzzle-image.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.puzzle-image.active.no-animation {
    animation: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.answer-box {
    width: 100%;
    max-width: 400px;
    height: 45px;
    margin-bottom: 0;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid #000;
    border-radius: 6px;
    outline: none;
    padding: 5px 10px;
    caret-color: #333;
    transition: all 0.3s ease;
    margin-top: 1vh;
    /* margin-top: calc((70vh - 500px) / 8); */
}

.answer-box.correct {
    border-color: #4CAF50;
    animation: pulse 0.5s ease;
}

.correct-no-animation {
    border-color: #4CAF50;
}

.answer-box.incorrect {
    animation: shake 0.5s, flashRed 0.5s;
}

.answer-box.incorrect-no-animation {
    border-color: #ff9999;
}

.answer-box.shrink {
    font-size: calc(16px - (0.1px * var(--excess-chars)));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes flashRed {

    0%,
    100% {
        border-color: #000;
    }

    50% {
        border-color: #ff9999;
    }
}

.action-buttons {
    width: 96%;
    display: flex;
    align-self: center;
    justify-content: center;
}

.hint-button {
    background-color: #FFC107;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    /* margin-bottom: 10px; */
    font-weight: bold;
    width: 160px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 2vh 5px;
    /* height: 40px; */
    height: 6vh;
    max-height: 60px;
    min-height: 33px;
}

.hint-button:hover {
    background-color: #FFD54F;
}

.hint-button:focus-visible {
    outline: 2px solid #FFD54F;
}

.hint-button:active,
.reveal-button:active {
    transform: scale(0.98);
}

.hint-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Keyboard Styles */
.keyboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    margin-bottom: 30px;
    width: 100%;
    max-width: 600px;
    height: 35vh;
    max-height: 315px;
}

.keyboard-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0.4px 0;
    height: 25%;
}

.keyboard-layout {
    width: 400px;
    height: 100%;
}

.key {
    /* width: 40px; */
    width: 10%;
    /* height: 55px; */
    height: 100%;
    margin: 0 0.4px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: white;
    border: 2px solid #c9c9c9;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: all 0.1s ease;
    touch-action: manipulation;
}

.key-wide {
    /* width: 72px; */
    width: calc(100% / 6);
    font-size: 16px;
}

.key-toggle {
    width: 50px;
    height: 100%;
    /* margin-top: 8px;
    margin-left: 5px;
    margin-right: 5px; */
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: white;
    border: 2px solid #c9c9c9;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: all 0.1s ease;
    touch-action: manipulation;
    margin: 0 0.4px;
    margin-top: 2px;
    min-height: 40px;
}

.key:active,
.key-toggle:active {
    transform: scale(0.95);
    background-color: #f0f0f0;
}

.key-submit {
    background-color: #4CAF50;
    color: white;
    border-color: #388E3C;
}

.key-submit:active {
    background-color: #3e8e41;
}

.key-delete {
    background-color: #f44336;
    color: white;
    border-color: #D32F2F;
}

.key-delete:active {
    background-color: #d32f2f;
}

.space-bar {
    width: 240px;
    height: 100%;
    margin-top: 2px;
    font-size: 19px;
    background-color: white;
    border: 2px solid #c9c9c9;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    touch-action: manipulation;
    transition: all 0.1s ease;
    min-height: 40px;
}

.space-bar:active {
    transform: scale(0.95);
    background-color: #f0f0f0;
}

.block {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(67, 67, 67);
    z-index: 205;
    justify-content: center;
    align-items: center;
    /* white-space: pre-wrap; */
    text-align: center;
}

.rotate {
    display: none;
    ;
}

.hint-close.cancel {
    background-color: gray;
    font-weight: bold;
}

.hint-close.cancel:hover {
    background-color: rgb(154, 154, 154);
}

.ays-title {
    margin-bottom: 0px;
    margin-top: 10px;
}

.hint-close.confirm-quit {
    background-color: #f44336;
    font-weight: bold;
}

.hint-close.confirm-quit:hover {
    background-color: #ff6b60;
}

@media (max-height: 500px) and (max-width: 600px) {
    .block {
        display: flex;
    }

    @media (min-width: 500px) {
        .rotate {
            display: flex;
        }
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    width: 380px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.modal-content .htp-content {
    padding: 15px;
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.hints-swiper-container {
    width: 100%;
    height: 100%;
    /* margin-bottom: 20px; */
}


.modal h2 {
    color: #4CAF50;
    margin-top: 0;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal .htp-header {
    margin-top: 10px;
    font-size: 1.5rem;
    text-align: center;
}

.modal p {
    font-size: 1rem;
    margin-top: 0;
    /* margin-bottom: 20px; */
    color: #555;
}

.quit-x {
    color: rgb(244, 67, 54);
    font-size: 20px;
    font-weight: bolder;
    width: 14px;
    height: 19.2px;
}

.fa-star {
    color: #ffcb00;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    width: 20px;
    height: 20px;
    z-index: 1000;
}

.close-button:hover {
    color: #ccc;
}

.help-button:hover {
    /* color: #ccc; */
    background-color: #FFD54F;
}

.help-button {
    align-self: end;
    text-align: center;
    position: absolute;
    margin: 0;
    background: #FFC107;
    border-radius: 50%;
    /* padding: 3px; */
    width: 29px;
    height: 29px;
}

.help-text {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 18px;
    padding: 5px 0;
}

.star-container {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: float 2s ease-in-out infinite;
}

.how-to-play-all {
    padding-bottom: 40px;
}

.how-to-play {
    text-align: left;
    padding: 5px;
    height: 100%;
    flex-direction: column;
}

.spawn-letter {
    color: #4CAF50;
}

.spawn-title {
    font-size: 1.3rem;
}

.htp-swiper-wrapper {
    width: 100%;
    height: 100%;
    flex-direction: row;
    display: flex;
}

.htp-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    text-align: left;
    /* overflow-y: auto; */
    height: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

/* .htp-slide .how-to-play {
    max-width: 100%;
} */

/* .htp-slide img.puzzle-image {
    max-width: 100%;
    max-height: 200px;
    margin: 10px auto;
} */

.htp-content {
    height: 80%;
    min-height: 437px;
    display: flex;
    flex-direction: column;
    max-height: 565px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stats {
    margin: 20px 0;
    text-align: left;
    font-size: 1rem;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.stats div {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.stats strong {
    color: #333;
}

.countdown {
    font-size: 1rem;
}

.modal-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 120px;
    height: 39px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.share-modal {
    width: 50px;
    /* height: 39.2px; */
    padding: 0;
}

.modal-button:hover {
    background-color: #3e8e41;
}

.modal-button:active {
    transform: scale(0.98);
}

.modal-button:focus-visible {
    outline: 2px solid #3e8e41;
}

.home-opt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

/* Hint Modal */
.hint-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.hint-modal.show {
    display: flex;
    opacity: 1;
}

.hint-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    width: 320px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hint-modal.show .hint-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.hint-slide {
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

.hint-text {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: center;
}

.htp-modal {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.htp-swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    /* margin-top: 15px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style for pagination bullets */
.htp-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 4px !important;
}

.htp-swiper-pagination .swiper-pagination-bullet-active {
    background: #4CAF50;
}

/* Style for navigation buttons */
/* .htp-swiper-button-next::after,
.htp-swiper-button-prev::after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
} */

.htp-swiper-button-next,
.htp-swiper-button-prev {
    transition: opacity 0.3s ease;
}

/* .htp-swiper-button-prev::after,
.htp-swiper-rtl .swiper-button-next::after {
    content: 'prev';
} */

.htp-swiper-button-prev {
    left: 10px;
}

/* .htp-swiper-button-next::after,
.htp-swiper-rtl .swiper-button-prev::after {
    content: 'next';
} */

.htp-swiper-button-next {
    right: 10px;
}

/* Make sure the container has enough space */
.htp-swiper-container {
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

/* .htp-swiper-button-prev,
.htp-swiper-button-next,
.htp-swiper-pagination {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
} */

.hint-pagination {
    position: relative;
    margin-top: 10px;
    bottom: auto !important;
}

.hint-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 4px !important;
}

.hint-pagination .swiper-pagination-bullet-active {
    background: #4CAF50;
}

.hint-counter {
    font-weight: bold;
    color: #FFC107;
    margin: 10px 0;
    font-size: 1rem;
}

.hint-close {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 120px;
    align-self: center;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.hint-close:hover {
    background-color: #3e8e41;
}

.hint-close:active {
    transform: scale(0.98);
}

.swiper {
    width: 320px;
    height: 260px;
    max-width: 288px;
    max-height: 230px;
    display: flex;
    justify-content: center;
}

.img-slide {
    padding: 5% 15%;
    width: fit-content;
    /* min-width: 196px; */
    /* min-height: 196px; */
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0%;
}

.swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 0);
    left: auto;
}

.swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 0);
    right: auto;
}

.hint-button-prev,
.hint-button-next {
    width: 30px;
    height: 30px;
    z-index: 10;
    transition: all 0.3s ease;
}

.hint-button-prev {
    margin-left: 1%;
}

.hint-button-next {
    margin-right: 1%;
}

.hint-button.reveal-button {
    background-color: #f44336;
    color: white;
    /* border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    width: 160px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 40px; */
    /* margin: calc((80vh - 500px) / 8) 0; */
    /* Adjust 500px based on fixed heights */
}

.reveal-button:hover {
    background-color: #ff6b60;
}

.play-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    margin-top: 15px;
    /* Reduced from 20px */
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

#cookie-popup {
    position: fixed;
    bottom: -200px;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 2s ease-out;
    z-index: 1000;
}

#cookie-popup p {
    margin: 0;
    font-size: 1.2rem;
}

#cookie-popup button {
    margin-top: 10px;
    border: none;
    padding: 10px 20px;
    font-size: large;
    cursor: pointer;
}

.cookie-popup-show {
    bottom: 0 !important;
}

.cookie-popup-hide {
    bottom: -200px !important;
}

/* Responsive Adjustments */
/* @media (max-height: 700px) {
    .puzzle-image {
        max-height: 200px;
    }
} */

@media (max-height: 720px) {
    .header img {
        height: 32px;
    }

    .header h1 {
        font-size: 21px;
    }

    .help-button {
        width: 26px;
        height: 26px;
    }

    .help-text {
        font-size: 16px;
        width: 16px;
    }
}

@media (max-height: 600px) {
    /* .puzzle-image {
        max-height: 180px;
    } */

    .swiper {
        height: auto;
        width: 175px;
    }

    /* .key,
    .space-bar,
    .key-toggle {
        height: 38px;
    } */

    /* .hint-button {
        margin: 10px;
    } */
}

@media (max-height: 650px) {
    .htp-content {
        padding: 20px;
        min-height: 480px;
    }
}

@media (max-width: 400px) {
    .answer-box {
        height: 42px;
        font-size: 18px;
    }

    .keyboard-layout {
        width: 105%;
    }

    .level-title {
        font-size: 1rem;
    }
}

@media (min-height: 900px) {
    /* .hint-button {
        margin: calc((70vh - 500px) / 4) 0;
    } */

    .game-area {
        margin: auto;
    }
}

@media (min-height: 600px) {
    .level-indicator {
        margin-bottom: 5px;
    }
}

@media (max-width:450px) and (min-height: 760px) {
    .swiper {
        width: 94vw;
        height: auto;
    }
}

@media (max-width: 305px) {

    .hint-button,
    .reveal-button {
        width: 110px;
        padding: 8px 10px;
    }
}

@media (max-height: 760px) {
    .swiper {
        /* height: calc(100px + 30%);
        width: calc(100px + 30%); */
        height: auto;
        width: 41vh;
    }

    /* .htp-content {
        padding: 20px;
    } */

    /* .htp-slide p {
        font-size: 0.8rem;
    } */
}

@media (max-height: 700px) {

    /* .hint-button,
    .reveal-button {
        margin: 10px 0;
    } */

    .level-title {
        margin-bottom: 6px;
    }

    .level-dot {
        height: 10px;
        width: 10px;
    }

    .img-slide {
        padding: 1% 15%;
    }

    /* .answer-box {
        margin-top: 5px;
    } */

    .htp-slide p {
        font-size: 0.9rem;
    }
}

@media (max-height: 700px) {
    /* .key {
        width: 30px;
        height: 40px;
    } */

    /* .key-wide {
        width: 60px;
    } */
}

@media (max-height: 620px) {
    .hint-button {
        margin: 1vh 5px;
    }
}

/* @media (max-width: 600px) AND (min-height: 700px) {
    .keyboard {
        padding: 0 4px;
    }
}

@media (max-width: 400px) {
    .keyboard {
        padding: 0 3px;
    } */

/* .key {
        width: 34px;
        height: 44px;
        font-size: 15px;
    } */

/* .key-wide {
        width: 55px;
    } */


/* .space-bar {
        width: 200px;
        height: 44px;
    } */
/* } */

@media (max-width: 375px) {
    .key-wide {
        font-size: 15px;
    }
}

@media (max-width: 365px) {
    .modal h2 {
        color: #4CAF50;
        margin-top: 0;
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .modal .htp-header {
        margin-top: 5px;
        font-size: 1.5rem;
    }
}

@media (max-width: 390px) {
    .how-to-play {
        padding: 0;
    }
}

@media (max-width: 360px) {
    .hint-button {
        width: 155px;
    }
}

/* @media (max-width: 350px) {
    .keyboard {
        padding: 0 2px;
    } */

/* .key {
        width: 30px;
        height: 40px;
        font-size: 14px;
    } */

/* .key-wide {
        width: 50px;
    } */


/* .space-bar {
        width: 190px;
        height: 42px;
    } */

/* .keyboard-row {
        margin-bottom: 2px;
    } */
/* } */

@media (max-width: 340px) {
    .hint-button {
        font-size: 15px;
        width: 145px;
    }
}

@media (max-width: 315px) {
    .key-wide {
        font-size: 14px;
    }
}

@media (max-width: 255px) {
    .hint-button {
        font-size: 12px;
    }
}

@media (max-width: 227px) {
    .htp-content {
        padding: 30px 15px;
    }
}

@media (max-width: 316px) {
    .htp-content {
        padding: 20px;
    }
}

@media (max-width: 325px) {
    .htp-slide p {
        font-size: 0.9rem;
    }

    .htp-content {
        min-height: 525px;
    }
}

@media (max-width: 288px) {
    .htp-content {
        padding: 15px 10px;
    }
}

@media (max-width: 280px) {
    .htp-slide {
        padding: 10px 30px;
    }
}

@media (max-width: 267px) {
    .hint-button {
        font-size: 14px;
    }
}

@media (max-width: 260px) {
    .htp-slide p {
        font-size: 1rem;
    }
}

@media (max-width: 236px) {
    .htp-slide {
        padding: 5px 25px;
    }
}

/* @media (min-height: 1000px) {

    .answer-box {
        margin-top: 45px;
    }
} */

@media only screen and (orientation:landscape) {
    .swiper {
        width: 50vh;
    }

    .key {
        min-height: 40px;
    }

    .keyboard {
        /* height: 40vh; */
        min-height: 165px;
    }

    .space-bar,
    .key-toggle {
        margin-top: 2px;
    }
}