body {
    background-size: cover;
    margin: 0;
    font-family: 'MinecraftRegular', Arial, sans-serif;
    color: white;
    text-align: left;
    zoom: 0.5;
    min-height: 100vh;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@media screen and (max-width: 480px) {
    body {
        zoom: 0.25;
    }
}
.header {
    position: relative;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5em;
    align-items: center;
    gap: 10px;
}
.content {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.637); /* 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;
    backdrop-filter: blur(7px);
}
.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;
}

h1 {
    font-family: 'Minecraftia', Arial, sans-serif;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@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');
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
img {
    width: 400px;
    vertical-align: middle;
}
/* Hide the default option */
option[value=""] {
    display: none;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-container label {
    font-size: 0.8em;
}

.checkbox-container input[type="checkbox"] {
    margin: 0;
    margin-left: 20px; /* Add this line */
}
#lvl-label {
    display: none;
}
  
#lvl-input {
    display: none;
}

#calculateButton {
    transition: all 0.3s ease-out;
}

#calculateButton:Hover {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    filter: brightness(105%);
    scale:1.05;
}

#PetButton {
    transition: all 0.3s ease-out;
}

#PetButton:Hover {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    filter: brightness(105%);
    scale:1.05;
}

@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;
    }
}
.scrollable-content {
    padding-bottom: 250px; /* Adds extra space at the bottom */
}

@media (pointer: coarse) {
    /* Global lock scrolling */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}
    /* Scrollable content adjusted to start below the header */
.scrollable-content {
    position: absolute;
    top: 0px; /* should match the fixed header’s height */
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-size: cover;
    padding-bottom: 250px; /* Adds extra space at the bottom */
}
}

body {
    min-height: 100vh;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
  