body {
    background-color: #000000;
    text-align: center;
    color: #d9d9d9;
}

h1 {
    font-family: 'Courier New', Courier, monospace;
}

#game {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#scoreboard {
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
}

#baseball-field {
    position: relative;
    width: 200px;
    height: 200px;
}

.base {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #262626;
    border: 1px solid #f0f0f0;
    rotate: 45deg;
    box-shadow: inset 5px 5px 15px rgba(0, 0, 0, 0.7),
                        inset -5px -5px 15px rgba(255, 255, 255, 0.1);
}

.runner {
    background-color: yellow;
}

#home-plate {
    bottom: 0;
    left: 75px;
}

#first-base {
    top: 75px;
    right: 0;
}

#second-base {
    top: 0;
    left: 75px;
}

#third-base {
    top: 75px;
    left: 0;
}

#inning-display {
    margin-bottom: 20px;
}

.dot-row {
    display: flex;
    justify-content: center;
    margin: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d9d9d9;
    margin: 2px;
}

.active {
    background-color: red;
}
        
.out-dot.active {
    background-color: red; /* Color when the out occurs */
}

#logs {
    display: flex;
    justify-content: space-around; /* Adjust to space the logs evenly */
    margin-top: 20px;
    gap: 20px; /* Add some space between the two logs */
}

#logs div {
    width: 100%; /* Maintain the width of each log */
}

#visitor-log, #home-log {
    background-color: #171717;
    padding: 10px;
    border-radius: 5px;
    overflow-y: auto;
    max-height: 200px;
    border: 1px solid #444;
    color: #ffffff;
}

h3 {
    text-align: center;
    font-family: Arial, sans-serif;
    color: #d9d9d9;
    margin-bottom: 10px;
}

.inning-header {
    display: inline-block;
    border: 2px solid #d9d9d9;
    padding: 2px 6px;
    margin-bottom: 5px;
    font-weight: bold;
    background-color: #3a3a3a;
    border-radius: 4px;
    color: #d9d9d9;
}

.score-update {
    display: inline-block;
    border: 1px solid #f0f0f0;
    padding: 4px;
    margin-bottom: 5px;
    background-color: #0d0d0d;
    font-weight: bold;
    border-radius: 4px;
    color: #ffffff;
}
