*, *::before, *::after {
    box-sizing: border-box;
    user-select: none;
  }
  
  body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("imgs/skyblue.webp");
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
  }
  
  .game {
    overflow: hidden;
    position: relative;
  }

  .tton {
    position: relative;
    margin-top: 1px;
    left: calc(var(--left) * 1%);
    height: 20%;
  } 
  
  .nftTotalScore {
    position: absolute;
    font-size: 3vmin;
    right: 30vmin;
    top: 4vmin;
  }
  
  .gweiTotalScore {
    position: absolute;
    font-size: 3vmin;
    right: 30vmin;
    top: 1vmin;
  }
  
  .score {
    position: absolute;
    font-size: 3vmin;
    right: 1vmin;
    top: 1vmin;
  }
  
  .button1 {
    position: absolute;
    font-size: 3vmin;
    left: 1vmin;
    top: 1vmin;
    margin-bottom: 4px;
  }
  .btnOrange {
    background: #FFAA40;
  }
  .btnOrange.btnPush {
    box-shadow: 0px 5px 0px 0px #A66615;
  }
  .btnPush:hover {
    margin-top: 15px;
    margin-bottom: 5px;
  }
  
  .button2 {
    position: absolute;
    font-size: 3vmin;
    left: 1vmin;
    top: 8vmin;
  }
  
  .button3 {
    position: absolute;
    font-size: 3vmin;
    left: 1vmin;
    top: 15vmin;
  }
  
  
  .score1 {
    position: absolute;
    font-size: 3vmin;
    right: 1vmin;
    top: 4vmin;
  }
  
  
  .start-screen {
    position: absolute;
    font-size: 5vmin;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .hide {
    display: none;
  }
  
  .ground {
    --left: 0;
    position: absolute;
    width: 300%;
    bottom: 0;
    left: calc(var(--left) * 1%)
  }
  
  .player {
    --bottom: 0;
    position: absolute;
    left: 1%;
    height: 30%;
    bottom: calc(var(--bottom) * 1%);
  }
  
  .obstacle {
    position: absolute;
    left: calc(var(--left) * 1%);
    height: 30%;
    width: 10%;
    bottom: 0;
  }
  .obstacle1 {
    position: absolute;
    left: calc(var(--left) * 1%);
    height: 20%;
    width: 5%;
    bottom: 0;
  }
  .nft {
    position: absolute;
    left: calc(var(--left) * 1%);
    height: 30%;
    bottom: 100px;
  }

  .nft1 {
    position: absolute;
    left: calc(var(--left) * 1%);
    height: 30%;
    width: 20%;
    bottom: 100px;
  }


  /* //adding for :-modal */

  /* Set a style for all buttons */
  button {
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
  }
  button:hover {
    opacity:1;
  }
  
  /* Float cancel and delete buttons and add an equal width */
  .cancelbtn{
    
        float: center;
        width: 50%;
      
  } 
  .deletebtn {
    float: center;
    width: 30%;
    margin: 10px;
  }
  
  /* Add a color to the cancel button */
  .cancelbtn {
    background-color: #ccc;
    color: black;
  }
  
  /* Add a color to the delete button */
  .deletebtn {
    background-color: #f44336;
  }
  
  /* Add padding and center-align text to the container */
  .container {
    padding: 16px;
    text-align: center;
  }
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #474e5d;
    padding-top: 50px;
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* Style the horizontal ruler */
  hr {
    border: 1px solid #f1f1f1;
    margin-bottom: 25px;
  }
   
  /* The Modal Close Button (x) */
  .close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: #f1f1f1;
  }
  
  .close:hover,
  .close:focus {
    color: #f44336;
    cursor: pointer;
  }
  
  /* Clear floats */
  .clearfix::after {
    content: "";
    clear: both;
    display: table;
  }
  
  /* Change styles for cancel button and delete button on extra small screens */
  @media screen and (max-width: 300px) {
    .cancelbtn, .deletebtn {
       width: 100%;
    }
  }