/* General styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    text-align: center;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 310px;
}

.title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #333333; /* Change title color to black */
}

.title.inactive {
    color: #808080; /* Change title color to inactive (gray) */
}

/* Home screen styling */
.mode-selection, .player-names, .symbol-selection {
    margin-bottom: 20px;
}

.mode-button {
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.mode-button.computer {
    background-color: #007bff;
}

.mode-button.computer:hover {
    background-color: #0056b3;
}

.mode-button.multiplayer {
    background-color: #28a745;
}

.mode-button.multiplayer:hover {
    background-color: #218838;
}

.start-button {
    background-color: #ffc107;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.start-button:hover {
    background-color: #e0a800;
}

.symbol-selection label {
    margin-right: 20px;
    font-size: 1.2rem;
    color: #333333;
}

.hidden {
    display: none;
}

/* Game screen styling */
.game-screen {
    display: none;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 10px;
    margin-bottom: 20px;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    font-size: 4rem;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.cell:hover {
    background-color: #e0e0e0;
}

.status, .message {
    font-size: 1.3rem;
    color: #333333;
    margin-top: 10px;
}

.message {
    font-size: 2rem;
    color: #FF0000;
    margin-top: 15px;
}

.winner {
    background-color: #FFFF00;
    color: #333333;
}

.reset-button {
    background-color: #E200FE;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.reset-button:hover {
    background-color: #E200FE;
}

.back-button {
    background-color: #6c757d;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.back-button:hover {
    background-color: #5a6268;
}

/* Add or modify styles as needed */

.go-back-button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px; /* Add margin to separate from reset button */
}

.go-back-button:hover {
    background-color: #0056b3;
}

.game-mode {
    background-color: #09BB03;
    font-size: 1rem;
    color: #333333;
    margin-top: 10px;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
}

/* Add or modify styles as needed */
.created-by {
    position: absolute;
    top: 5px; /* Adjust as needed */
    right: 5px; /* Adjust as needed */
    font-size: 8px;
    color: white;
    margin-top: 8px;
    color: white;
    padding: 2px;
    border-radius: 6px;
    margin-bottom: 1px;
    display: inline-block;
    cursor: pointer;
    background-color: #0DA4C1;
}