*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body{
    background-color: black;
}

.tileContainer {
    margin: 200px auto;
    width:max-content;
    display:grid;
    grid-template-columns: repeat(4,100px);
    gap: 20px;
    
}

.tile{

    height: 100px;
    /* background-color: white;
    border: 3px solid grey; */
    cursor: pointer;
    background: #fff;
    border-radius: 10px;
    box-shadow: -5px -5px 5px 4px rgba(255, 253, 253, 0.4);
}

#transparent{
    opacity:0;
    background-color: transparent;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 100%;
    text-align: center;
  }

  .popup-close {
    position: absolute;
    top: 40%;
    right: 40%;
    font-size: 3em;
    cursor: pointer;
    color:red;
  }

.name{

    width:40%;
    color:azure;
    font-size: 60px;
    margin: auto;
    text-align: center;
}


@keyframes gameove{

    0% {color:black; background-color: white; }
    25% {color:black; background-color: white; }
    50% {position:absolute; top:10%; left:30%; animation-timing-function: ease-out;}

}

@keyframes gameove1{

    0% {color:black; background-color: white; }
    25% {color:black; background-color: white; }
    /* 50% {position:absolute; top:10%; left:30%; animation-timing-function: ease-out;} */

}

.gameover{
    width:40%;
    color:azure;
    font-size: 60px;
    margin: auto;
    text-align: center;
    animation-name:gameove;
    animation-iteration-count: 2;
    animation-duration: 10s;

}

.lost{

    width:40%;
    color:azure;
    font-size: 60px;
    margin: auto;
    text-align: center;
    animation-name:gameove1;
    animation-iteration-count: 2;
    animation-duration: 10s;
}