/* Main Styles */
        @font-face {
            font-family: 'MinecraftTen';
            src: url('https://craftersmc.opendevsflow.xyz/src/font.woff2') format('woff2');
        }
@font-face {
    font-family: 'MyFont';
    font-style: bold;
    font-weight: 400;
    src: url('../fonts/MinecraftRegular-Bmg3.otf') format('opentype');
} 
/* :root {
    --text: #000;
}

   .dark-mode{
    --text: #fff;
   } */

body {
    font-family: 'MyFont';
    background-color: var(--body-bg);
    color: #ddd;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}


.item-container {
    background-color: #11111196;
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 100%;
    border: 2px solid #c6c6c6;
    text-align: center;
    margin: auto;
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.nature-pill {
    display: inline-block;
    background: var(--pill-bg);
    color: var(--text);
    font-weight: 600;
    padding: 6px 14px;
    font-size: 0.95rem;
    margin: 10px 0;
}

.stability {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.STABLE {
    font-family: 'MyFont';
    color: limegreen;
    background-color: rgba(0, 255, 0, 0.2);
    border: 1px solid rgb(0, 255, 0);
}

.OVERPAID {
    font-family: 'MyFont';
    color: goldenrod;
    background-color: rgba(255, 255, 0, 0.3);
    border: 1px solid rgb(255, 255, 0);
}

.UNDERPAID {
    font-family: 'MyFont';
    color: red;
    background-color: rgba(255, 0, 0, 0.3);
    border: 1px solid rgb(255, 0, 0);
}

.item-container img {
    max-width: 35%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 4px;
}

.price-img img {
    max-width: 1rem;
}

#rarityDropdown img {
  max-width: 100%;
}

.item-container h1 {
    font-family: 'MyFont' ;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    background: transparent;
    padding: 8px;
    color: #242424;
    background-color: #c6c6c6;
    box-shadow: 2px 2px 0 0 #ffffff inset, -1px -1px 0px 3px #777 inset !important;
}

.item-card {
    width: inherit;
}

.price {
    font-weight: bold;
    font-family: 'MyFont';
    font-size: 1.2em;
    color: orange;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    
}
.price-img {
  display: flex;
  width: max-content;
  align-items: center;
  width: 15%;
  justify-content: center;
  text-align: center;
  gap: 8px;
  font-family: MyFont, sans-serif;
}

.price-container img {
  max-width: 20%;
  margin: 0;
}

.price-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  width: 100%;
  border-radius: 10px;
  padding: 20px;
  gap: 24px;
}
.pet-price-container {
  margin-top: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  gap: 24px;
  margin: 20px 0;
}

.demand-main {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.price-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.price-img  {
  display: flex;
  width: max-content;
  align-items: center;
  width: 30%;
}

strong {
  font-family: 'MyFont';
  color: orange;
}

.item-container p {
    font-family: 'MyFont';
    font-size: 1.2em;
    margin: 0;
    color: var(--secondary-text-color);
    width: 100%;
}

.price img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0% !important;
}

.rarity-display {
    padding: 5px;
    font-family: 'MyFont';
    font-size: 1.2em;
    border-radius: 5px;
    display: inline-block;
    color: white;
    align-items:center;
    justify-content:center;
}

.attribute-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

img.rarity {
    height: 24px;
    width: auto;
    vertical-align: middle;
    margin: 0% !important;
}

.rarity-display img {
  max-width: 100%;
}

.attribute-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 0px !important;
    font-weight: bold;
    min-width: 100px;
    justify-content: center;
    font-family: 'MyFont';
    font-size: 1.2em;
    color: #a6a6a6 !important;
}

.yes {
    background-color: green;
    color: white;
}

.no {
    background-color: red;
    color: white;
}

.attribute-box img {
    width: 16px;
    height: 16px;
    margin: 0% !important;
    vertical-align: middle;
    margin-right: 8px;
}

.back {
    color: #222;
    background: var(--primary-color);
    padding: 10px 20px;
    margin: 10px auto 0 auto;
    display: block;
    width: fit-content;
    text-decoration: none;
    transition: 0.1s;
}

.back:hover {
    background: var(--primary-color-hover);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
}

@media (max-width: 698px) {
    .price, .pet-price-container {
        flex-direction: column;
    }
    .stability {
            flex-direction: column;
    }
}
