* {
    margin: 0;
    padding: 0;
    transition: 500 ease-in-out;
  }
  
  body {
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  
  .cont {
    display: grid;
    width: 600px;
    grid-template-columns: repeat(10, 1fr);
    margin: 0px 0 0px 0;
  }
  
  .cont div {
    width: 60px;
    height: 60px;
    border: 0.2px solid black;
  }
  
  #p1,
  #p2 {
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background-color: rgb(236, 82, 82);
    position: relative;
    border: 3px solid black;
  
    /* position: absolute; */
  }
  
  #p1 {
    position: relative;
    top: 0px;
    transition: all linear 0.5s;
    /* top: 0; */
    left: -62px;
    z-index: 2;
  }
  
  #p2 {
    z-index: 2;
    position: relative;
    top: -55px;
    left: -62px;
    transition: all linear 0.5s;
    background-color: rgb(243, 181, 46);
  }
  
  img {
    position: relative;
    top: -615px;
    left: 8px;
    /* z-index: -1; */
    margin: 0;
    width: 615px;
    height: 615px;
  }
  #diceCont {
    display: grid;
    place-items: center;
    position: absolute;
    top: 200px;
    left: 120px;
    font-size: 2rem;
    z-index: 99;
  }
  #diceBtn {

        display: flex;
        text-align: center;
        place-items: center; /* Center the dice inside the container */
        top: 92vh;
        left: 36vw;
        border: 2px solid black; /* Change the border color to black */
        border-radius: 10px; /* Add some border radius to make it rounder */
        width: 100px; /* Set a fixed width for the container */
        height: 100px; /* Set a fixed height for the container */
        background-color: white; /* Set a white background color for the container */
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2); /* Add some shadow to make it more realistic */
    
  }
  
  @media (max-width: 1250px) {
    
    #diceCont {
      display: flex;
      place-items: none;
      top: 92vh;
      left: 36vw;
      border: 2px solid red;
    }
    #diceBtn {
      width: 200px;
      margin-left: 20px;
    }
  }
  @media (max-width: 600px) {
    .cont{
      max-width: 100%;
    }
    #diceCont {
        top:100%;
    }
 
  }