h1, h3, .hint {
    text-align: center;
}

#game-board {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.letter-box {
    border: 2px solid gray;
    border-radius: 3px;
    margin: 2px;
    font-size: 2.5rem;
    font-weight: 700;
    height: 3rem;
    width: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}

.filled-box {
    border: 2px solid black;
}

.letter-row {
    display: flex;
}

#keyboard-cont {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#keyboard-cont div {
    display: flex;
}

.second-row {
    margin: 0.5rem 0;
}

.keyboard-button {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem;
    margin: 0 2px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Anything Smaller than Large  */
@media (max-width: 480px) {
    .keyboard-button {
        font-size: 0.7rem;
        font-weight: 700;
        padding: 0.5rem;
        margin: 0 2px;
        cursor: pointer;
        text-transform: uppercase;
    }

    #keyboard-cont {
        margin: 1rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .letter-box {
        border: 2px solid gray;
        border-radius: 3px;
        margin: 2px;
        font-size: 2.5rem;
        font-weight: 700;
        height: 2rem;
        width: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
    }
}

.share-link {
    text-align: center;
    display: none;
}

.copy-btn {
    position: relative;
    background-color: #4c77af;
    border: none;
    font-size: 17px;
    color: #FFFFFF;
    padding: 7px;
    width: 133px;
    text-align: center;
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

.copy-btn:after {
    content: "";
    background: #f1f1f1;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -20px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s
}

.copy-btn:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s
}


/* modal css */
.modal-window {
    position: fixed;
    background-color: #555555db;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal-window > div {
    width: 250px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    background: white;
}

.modal-window header {
    font-weight: bold;
}

.modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
}

.modal-close {
    color: #aaa;
    line-height: 50px;
    font-size: 80%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none;
}

.modal-close:hover {
    color: black;
}

/* Demo Styles */


html {
    font-size: 18px;
    line-height: 1.4;
}

body {
    /*background-image: url("admin/upload/1 (18).jpg");*/
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-size:     cover;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}

.container {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.modal-window > div {
    border-radius: 1rem;
}

.modal-window div:not(:last-of-type) {
    /*margin-bottom: 15px;*/
}

small {
    color: lightgray;
}

.btn {
    background-color: white;
    padding: 1em 1.5em;
    border-radius: 1rem;
    text-decoration: none;
}

.btn i {
    padding-right: 0.3em;
}

/* modal content */
.bg-green-100 {
    --darkreader-bg--tw-bg-opacity: 1;
    background-color: rgb(12, 67, 38);
}

.bg-green-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(220 252 231/var(--tw-bg-opacity));
}

.rounded-full {
    border-radius: 9999px;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.flex {
    display: flex;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.text-gray-900 {
    --darkreader-text--tw-text-opacity: 1;
    color: rgb(221, 215, 204);
}

.leading-6 {
    line-height: 1.5rem;
}

.font-medium {
    font-weight: 500;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

blockquote, dd, dl, figure, hr, p, pre {
    margin: 0;
}


.font-medium {
    font-weight: 500;
}

.pt-1 {
    padding-top: 0.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.pt-5 {
    padding-top: 1.25rem;
}

.-mt-6 {
    margin-top: -1.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.justify-center {
    justify-content: center;
}

.flex {
    display: flex;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.bg-white {
    --darkreader-bg--tw-bg-opacity: 1;
    background-color: rgb(25, 26, 27);
}

.border-slate-200 {
    --darkreader-border--tw-border-opacity: 1;
    border-color: rgb(42, 56, 73);
}

.font-bold {
    font-weight: 700;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255/var(--tw-bg-opacity));
}

.border-slate-200 {
    --tw-border-opacity: 1;
    border-color: rgb(226 232 240/var(--tw-border-opacity));
}

.border-solid {
    border-style: solid;
}

.border-2 {
    border-width: 2px;
}

.rounded {
    border-radius: 0.25rem;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.w-10 {
    width: 1rem;
}

.h-10 {
    height: 1rem;
}

.flex {
    display: flex;
}

.mx-0\.5 {
    margin-left: 0.125rem;
    margin-right: 0.125rem;
}



.bg-green-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(39, 155, 78)
}

.border-slate-200 {
    --tw-border-opacity: 1;
    border-color: rgb(42, 56, 73)
}

.border-solid {
    border-style: solid;
}

.border-2 {
    border-width: 2px;
}

.rounded {
    border-radius: 0.25rem;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.flex {
    display: flex;
}

.mx-0\.5 {
    margin-left: 0.125rem;
    margin-right: 0.125rem;
}

.bg-yellow-500 {
    --darkreader-bg--tw-bg-opacity: 1;
    background-color: rgb(187, 145, 18)
}

.border-slate-200 {
    --darkreader-border--tw-border-opacity: 1;
    border-color: rgb(42, 56, 73)
}
