@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@600&display=swap');

.profil {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    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 */
    overflow-y: scroll;
}

.iframe1 , .iframe2, .iframe3, .iframe4 {
    height: calc(100vh - 55vw - 5rem - 4px); /* Container-Höhe bleibt 500px */
    overflow:scroll;
}






.settings-icon {
    position: absolute;
    top: 5vw; /* Abstand vom oberen Rand */
    right: 5vw; /* Abstand vom rechten Rand */
    cursor: pointer;
    width: 2.3rem;
    height: 2.3rem;
    opacity: 1 !important; 
    z-index: 1000;
}

.setting-icon::before {
    content: " ";
    position: absolute;
    top: -0.8rem;  /* Oben vergrößern */
    right: -0.8rem; /* Rechts vergrößern */
    bottom: -0.8rem; /* Unten vergrößern */
    left: -0.8rem; /* Links vergrößern */
    background: transparent; /* Unsichtbar */
}

.back-arrow-conatiner{
    opacity: 1 !important; 
}

.setting-icon img{
    opacity: 1 !important; 
}

.settings-icon img {
    height: 2.3rem;
    width: 2.3rem;
    transition: all 0.5s ease-in-out;
    transition: scale 0.15s cubic-bezier(0.42, 0, 0.23, 2.12);
}


body {
    opacity: 1; /* Standardzustand */
}



.Profilbild-container {
    margin-top: min(0, 10vh);
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 5%;
    border-bottom: 3px solid var(--line-color);
}

.Profilbild-container 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.8rem;
    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;
    padding: 5px;
    cursor: pointer;
    border: none;
    background-color: var(--background-color);
    transition: all 0.3s ease;
}

.share-button img {
    width: 30px;
    height: 30px;
}

.username-container {
    font-size: 1.2em;
}








.tab-register, .tab-login{
    border-bottom: none;
    background-color: var(--background-color);
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 1rem;
    font-family: "Dosis", sans-serif;
    color:#65757d;
}
.tab-register.active, .tab-login.active{
    border-bottom: 3px solid var(--line-color);
}





.Benutzername,  .E-Mail, .Passwort{
    width: calc(100% - 1.8rem);
    color: white !important;
    background-color: var(--background-color);
    border: none;
    justify-content: center;
    padding: 0.9rem;
    font-size: 1.6em !important;
    background-color: var(--background-color) !important;
    font-family: "Dosis", sans-serif;
}

.Passwort{
    margin-bottom: 5px;
}

.Benutzername,  .E-Mail{
    border-bottom: 2px solid var(--line-color);
}

.submit-btn{
    color: white;
    border: none;
    padding: 0.7rem;
    margin-bottom: 5px;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1.6rem;
    font-family: "Dosis", sans-serif;
    box-shadow: 0px 6px 0px 0px rgb(21, 112, 62);
    width: calc(90%);
    margin-left: 5%;
    cursor: pointer;
    border:none;
    background-color: rgb(27, 143, 79);
}

.Übersicht {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    border: 3px solid var(--line-color);
    border-radius: 15px;
    padding: 1em 0em;
    width: 90%;
    margin-top: 15px;
}

.XP, .Coins, .Streak {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
    position: relative;
}

.XP::after, .Coins::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px; /* Schmalere Trennstriche */
    background-color: var(--line-color);
}

.XP::after {
    right: 0;
}

.Coins::after {
    right: 0;
}

.XP img, .Coins img, .Streak img {
    width: 2.3em;
}

.XP span, .Coins span, .Streak span {
    font-size: 1.6em;
    padding-top: 5px;
}


.XP-Pfad-Container {
    display: block;
    text-decoration: none;
    background-color: var(--background-color);
    border: 3px solid var(--line-color);
    border-radius: 15px;
    padding: 12px;
    width: calc(90% - 24px);
    margin-top: 15px;
    cursor: pointer;
}

.xp-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Zentriert vertikal */
    width: 100%;
    font-size: 1.3rem; 
    font-family: "Dosis", sans-serif;
    color: white;
    margin-bottom: 10px;
    position: relative; /* Damit `xp-box` sich daran orientiert */
}


