* {
    box-sizing: border-box;
}

.box{ 
    width: 1px; 
    height: 100px; 
} 

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(59, 0, 0);
}

body.stats {
    color: rgb(186 186 186);
    background-color: rgb(39 17 46);
}

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;
}

.cstats {
    min-width: 58px;
    max-width: 58px;
}

.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: inline-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;
}
.bodyrow:after {
    content: "";
    display: table;
    clear: both;
  }
.bodycolumn {
    float: left;
}
  
.bodyleft, .bodyright {
    width: 25%;
}
  
.bodymiddle {
    width: 50%;
}

.fuseside {
    max-width: 300px; 
    max-height: 600px;
    margin: auto;
}

.fuseheader {
    max-width: 728px; 
    max-height: 90px;
    margin: auto;
}

@media screen and (max-width: 979px) {
    .bodyleft .bodyright {
        display:None;
    }
    .bodymiddle {
        width:100%;
    }
}

@media screen and (max-width: 490px) {
    body {
        font-size: 16px;
    }
    .column {
        min-width: 55px;
        max-width: 55px;
    }
    .fuseheader {
        max-width: 468px; 
        max-height: 150px;
    }

    .autocomplete {
        width: 200px;
    }

    .type-block {
        font-size: 13px;
        padding: 5px;
        margin: 2px;
    }
}

.rainbow-text {
    background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
    animation: rainbow 10s ease infinite;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 400% 100%;
  }
  @keyframes rainbow {
    0%,100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}
