body {
    font-family: 'Fredoka', sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
    background-color: #ffb6c1;
    background-image: url('parasol kirby.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #4682b4;
}

header {
    margin-bottom: 20px;
}

h1 {
    color: rgba(0, 0, 200, 0.67);
}

h1 span{
    padding: 5px 10px;
    border-radius: 15px;
    background-color: rgba(255, 182, 193, 0.9);
}

#bingo-board {
    margin: 20px auto;
    display: inline-block;
}

table {
    border-collapse: collapse;
    margin: 0 auto;
}

td, th {
    border: 3px solid #4682b4;
    padding: 30px;
    text-align: center;
    font-size: 18px;
    width: 120px;
    height: 120px;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
}

th {
    font-size: 350%;
    background-color: rgba(135, 206, 235, 0.7);
    color: #ffb6c1;
}

.marked {
    background-color: rgba(255, 0, 0, 0.3);
}

td:hover {
    background-color: #ff69b4;
    color: #ffffff;
    border-color: #000080;
}

.marked:hover {
    background-color: rgba(255, 0, 0, 0.3);
    border-color: #4682b4;
}

.marked::before {
    content: 'X';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: red;
    font-weight: bold;
    pointer-events: none;
}

#game-controls {
    margin: 20px 0;
}

button {
    height: 60px;
    width: 180px;
    padding: 12px 24px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffb6c1;
    color: #4682b4;
    border: 3px solid #4682b4;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#spring {
    background-color: rgba(150, 230, 150);
    border-color: rgba(50, 205, 50);
    color: rgba(255, 255, 255);
    text-shadow:
        -1px -1px 0 rgba(84, 179, 69),
        1px -1px 0 rgba(84, 179, 69),
        -1px  1px 0 rgba(84, 179, 69),
        1px  1px 0 rgba(84, 179, 69);
}

#spring:hover {
    background-color: rgba(110, 200, 83);
    color: #ffffff;
    border-color: rgba(50, 160, 50);
    text-shadow: none;
}

#wild {
    background-color: rgba(250, 40, 68);
    border-color: rgba(190, 40, 68);
    color: rgba(0, 81, 92);
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.7),
        1px -1px 0 rgba(255, 255, 255, 0.7),
        -1px  1px 0 rgba(255, 255, 255, 0.7),
        1px  1px 0 rgba(255, 255, 255, 0.7);
}

#wild:hover {
    background-color: rgba(255, 150, 150);
    color: #ffffff;
    border-color: rgba(255, 80, 80);
    text-shadow: none;
}

#rules span{
    text-align: left;
    margin-left: 20%;
    margin-right: 20%;
    background-color: rgba(255, 255, 255, 0.8);
}

#rules h2 {
    color: #ff69b4;
}

#rules h2 span{
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

#rules ol {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-left: 20%;
    margin-right: 20%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

footer {
    margin-top: 20px;
    font-size: 14px;
}

footer a {
    margin: 0 10px;
    text-decoration: none;
    color: #007bff;
}

footer a:hover {
    text-decoration: underline;
}
