* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    --dark-green: #283618;
    --light-green: #606C38;
    --white: #FEFAE0;

    --correct-color: #FEFAE0;
    --semi-correct-color: #DDA15E;
    --incorrect-color: #283618;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: var(--light-green);
    color: var(--white);
}


#screen h1 {
    text-align: center;
    margin-bottom: 25px;
    opacity: 0.65;
    text-transform: uppercase;
    font-size: 22px;
}

#attempts {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.attempt {
    display: flex;
    justify-content: center;
}

.letter {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin: 2px;
    line-height: 60px;
    border-radius: 2px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: var(--incorrect-color);
    color: var(--white);
    opacity: 0.65;
}

.incorrect {
    background-color: var(--dark-green);
    color: var(--white);
    opacity: 1;
}
.correct {
    background-color: var(--correct-color);
    color: var(--dark-green);
    opacity: 1;
}
.semi-correct {
    background-color: var(--semi-correct-color);
    color: var(--dark-green);
    opacity: 1;
}

#input-field {
    margin-top: 20px;
    text-align: center;
    background: red;
    display: flex;
}
#input-field input {
    width: 100%;
    height: 40px;
    font-size: 24px;
    text-transform: uppercase;
    text-align: center;
    border: none;
    border-bottom: 2px solid none;
    border-radius: 2px;
    background-color: var(--dark-green);
    color: var(--white);
    outline: none;
}
#input-field input:focus {
    border-bottom:2px solid var(--white);
}