body 
{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 2.4vmin;
    margin: 0;
}

h1 {
    margin-bottom: 0;
}
h2 {
    margin-top: 0;
}


#message 
{
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.4s;
	z-index: 10;
	position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0);
	pointer-events: none;
	border: .075em solid rgba(0,0,0,.3);
	border-radius: .25em;
	padding: .5em;
	background-color: #fff;
}

#shareButton {
    display: inline-block;
    padding-left: .25em;
    padding-right: .25em;
    height: 1.3em;
    background-color: #8888c4;
    border-radius: .25em;
    cursor: pointer;
    color: #f0f0f0;
}

#shareButton:hover {
    background-color: #acace6;
}

#shareButton:active {
    background-color: #6666a3;
}

#gameTable {
    margin-left: auto;
    margin-right: auto;
    border-spacing: .4em;
    margin-top: calc(40vh - 40vmin);
    margin-bottom: calc(40vh - 40vmin);
}

#headerBar 
{
    text-align: center;
}

#topMenu
{
  position:fixed;
}

.letterCell {
    font-size: 1.5em;
    border: .075em solid rgba(0,0,0,.3);
    width: 2em;
    height: 2em;
    text-align: center;
    pointer-events: none;
    font-weight: bold;
    border-radius: .25em;
}

.dictCell 
{
    font-size: 1.5em;
    border: none;
    width: 2em;
    height: 2em;
}

.dictCell img
{
  width: 1.5em;
}


.cellInInputRow {
    border-color: rgba(0,0,0,.6);
}

.noSelect {
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;          /* Likely future */   
}

.hasLetter {
    border: .075em solid black;
}

.activeInputCell {
    animation: blink 2s ease-in-out infinite alternate;
}

@keyframes blink {
    0% { background-color: rgba(0,0,0,.1); }
    50% { background-color: rgba(0,0,0,0); }
    100% { background-color: rgba(0,0,0,.1); }
}


.keyboardRow {
    text-align: center;
}

.keyboardButton {
    display: inline-block;
    background-color: #efefef;
    color: #505050;
    font-size: 1.25em;
    margin: .1em;
    min-width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    font-weight: bold;
    border: none;
    border-radius: .5em;
    cursor: pointer;
}

.extraPadding {
    padding-left: .5em;
    padding-right: .5em;
}

.keyboardButton:hover {
    background-color: #d0d0d0;
}

.keyboardButton:active {
    background-color: #505050;
    color: #d0d0d0;
}

.unusedLetter {
    background-color: #404040;
    color: #ffffff;
}

.misplacedLetter {
    background: repeating-linear-gradient(
        45deg,
        rgb(179, 168, 88) 0em,
        rgb(179, 168, 88) .5em,
        rgb(141, 135, 73) .5em,
        rgb(141, 135, 73) 1em
      );
    
    color: #ffffff;
}

.correctLetter {
    background: radial-gradient(
        rgb(50, 112, 50) 0%,
        rgb(50, 112, 50) 62%,
        rgb(103, 184, 103) 63%
    );
    color: #ffffff;
    position: relative;
}

.modalContainer {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.2);
    text-align: center;
}

.modalContent {
    display: inline-block;
    background-color: #ffffff;
    width: 80vmin;
    padding: 1em;
    margin: 1em;
    border-radius: 0.5em;
    box-shadow: 0em 0em 0.5em -0.3em;
}

pre {
    background-color: rgba(0,0,0,.06);
    border-radius: 0.35em;
    word-break: break-word;
    white-space: pre-wrap;
    padding: 0.5em;
    margin: 0.5em;
    font-size: .9em;
}

.button {
    display: inline-block;
    background-color: #94a2e3;
    color: #ffffff;
    border-radius: 0.4em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    height: 1.5em;
    line-height: 1.5em;
    font-weight: bold;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}

.button:hover {
    background-color: #8283c9;
}

.button:active {
    background-color: #525e96;
}

a.button {
    text-decoration: none;
}

#copyToClipboard {
    background-color: #94e394;
    color: #4f8956;
}

#copyToClipboard:hover {
    background-color: #82c982;
}

#copyToClipboard:active {
    background-color: #529652;
}

#shareTextbox {
    display: none;
}

.textboxLabel {
    color: rgba(0,0,0,.5);
    font-size: .8em;
}

#secretMessageInputContainer {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

#secretMessageInput {
    font-size: .8em;
    width: 40vmin;
    height: 10vmin;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#secretNameInput {
    font-size: .8em;
    display: block;
    width: 40vmin;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#secretMessageTable {
    text-align: left;
}

#guessViewerTable {
    margin-left: auto;
    margin-right: auto;
}

#guessViewerTable td {
    width: 1.5em;
    height: 1.5em;
    border: 0.1em solid rgba(0,0,0,.2);
    border-radius: 0.3em;
    font-size: 1.3em;
}

#guessViewerSolutionInput {
    font-size: 1.5em;
    font-family: 'Courier New', Courier, monospace;
    width: 3em;
    font-weight: bold;
    text-transform: uppercase;
}
