*{
    box-sizing: border-box;
}
:root{
    --primary-color: #f44336;
}
body{
    margin: 0;
    background-color: #EEE;
    font-family: Arial, Helvetica, sans-serif;
}
h1{
    text-align: center;
    padding: 20px;
    margin: 0 0 50px;
    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;
                justify-content: center;
                align-items: center;
                span{
                    font-size: 30px;
                    margin-right: 15px;
                    font-weight: bold;
                    color: #18ba89;
                }
            }
            .disabled-inputs{
                opacity: 0.5;
                pointer-events: none;
            }
            input{
                margin: 0 5px;
                width: 60px;
                height: 60px;
                text-align: center;
                font-size: 45px;
                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: 10;
            .check{
                background-color: var(--primary-color);
                flex: 1;
            }
            .hint{
                
                background-color: #18ba89;
                width: fit-content;

            }
            button{
                border: none;
                font-size: 25px;
                padding: 15px 20px;
                margin-left: 20px;
                border-radius: 6px;            
                color: white;
                cursor: pointer;
                font-weight: bold;
                margin-bottom: 50px;

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

    }
    .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%;
                -webkit-border-radius: 50%;
                -moz-border-radius: 50%;
                -ms-border-radius: 50%;
                -o-border-radius: 50%;
                margin-right: 10px;
                &.in-place  /*  == => .key.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;
    margin-bottom: 60px;
    span {
        font-weight: bold;
        display: block;
        font-size: 50px;
        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;
    width: 100%;
    background-color: #333;
    color: white;
}