@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@600&display=swap');

.shop {
    width: 100%;
    flex-direction: column;
    font-family: 'Dosis', sans-serif;
    background-color: var(--background-color);
    color: white;
    padding: 0;
    height: 100%;
    margin: 0;
    padding-bottom: 5rem;
    overflow: scroll;
}

/* Header */
.shop-header {
    width: 100vw;
    position: relative; /* Ermöglicht die absolute Positionierung der Münzen */
    display: flex;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color);
    border-bottom: 1px solid white;
    color: white;
}

.title{
    padding-top: 1rem;
    margin: 0;
    padding: 0;
}

.shop-title {
    font-size: 2.8rem;
    margin: 0;
}

.currency {
    position: absolute; /* Positionierung relativ zum Header */
    right: 10px;      /* Abstand vom rechten Rand – anpassbar */
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.7rem;
    align-items: center;
    border-radius: 10px;
}

.kohle {
    display: flex;
    align-items: center;
    padding: 5px 7px;
}

.coins-shop {
    padding-right: 0px;
    font-size: 1.4rem;
}

.coinse-img {
    padding-left: 4px;
}

.currency img {
    width: 20px;
    height: 20px;
}

/* ✅ Neue Überschrift für das Inventar */
.inventory-title {
    margin-top: 2rem;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.shop h2{
    margin-left: 5%;
    width:90%;
}

.shop section{
    margin-left: 5%;
    width:90%;
}


/* ✅ Inventar jetzt über die volle Breite */
.inventory {
    display: flex;
    gap: 5%;
    margin-bottom: 35px;
    width: 100%;
}

.inventory-item1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background-color: var(--line-color);
    padding: 0.6rem 0;
    border-radius: 12px;
    text-align: center;
    width: 47.5%;
}

.inventory-item1 img {
    width: 30px;
    height: 30px;
}

#streak-count {
    font-size: 1.5rem;
}

.inventory-item2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background-color: var(--line-color);
    padding: 0.6rem 0;
    border-radius: 12px;
    text-align: center;
    width: 47.5%;
}

.inventory-item2 img {
    width: 30px;
    height: 30px;
}

#token-count {
    font-size: 1.5rem;
}

/* Shop-Items */
.shop-items {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

/* ✅ Überschrift für die Shop-Items */
.shop-items-title {
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 1.5rem;
}

.shop-item1 {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Damit nehmen die inneren Container die volle Breite ein */
    text-align: left;
    margin-bottom: 8px;
    justify-content: space-between;
    border: 2px solid var(--line-color);
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.shop-item2 {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Damit nehmen die inneren Container die volle Breite ein */
    text-align: left;
    margin-bottom: 8px;
    justify-content: space-between;
    border: 2px solid var(--line-color);
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover-Effekt für Shop-Items */
.shop-item:hover {
    background-color: #2a3a4a;
}

/* Links: Gekauftes Item */
.shop-item1 .left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Rechts: Preis */
.shop-item1 .right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1rem;
}

.right1 img {
    width: 15px;
    height: 15px;
}

.left1 img {
    width: 30px;
    height: 30px;
}

.left1, .left2 {
    display: flex;
    align-items: center; /* Zentriert die "1x" und "10x" mit den Icons */
    gap: 2px; /* Optional: Abstand zwischen Text und Icon */
}

.right1, .right2 {
    display: flex;
    align-items: center;
    gap: 2px;
}

.einmal, .zehnmal {
    font-size: 1.5rem;
    line-height: 1; /* Verhindert, dass Text nach oben oder unten rutscht */
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Volle Breite für korrekte Links-/Rechtsausrichtung */
}
  
  .shop-item-description {
    text-align: left;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #ccc; /* Beispiel: etwas helleres Grau */
    max-width: 75%;
  }
  
  






/* Links: Gekauftes Item */
.shop-item2 .left {
    display: flex;
    align-items: center;
    font-size: 2rem;
}

/* Rechts: Preis */
.shop-item2 .right {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.price {
    padding-right: 3px;
}

.right2 img {
    width: 15px;
    height: 15px;
}

.left2 img {
    width: 30px;
    height: 30px;
}






.profilbilder-title {
    margin-top: 0px;
    margin-bottom: 8px;
}




/* ✅ Einheitliches Styling für alle Überschriften */
.section-title {
    margin-bottom: 8px;
    margin-top: 25px;
    font-size: 1.5rem;
}

.profile-picture-container {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    -ms-overflow-style: none;  /* Für Internet Explorer & Edge */
    scrollbar-width: none;  /* Für Firefox */
    margin-left: -15px; /* Korrigiert das body-Padding links */
    margin-right: -15px; /* Korrigiert das body-Padding rechts */
    padding-left: 15px; /* Fügt den Abstand links wieder hinzu */
    padding-right: 15px; /* Fügt den Abstand rechts wieder hinzu */
}

.profile-picture-container a{
    margin-left:1rem;
    opacity:0.7;
}

.profile-picture-container::-webkit-scrollbar {
    display: none;  /* Scrollbar in Chrome & Safari ausblenden */
}

/* ✅ Der Track enthält jetzt korrekten Abstand */
.profile-picture-track {
    display: flex;
    gap: 12px;
    padding-right: 15px; /* Abstand zum rechten Rand */
}

.profile-picture-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #2a3a4a;
    border-radius: 23px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 999;

}

.profile-picture {
    background: var(--profile-bg, rgb(153, 93, 226)); /* Default-Farbe, wenn keine Variable gesetzt ist */
    padding: 1.5rem;
    padding-top: 0.7rem;
    padding-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
}


.profile-bottom {
    text-align: center;
    justify-content: center;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-top: 0.3rem;
}

.profile-price {
    display: flex;
    align-items: center;
    gap: 3px; /* Kleiner Abstand zwischen Zahl und Icon */
    font-size: 0.9rem;
    color: white;
}

.coin-icon {
    width: 15px; /* Viel kleiner */
    height: 15px;
}



.profile-picture img {
    width: 120px;
    height: 120px;
}

.buy-button {
    display: flex;
    background-color: rgb(66, 186, 120);
    border: none;
    width: 7.3rem;
    border-radius: 0.7rem;
    margin-top: 0.7rem;
    margin-bottom: 0.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.1rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  


