@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');

*{
    padding:0;
    margin:0;
}
body {
    height: 100vh;
    background-color: #212529;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center children horizontally */
    justify-content: flex-start; /* Align children to top */
}
.Refresh {
    position: absolute;
    left: 20px;      /* Align to left */
    top: 20px;       /* Add some space from top */
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0;       /* Remove margin for precise positioning */
}
.conatiner{
width:450px;
margin:auto;
height:450px;

background-size:cover;
display:grid;
grid-template-columns: 150px 150px 150px;
grid-template-rows: 150px 150px 150px;


}
.tile, .emtile {
    width: 100px;           /* or your preferred size */
    height: 100px;          /* or your preferred size */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.tile {
    font-weight:900;
    font-family: 'Bruno Ace', cursive;
    font-size:2em;
    margin:0.5px; /* Reduced space between tiles */
    padding:15px;
    border-radius: 5px;
    transition-duration: 0.5s;
    -webkit-text-stroke:0.001px white;
}
.blscreen{
    position: fixed;
    width:100vw;
    height:100vh;
    display:none;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    
}
.winScreen{
width:600px;
height:300px;
margin:auto;
background-color: #ced4da;
border-radius:10px;
display:flex;
font-family: sans-serif;
box-shadow: 1px 1px 10px 5px rgba(0, 0, 0,0.5);


}
.winScreen>img{
width:300px;
height:300px;
border-radius: 10px;

}
.WinMessage{
    width:300px;
    display: flex;
    flex-direction: column;
    padding:10px;
    font-size: 1.1em;

}
h2{
    text-align:center;
    padding:5px;
}
.buttonGroup{
 
    margin:auto;
}
.buttonGroup>button{
    padding:5px 20px;
    border-radius:20px;
    margin:10px;
    font-size: 1.1em;
    background-color: #40916c;
    font-weight: bolder;
    color:white;
    font-family: 'Bruno Ace';

    cursor:pointer;
}
.choose-photo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px 0;
}
.choose-photo-group label {
    font-size: 1.2em;
    margin-bottom: 8px;
}
.choose-photo-group input[type="file"] {
    display: block;
}
.custom-file-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.custom-file-btn {
    background: #40916c;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-family: 'Bruno Ace', cursive;
    font-size: 1em;
    font-weight: bold;
    margin-top: 4px;
    display: inline-block;
}
.MovesCountBox {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #40916c;
    color: #fff; /* Change to white for visibility */
    padding: 10px 18px;
    border-radius: 20px;
    font-family: 'Bruno Ace', cursive;
    font-size: 1.2em;
    z-index: 9999; /* Ensure it's on top */
}
