* {
    font-family: 'Cinzel', serif;
  }
  
  body {
    background-image: url("Assets/background.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    color: rgb(34, 34, 34);
  }
  
 #welcome{
    text-align: center;
    background-color: rgba(74, 243, 232, 0.7);
    box-shadow: 2px 2px 2px gray;
    margin: 26em auto;
    border: 3px solid rgb(31, 148, 7);
    padding: 2em 5em; 
  }
  
  #label{
    font-size: 35px;
    font-weight: bolder;
  }
  #h1{
    font-size: 52px;
    font-weight: bolder;
    font-style: oblique;
    margin-top: 4px;
    color: rgb(250, 3, 3);
  }
  #player-num{
    width: 1.5em;
    font-size: 30px;
    margin: 2px 1px 2px 1px;
    font-weight: bolder;
    height: 2em;
    background-color: rgba(136, 244, 244, 0.68); ;
  }
  
.button{
  width: 8em;
  height: 3em;
  font-size: 1.5em;
  color: rgb(2, 106, 40);
  padding: 5px 10px;
  background-color: silver;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 2px 2px px gray;
  margin-bottom: 0em;
  margin-top: 0.1em;
  border: solid 2px rgb(34, 34, 34);
}
.button:hover{
  font-style: oblique;
  color: darkgreen;
/* smargin-bottom: 0em; */
}  
.button:disabled {
  background-color: rgb(250, 246, 246);
  box-shadow: inset 2px 2px 5px gray;
}
  #drawer {
    background-color: rgba(136, 244, 244, 0.68);
    transition: 0.2s;
    padding-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: bolder;
    overflow-x: hidden;
      width: 0;
      position: fixed;
      z-index: 1000;
      top: 0;
    height: 38%;
    right: 0;
  }
  
  .drawerBtn {
    position: absolute;
    top: 0;
    right: 0;
    height: 110px;
    width: 175px;
    border: 5px ridge silver;
    border-radius: 25%;
    background-color: #fbfbfbc3;
    font-size: 30px;
  }
  
  /* disable scrollbar */
  ::-webkit-scrollbar {
    display: none;
  }
  
  #board {
    display: grid;
    grid-template-columns: repeat(10, 95px);
    grid-template-rows: repeat(10, 90px);
    border: 7px ridge silver;
    background-image: url("Assets/snl.jpg");
    /* margin: 0.5em 43.5em 1.5em; */
  }
  .board-container{
    position:fixed;
    top:45%;
    left:50%;
    transform: translate(-50%, -50%);
    margin-bottom: 3px;
  }

  @media screen and (max-width: 768px) {
    #board {
      margin-left:auto;
      margin-right: auto;
      position: absolute; /* Center the board horizontally */
    }
    .controls{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: 20px;
    position: fixed;
    bottom: 0;
    left: 40%;
    transform: translateX(-50%);
    }
    #dice-results {
        font-weight: bold;
        font-size: 2.2rem;
        margin-top: 0.1em;
        color:rgb(3, 250, 250)
      }
      #win-text{
      font-size: 2.2rem;
      margin-top: 0.3em;
    }
      .inline {
         font-size: 30px;
      }
      .m-lr {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 15px;
      }
  }

  .tile {
    position: relative;
    margin: 3px;
    padding: 5px 5px;
    font-size: x-small;
    font-weight: bold;
    box-sizing: border-box;
    width: 70px;
    height: 70px;
  }
  
  .player {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 45%;
    border: 9px ridge cadetblue;
    margin: auto;
    background-color: lightblue;
    z-index: 100;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    text-align: center;
    font-weight: bolder;
    font-size: 20px;
  }
  
  .ladder-start {
    background-color: rgba(218, 165, 32, 0.2);
    border: 10px ridge goldenrod;
    position: absolute;
    height: 5px;
    transform-origin: top left;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  
  .Snake-start {
    background-color: rgba(165, 42, 42, 0.2);
    border: 10px ridge darksalmon;
    position: absolute;
    height: 5px;
    transform-origin: top left;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  
  .coords {
    position: absolute;
    margin: 0;
    top: 0;
  }
   
  #dice-results {
    font-weight: bold;
    font-size: 3.2rem;
    margin-top: 0.1em;
    color:rgb(3, 250, 250)
  }
  #win-text{
  font-size: 3.2rem;
  margin-top: 0em;
  color: rgb(145, 251, 6);
}
  
  .game {
    margin: auto;
  }
  
  .inline {
    display: inline-block;
    font-size: 50px;
    padding-bottom: 0px;
  }
  
  .m-0 {
    margin: 0;
  }
  
  .m-lr {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 25px;
  }
  
  .controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: 20px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }