/* General body styling */
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: none;
  /* Prevent conflicting background settings */
  /* z-index: 200; */
  background: url("./assets/images/bg-02.webp") no-repeat center center fixed;
  background-size: cover;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.background-container {
  position: relative;
  width: 100vw;
  height: 100vh;

  z-index: 5;
}

/*  */

/* General styling for #FortuneWheelGif */
#FortuneWheelGif {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  /* Default size for larger screens */
  height: 10px;
  margin-top: 3rem;
  z-index: 2;
  /* Above Phaser canvas */
}

/* ram start */

#header {
  height: 40px;
  position: absolute;
  background-color: transparent;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 6;
  margin-top: 20px;
  visibility: hidden;
}

.settingBtn {
  height: 35px;
  width: 35px;
  padding-right: 15px;
  z-index: 1;
  /* z-index should not have a unit */

  cursor: pointer;
}

@media (max-width: 768px) {
  .settingBtn {
    height: 28px;
    width: 28px;
  }
}

@media (max-width: 480px) {
  #header {}
}

.settingCard {
  height: 343px;
  width: 230.5px;
  position: fixed;
  top: 5px;
  right: 0;
  z-index: 10;
  background-image: url(assets/settings_assets/settings_base.webp);
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(250px);
  transition: transform 0.3s ease-in-out;
  color: white;
  font-size: 16px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: sans-serif;
}

.setingCardItems {
  height: 40px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.setingCardItems img {
  height: 14px;
}

/* Header styling */
#setting {
  font-size: 22px;
  position: relative;
  left: 55px;
  font-weight: 600;
}

#cross {
  height: 25px;
  cursor: pointer;
}

/* Individual image styles */
#vibrationMute {
  height: 18px;
}

#winImg {
  height: 24px;
}

#chatImg {
  height: 18px;
}

#home {
  height: 20px;
}

.userInfo {
  height: 40px;
  width: auto;
  padding-left: 13px;
  z-index: 1;
  /* z-index should not have a unit */
  top: 3.5%;
  /* Use percentage or relative units */
  left: 2%;
  /* Adjust to fit the desired position */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .userInfo {
    top: 3%;
    left: 3%;
  }
}

@media (max-width: 480px) {
  .userInfo {
    top: 3%;
    left: 6%;
  }
}

#backBtn {
  width: 15px;
  height: 20px;
  background-image: url(assets/images/back_btn.webp);
  background-size: contain;
  background-repeat: no-repeat;
}

#pf {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-image: url(assets/images1/1.webp);
  background-size: contain;
}

#pingContainer {
  width: 30px;
  height: 38px;
  text-align: center;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  margin: 15px;
  padding: 2px;
  border-radius: 5px;
  background-color: #000604;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

#networkBars {
  width: 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  gap: 1px;
  margin-bottom: 1px;
  padding: 3px 3px 2px 4px;
}

.bar {
  width: 1.5px;
  background-color: #32cd32;
  /* Neon green */
  border-radius: 2px;
  gap: 2px;
}

.bar:nth-child(1) {
  height: 3px;
}

.bar:nth-child(2) {
  height: 5px;
}

.bar:nth-child(3) {
  height: 7px;
}

.bar:nth-child(4) {
  height: 10px;
}

#pingDiv {
  font-size: 8px;
  text-align: center;
  width: 30px;
  color: white;
}

.ping-unit {
  color: #32cd32;
  /* Neon green */
  font-weight: bold;
}

.border {
  width: 25px;
  height: 3px;
  display: flex;
  gap: 1.5px;
  justify-content: center;
}

.B1,
.B2 {
  width: 9px;
  height: 1px;
  background-color: #32cd32;
  border-radius: 2px;
}

#logo {
  position: absolute;
  top: 40%;
  /* Default top position for larger screens */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  /* Scale down the logo */
  max-width: 400px;
  /* Limit the maximum width */
  height: auto;
  /* Maintain the aspect ratio */
  z-index: 2;
  /* Above Phaser canvas */
}

/* ram end  */

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  #FortuneWheelGif {
    width: 80%;
    /* Adjust width to fit smaller screens */
    height: auto;
    /* Maintain aspect ratio */
    margin-top: 2rem;
    /* Adjust margin if needed */
  }
}

/* Landscape-specific adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  #FortuneWheelGif {
    width: 60%;
    /* Adjust width for landscape mode */
    height: auto;
    /* Maintain aspect ratio */
    margin-top: 1rem;
    /* Adjust margin for landscape */
  }
}

/* Portrait mode adjustments */
@media (max-width: 768px) and (orientation: portrait) {
  #logo {
    top: 45%;
    /* Shift the logo slightly upward in portrait mode */
    width: 70%;
    /* Reduce width for smaller portrait screens */
    max-width: 300px;
    /* Limit the maximum width further */
  }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  #logo {
    top: 45%;
    /* Adjust top position for landscape mode */
    width: 60%;
    /* Reduce width for smaller landscape screens */
    max-width: 150px;
    /* Limit the maximum width further */
  }
}

@media (orientation: portrait) {
  #pingDiv {
    display: none;
  }
}

/* Font-face definitions */
@font-face {
  font-family: "Roboto-Bold";
  src: url("./assets/fonts/roboto/Roboto-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RENEGADEPURSUIT-YWMR5";
  src: url("./assets/fonts/RENEGADEPURSUIT-YWMR5.TTF") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Medium";
  src: url("./assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Bold";
  src: url("./assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/*updated*/

/* Font-face definitions */
.blackbg {
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: #000000;
  opacity: 0.8;
  z-index: 4;
  display: none;
}