#xp-box {
    background-color: #27363f;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 1.2rem;
    color: white;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%); /* Genau in die Mitte setzen */
}


.xp-progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--line-color);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.xp-indicator {
    height: 100%;
    width: 0%;
    background-color: #E48D45;
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.XP-Pfad-Container:hover {
    background-color: #1a2b33;
}

#xp-display {
    position: sticky;
    bottom: 6.5rem; /* Leicht über der Nav-Bar */
    left: 1rem;
    width: 20%;
    background-color: var(--line-color);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 0;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

#xp-display {
    position: sticky;
    bottom: 4.5rem; /* Über der Nav-Bar */
    left: 1rem;
    width: 7rem; /* Feste Breite */
    height: 2.5rem; /* Angepasste Höhe */
    background-color: var(--line-color);
    color: white;
    font-size: 1.6rem; /* Größere Schrift */
    font-weight: bold;
    display: flex;
    align-items: center; /* Vertikal mittig */
    justify-content: center; /* Horizontal mittig */
    border-radius: 12px;
    backdrop-filter: blur(5px);
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}



















.iframe4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.Statistik-Container {
    justify-content: center;
    align-items: center;
    width: calc(90% + 3px);
}

.Statistik-button {
    display:block;
    background-color: var(--background-color);
    color: white;
    text-decoration: none;
    border: 3px solid var(--line-color);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1.5em;
    font-family: "Dosis", sans-serif;
    cursor: pointer;
}


.Fragen-Anzeige{
    text-align: right;
    width: 100%;
    height: 1.8rem;
    border-radius: 6px;
    margin-bottom:0.5rem
}

.Beantwortet{
    text-align: right;
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, var(--line-color), #55859f);
    height:100%;
    width: 0px;
    transition: width 0.5s ease;
}

.Richtig{
    text-align: right;
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #37b35c, #3cc967);
    height:100%;
    width: 0px;
    transition: width 0.5s ease;
}



.ausloggen {
    background-color: #fa8e29;
    color: white;
    border: none;
    padding: 1.2em 0.8rem;
    border-radius: 1em;
    font-size: 1.6em;
    width: 90%;
    font-family: "Dosis", sans-serif;
    box-shadow: 0px 6px 0px 0px #bb691d;
    position: relative;
    display: block;
    background-color: #fa8e29;
    text-decoration: none;
    gap: 0.6rem;
    border-radius: 1.1rem;
    padding: 0.6rem 0.6rem;
    font-size: 1.5em;
    font-family: "Dosis", sans-serif;
    width: calc(90vw - 1rem);
    margin-top: 1rem;
    margin-left: 5vw;
    display:flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.ausloggen:active {
    box-shadow: none;
    top: 6px;
    transform: translate(0, 0); 
}

.datenschutz{
    background-color: var(--background-color);
    color: white;
    border: solid 3px var(--line-color);
    padding: 1.2em 0.8rem;
    border-radius: 1em;
    width: calc(90% - 6px);
    box-shadow: none;
    position: relative;
    text-decoration: none;
    gap: 0.6rem;
    border-radius: 1.1rem;
    padding: 0.7rem 0.8rem;
    font-size: 1.3em;
    font-family: "Dosis", sans-serif;
    width: calc(90vw - 1.6rem);
    margin-top: 1.5rem;
    margin-left: 5vw;
    display:flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    position: relative;

}

.löschen{
    background-color: var(--background-color);
    color: rgb(236, 63, 63);
    border: solid 3px var(--line-color);
    border-radius: 1em;
    width: calc(90% - 6px);
    box-shadow: none;
    text-decoration: none;
    gap: 0.6rem;
    padding: 0.7rem 0.8rem;
    font-size: 1.3em;
    font-family: "Dosis", sans-serif;
    width: calc(90vw - 1.6rem);
    margin-top: 1.6rem;
    margin-left: 5vw;
    display:flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    position: relative;

}

.einstellungen{
    width:100%;
    margin-top:4.5rem;
}

#profilOverlay{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    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 */
}

a img{
    height: 50vw;
}

.navigation{
    display:flex;
    justify-content: space-around;
    width: 100%;
}

