@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@600&display=swap');

.profil-auswahl {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Verhindert horizontales und vertikales Scrollen */
    font-family: "Dosis", sans-serif;
    background-color: var(--background-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* Für die absolute Positionierung des Back Arrows und des Settings Icons */
}


.Profilbild-container1 {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 5%;
    border-bottom: 3px solid var(--line-color);
}

.Profilbild-container1 a {
    display: flex;
}

.Profilbild-groß {
    width: 50vw; /* Größe des Profilbildes anpassen */
    object-fit: cover;
}

.Benutzerdaten {
    transition: height 0.5s ease;
    margin-top: 15px;
    width: 90%;
    display: block;
    justify-content: center;
    outline: 3px solid var(--line-color);
    background-color: var(--background-color);
    border-radius: 1rem;
}

.tabs{
    display:flex;
    align-items: center;
    justify-content: center;
    padding-top:0.8rem;
    margin-bottom: 3px;
}

.name{
    font-size: 1.6rem;
    width: 90%;
    padding-top: 12px;
    text-align: left;
    align-items: center;
    justify-content: space-between;
}

#username-display {
    align-items: center;
}







.share-button {
    display: inline-flex;
    align-items: right;
    justify-content: center;
    margin-left: 10px; /* Abstand zum Benutzernamen */
    border: 3px solid var(--line-color);
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
    background-color: var(--background-color);
    transition: all 0.3s ease;
}

.share-button img {
    width:25px;
    height: 25px;
}

.share-button:hover {
    background-color: #e48d45;
}

.username-container {
    font-size: 1.2em;
}






.profil-auswahl header {
    width: 75%;
    max-width: 20em;
    text-align: left;
    margin-top: 15%;
}

.profil-auswahl #spieler-container {
    position: fixed;
    width: 90%;
    padding-left: 5%;
    padding-top: 7%;
}

.profil-auswahl .header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem; /* Abstand zu den Input-Feldern */
}

.profil-auswahl .back-arrow {
    color: white;
    text-decoration: none;
    position: relative;
    font-size: 2rem;
    margin-right: 0.2rem;
    width: 2rem;
    height: 2rem;
    z-index: 999;
}

.profil-auswahl .pfeil {
    height: 2rem;
    width: 2rem;
}

.profil-auswahl .Überschrift {
    color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    font-size: var(--font-size-header);
}

.profilbilder {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1rem;
    width: 90%;
}

.profilbild {
    width: calc(33.3vw - 0.6rem - 5vw - 0.8rem);
    height: calc(33.3vw - 0.6rem - 5vw - 0.8rem);
    padding: 0.4rem 0.4rem;
    padding-bottom: 0;
    text-align: center;
    border-radius: 1rem;
    border: 3px solid var(--line-color);
    display: flex;
    flex-direction: column;
    justify-content: end;
    font-size:0.8rem;
}

.Profilbild-img{
    opacity: 0.4;
}

.Profilbild-img-1{
    opacity: 1;
}

/* Container mit aktivem Profilbild: farbige Umrandung */
.activeProfile {
    opacity: 1;
    border: 3px solid rgb(94, 149, 174); /* Beispiel: rote Umrandung */
    scale: 105%;
}

.notSelectable img {
    filter: grayscale(50%);
    cursor: not-allowed;
  }
  
  /* Für auswählbare Bilder: Cursor als Pointer */
  .selectable img {
    cursor: pointer;
  }

#profilOverlay{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Verhindert horizontales und vertikales Scrollen */
    font-family: "Dosis", sans-serif;
    background-color: var(--background-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* Für die absolute Positionierung des Back Arrows und des Settings Icons */
}
  
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
  }
  
  .shake {
    animation: shake 0.35s;
  }

.farbe {
    width: 2.5rem;
    height: 2.5rem;
    padding-bottom: 0;
    text-align: center;
    border-radius: 1rem;
    border: 3px solid var(--line-color);
    display: flex;
    flex-direction: column;
    justify-content: end;
    font-size:0.8rem;
    display: inline-block; 
}

.farben {
    display: block;
    overflow-x: auto;
    white-space: nowrap;             
    gap: 0.5rem;
    margin-top: 1rem;
    width: 90%;
    height: 3.1rem;
    padding: 0.3rem 0.3rem;
}

.farben{
    -ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width: none;  /* Firefox */
}

.farben::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.activeColor {
    opacity: 1;
    border: 3px solid rgb(94, 149, 174); /* Beispiel: rote Umrandung */
    scale: 107%;
}


  








