* {
    font-family: 'Silkscreen', cursive;
}

body h1 {
    font-size: 40px;
    padding: 40px 0 20px;
    color: #565656;
    letter-spacing: -3px;
}

.bg {
    background: url(../images/floor.jpg);
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    opacity: .2;
}

/* body::after {
    content: '';
    background: url('../images/floor.jpg');
    background-attachment: fixed;
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
} */

body nav p {
    padding: 20px 40px 0;
    font-family: 'Silkscreen', cursive;
    font-size: 30px;
    letter-spacing: -4px;
    color: #67727D;
}

main {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.hide {
    display: none !important;
}

.flex {
    display: flex;
}

.f-column {
    flex-direction: column;
}

button:hover {
    cursor: pointer;
}

#head {
    justify-content: center;
    width: 383px;
    height: 300px;
    position: relative;
}

#gallows {
    width: 300px;
    position: absolute;
}

#doll {
    width: 210px;
    position: absolute;
    top: 45px;
    right: 0px;
}

#letters {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    font-size: 40px;
    padding: 30px 0;
}

.letter {
    border-bottom: solid 5px #565656;
    padding: 0 10px;
    margin: 0 10px;
    color: #565656;
}

#category {
    padding: 10px 30px;
    border: dashed 2px rgba(0, 0, 0, .1);
    border-radius: 10px;
    margin: 10px 0;
    text-align: center;
    border-top: none;
    position: relative;
}

#category span {
    font-size: 13px;
    position: absolute;
    top: -5px;
    left: 10px;
    color: goldenrod;
}

#wrongLetters {
    font-size: 14px;
    padding: 7px 0;
    color: red;
    align-items: center;
}

#wrongLetters span{
    font-size: 20px;
    color: black;
    padding-left: 10px;
}

#keyboard {
    border: dashed 2px rgba(0, 0, 0, .1);
    padding: 10px;
    border-radius: 10px;
}

.key {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

.key button {
    width: 32px;
    height: 30px;
    font-size: 18px;
    margin: 3px;
    background-color: white;
    border-radius: 5px;
    border: solid 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.key button:hover {
    transform: scale(1.1);
    background-color: #67727D;
    color: white;
}

#giveupBtns {
    padding-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#giveupBtns button {
    width: 318px;
    height: 67px;
    border: solid 1px #ccc;
    border-radius: 10px;
    font-size: 13px;
    background-color: #F5F5F5;
}

#mainBtns {
    padding-top: 50px;
    flex-wrap: wrap;
    gap: 8px;
}

#mainBtns button {
    width: 318px;
    height: 105px;
    background-color: transparent;
    border: solid 1px #565656;
    border-radius: 24px;
    font-size: 16px;
    color: #565656;
}

#startBtn {
    background-color: #E0E0E0 !important;
}

.disabledBtn {
    color: white;
    pointer-events: none;
}

#newWord {
    align-items: center;
    /* justify-content: center; */
    gap: 10px;
}

#newWord i {
    font-size: 22px;
    color: red;
}

#newWordTxtArea {
    padding-top: 50px;
    resize: none;
    width: 500px;
    height: 500px;
    background: transparent;
    border: none;
    font-size: 30px;
    outline: none;
}

.warnings {
    gap: 10px;
}

.newWordBtns {
    flex-wrap: wrap;
    margin: 20px 0 0;
    justify-content: center;
    gap: 8px;
}

.newWordBtns button {
    width: 318px;
    height: 67px;
    border: solid 1px #565656;
    border-radius: 10px;
    font-size: 13px;
}

footer {
    padding: 30px 0;
    font-family: 'Silkscreen', cursive;
    font-size: 10px;
    justify-content: center;
}

footer p {
    align-items: center;
}

footer a {
    color: black;
    text-decoration: none;
}

footer img {
    width: 30px;
    border-radius: 50px;
    margin: 0 3px;
}
