﻿.cell:hover {
    background-color: #eabdc8;
}


#controls {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px;
}

    #controls .top-row {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    #controls #timer-container {
        width: 780px;
        background: #ddd;
        height: 20px;
        border-radius: 10px;
        overflow: hidden;
    }

    #controls #timer-bar {
        background: #76c7c0;
        height: 100%;
        width: 100%;
        transition: width 1s linear;
    }

#grid-container {
    display: none;
    justify-content: center;
    margin-top: 20px;
}

#grid-wrapper {
    position: relative;
    width: 780px;
    height: 645px;
}

#connect-canvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 60px);
    grid-template-rows: repeat(10, 60px);
    gap: 5px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.cell {
    transition: background-color .105s linear;
    width: 60px;
    height: 60px;
    background: #fafafa;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    cursor: pointer;
    user-select: none;
}

    .cell.empty {
        visibility: hidden;
        pointer-events: none;
    }

    .cell.selected {
        outline: 3px solid #ffd54f;
    }

    .cell.hint {
        animation: blink 1s ease-in-out infinite;
    }

@keyframes blink {
    0%, 100% {
        box-shadow: 0 0 10px 3px rgba(255, 87, 34, 0.8);
    }

    50% {
        box-shadow: none;
    }
}

#start-container {
    margin: auto;
    top: 0;
    left: 0;
    width: 780px;
    height: 645px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(/ld-content/EmojiOnline/images/gameemojibackground.png);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#start-button {
    padding: 12px 40px;
    font-size: 24px;
    background-color: #b60e0e;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all .18s ease;
}

    #start-button:hover {
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        background-color: #b22121;
        filter: drop-shadow(5px 5px 4px #970c0c);
    }
