.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    justify-content: center; /* Centers content horizontally */

}

.modal-content {
    background-color: #fefefe; /* White background */
    margin: 2% auto; /* 15% from the top and centered */
    padding: 15px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); /* Adds a shadow */
    justify-content: center; /* Centers content horizontally */
    align-items: center;

}


#winningTeam {
    color: #11313e; /* Dark color for contrast */
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    text-align: center;
}


#gameOver {
    color: #11313e; /* Dark color for contrast */
    font-family: 'Arial', sans-serif;
    font-size: 32px;
    text-align: center;
}

#playerScore {
    color: #11313e;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    text-align: center;
}

#closeModalBtn {
    background-color: #11313e; /* Dark background */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    float: right; /* Align to the right */
    font-size: 16px;
    width: 90%;

}

#closeModalBtn:hover {
    background-color: #555; /* Darker shade for hover effect */
    width: 90%;
}


#endOfSessionGoldiImage {
    width: 250px;
    height: auto;

}


.x-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}


.result-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px;
}

.team-result {
    text-align: center;
}

.result-table {
    margin-bottom: 0px;
    border-collapse: collapse;
    width: 100%;
}

.result-th, .result-td {
    border: 1px solid #ddd;
    padding: 8px;
}

.result-th {
    background-color: #f2f2f2;
}

.result-th {
    font-weight: bold; /* Make text bold */
}
