/* Copyright 2024 CuqqaCoin. All rights reserved. Unauthorized use, modification, or distribution is prohibited. */
@media print {

  /* Only display the tilemap section */
  #tilemap, #tilemap * {
    visibility: visible;
  }

  #printButton{
    display: none;
  }

  #worldSettings
  {
    display: none;
  }
  
  #mapHolder
  {
    margin-right:32%;
    width: 500px !important;
    height: 500px !important;
  }
  
  #previewText
  {
    display: none;
    
  }

  #printTitleText
  {
    display: block !important;
    align-self: center;
    margin-left: 160px;
    font-size: 50px;
    margin-bottom: 20px;
  }

  /* Ensure that the tilemap is properly sized and formatted */


  /* Ensure tiles are shown correctly during print */
  .tile {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Hide the default page URL, date, and page number in header/footer (browser dependent) */
  @page {
    margin: 0;
    size: auto;
  }

  /* Hide all page headers and footers in the print version */
  header, footer {
    display: none;
  }

  .tilemap {
    width: 600px !important;
    height: 600px !important;
}

.rowOfPlayers1 {
  display: flex !important;
  flex-wrap: wrap; /* Ensures the cards wrap to the next row */
  
  width: 770px;
  overflow: hidden;
  position: relative;
  right: 126px;
  top:150px;
 
}

.rowOfPlayers2 {
  display: flex !important;
  flex-wrap: wrap; /* Ensures the cards wrap to the next row */
  
  width: 770px;
  overflow: hidden;
  position: relative;
  right: 126px;
  top:150px;
 
}

.playerCard {
  width: 100%;
  margin-top: 20px; /* Adjust the margin between rows */
  padding: 2px; /* Add some padding for spacing between cards */
  max-width: 380px;
}

}