

.colorGame h1 {
    width: 100%;
    text-align: center;
    line-height: 1.1;
    color: #ddd;
    background: #444;
    margin: 0;
    font-weight: normal;
    text-transform: uppercase;
    padding: 10px 0
}

.colorGame {
    background-color: #eee
}

#colorDisplay {
    color: white;
    font: 100 36px lato, sans-serif
}

#msg {
    width: 100%
}

#message {
    display: inline-block;
    width: 80%;
    text-transform: uppercase;
    padding: 4px 2px
}

.grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

#colors .grid li {
    height: 180px;
    padding: 6px
}

    #colors .grid li.square {
        flex-basis: 30%
    }

.square {
    background: purple;
    padding-bottom: 30%;
    margin: 1.66%;
    border-radius: 50%;
    transition: background 0.6s;
    --webkit-transition: background0.6s;
    --moz-transition: background0.6s
}

#colors {
    margin: 20px auto;
    max-width: 600px;
    display: flex;
    width: 100%
}


#stripe {
    background: white;
    text-align: center;
    color: black;
    width: 100%
}

#reset {
    padding: 6px 2px
}


#msg {
    padding: 5px 0;
    text-align: center;
    color: white;
    background: #555
}

.selected {
    color: white;
    background: #70B6B0
}


button {
    border: none;
    background: none;
    text-transform: uppercase;
    height: 100%;
    padding: 6px 3px;
    margin: 0;
    font-weight: 400;
    color: #70B6B0;
    letter-spacing: 1px;
    font-size: inherit;
    outline: none;
    transition: all 0.3s;
    --webkit-transition: all 0.3s;
    --moz-transition: all 0.3s
}

    button:hover {
        color: white;
        background: #70B6B0
    }


.colorGame {
    opacity: 0;
    animation: 2s slidefade 1s forwards
}


@media (max-width: 670px) {

    #colorDisplay {
        font-size: 100%;
        font-weight: 600
    }

    #stripe {
        height: 36px
    }

    button {
        letter-spacing: normal
    }

    #colors .grid li {
        height: 160px;
        padding: 8px
    }

        #colors .grid li.square {
        }
}

@media (max-width: 500px) {


    #colors .grid li {
        height: 135px;
        padding: 8px
    }
}
