body {
    background-color: rgb(66, 49, 129);
    color: white;
}

p {
    color: white;
    letter-spacing: 17px;
}

#winings {
    display: flex;
    justify-content: flex-end;
}

#wrong-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.margin-right {
    margin-right: 15px;
}

.imgCorner {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#animeImage {
    object-fit: contain;
    height: 600px;
    width: 800px;
}

#keyboard {
    position: absolute;
    bottom: 5vw;
    display: none;
    flex-wrap: wrap;
}

.key-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.key {
    width: 4vw;
    height: 4vw;
    padding: 1px;
    margin: 4vw 4.5vw 5vw 1vw;
}

div.key>span {
    display: block;
    width: 8vw;
    height: 10vw;
    border: 1px solid #fff;
    border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    -webkit-border-radius: 2px 2px 2px 2px;
    font-size: 6vw;
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    text-align: center;
    color: #fff;
    -webkit-box-shadow: 0px 3px 0px -2px rgba(255, 255, 255, 1), 0px 2px 0px 0px rgba(169, 169, 169, 1);
    -moz-box-shadow: 0px 3px 0px -2px rgba(255, 255, 255, 1), 0px 2px 0px 0px rgba(169, 169, 169, 1);
    box-shadow: 0px 3px 0px -2px rgba(255, 255, 255, 1), 0px 2px 0px 0px rgba(169, 169, 169, 1);
    cursor: pointer;
}

div.key>span:hover {
    background-color: rgb(116, 79, 248);
    border: 1px solid rgb(92, 63, 197);
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 3px 0px -2px rgba(116, 79, 248, 1), 0px 2px 0px 0px rgba(92, 63, 197, 1);
    -moz-box-shadow: 0px 3px 0px -2px rgba(116, 79, 248, 1), 0px 2px 0px 0px rgba(92, 63, 197, 1);
    box-shadow: 0px 3px 0px -2px rgba(116, 79, 248, 1), 0px 2px 0px 0px rgba(92, 63, 197, 1);
    cursor: pointer;
}

div.key>span:active {
    margin-top: 2px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 500px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.7);
    ;
    display: flex;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

#modal-text {
    color: black;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

.close {
    color: #000000;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 5px;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 990px) {
    /* #theWord {
        font-size: 1.75rem;
    }  */
}

@media (max-width: 450px) {
    #keyboard {
        display: flex;
    }
    .imgCorner {
        justify-content: center;
    }
    .modal {
        padding-top: 400px;
    }
    #modal-text {
        font-size: 5vw;
    }
}