
html, body {
    height: 100%;
    margin: 0;
}


body {
    
    color: white;
    font-weight: bold;
    background-color: black;
    overflow-x: hidden;
}


.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.game1
{
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-left: 12.5%;
    margin-right: 12.5%;
    flex:1;
}

.level-buttons {
    font-size: 20px;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
}

.level-buttons:nth-child(1) { 
    background-color: #28a745; 
}

.level-buttons:nth-child(2) { 
    background-color: #ffc107; 
    color: black; 
}

.level-buttons:nth-child(3) { 
    background-color: #dc3545; 
}

.level-buttons:hover {
    opacity: 0.8; 
}

.level-buttons:focus {
    outline: none; 
}

.info {
    margin-top: 7%;
    background-color: #b9d4f0; /* Light background for the instruction box */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ced4da; /* Light border to frame instructions */
    font-family: Arial, sans-serif;
    color: #343a40; /* Dark color for the text */
    text-align: left;
}

.info p {
    font-weight: bold;
    font-size: 18px;
}

.info ul {
    margin-left: 20px;
}

.info li {
    margin: 10px 0;
}

/* footer1 styling */
/* .footer {
    background-color: grey; 
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    width: 100%;
    bottom: 0;
    left: 0;
    font-family: Arial, sans-serif;
    border-top: 1px solid #ccc;
}

.footer p {
    margin: 0;
    color: black;
    font-weight: 50000;
}

.footer a {
    color: #6600cc; 
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
    color: #003366; 
} */


/* Footer styling */
.footer {
    background-color: grey;
    padding: 20px;
    text-align: center;
    width: 100%;
    font-family: Arial, sans-serif;
    border-top: 1px solid #ccc;
    margin-top: 20px;
}

.footer p {
    margin: 0;
    color: black;
    font-weight: 5000;
}

.footer a {
    color: #6600cc;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
    color: #003366;
}
.hide
{
    display: none;
}
.errors-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    margin-bottom: 20px; 
}

.errors h2 {
    color: red;
    margin: 0; 
}
.timer h3 {
    color: white; 
    margin: 0; 
}

.board {
    width: 407px;
    height: 407px;
    background-color: gray;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.tile {
    width: 43px;
    height: 43px;
    border: 1px solid;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selected {
    background-color: rgb(0, 0, 0);
}

.digits {
    background-color: gray;
    width: 405px;
    height: 45px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.number {
    width: 43px;
    height: 43px;
    border: 1px solid;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile:hover, .number:hover {
    cursor: pointer;
}


.horizontal-border {
    border-bottom: 2px solid rgb(0, 0, 0);
}

.vertical-border {
    border-right: 2px solid rgb(0, 0, 0);
}
