
@font-face {
    font-family: 'Effra'; /* Choose a name for your font */
    src: url('../../assets/Font/Effra\ Medium.ttf') format('truetype'); /* Provide the path to your TTF font file */
    /* You can also specify font-weight and font-style here */
  }

  body, html {

    background-color: #eee4cb;
    background-image: url('../../image/MainBkg.jpg'); /* Add your game's background image */
    background-size: cover;
    font-family: 'Effra', sans-serif;
    padding: 0;
  margin: 0;
  position: relative;
  }
  
  body{
    font-family: 'Effra', sans-serif;
  }
  *{
    font-family: 'Effra', sans-serif;
  }

  
  .footer { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    z-index: 10;

    background-color: #9c3d17;
    color: white;
    text-align: center;
    

    bottom: 0;
    left: 0;
    right: 0;
}

  /* Popup container */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }
  
  /* Popup content */
  .popup-content {
    background: #bf855c;
    color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    animation: fadeIn 0.5s;
  }

  #try-again-button {
    background-color: #3b2723;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
  }

  #try-again-button2 {
    background-color: #3b2723;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
  }

  /* Animation for popup fade-in */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.5);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .footer { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    z-index: 10;

    background-color: #9c3d17;
    color: white;
    text-align: center;
    

    bottom: 0;
    left: 0;
    right: 0;
}

#sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 200px; /* Adjust as needed */
  height: 100%;
  overflow-y: auto;
  background-color: #f0f0f0; /* Adjust the color as needed */
  border-left: 1px solid #ccc;
}

#myCanvas{
  background-color: #eee4cb !important;
}


header {
  position: fixed; /* Fix the header at the top */
  top: 0; /* Align the top edge of the header with the top of the screen */
  left: 0; /* Align the left edge of the header with the left edge of the screen */
  right: 0; /* Ensure the header stretches to the right edge of the screen */
  width: 100%; /* Make the header take the full width */
  background-color: #9c3d17; /* Keep your existing background color */
  color: #fff; /* Keep your existing text color */
  z-index: 1000; /* Ensure the header stays above other content */
  /* Add any other styling you have for the header */
}


.navbar-left-logo img {
  width: 100px;
}

.navbar-right-logo img {
  width: 120px; /* Adjust the width as needed */
}

.navbar-center-text {
  font-size: 24px; /* Adjust the font size as needed */
  font-weight: bold;
}


@media (max-width: 992px) {
  .navbar-center-text h2 {
      font-size: 18px;  /* Adjust font size for smaller screens */
  }

  .navbar-left-logo img, .navbar-right-logo img {
      width: 60px;  /* Adjust logo size for smaller screens */
  }
}

@media (max-width: 768px) {
  .navbar-center-text h2 {
      font-size: 14px;  /* Adjust font size for even smaller screens */
  }

  .navbar-left-logo img, .navbar-right-logo img {
      width: 50px;  /* Adjust logo size for even smaller screens */
  }
}

.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  direction: rtl;
}

.popup-content {
  background-color: #fff;
  color: #000;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px #000;
  text-align: center;
  max-width: 400px;
  font-family: sans-serif;
}

.popup-content h2 {
  margin-bottom: 15px;
  font-size: 24px;
}

.popup-content p {
  font-size: 18px;
  margin: 10px 0;
}

.popup-content button {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 18px;
  background-color: orange;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: darkorange;
}

