html{
    overflow: hidden;
}

body{
    background: url('../imgs/background.jpg')no-repeat center center fixed;
    background-size: cover;
    text-align: center;
    font-family: quicksand, sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    
    align-items: center;
    height: 100vh;
    overflow: hidden;
    margin-top:13vh;

}
#score-board{
    
    display: flex;
    
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}
#score-counter  {
    font-size: 2rem;
    font-weight: bold;
    color: #f6b323;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);

    margin: 1rem auto;
    padding: 0.5rem 1rem;

    border-radius: 25px;
    border: 4px solid #6a5acd; 
    

    box-shadow: 0 8px 15px rgba(0,0,0,0.5),
                inset 0 4px 10px rgba(255,255,255,0.2);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#score-board img {
    width: 140px;
    height: auto;
    animation: bounce 1.5s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


#board{
    width: 450px;
    height: 450px;
    background-color: lightblue;
    border: 4px solid #6a5acd; 
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

#board img {
    width: 50px;
    height: 50px;
}

@media screen and (max-width: 450px) {
    body{
        margin-top:18vh;
    }
    #board{
        
        width: 300px;
        height: 300px;
    }
    #board img {
        width: 33.3333333px;
        height: 33.3333333px;
    }
#score-counter {
    font-size: 1.2rem;
    
    margin: 1rem auto;
    padding: 0.5rem 1rem;

    
    
}
#score-board{
    gap: 2rem;
}

#score-board img {
    width: 100px;
    
}

    
}
@media screen and (max-width: 301px) {
    #board{
        
        width: 250px;
        height: 250px;
    }
    #board img {
        width: 27.77777777777778px;
        height: 27.77777777777778px;
    }
    
}

footer {
    position: absolute;
    bottom: 10px;
    font-size: 0.9rem;
    color: #ddd;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    animation: fadeIn 3s ease-in-out;
    font-family: quicksand, sans-serif;
}

footer p , footer a {
    margin: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

footer p:hover , footer a:hover {
    opacity: 1;
    color: #f6b323;
    text-shadow: 0 0 10px #f6b323;
}
footer a {
    text-decoration: none;
    color: #ddd;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Custom cursor for uniqueness */
body {
    cursor: url('../imgs/space-match.png'), auto;
}

