.main {
    padding: 2em;
}

.fortschritt.nav-tabs .nav-item {
    margin: 0 10px; /* Add some spacing between items */
    opacity: 1;
}

.fortschritt {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-link-color);
    list-style: none;
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    /*justify-content: center; */
    align-items: center;
    list-style-type: none; 
    padding-top: 10px; 
    padding-bottom: 10px;
    padding-left: none !important;
    border-top: none;
    border-bottom: none;
}

ul {
    padding-left: none !important;
}

.fortschritt i {
    color: red; 
}

.fortschritt li {
	list-style-type: none;
	color: white;
	text-transform: uppercase;
	font-size: 15px;
	width: 25%;
	float: left;
	position: relative;
}

.fortschritt li:after {
	content: '';
	width: 100%;
	height: 5px;
	background: #59a9ff;
	position: absolute;
	left: -50%;
	top: 25px;
	z-index: -1;
}
.fortschritt li:first-child:after {
	/*connector not needed before the first step*/
	content: none;
}

.nav-tabs {
    white-space: nowrap; /* [1] */
    overflow-x: auto; /* [2] */
    -webkit-overflow-scrolling: touch; /* [3] */
    -ms-overflow-style: -ms-autohiding-scrollbar; /* [4] */  
  }
  
.nav-tabs .nav-item {
    display: inline-block;
    padding: 10px 15px; /* Add some padding to the buttons */
    border-radius: 5px; /* Add rounded corners */
    text-align: center; /* Center text inside buttons */
    text-decoration: none; /* Remove underline from links */
    background-color: #59a9ff;
    border-color: #59a9ff;
    color: #ffffff;
    min-width: 150px;

  }

.nav-link {
    display: inline-block;
    border: none !important;
    color: #000;
    background-color: #59a9ff;
    border-color: #59a9ff;
    color: #ffffff;

}

.nav-link.active {
    display: inline-block;
    border: none !important;
    color: #000;
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: #ffffff !important;

}

.nav-link:hover {
    color: black;
}

.nav-item:has(.nav-link.active) {
    background-color: #007bff;
}

.tab-pane {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Ensures that the elements are stacked vertically */
    text-align: center; /* Optional: aligns the text in the middle */
}

.tab-content {
    padding-left: 5em;
    padding-right: 5em;
}

.no-list-style {
    list-style: none;
}

.background-image {
    background-image: url("/public/imgs/background.png");
    min-width: 100%;
    top: 0;
    left: 0;
    height:100%; 
    opacity: 0.2;
    position: fixed;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding: 0;
    margin: 0;
    z-index:0;
  }

#errormessage {
    font-weight: bold;
    display:none;
    color: red;
}

#successmessage {
    font-weight: bold;
    display:none;
    color: green;
}

/* Error Page */
.error-page {
    height: 100%;
    background-image: url("/public/imgs/background.png");
    background-color: #cccccc;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.error-body {
    background: none;
    height: 100%;
}

.error-body {
    min-height: 100%;
    width: 100%;
    margin: auto;
}

.submit-text {
    margin-top: 100px;
    padding: 40px;
    color: black;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
}

a {
    color: #007bff;
}

@media (max-width: 768px) {
    .main {
        padding: 0.5em;
    }
    .tab-content {
        padding-left: 0em;
        padding-right: 0em;
    }
}