html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  margin: 0;
  padding: 20px;
}

body {
  font-family: "Minecraftia", Arial, sans-serif;
  background-size: cover; /* This will ensure the image covers the entire background */
  margin: 0;
  padding: 0px;
  color: #ffffff; /* Change text color for better visibility */
  zoom: 0.5;
}

/*METHOD LIST*/
body {
  font-family: "Minecraftia", Arial, sans-serif;
  background: url("/imgs/my advice 2.png") no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0px;
  color: #ffffff;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Flexbox for list container */
.list-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

/* List headers */
.list-header {
  display: flex;
  justify-content: space-between;
  width: 80%;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 8px;
  backdrop-filter: blur(3px);
}

/* Styling for individual rows */
.method-row {
  display: flex;
  justify-content: space-between;
  width: 80%;
  height: 100px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
}

/* Width settings for each column */
.method-row div,
.list-header div {
  flex: 1;
  text-align: center;
}

.method-row div:first-child,
.list-header div:first-child {
  flex: 2;
}

.list-header div:nth-child(4),
.method-row div:nth-child(4) {
  flex: 1.5; /* Increase space allocation for the last column */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .list-header,
  .method-row {
    flex-direction: column;
    width: 100%;
  }

  .method-row div,
  .list-header div {
    text-align: left;
    padding: 10px 0;
  }
}

#flexbox {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  gap: 60px;
  padding: 30px;
}

.method-row {
  transition: height 0.3s ease-in-out;
}

img {
  transition: transform 0.3s ease-in-out;
}

img:hover {
  transform: scale(1.2);
}

#golden-dragon-list {
  display: flex;
  flex-direction: column; /* Stack rows vertically */
  align-items: stretch;
  width: 100%;
  margin-top: 10px;
  margin-left: 18.9%;
}

@font-face {
  font-family: "Minecraftia";
  src: url("/fonts/Minecraftia.ttf") format("truetype");
}

@font-face {
  font-family: "MinecraftRegular";
  src: url("/fonts/MinecraftRegular-Bmg3.otf") format("truetype");
}

label {
  font-size: 4em;
  display: flex;
  align-items: center;
  font-family: "MinecraftRegular", Arial, sans-serif;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .filter-header {
    font-size: 2.5em; /* Reduce font size for smaller screens */
  }

  .filter-grid label {
    font-size: 2em; /* Reduce font size for smaller screens */
  }

  .apply-filter-button {
    width: 80%;
    font-size: 1.8em; /* Reduce button font size for smaller screens */
  }
}

.buy-button-container {
  text-align: center;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0; /* Remove unnecessary left margin */
}

.buy-button {
  background: linear-gradient(90deg, #0df437, #0ba20b);
  color: white;
  border: none;
  padding: 17px 25px; /* Reduce padding by 50% */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.6em; /* Reduce font size by 50% */
  font-weight: bold;
  margin: 10px 0; /* Keep consistent positioning */
  cursor: pointer;
  border-radius: 8px;
  margin-left: 60%;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
  font-family: "MinecraftRegular", Arial, sans-serif;
}

.list-header div:nth-child(4),
.method-row div:nth-child(4) {
  flex: 0.7; /* Reduce space allocation for the "Buy" button */
}

.buy-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(90deg, #39f352, #0eed33);
}

.buy-button:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.golden-dragon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  padding-bottom: 30px;
  padding-right: 30px;
}

.golden-dragon-img {
  width: 250px;
}

@media (pointer: coarse) {
  html,
  body {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-origin: border-box !important;
    overscroll-behavior: none;
  }
}