.navigation img{
    width: 1.75rem;
    height: 1.75rem;
}

.iframe1{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.beigetreten{
    font-size:1rem;
    color: #adc3cf;
}

.navigation1 .strich{
    margin-top: 0.7rem;
    height: 4px;
    border-radius: 3px;
    width: 4rem;
    transition: left ease-in-out;
    background-color: var(--line-color);
    position: relative;
    left: calc(12.5% - 2rem);
    transition: width 0.15s ease, left 0.3s ease; /* Animation für width & left */
}
.navigation1{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem 0.5rem;
    padding-bottom: 0.7rem;
}

.iframe1, .iframe2, .iframe3, .iframe4 {
    position: absolute;
    width: 100%;
    transition: transform 0.3s ease;
}

.iframe1{
    transform: translateX(-50%);
}

.iframe2{
    transform: translateX(50%);
}

.iframe3{
    transform: translateX(150%);
}

.iframe4{
    transform: translateX(250%);
}

.navigation1 {
    position: relative;
    overflow-x: hidden;
}



.iframe3 .streak-stats-container{
    display:block;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    padding: 0.6rem 0.8rem;
    font-size: 1.5em;
    font-family: "Dosis", sans-serif;
    cursor: pointer;
    width: calc(33vw - 1.6rem);
}   

.iframe3 .streak-stats-container img{
    width: 3rem;
}

.iframe3 .highest-streak-stats-container, .tage-stats-container {
    display:block;
    background-color: var(--background-color);
    color: white;
    text-decoration: none;
    border: 3px solid var(--line-color);
    border-radius: 15px;
    padding: 0.6rem 0.8rem;
    font-size: 1.5em;
    font-family: "Dosis", sans-serif;
    cursor: pointer;
    width: calc(40vw - 1.6rem);
}

.iframe3 .streak-stats-container, .iframe3 .highest-streak-stats-container {
    margin-right: 6vw;
}

.iframe3 .streak-stats{
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: left;
    margin-top: 1.5rem;
}

.iframe3 .streak-stats-anzeige{
    display:flex;
    align-items: center;
}

.iframe3 #streakicon{
    width: 1.6rem;
    height: 1.6rem;
}

.iframe3 .streak-stats-text{
    color:#a3bcc6;
    font-size: 0.9rem;
    max-width: 100%;
    text-align: left;
    padding-left: 0.3rem;
}

#number{
    font-size: 1.2rem;
}

.anzeige{
    display:flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.kalendar{
    padding: 0.5rem;
    display:block;
    background-color: var(--background-color);
    color: white;
    text-decoration: none;
    border: 3px solid var(--line-color);
    border-radius: 15px;
    width: calc(90% - 1rem - 6px);
    margin-top: 2rem;
    height: calc(100vh - 19rem - 7vw - 10px);
    -ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width: none;  /* Firefox */
}

.kalendar::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}





.month-calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Abstand zwischen den Elementen */
    margin-top: 0.6rem;
    color: white;
}

.month-calendar .days {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.9em;
}

.month-calendar .day {
    flex: 1;
    text-align: center;
    font-size: 1.1em;
    align-items: center;
    justify-content: center;
    display: flex;
}

.month-calendar .day-row {
    display: flex;
    width: 100%;
    background-color: var(--line-color);
    border-radius: 3rem;
}

.month {
    background-color: var(--line-color);
    border-radius: 1.25rem;
}

.month-calendar .day div {
    width: 14.29%;
    border-radius: 3rem;
    padding: 0.15rem;
    font-size: 0.95em;
    color: white;
    width: 100%;
}

.month-calendar .day div.current-day {
    background-color: #4f7d95;
    color: #ffffff;
    font-weight: bold;
}

.month-calendar .day div.streak-done.first {
    border-radius: 0;
    background: linear-gradient(90deg, rgba(139, 69, 19, 0.8), rgba(190, 90, 40, 0.8)); /* Braun -> Dunkles Orange-Braun */
    color: white;
    font-weight: bold;
}

