.anchor-title-text{
  text-decoration: none;
}
.title-text{
  text-decoration: none;
  color: #000;
  font-size: 40px;
}
.form-content{
  background-color: rgba(228, 28, 52, 1);
  background-image: url('../images/dots.png');
  background-repeat: no-repeat;
  background-position: right  top;
  background-size: 80%;
}

.btn-primary{
  background-color: rgba(228, 28, 52, 1);
  border-color: transparent;
  box-shadow: 0 2px 4px 0px rgba(0,0,0,0.4);
}
.btn-outline-primary{
  border-color: #000;
  color: #000;
}
.input-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 14px;
  margin-bottom: 5px;
}

.input-group select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 14px;
  transition: border-color 0.3s, background-color 0.3s;
}

.input-group select:focus {
  border-color: #007bff;
  background-color: #f0f8ff;
  outline: none;
}

/* Styling für den Slider mit roten Pfeilen */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(228, 28, 52, 1);
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.carousel-item {
  width: 80%;
  margin-left: 10%;
}
/* Styling für die Vorschau der Nachrichten */
.carousel-item h4 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 25px;
}

.carousel-item p {
    font-size: 1.1em;
    color: #666;
    cursor: pointer;
}

/* Optionales Styling für den Hintergrund oder zusätzliche Anpassungen */
.carousel-inner {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}
.modal-header {
    background-color: #f9f9f9;
}

.modal-title {
    font-size: 1.5em;
}

.modal-content{
  width: 150%;
}

.modal-content #full-news-text{
  font-size: 18px;
  line-height: 21px;
}

.modal-body {
    font-size: 1.2em;
    line-height: 1.6;
}
/* Container für alle Boxen */
.info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    right: 20px;
    gap: 10px;
    bottom: 20px;   /* Abstand vom unteren Rand */
    right: 20px;    /* Abstand vom rechten Rand */
    z-index: 1000; /* Abstand zwischen den Boxen */
    margin-bottom: -30px;
}

/* Gemeinsames Styling für alle Boxen */
.info-box {
    width: 200px;
    height: 50px;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;

}
.info-box p{
  font-size: 0.7em;
}

/* Styling für die Tokenmenge-Box */
.token-box {
    background-color: #f5f5f5;
    color: #333;
}

/* Styling für die Adresse-Box */
.address-box {
    background-color: #e0e0e0;
    color: #333;
}

/* Styling für die Logout-Box */
.logout-box {
    background-color: red;
    color: white;
    cursor: pointer;
}

.info-box h4 {
    margin: 0;
    font-size: 0.8em;
}
.anchor-title-text{
  text-align: center;
}
.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 70%; /* 70% der Breite des übergeordneten Elements */
    margin: 20px auto;
}
.progress-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px; /* Abstand zur Fortschrittsleiste */
    text-align: center;
}
.progress-bar-wrapper {
    width: 100%;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: red;
    transition: width 3s ease, background-color 0.5s ease;
}

/* Markierung für regulären Node bei 50% */
.node-marker {
    position: absolute;
    top: 0;
    height: 100%;
    width: 2px; /* Vertikaler Strich */
    background-color: #333; /* Strichfarbe */
    transform: translateX(-50%);
}

/* Text für die Node-Markierung */
.node-marker::before {
    content: attr(data-label); /* Zeigt "Node" an */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert den Text auf der Höhe des Strichs */
    background-color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 10px;
    color: #333;
    margin-left: 20px;
}

/* Text für Supernode am Ende der Leiste */
.end-marker::before {
    content: attr(data-label); /* Zeigt "Supernode" an */
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%); /* Zentriert den Text am Ende der Leiste */
    background-color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 10px;
    color: #333;
    margin-left: 20px;
}
.explanation-text {
    font-size: 12px;
    color: #555;
    margin-top: 15px;
    text-align: center;
    max-width: 70%;
}
#countdown-timermob{
  display: none;
}
@media (max-width: 1000px) {
    .notmobile {
        display: none;
    }
    .modal-dialog {
        max-width: 100%;
        margin: 0;
    }

    /* Modales Fenster für mobile Ansicht anpassen */
    .modal-content {
        width: 100%;
        max-height: 80vh; /* maximale Höhe für bessere Anzeige auf mobilen Geräten */
        overflow-y: auto; /* Scrollen ermöglichen */
        padding: 10px;
        border-radius: 10px;
    }

    /* Überschriften und Textgrößen in der mobilen Version anpassen */
    .modal-title {
        font-size: 1.2em;
        text-align: center;
    }

    #full-news-text {
        font-size: 1em;
        line-height: 1.4;
        padding: 15px;
    }
    /* Modale Fenster schließen Button für die mobile Ansicht zentrieren */
    .modal-header .btn-close {
        margin: 0 auto;
        display: block;
    }
    .end-marker::before,
    .node-marker::before{
      display: none;
    }
    .form-holder{
      min-height: 150vh;
      overflow-y: scroll;
      overflow-x: hidden;
    }
    .form-content{
      width: 120%;
      margin-left: -10%;
      overflow-x: hidden;
    }
    .form-items{
      margin-top: -70px;
      overflow-x: hidden;
    }

    .info-container {
        background-color: rgba(255, 255, 255, 0.9); /* Leichter weißer Hintergrund mit Transparenz */
        padding: 15px; /* Innenabstand für bessere Lesbarkeit */
        border-radius: 10px; /* Abgerundete Ecken */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Leichter Schatten für Tiefe */
        max-width: 90%; /* Passt die Box-Breite an den Bildschirm an */
        margin: 0 auto; /* Zentriert die Box horizontal */
    }
    #countdown-timermob{
      display: block;
    }

}
