@font-face {
    font-family: PixelArial;
    src: url(../assets/fonts/PIXEARG_.TTF);
  }

.timer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(210, 6, 6);
    text-shadow: 
        0 0 5px rgb(210, 6, 6),
        0 0 10px rgb(210, 6, 6),
        0 0 15px rgb(150, 3, 3);
    background-color: rgb(24, 24, 24);
    height: 100px;
    width: auto;
    margin: 10px;
    border-radius: 8px;
    box-shadow: inset rgba(129, 129, 130, 0.8) 0px 0px 10px 1px;
    font-size: 1rem;
    font-family: PixelArial;
    letter-spacing: 2px;
}

.cue {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 5px;
    width: auto;
    align-items: center;
    margin: 30px 0 20px 0;
}

.cue button {
    background-color: rgb(37, 36, 36);
    border-radius: 10px;
    height: 90px;
    width: 95%;
    color: white;
    text-shadow: 0 0 10px rgb(216, 216, 216);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin: 10px;
    text-align: center;
    letter-spacing: 2px;
    border: 5px solid yellow;
    box-shadow: 0px 0px 8px 2px rgba(255, 255, 0, 0.8);
    cursor: pointer;
}

.cue button:hover {
    background-color: rgb(55, 54, 54);
}

.cue button:focus {
    border: 5px solid rgb(2, 247, 26);
    box-shadow: 0px 0px 8px 2px rgba(2, 247, 26, 0.8);
}

.cue button:active {
    box-shadow: 0px 0px 8px 2px rgba(2, 247, 26, 0.8);
    border: 5px solid rgb(2, 247, 26);
    background-color: rgb(55, 54, 54);
}

.cue a {
    display: flex;
    border-radius: 10px;
    background-color: rgb(37, 36, 36);
    padding: 10px;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 10px;
    box-shadow: rgb(93, 93, 99) -4px 2px 0px 5px, inset rgba(100, 100, 111, 0.8) 0px 0px 3px 0.5px;
}

.cue a:active {
    box-shadow: rgb(93, 93, 99) -2px 2px 0px 3px, inset rgba(100, 100, 111, 0.8) 0px 0px 3px 0.5px;
    transform: translateX(-5px);
}

.cue a svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip button {
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

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

#cue-btn.disabled-btn + .tooltiptext {
    visibility: hidden !important;
    opacity: 0 !important;
}

.guess-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 10px;
    height: auto;
}

.incorrect span {
    text-align: center;
    align-self: center;
}

.guess-box,
.search-box {
    width: 100%; 
    box-sizing: border-box;
}

.guess-box {
    background-color: #ccc;
    padding: 10px;
    border: 1px solid #858484;
    text-align: center;
    font-size: 16px;
    box-shadow: inset rgba(100, 100, 111, 0.8) 0px 0px 3px 0.5px;
    border-radius: 5px;
    min-height: 45px;
    height: auto;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #f8f5f5;
    padding: 10px;
    border: 1px solid #858484;
    box-shadow: inset rgba(100, 100, 111, 0.8) 0px 0px 3px 0.5px;
    border-radius: 5px;
    color: rgb(84, 84, 86);
    height: 45px;
    position: relative;
}

.search-box input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
}

.search-box svg {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

button.disabled-btn:active,
button.disabled-btn:focus,
button.disabled-btn:hover,
button.disabled-btn:disabled {
    border: 5px solid red;
    box-shadow: 0px 0px 8px 2px rgba(255, 0, 0, 0.8);
    background-color: rgb(37, 36, 36);
    color: #646464;
    text-shadow: none;
    cursor: not-allowed;
}

#search-box {
    width: 250px;
    padding: 10px;
    font-size: 16px;
}

#suggestions {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    z-index: 10;
}

  
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    box-sizing: border-box;
}
  
.suggestion-item {
    padding: 10px;
    cursor: pointer;
}
  
.suggestion-item:hover {
    background-color: #f0f0f0;
}
  
.no-results {
    padding: 10px;
    color: #888;
    font-style: italic;
}

.copy-popup {
    position: fixed;
    bottom: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.emoji {
    font-size: 20px;
    margin-right: 8px;
}

  
