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.55;
}

/*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;
  min-height: 100vh;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-bottom: 250px;
}

/* 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;
  border-radius: 8px;
}

/* 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);
}

/* 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;
}

#flexbox {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  gap: 60px;
  padding-top: 22px;
}

#spore:hover + .tooltip {
  visibility: visible;
  opacity: 1;
}

#warning:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.tooltip {
  visibility: hidden;
  width: fit-content;
  padding: 0 30px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  border-radius: 40px;
  position: absolute;
  z-index: 1;
  bottom: 100%; /* Position above the element */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(3px);
  font-size: 0.6em;
  white-space: nowrap;
}

.method-row {
  transition: height 0.3s ease-in-out;
}

img {
  transition: transform 0.3s ease-in-out;
}

img:hover {
  transform: scale(1.2);
}

#warning:hover + .tooltip {
  visibility: visible;
  opacity: 1;
}

.AllTooltip:hover + .tooltip {
  visibility: visible;
  opacity: 1;
}

.filter-container {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px;
  font-weight: bold;
}

.filter-header {
  cursor: pointer;
  user-select: none;
}

#filter-options {
  margin-top: 10px;
  display: none;
}

@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;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Space between the items */
  justify-content: center; /* Center items horizontally */
}

.filter-grid label {
  font-size: 4em;
  display: flex;
  align-items: center;
  margin: 20px; /* Add some spacing around each label */
}

.apply-filter-button {
  display: block; /* Allows centering with margin auto */
  margin: 20px auto; /* Centers the button horizontally */
  padding: 15px 30px; /* Adds padding to make the button larger */
  font-size: 2em; /* Sets a larger font size */
  font-weight: bold; /* Makes the text bold */
  color: white; /* Sets text color to white */
  background-color: #4caf50; /* Green background */
  border: none; /* Removes default border */
  border-radius: 8px; /* Adds rounded corners */
  cursor: pointer; /* Changes the cursor to pointer when hovered */
  transition: background-color 0.3s, transform 0.2s; /* Smooth transition for hover effect */
}

.apply-filter-button:hover {
  background-color: #45a049; /* Darker green on hover */
  transform: scale(1.05); /* Slightly enlarge button on hover */
}

.filter-container {
  background-color: rgba(0, 0, 0, 0.5);
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers all elements horizontally */
}

.filter-header {
  cursor: pointer;
  user-select: none;
  margin-bottom: 20px; /* Add some space between the header and options */
  font-size: 3em;
  text-align: center;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* Center items horizontally */
  max-width: 100%; /* Prevent overflow */
}

.apply-filter-button {
  margin: 20px auto;
  padding: 15px 30px;
  font-size: 2em;
  font-weight: bold;
  color: white;
  background-color: #4caf50;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.apply-filter-button:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

/* 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 */
  }
}

.filter-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: #ffffff; /* Default unchecked green background */
  border-radius: 4px;
  border: 4px solid #6f746f; /* Green border color */
  display: inline-block;
  margin-right: 40px;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Checked state with more vibrant green colors */
.filter-checkbox:checked + .custom-checkbox {
  background-color: #7cfc00; /* Bright green background for checked state */
  border-color: #00ff00; /* Light green border for checked state */
  background-image: url("/imgs/checkmark.png"); /* Custom checkmark image */
  background-size: 80% 80%;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 0 10px #00ff00; /* Green glow effect for checked state */
}

/* Add a hover effect to make it more interactive */
.custom-checkbox:hover {
  box-shadow: 0 0 5px #00ff00; /* Subtle green glow on hover */
  border-color: #32cd32; /* Lighter green border when hovered */
}

.custom-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1.5em; /* Adjust font size as needed */
  font-family: "MinecraftRegular", Arial, sans-serif;
  color: #fff;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* Center items horizontally */
  max-width: 100%; /* Prevent overflow */
}

.apply-filter-button {
  display: block; /* Allows centering with margin auto */
  margin: 20px auto; /* Centers the button horizontally */
  padding: 20px 40px; /* Adds padding to make the button larger */
  font-size: 2.5em; /* Sets a larger font size */
  font-weight: bold; /* Makes the text bold */
  color: #fff; /* Sets text color to white */
  background: linear-gradient(
    45deg,
    #08f11b,
    #00fc1d
  ); /* Gradient background with vibrant colors */
  border: none; /* Removes default border */
  border-radius: 12px; /* Adds more pronounced rounded corners */
  cursor: pointer; /* Changes the cursor to pointer when hovered */
  transition: background 0.5s, transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Adds shadow to make the button pop */
}

.apply-filter-button:hover {
  background: linear-gradient(
    45deg,
    #00fc1d,
    #08f11b
  ); /* Reverse gradient on hover for a dynamic look */
  transform: translateY(-5px) scale(1.05); /* Slightly raise the button and enlarge on hover */
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.5); /* Increase shadow on hover */
}

.scaled-content {
  transform: scale(0.67); /* Scale down to 67% */
  transform-origin: top left; /* Start scaling from the top-left corner */
  width: 150%; /* Counteracts the scale to keep the content centered */
  overflow-x: hidden; /* Prevent horizontal scrolling */
  backdrop-filter: blur(3px);
}

.content {
  position: relative;
  margin-top: 350px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(
    0,
    0,
    0,
    0.376
  ); /* Optional: if you want a semi-transparent background */
  padding: 20px;
  border-radius: 10px;
  height: auto;
  width: 1300px;
  font-family: "MinecraftRegular", Arial, sans-serif;
  font-size: 5em;
}
.content label,
.content select,
.content input {
  display: block;
  margin: 10px 0;
}
.content input[type="number"] {
  width: calc(100% - 20px);
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  background-color: rgba(102, 101, 101, 0.3); /* Semi-transparent background */
  color: white;
  font-family: "MinecraftRegular", Arial, sans-serif;
}
.content select {
  width: 100%;
  padding: 20px;
  border: none;
  border-radius: 5px;
  background-color: rgba(102, 101, 101, 0.3);
  color: white;
  font-size: 1em;
  font-family: "MinecraftRegular", Arial, sans-serif;
}

.content input[type="submit"] {
  background-color: #666;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.content input[type="submit"]:hover {
  background-color: #777;
}
.content select option {
  background-color: #333; /* Darker background color */
  color: #fff; /* White text color */
}

.content input[type="checkbox"] {
  height: 80px;
  width: 80px;
  margin: 10px 0;
  padding: 0;
  border: none;
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(102, 101, 101, 0.3);
}

.content input[type="checkbox"]:checked {
  background-color: rgba(102, 101, 101, 0.3);
}

.content input[type="checkbox"]:checked::before {
  content: "\2713";
  font-size: 80px;
  color: white;
  text-align: center;
  bottom: -30px;
  left: 10px;
  position: relative;
  line-height: 20px;
}

@-moz-document url-prefix() {
  .method-row {
    padding-top: 10px !important; /* Adjust as needed */
  }
}

@media (max-width: 480px) {
  body {
    zoom: 0.18;
  }
  .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 */
  }
  #advertisement {
    display: none;
  }
  .sub-count-text {
    display: none;
  }
}

@media (max-width: 1200px) {
  #advertisement {
    display: none;
  }
  .sub-count-text {
    display: none;
  }
}

.method-row div:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@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;
    zoom: 0.5;
  }
}