

body {
  background-image: url(assets/images/wave_background.png);
  background-position: center;
  background-size: cover;
    height: 800px;
    margin: 0;
    display: grid;
    font-family: Arial, sans-serif;
    place-items: center;
  }
  
  .grid-container {
    background: transparent;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border-style: solid;
   
    display: grid;
    width: 500px;
    height: 400px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 10px;
    justify-content: center;
    padding: 20px;
    display: none;
  }
.Game-End{
  background-color: green;
   text-align: center;
  width: 400px;
  border-radius: 25px;
  border: 5px solid #ccc;
  height: 150px;
  bottom: 35%;
  position: fixed;
  display: none;
}
  .Winner-Banner{
    border-radius: 25px;
  }
  
  [data-position] {
    width: 100px;
    height: 150px;
    border-radius: 25px;
    cursor: pointer;
    border: 4px solid #ccc;
    display: flex;
    align-items: center;
    transition: 90ms;
    transform-style: preserve-3d;
    justify-content: center;
  }

  .card__face {
    
    background-image: url('assets/images/fox.png');
    border-radius: 20px;
    position: absolute;
    width: 100%;
    height: 100%; 
    line-height: 260px;
  
    font-size: 30px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .Start-Button{
    background-color: #9a6dff;
    font-family: 'Courier New', Courier, monospace;
    border-color: rgb(12, 33, 63);
    padding: 0 40px;
    font-size: 25px;
    color: white;
    height: 45px;
    border-radius: 30px;
  }

  .Button-Container{
    display: flex;
   /* background-color: red; */
   align-items: center;
   justify-content: center;
   height: 500px;
   width: 500px;
  }

  .Back-Image{
    border-radius: 20px                                 ;
  }

  .card__face--front {
    background-image: url(assets/images/card_front.png);
    border-radius: 20px;
    justify-content: center;
  }

  .card__face--back {
    transform: rotateY(180deg);
    border-radius: 20px;
  }
  .Hello_Word--back {
    transform: rotateY(180deg);
    border-radius: 20px;
  }

  .card__face--back img{
    object-fit: contain;
  }
  

  .Card.is-flipped {
    transform: rotateY(180deg);
  }
  @keyframes fadeIn {
    from {
      opacity: 0; /* Start with fully transparent */
    }
    to {
      opacity: 1; /* End with fully opaque */
    }
  }  

  .Game-End.Animated{
    transform: rotateY(180deg);
    animation: fadeIn 1s ease-in;
  }

 