* {
    box-sizing: border-box;
}

:root {
    --primary-color: #f44336
}

body {
    background-color: #EEE;
    margin: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
height: 900px;


}

h1 {
    padding: 20px;
    text-align: center;
    margin: 0 0 50px 0;
    background-color: white;
}

.guess-game {
    text-align: center;
    width: 1000px;
    margin: 20px auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    .game-area {
        .inputs {
            >div {
                margin-bottom: 20px;
                display: flex;
                align-items: center;
                justify-content: center;

                span {
                    font-size: 30px;
                    margin-right: 15px;
                    font-weight: bold;


                }
            }

            .disabled-inputs {
                opacity: 0.5;
                pointer-events: none;


            }

            input {
                margin: 0 5px;
                width: 60px;
                height: 60px;
                text-align: center;
                font-size: 50px;
                caret-color: var(--primary-color);
                background-color: white;
                border: none;
                border-bottom: 3px solid #333;

                &:focus {
                    outline-color: #ccc;
                }

                &.yes-in-place {
                    background-color: #f89e13;
                    border: #f89e13;
                    color: white;
                }

                &.not-in-place {
                    background-color: #18ba89;
                    border: #18ba89;
                    color: white;

                }

                &.no {
                    background-color: #27303f;
                    border: #27303f;
                    color: white;

                }

            }
        }

        .control {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 500px;
            margin: 30px auto;
            gap: 10px;

            .check {
                border: none;
                font-size: 25px;
                padding: 15px 20px;
                border-radius: 6px;
                background-color: var(--primary-color);
                color: white;
                cursor: pointer;
                font-weight: bold;
                flex: 1;

            }

            .hint {
                border: none;
                font-size: 25px;
                padding: 15px 20px;
                border-radius: 6px;
                background-color: #009688;
                color: white;
                cursor: pointer;
                font-weight: bold;
                width: fit-content;
            }

            button:disabled {
                background-color: black;
                opacity: 0.4;
                cursor: no-drop;
            }
        }

        text-align: center;

    }

    .key-colors {
        .key-color {
            display: flex;

            align-items: center;
            padding: 15px;
            background-color: white;
            margin-bottom: 10px;

            .key {
                width: 30px;
                height: 30px;
                border-radius: 50%;
                margin-right: 10px;

                &.in-place {
                    background-color: #f89e13;
                }

                &.not-in-place {
                    background-color: #18ba89;
                }

                &.no {
                    background-color: #27303f;
                }
            }

            .key-text {
                font-size: 20px;
                font-weight: bold;
            }


        }
    }
}

.message {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    span{
        font-weight: bold;
    display: block;
    color: var(--primary-color);
    text-transform: capitalize;
    margin-top: 10px;}
 .p{
    margin-top: 15px;
 }
}

footer {
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #333;
    color: white;
    width: 100%;
}