.month-calendar .day div.streak-done.second {
    border-radius: 0;
    background: linear-gradient(90deg, rgba(190, 90, 40, 0.8), rgba(215, 110, 45, 0.8)); /* Dunkles Orange-Braun -> Warmes Orange */
    color: white;
    font-weight: bold;
}

.month-calendar .day div.streak-done.third {
    border-radius: 0;
    background: linear-gradient(90deg, rgba(215, 110, 45, 0.8), rgba(235, 130, 50, 0.8)); /* Warmes Orange -> Sattes Orange */
    color: white;
    font-weight: bold;
}

.month-calendar .day div.streak-done.fourth {
    border-radius: 0;
    background: linear-gradient(90deg, rgba(235, 130, 50, 0.8), rgba(245, 100, 40, 0.8)); /* Sattes Orange -> Kräftiges Orange-Rot */
    color: white;
    font-weight: bold;
}

.month-calendar .day div.streak-done.second.fifth {
    border-radius: 0;
    background: rgba(245, 100, 40, 0.8); /* Endstufe in Orange-Rot */
    color: white;
    font-weight: bold;
}

#end{
    border-top-right-radius: 3rem !important;
    border-bottom-right-radius: 3rem !important;
}

#start{
    border-top-left-radius: 3rem !important;
    border-bottom-left-radius: 3rem !important;
}

#start-end{
    border-radius: 3rem !important;
}

#streak-freeze-start{
    border-top-left-radius: 3rem !important;
    border-bottom-left-radius: 3rem !important;
}

#streak-freeze-end{
    border-top-right-radius: 3rem !important;
    border-bottom-right-radius: 3rem !important;
}

#streak-freeze-start-end{
    border-radius: 3rem !important;
}

.month-calendar .day #streak-freeze, .month-calendar .day #streak-freeze-start, .month-calendar .day #streak-freeze-end, .month-calendar .day #streak-freeze-start-end {
    border-radius:0;
    left: 0;
    width: 100%;
    position: relative;
    color: var(--line-color);
    font-weight: bold;
    align-items: center;
    justify-content: center;
    display: flex;
    z-index: 1; /* Text bleibt über dem Hintergrund */
}

.month-calendar .day #streak-freeze::before, .month-calendar .day #streak-freeze-start::before, .month-calendar .day #streak-freeze-end::before, .week-calendar .day #streak-freeze-start-end::before {
    content: "";
    position: absolute;
    top: -35%; /* Falls es über den Rand hinausragen soll */
    bottom: -35%;
    left:10%;
    right: 10%;
    background-image: url('ice.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 120% auto;
    transform: rotate(45deg); /* Hier kannst du den Winkel anpassen */
    z-index: -1; /* Bild bleibt im Hintergrund */
}

.profil .streak-all{
    background-color: var(--background-color);
    color: white;
    text-align: left;
    border-radius: 12px;
    padding: 10px;
    padding-bottom: 15px;
    padding-top: 8px;
    padding-top: 0;
}

.newmonth{
    background-color: var(--background-color);
    width: 100%;
    padding-bottom: 0.3rem;
    text-align: center;
    padding-top: 1rem;
}

.iframe3 .streak-stats-number{
    font-size: 2.5rem !important;
    font-weight: bold;
}








#spieler-container {
    width: 100%;
    display:flex;
}

.profil #spieler-container {
    width: 100%;
    display:flex;
    justify-content: center;
}

.header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7%; /* Abstand zu den Input-Feldern */
}

.back-arrow {
    transition: scale 0.15s cubic-bezier(0.42, 0, 0.23, 2.12); 
    color: white;
    text-decoration: none;
    position: relative;
    font-size: 2rem;
    margin-right: 0.2rem;
    width: 2rem;
    height: 2rem;
    z-index: 999;
}

.pfeil {
    height: 2rem;
    width: 2rem;
}

.Überschrift {
    color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    font-size: var(--font-size-header);
}

