@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --clr: #2c344c;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--clr);
    flex-direction: column;
}

h1 {
    text-align: center;
    color: #94b2e2;
    margin-bottom: 20px;
}

button {
    display: block;
    margin: 10px 5px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

a {
    text-decoration: none;
    color: inherit;
}

.announcement {
    background-color: #ff9800;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.game-container {
    display: inline-block;
    background: #bbada0;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.grid-container {
    width: 400px;
    height: 400px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: #bbada0;
    border-radius: 10px;
    position: relative;
    margin-top: 20px;
}

.cell {
    width: 90px;
    height: 90px;
    background: #cdc1b4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 5px;
    color: #776e65;
    position: absolute;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.score-container {
    margin-top: 20px;
    font-size: 24px;
    color: #ffffff;
}

.mobile-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.mobile-controls button {
    margin: 5px;
}

footer {
    padding: 20px;
    background-color: #2c344c; /* Matches the body's background for consistency */
    color: #fff; /* White text color for contrast */
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}

footer a {
    color: #94b2e2; /* Light blue color for links */
    text-decoration: underline; /* Underline to indicate it's a link */
}

footer a:hover {
    color: #ffffff; /* White color on hover for a visual feedback */
}
