* {
    box-sizing: border-box;
}

body {
    font-family: 'Telex';
    color: rgb(155, 211, 212);
    background-color: rgb(1, 19, 19);
    text-align: center;
    font-size: 17px;
}

body.daily {
    color: rgb(255 232 232);
    background-color: rgb(78, 0, 0);
}

a {
    color: palevioletred;
}

.togglec {
    font-size: 19px;
    color: #383838;
    background-color: rgb(155, 211, 212);
    padding: 8px;
    margin: 10px;
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
}

.syntax {
    font-size: 19px;
    color: #383838;
    background-color: rgb(130, 213, 214);
    padding: 4px;
    margin: 4px;
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Lucida Console', monospace;
}

.small {
    font-size: 14px;
    margin: 0px;
}

.type-block {
    font-size: 14px;
    border-style: solid;
    border-width: 3px;
    color: #ffffff;
    padding: 6px;
    margin: 3px;
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
    border-color: #ffffff;
    border-style: none;
    border-radius: 10px;
    opacity: 0.7;
    transition: all 0.5s;
}

.hintbtn {
    opacity: 1;
    margin-top: 10px;
    background-color: rgb(97, 97, 97);
}

.guesses {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    display: none;
}

.hint {
    font-weight: bold;
}

.guess {
    color: palevioletred;
    font-size: 15px;
    text-decoration-line: underline;
}

.emoji {
    font-size: 50px;
    margin: 3px;
}

.row {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    flex: 1;
    opacity: 0;
    transition: all 0.8s;
}

.row.in {
    opacity: 1;
    transform: translateY(10px);
}

.column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    min-width: 65px;
    max-width: 65px;
    margin-top: auto;
    margin-bottom: auto;
}

.center-table {
    margin-left: auto;
    margin-right: auto;
}

.center-table th {
    text-align: left;
    padding: 10px;
}

.center-table td {
    text-align: left;
    padding: 0 10px;
}

/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
    width: 300px;
}

img {
    object-fit: scale-down;
    height: auto;
}

.mg_input {
    border-radius: 4px;
    max-width: 40px;
    border: 1px solid transparent;
    background-color: #f1f1f1;
    font-size: 19px;
}

.guess_input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 22px;
}


input[type=text] {
    background-color: #f1f1f1;
    width: 100%;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    color: rgb(1, 19, 19);
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

body.daily .autocomplete-items {
    color: rgb(54, 0, 0);
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.tooltip {
    color: palevioletred;
    position: relative;
    display: block;
}

.dropinfo {
    color: rgb(68, 68, 68);
    font-size: 13px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: black;
    color: #e2e2e2;
    text-align: center;
    border-radius: 6px;
    padding: 15px;
    position: absolute;
    z-index: 1;
    top: 80%;
    left: 50%;
    margin-left: -10px;
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 450px) {
    body {
        font-size: 16px;
    }

    .column {
        min-width: 55px;
        max-width: 55px;
    }

    .autocomplete {
        width: 200px;
    }

    .type-block {
        font-size: 13px;
        padding: 5px;
        margin: 2px;
    }
}