.Statistik-Container {
    display:flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.Fragen-Anzeige {
    width: 75vw;
    height: 75vw;
    position: relative;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.Kreis-Anzeige {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Startpunkt bei oben */
}

.circle-bg {
    fill: none;
    stroke: var(--line-color); /* Hintergrundfarbe */
    stroke-width: 2.8;
}

.circle-beantwortet {
    fill: none;
    stroke: #55859f; /* Farbe der beantworteten Fragen */
    stroke-width: 2.8;
    stroke-dasharray: 0, 100; /* Initiale Länge */
    transition: stroke-dasharray 0.5s ease;
}

.circle-richtig {
    fill: none;
    stroke: #3cc967; /* Farbe der richtigen Antworten */
    stroke-width: 2.8;
    stroke-dasharray: 0, 100; /* Initiale Länge */
    transition: stroke-dasharray 0.5s ease;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: white;
    text-align: center;
}

.fragen-text{
    display: block;
}
#flex{
    display: flex;
}

.fragen-gesamt-farbe{
    width: 0.8rem;
    height: 1.2rem;
    background-color: var(--line-color);
    border-radius: 1rem;
}

.fragen-beantwortet-farbe{
    width: 0.8rem;
    height: 1.2rem;
    background-color: #55859f;
    border-radius: 1rem;
    margin-bottom: 0.7rem;
}

.fragen-richtig-farbe{
    width: 0.8rem;
    height: 1.2rem;
    background-color: #3cc967;
    border-radius: 1rem;
    margin-bottom: 0.7rem;
}

#text{
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.kategorien-Graph{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    padding-top: 0.5rem;
    width: 82%;
    padding-top: 2rem;
    border-top: 1px solid var(--line-color);
    margin-top: 2rem;
}

#icon{
    width: 1.6rem;
    margin-top: 0.5rem;
}

#kategorie1{
    width: 16.6667%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

#balken{
    height: 6rem;
    width: 1.7rem;
    background-color: #21333d;
    border-top-left-radius: 0.4rem; /* Obere linke Ecke abrunden */
    border-top-right-radius: 0.4rem;
    display: flex;
    flex-direction: column; /* Elemente werden vertikal gestapelt */
    justify-content: flex-end;
}

#border{
    border-top: 3px solid var(--line-color);
    width: 100%;
}

#richtig{
    width: 1.7rem;
    background-color: #21333d;
    border-top-left-radius: 0.4rem; /* Obere linke Ecke abrunden */
    border-top-right-radius: 0.4rem;
    background: #3abb61;
    transition: 0.5s ease;
}

#beantwortet{
    width: 1.7rem;
    background-color: #21333d;
    border-top-left-radius: 0.4rem; /* Obere linke Ecke abrunden */
    border-top-right-radius: 0.4rem;
    background: #3f6174;
    display: flex;
    flex-direction: column; /* Elemente werden vertikal gestapelt */
    justify-content: flex-end;
    transition: 0.5s ease;
}

.Schwachpunkt{
    width: auto;
    padding:0.7rem;
    border: 3px solid var(--line-color);
    border-radius: 1rem;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: 2.5rem;
    font-size: 1rem;
    width: calc(82% - 1.4rem);
    margin-bottom: 5rem;
}


.Ausrufezeichen{
    width: 1.5rem;
    margin-right: 0.7rem;
}

.difficulty-bar-container {
    position: relative;
    width: 82%;
    height: 1.4rem;
    border-radius: 15px;
    border: 3px solid var(--line-color);
    overflow: visible; /* Ermöglicht das Hervorstehen des Balkens */
}

.overlay-bar {
    position: absolute;
    width: 8px; /* Sehr dünner Balken */
    height: calc(100% + 4px); /* 2px oben und unten über den Rand hinausragend */
    background-color: white;
    border-radius: 4px;
    top: -2px; /* Verschiebt den Balken nach oben */
}

.label {
    margin-top: 0.2rem;
    text-align: center;
    color: #ffffff;
}

#label{
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line-color);
    width: 82%;
    text-align: center;
}

.label{
    font-size: 1.1rem;
}

.difficulty-bar-container .strich {
    position: absolute;
    top: 0;
    width: 5px; /* Breite der Striche */
    height: 100%; /* Striche über die ganze Höhe */
    background-color: var(--line-color); /* Farbe der Striche */
    z-index: -10;
}

