@import url("../assets/keyboard.css?version=15");

input {
    text-transform: capitalize;
}

.error::placeholder {
    color: red;
}

.error {
    border-color: red !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-1px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(1px);
    }
}


.flip {
    transform: rotateX(180deg);
    animation: flip 0.8s forwards;
    transform-style: preserve-3d;
    perspective: 1000px;
    color: var(--background-color);
}

@keyframes flip {
    0% {
        transform: rotateX(180deg);
    }

    100% {
        transform: rotateX(0deg);
        color: var(--black);
    }
}

.word {
    position: relative;
    margin: auto;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    background: transparent;
    /* font-weight: 700; */
    margin-bottom: 10px;
    text-transform: capitalize;
    border: 2px solid var(--border-color);
}

.secretword {
    background: #58a351 !important;
    color: white !important;
    font-weight: 600;
    border-color: transparent !important;
}

.logo {
    background: var(--background-color);
}

/* Modifications to standards for this game */

#advertBox {
    top: 10px;
}

.pageContainer {
    padding: 10px;
}

.pageContainer {
    padding-bottom: 20px !important;
}

.keyboard {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 500px;
    z-index: 5;
}