@font-face {
    font-family: leaguespartan;
    src: url("../fonts/LeagueSpartan-Regular.29478e819546.ttf");
  }
  @font-face {
      font-family: leaguespartanbold;
      src: url("../fonts/LeagueSpartan-Bold.0eed625a3785.ttf");
    }
body {
    font-family: leaguespartan !important;
    background-color: #000008;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    
}
a {
    color: #ffebe6;
}

a:hover {
    color: #b0914f;
}
button{
    font-family: leaguespartan !important;
}
.container {
    background-color: #070606;
    padding: 0px;
    max-width: 500px;
    min-width: 240px;
    height: 100vh;
    width: 100%;
    color:#FCE8E3;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 1px solid #191413;
}
.container::-webkit-scrollbar {
    display: none;
}
.container > div{
    text-align: center;
}
.content-container {
margin-top: 100px;
}
.center-container{
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    width: 100%;
}

.font-leaguespartan-bold {
    font-family: leaguespartanbold;
}
.font-leaguespartan{
    font-family: leaguespartan;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.container-margin-2px{
    margin-top: 2px;
}
.homepage_bg {
    text-align: center;
    position: relative;
    color: white;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #191413;
    font-size: 12px;
    width: 100%;
    height: 230px;
    margin: 0 auto;
    box-sizing: border-box;
}
.success-messages-green{
    color:#eafce3;
}
.mb-5{
    margin-bottom: 5px;
}
.poi {
    position: absolute;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90px;
    padding: 5px;
    height: 20px;
    background: rgba(7, 6, 6, 0.7);
    border: 1px solid #191413;
    border-radius: 0.2rem;
    color: white;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.3s ease;
    text-shadow: 1px 0 2px #000, 0 -1px 2px #000, 0 1px 2px #000, -1px 0 2px #000;
}

.poi:hover {
    transform: scale(1.3); /* Increase size on hover */
    color: white; /* Keep text color white on hover */
    background: rgba(7, 6, 6, 0.9);
    border: 1px solid rgba(7, 6, 6, 1);
}

.homepage_map{
    position: relative;
}



/* Shop styles */

.shop-container {
    padding: 20px;
}

.npc-header {
    text-align: center;
    margin-bottom: 20px;
}

.npc-profile img {
    margin-top: 10px;
    border-radius: 2%;
    border: 1px solid #0c0a0a;
    max-width: 130px;
}

.npc-background {
    width: 100%;       /* Full width */
    height: 235px;     /* Desired height */
    max-width: 500px;  /* Max width */
    background-size: cover;   /* Cover the container */
    background-position: center; /* Center the background */
    background-repeat: no-repeat; /* Prevent repetition */  
}

.npc-title {
    padding: 2px;
    background-color: rgba(7, 6, 6, 0.6);
    font-size: 12px !important;
}

.npc-name, .arena-name {
    font-family: leaguespartanbold;
    font-size: 20px;
    margin-top: 10px;
}

.npc-quote,.arena-quote {
    font-size: 12px !important;
    font-style: italic;
    padding-bottom: 5px;
}

.shop-content {
    text-align: left;
}

.header-text-box {
    font-family: leaguespartanbold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.items-for-sale {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item {
    border-top: 1px solid #2b2525;
    border-bottom: 1px solid #2b2525;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible; 
    transition: background-color 0.3s ease;
}


.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    height: 40px;
    background-color: #0c0a0a;
    position: relative; 
}

.item-row:hover{
    background-color: #0f0d0d;
}

.item-icon {
    position: relative;
}

#item-icon-main{
    max-width: 30px;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    padding: 2px;
    border: 1px solid #2b2525; 
}

#item-icon-main:hover {
    border-color: #554949;
}

.item-details {
    flex-grow: 1;
    padding-left: 10px;
    text-align: left;
}

.item-name {
    font-family: leaguespartanbold;
    font-size: 0.9em;
}

.item-level {
    font-size: 0.8em;
    color: #b0b0b0;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trade-button {
    background-color: #070606;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 30px;
    border: 1px solid #2b2525;
    border-radius: 5px;
    transition: border-color 0.1s ease;
}

.trade-button:hover {
    border-color: #b0914f;
}

.shop-price-icon,
.shop-buy-icon {
    width: 30px;
    height: 30px;
}

.buy-button {
    background: none;
    border: none;
    cursor: pointer;
}

.item-quote {
    font-style: italic;
    color: #b0914f;
    margin-top: 10px;
}

.item-popup {
    position: absolute;
    top: 50%;
    left: 110%;
    transform: translateY(-50%);
    width: 200px;
    background-color: #070606;
    border: 1px solid #191413;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    display: none;
    z-index: 300; 
    transition: opacity 0.1s ease; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
    pointer-events: none; 
    white-space: normal;
    max-height: 250px; 
    overflow: auto;
}

.popup-price {
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    font-size: 0.8em;           
    margin-top: 10px;
}

.popup-price img {
    width: 15px; 
    height: 15px;
    margin-right: 5px;
}


.item-popup .popup-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.popup-name {
    font-family: leaguespartanbold;
    font-size: 1em;
}

.popup-level {
    font-size: 0.8em;
    color: #b0b0b0;
}

.popup-content {
    font-size: 0.9em;
}

.popup-content p {
    font-size: 0.8em;  /* Smaller font size for popup content */
    margin: 3px 0;     /* Reduced margin between lines */
}

.attributes-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-aligns attributes */
}

.attribute-item {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Adjust width to ensure proper alignment */
    margin: 3px 0; /* Small margin between attribute rows */
}

.attribute-name {
    flex: 2;
    text-align: left;
}

.attribute-value {
    flex: 1;
    text-align: right;
}

.item-description {
    margin-top: 10px;
    font-size: 0.9em;
}

.item-quote {
    margin-top: 5px;
    font-style: italic;
    color: #b0914f;
}

.item-price {
    text-align: right;
    margin-top: 5px;
}

.purchase-popup {
    position: absolute;           
    top: 50%;                      
    left: 10%;                       
    transform: translateY(-50%);   
    background-color: #070606;
    border: 1px solid #191413;     
    color: #ffffff;                
    border-radius: 5px;            
    padding: 10px;                 
    z-index: 200;                  
    transition: opacity 0.3s ease; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
    pointer-events: none;          
    white-space: normal;          
    max-width: 250px;              
    width: fit-content;            
    opacity: 0;                    
    text-align: center;            
}

.item-quantity {
    margin: 0 10px; /* Add some margin for spacing */
}

.quantity-select {
    background-color: #0c0a0a; /* Dark background to match theme */
    color: #ffffff;           /* White text for readability */
    border: 1px solid #2b2525; /* Match border style with items */
    border-radius: 3px;       /* Rounded corners for consistency */
    padding: 5px;             /* Padding for better appearance */
    font-size: 0.9em;         /* Font size to match other elements */
    transition: border-color 0.1s ease; /* Transition effect for hover */
}

.quantity-select:hover {
    border-color: #554949; /* Highlight border on hover */
}