




#game {
    display: flex; /* or inline-flex */
    flex-direction: row;
    flex-basis: auto;
    flex-wrap: wrap;
    flex-shrink: 3;
    justify-content: center;
    gap: 10px;
    width: 500px;
    align-content: center;
}

.grid-cell {
    width: 150px;
    height: 150px;
    /*background: blue;*/
    /*opacity: 0.1;*/
    border: black solid 0.5px;
    border-radius: 5%;

    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 130px;
}



.x::after {
    content: '❌';
}

.o::after {
    content: '⭕';
}

.win-colours {
    background-color: black;
}

.disabled {
    cursor: not-allowed;
}

.grid-cell:not(.disabled):hover {
    background: #eee;
}

/* game state */
.game-over {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: rgb(0 0 0 / 50%) 0 0 0 9999px;
}

.game-over-text {
    position: absolute;
    top: -200px;
    font-size: 60px;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    transform: translateX(-30%);
}

.visible {
    display: block;
}


 /*@@@@@@@@@@ login css @@@@@@@@@@@@@@*/
body{
    margin: 0px;
}
#btn{
    background-color: #2ecc71;
    border: none;
    padding: 7px;
    color: #fff;
    margin: 20px;
    border-radius: 5px;
    font-size: 16
}
#btn:hover{
    background-color: #fff;
    color: #2ecc71;
    border: 2px solid #2ecc71
}
#ovrly{
    background-color: #000;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0px;
    opacity: 0.7;
}
#login{
    background-color: #fff;
    width: 30%;
    margin: auto;
    border: 3px solid #2ecc71;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    top: -310px;
}
#ovrly,#login{display: none;}
#cross{
    position: absolute;
    left: 94%;
    top: 0px;
    color: #cc2e2e;
    font-size: 18;
    font-weight: bold;
    background-color: transparent;
    border: 0
}
h1{margin-top: 0px}
form,input[type="button"]{margin:0 !important}
.txt,.pswd{
    background-color: #fff;
    display: block;
    border: 2px solid #2ecc71;
    border-radius: 10px;
    padding: 5px;
    margin: auto;
    margin-bottom: 15px
}

/*fomr stuff*/
{box-sizing: border-box;}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
    background-color: #555;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    top: 23px;
    left: 28px;
    width: 280px;
}

/* The popup form - hidden by default */
.form-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 15px;
    border: 3px solid #f1f1f1;
    z-index: 9;
    width: 500px;
    background-color: white;
}

/* Add styles to the form container */
.form-container {
    max-width: 500px;
    padding: 10px;
    background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
    width: 450px;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
    opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
    background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
    opacity: 1;
}

.form-invisible {
    display: none;
}

/*****************STATUS DIV************/

.status-msg {
    font-size: 52px;
    color: red;
    font-family: 'Roboto', sans-serif;
}
.status-msg-2 {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
}
.status-msg-3 {
    font-size: 20px;
    color: red;
    font-family: 'Roboto', sans-serif;
}
