/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.hidden {
    display: none;
}

body {
    margin: 0;
    background-color: rgb(18, 18, 19);
    font-family: 'Clear Sans', 'Helvetica Neue', Arial, sans-serif;
}

.content {
    position: absolute;
    width: 400px;
    left: 50%;
    transform: translateX(-50%);
}

.card {
    width: 400px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.letter {
    width: 62px;
    height: 62px;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
    line-height: 62px;
    font-size: 32px;
    font-weight: 700;
    box-shadow: inset 0px 0px 0px 2px rgb(58, 58, 60);
    user-select: none;
    color: white;
}

.title.card {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 25px;
    color: white;
    font-size: 40px;
    user-select: none;
    font-weight: 700;
}

.actions.card {
    margin-top: 15px;
    margin-bottom: 25px;
}
.actions.card button {
    width: 177.5px;
    height: 36px;
    background-color: rgba(0,0,0,0);
    box-shadow: inset 0px 0px 0px 2px rgb(58, 58, 60);
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.actions.card button:hover {
    background-color: rgba(255,255,255,0.05);
}
.actions.card button:active {
    background-color: rgba(0,0,0,0);
}

.how-to-btn {
    margin-right: 15px;
}

.history.card {
    padding-left: 0px;
    padding-right: 0px;
}
.history .letter {
    margin-left: 15px;
    margin-top: 15px;
    display: inline-block;
}

.message {
    text-align: center;
}

.message .message-box {
    max-height: 100px;
    margin-top: 10px;
    display: block;
    overflow: hidden;
    transition: max-height 0.2s, margin-top 0.2s;
}
.message .message-box.message-hidden {
    max-height: 0px;
    margin-top: 0px;
}
.message .message-box .message-content {
    opacity: 1;
    padding: 7px;
    font-size: 12px;
    display: inline-block;
    overflow: hidden;
}

#error {
    background-color: #b53b3b;
    color: white;
}

#winner {
    background-color: rgb(83, 141, 78);
    color: white;
}

.input-container {
    position: relative;
    margin-top: 15px;
}

.col {
    width: 62px;
    margin-right: 15px;
    display: inline-block;
    color: white;
    font: arial;
    position: relative;
}
.col:last-of-type {
    margin-right: 0px;
}

.input-container .letter {
    margin-bottom: 10px;
}

.green {
    background-color: rgb(83, 141, 78);
    box-shadow: inset 0px 0px 0px 0px rgb(58, 58, 60);
}
.yellow {
    background-color: rgb(181, 159, 59);
    box-shadow: inset 0px 0px 0px 0px rgb(58, 58, 60);
}
.black {
    background-color: rgb(58, 58, 60);
    box-shadow: inset 0px 0px 0px 0px rgb(58, 58, 60);
}

.color-select {
    width: 15px;
    height: 15px;
    display: inline-block;
    cursor: pointer;
}
.color-select.yellow {
    margin-left: 4px;
}
.color-select.black {
    margin-left: 4px;
}

.indicator {
    position: absolute;
    width: 30px;
    height: 2px;
    top: 50px;
    left: 16px;
    box-sizing: border-box;
}
.indicator.letters {
    background-color: #ddd;
}
.indicator.colors {
    background-color: rgb(181, 159, 59);
    border-left: 10px solid rgb(83, 141, 78);
    border-right: 10px solid rgb(58, 58, 60);
}

.input-target {
    width: 370px;
    height: 62px;
    opacity: 0;
    cursor: default;
    position: absolute;
    top: 0px;
}

.go-btn-container {
    text-align: center;
    margin-top: 10px;
    height: 40px;
    overflow: hidden;
    transition: height 0.2s;
}
.go-btn-container.go-btn-hidden {
    height: 0px;
}
.go-btn {
    width: 370px;
    height: 36px;
    background-color: rgb(83, 141, 78);
    border: none;
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}
.go-btn:hover {
    background-color: rgb(62, 112, 58);
}

.output-container {
    margin-top: 10px;
    height: auto;
    max-height: 200px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    top: 220px;
    box-sizing: border-box;
}
.output-container::-webkit-scrollbar {
    display: none;
}
.word-option {
    padding: 8px;
    display: inline-block;
    border: 1px solid #aaa;
    color: white;
    font-size: 12px;
    cursor: pointer;
    margin-right: 6px;
    margin-bottom: 6px;
}
.word-option:hover {
    background-color: #333;
}
.word-option:active {
    background-color: #222;
}

.exclusions.card {
    margin-top: 15px;
}
.excluded-letter {
    width: 30px;
    height: 30px;
    background-color: rgb(58, 58, 60);
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    font-size: 16px;
    font-weight: 700;
    user-select: none;
    color: rgb(172, 172, 172);
    display: inline-block;
    margin-right: 7px;
    margin-bottom: 7px;
}

.how-to-overlay {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: rgba(0,0,0,0.7);
}
.how-to-content {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 15px;
    width: 370px;
    background-color: rgb(28, 28, 29);
    color: white;
    padding: 10px;
}

.close-how-to-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 70px;
    height: 30px;
    background-color: rgba(0,0,0,0.0);
    box-shadow: inset 0px 0px 0px 2px rgb(58, 58, 60);
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    z-index: 99;
}
.close-how-to-btn:hover {
    background-color: rgba(255,255,255,0.05);
}
.close-how-to-btn:active {
    background-color: rgba(0,0,0,0);
}

.how-to-title {
    position: relative;
    margin-left: 10px;
    margin-top: 8px;
    font-size: 20px;
    font-weight: 700;
}
.how-to-body {
    position: relative;
    margin-left: 10px;
    margin-top: 15px;
    font-size: 13px;
    font-weight: 100;
    line-height: 15px;
    vertical-align: top;
}
.how-to-body h1 {
    font-weight: 700;
    line-height: 20px;
    margin-top: 10px;
}
.how-to-body a {
    color: white;
}