* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* < !-- <img src="https: //images.pexels.com/photos/5908695/pexels-photo-5908695.jpeg?auto=compress&cs=tinysrgb&w=600"
 alt="" srcset="">--> */

.main-container {
    height: 100%;
    max-width: 50vw;
    margin: 0 auto;
    margin-top: 1rem;
    border: 0.5px solid #00a6ed;
    /* background-color: #00a6ed; */
    background-image: url("Words-Puzz.jpg");
    background-color: transparent;
    background-size: cover;
    background-position: center;
}

header {
    border-radius: 5px;
    box-shadow: inset 1px 3px 5px #e6e6e6,
        inset -5px -9px 3px #e9e9e95c;
    padding: 2rem;

}

header>button {
    float: right;
    border: 1px solid red;
}

/* header>span {
    position: relative;
    left: 1rem;
} */

.logo {
    border: 1px solid #00a6ed;
    display: inline;
    padding: 0.5rem;
    width: 20%;
    border-radius: 5px;
    /* background: #faf8f881; */
    background: #fff;
    box-shadow: inset 2px 5px 5px #00a6ed,
        inset -5px -9px 3px #756a6a00;
    text-shadow: 0.1px 1px #00a6ed;
}

.body-container {
    padding: 0.5rem;
    width: 100%;
    display: flex;
    margin-top: 2rem;
    margin-bottom: 1rem;
    justify-content: space-between;
    /* border: 1px solid rgb(0, 0, 0); */
    /* align-items: flex-start; */

}

span {
    font-size: small;
    /* border: 1px solid rgb(0, 0, 0); */
    position: relative;
    bottom: .10rem;

}

.score-board {
    border: 1px solid rgb(0, 0, 0);
    padding: 0.2em;
    width: 25%;
    border-radius: 5px;
    color: #000000;
    text-shadow: 1px 0.1px #00a6ed;
}

.score-board>h2 {
    border-radius: 4px;
    background: #fff;
    box-shadow: inset 2px 5px 5px #00a6ed,
        inset -5px -9px 3px #756a6a00;

}

.categories-section {
    /* border: 1px solid black; */
    /* padding-top: 0; */
    padding: 0.2em;
    border: 1px solid rgb(0, 0, 0);
    /* height: 50px; */
    width: 150px;
    border-radius: 5px;
    text-align: center;
    color: #00a6ed;
    text-shadow: 0.1px 1px #000000;
    font-weight: bolder;
}

#categoryText {
    padding: 0.2em;
    border-radius: 5px;
    background: #fff;
    box-shadow: inset 2px 5px 5px #00a6ed,
        inset -5px -9px 3px #756a6a00;
    text-shadow: 0.1px 1px #00a6ed;
    font-size: larger;
    color: #000000;
}

.lives-section {
    padding: 0.2em;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    text-align: end;
    color: #00a6ed;
    text-shadow: 0.1px 1px #000000;
}

.fa-regular,
.fa-solid {
    color: red;
}

.lives-section>div {
    border-radius: 5px;
    text-shadow: 1px 0.1px #000000;
    background-color: #fff;
    box-shadow: inset 2px 5px 5px #00a6ed,
        inset -5px -9px 3px #ffffff;
    padding: 0.2em;
    font-size: larger;

}

.input-body-container>.input-section {
    height: 10%;
    display: flex;
    justify-content: center;
}

.input-section>div {
    border: 1px solid rgb(0, 0, 0);
    height: 50px;
    width: 50px;
    border-radius: 5px;
    text-align: center;
    margin: 0.2em;
    border: 5px solid #00a6ed;
    text-shadow: 2px 1px #00a6ed;
    color: #000000;
    background-color: rgb(255, 255, 255);
    transform: scale(1.05) translate(0, -0.15rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.35);

}

/* disabled button styling */
.greenDisabled {
    cursor: not-allowed;
    background-color: rgb(214, 255, 160);
    border: 5px solid rgb(255, 255, 255);

}

.redDisabled {
    cursor: not-allowed;
    background-color: rgb(250, 93, 93);
    border: 5px solid rgb(255, 255, 255);

}

.disabled {
    font-size: 1rem;
    color: rgb(92, 92, 92);
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0.1rem 0.1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translate(1) translate(0, 0);
    transition: transform 225ms, box-shadow 225ms;
}

.wordanas {
    position: relative;
    transition: 0.7s;
}

.wordanas::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    bottom: 1px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #00a6ed;
    /* border: 1px solid black; */
}

.input-section {
    width: 100%;
    text-align: center;
    padding: 1rem;
border: 0.5px solid #00a6ed;
    box-shadow: inset 2px 5px 19px #ffffff,
        inset -5px -9px 3px #f2ebeb00;
}

.word-typing-section {
    padding: 0.5em;
    margin-top: 1rem;
    /* border: 3px solid rgb(220, 0, 0); */
    position: relative;
    background-image: url("https: //images.pexels.com/photos/5908695/pexels-photo-5908695.jpeg?auto=compress&cs=tinysrgb&w=600");
    text-align: center;
    box-shadow: inset 0px 1px 11px #cacaca,
        inset -5px -9px 0px #ffffffd4;
}

.alphabet-buttons {
    /* border: none; */
    border: 5px solid #fff;
    /* padding: 15px; */
    background-color: #00a6ed;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 2px 1px #000000;
    padding: 0.5rem 1rem;
    margin: 0.1rem 0.1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transform: translate(1) translate(0, 0);
    transition: transform 225ms, box-shadow 225ms;
}

.alphabet-buttons:hover {
    border: 5px solid #00a6ed;
    text-shadow: 2px 1px #000000;
    color: #00a6ed;
    background-color: rgb(255, 255, 255);
    transform: scale(1.05) translate(0, -0.15rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.35);
}

.alphabet-buttons:active {
    transform: scale(1) translate(0, 0.5rem);
    /* border: 5px solid lime; */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.wordHidden {
    font-size: 0px;
}

.spaceLetter {
    opacity: 0;
}

/* Media Query Screen */

@media screen and (max-width: 768px) {
    .main-container {
        max-width: 100vw;
    }

    .word-typing-section {
        width: 100%;
    }

}

@media screen and (max-width: 550px) {

    .logo {
        border: 0.5px solid #00a6ed;
        height: 100%;
        width: 100%;
        margin-top: 0;
        padding: 0.5rem;
        font-size: medium;
    }

    .categories-section {
        height: 50px;
        /* font-size: x-small; */
        padding-top: 0;
        width: 100%;
        margin: 0 1em 1em;
    }

    .score-board {
        height: 50px;
        width: 100%;
        /* font-size: larger; */
    }

    #scoreText {
        height: 55%;
        width: 100%;
        font-size: larger;
    }

    #scoreText {
        height: 55%;
        width: 100%;
        font-size: medium;
    }

    .lives-section {
        font-size: small;
        padding: 0.2;
        height: 50px;
        width: 100%;
    }

    .lives-section {
        padding-left: 0;
    }


}

;