/* Platzierung der Striche */
.strich-1 {
    left: 20%; /* 1. Strich */
}

.strich-2 {
    left: 40%; /* 2. Strich */
}

.strich-3 {
    left: 60%; /* 3. Strich */
}

.strich-4 {
    left: 80%; /* 4. Strich */
}

.iframe4 .streak-stats-container, .highest-streak-stats-container{
    display:block;
    background-color: var(--background-color);
    color: white;
    text-decoration: none;
    border: 3px solid var(--line-color);
    border-radius: 15px;
    padding: 0.6rem 0.8rem;
    font-size: 1.5em;
    font-family: "Dosis", sans-serif;
    cursor: pointer;
    width: calc(33vw - 1.6rem);
}

.iframe4 .streak-stats-container{
    margin-right: 6vw;
}

.iframe4 .streak-stats{
    display: flex;
    align-items: left;
    padding-top: 2rem;
    border-top: 1px solid var(--line-color);
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line-color);
}

.iframe4 .streak-stats-anzeige{
    display:flex;
    align-items: center;
}

.iframe4 #streakicon{
    width: 1.6rem;
    height: 1.6rem;
}

.iframe4 .streak-stats-text{
    font-size: 0.9rem;
    text-align: left;
    padding-left: 0.3rem;
}

#number{
    font-size: 1.2rem;
}






.title {
    margin-bottom: 20px;
}

.graph-container {
    width: 98%;
    max-width: 600px;
    position: relative;
    touch-action: pan-x; /* Ermöglicht horizontales Swipen */
}

.week-label {
    font-size: 1.2em;
    margin: 10px;
    display: flex;
}

/* Tooltip */
.toggle-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--line-color);
    border-radius: 10px 10px 0 0; /* Nur oben abgerundet */
    padding: 4px;
    width: 160px;
    padding-bottom:1px;
}

.toggle-button {
    flex: 1;
    padding: 6px 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 8px;
    color: white;
    background: transparent;
}

.toggle-button.active {
    background: #577da0;
}

/* Tooltip */
.custom-tooltip {
    position: absolute;
    background: rgba(100, 100, 100, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    transform: translate(-50%, -100%);
    white-space: nowrap;
    display: none;
}
#dot {
    border-radius: 5px;
    width: 8px;
    height: 8px;
    background: #55595f;
}
.dot1 ,.dot2 , .dot3, .dot4, .dot5, .dot6{
    margin-right: 4px;
}

.xp-pfad {
    display:flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-color);
    color: white;
    text-decoration: none;
    border: 3px solid var(--line-color);
    border-radius: 15px;
    padding: 0.8rem 0.3rem;
    padding-bottom:0rem;
    font-size: 1.5em;
    font-family: "Dosis", sans-serif;
    width: calc(82% - 0.6rem);
}



#xp-container {
    display: block;
    margin: auto;
}

.xp-line {
    stroke: var(--line-color);
    stroke-width: 20px;
    fill: transparent;
    stroke-linecap: round;
}

.xp-progress {
    stroke: #E48D45;
    stroke-width: 20px;
    fill: transparent;
    stroke-linecap: round;
}



.checkpoint {
    opacity: 1;
    fill: var(--background-color);
    stroke: var(--line-color);
    stroke-width: 4px;
    pointer-events: none;
}

.checkpoint.active {
    stroke: #E48D45;
    pointer-events: auto;
    cursor: pointer;
}

.checkpoint.collected {
    opacity: 1;
    pointer-events: none;
}

/* Start-Checkpoint */
.start-checkpoint {
    fill: var(--background-color);
    stroke: #E48D45;
    stroke-width: 9px;
    width: 38px;
    height: 38px;
    rx: 16px;
    ry: 16px;
}

/* Ready = Noch nicht genug XP → Deaktiviert */
.checkpoint.ready {
    pointer-events: none;
}



/* Anpassung für exakte Ausrichtung */
.checkpoint image {
    transform: translate(-50%, -50%);
}





.reward-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #E48D45;
    color: white;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    opacity: 1;
    transition: all 0.5s ease;
}

.iframe2{
    -ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width: none;  /* Firefox */
}

.iframe2::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}



















