body {
    margin: 0;
    padding: 0;
    font-family:  Helvetica, sans-serif;
    background-color: #f0f0f0;
}

.navbar {
    height:40px; /* Adjust based on your specific design */
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 3em;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

.logo-container {
    height: 100%; /* Take the full height of the navbar */
    width: auto; /* Maintain aspect ratio */
    max-width: 150px; /* Or whatever max width you want to set */
}

.logo-container img {
    height: 100%;
    width: 100%;
    object-fit: contain; /* This makes sure the aspect ratio is maintained */
}
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1em;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    transition: color 0.4s ease, text-decoration 0.4s ease;
}

.nav-links a:hover {
   
        color: #5672C6; /* Apply the specified color on hover */
        text-decoration: underline;
    }
    


.container {
    background-image: 
       
        url('BildA6.jpg');
    background-size: cover;
    background-position: center;
    height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.text-container {
    max-width: 600px;
    padding: 70px;
    text-align: left;
}

.text-container h1 {
    font-size: 38px;
    color: white;
    margin-bottom: 1em;
}

.text-container p {
    font-size: 24px;
    color: white;
    margin-bottom: 1em;
}

.teilnehmen-button {
    background-image: linear-gradient(to right, #1E5A25, #388E3C);
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    
}

.teilnehmen-button:hover {
    background-image: linear-gradient(to right, #2E7D32, #4CAF50);
}



.button-container {
    display: flex;
    justify-content: flex-start;
    padding: 0 70px;
    margin-top: -80px; /* Adjust this value as needed */
    /* ... other existing styles ... */
}

/* New Modal styles */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    width: 50%; /* Add this line and adjust the percentage as per your requirement */
    max-width: 300px; /* Optional: You can also set a max-width to ensure it looks good on all screen sizes */
}


.close {
    cursor: pointer;
    float: right;
}

/* New input and button styles for the modal */
input[type="text"],
input[type="tel"],

input[type="password"] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
}

/* Modify the existing button style */
button {
    background-image: linear-gradient(to right, #1E5A25, #388E3C);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    transition: background-image 0.3s ease; /* Add transition for background-image */
}

button:hover {
    background-image: linear-gradient(to right, #2E7D32, #4CAF50);
}




/* Add this to your CSS file */
.highlight {
    
    font-weight: bold; /* This will make the text bold */
}

.modal-body {
    max-height: 300px; /* Adjust the height as needed */
    overflow-y: auto;
    margin: 15px;
}

/* Reset any previous flexbox settings on the modal-footer */
.modal-footer {
    display: flex;
    flex-direction: column; /* Stack children elements (buttons) vertically */
    align-items: center; /* Center-align the buttons horizontally */
    padding: 10px;
}

/* Common style for both buttons */


.modal-dialog {
    overflow-y: scroll; /* Always show vertical scrollbar */
}
    

#errorCloseButton {
    background-image: linear-gradient(to right, #FF7E00, #FFA726);
    border: none; /* Optional: removes the default border */
    color: white; /* Optional: changes the text color for better visibility */
    transition: background-image 0.3s; /* Smooth transition for hover effect */
}

#errorCloseButton:hover {
    background-image: linear-gradient(to right, #E65C00, #F57C00); /* Darker gradient for hover */
}

/* Common style for both buttons */
/* Common style for both buttons */
#acceptButton, #declineButton {
    padding: 10px 20px; /* Adjust padding as needed */
    font-size: 14px; /* Adjust font size as needed */
    border: none;
    color: white;
    transition: background-image 0.3s;
    width: 80%; /* Set a fixed width */
    margin: 5px auto; /* Adds margin for top/bottom and centers the button */
    display: block; /* Makes each button a block-level element */
    text-align: center; /* Center-aligns the text */
}

/* Style for the Decline button */
#declineButton {
    background-image: linear-gradient(to right, #FF7E00, #FFA726);
}

#declineButton:hover {
    background-image: linear-gradient(to right, #E65C00, #F57C00);
}

/* Style for the Accept button */
#acceptButton {
    background-image: linear-gradient(to right, #2E7D32, #4CAF50);
}

#acceptButton:hover {
    background-image: linear-gradient(to right, #27632A, #388E3C);
}

#forgot-password {
    color:	#474747; 
    text-decoration: none; /* Removes the underline */
    transition: color 0.3s ease, text-decoration 0.3s ease;
    font-size: 14px; /* Adjust the font size as needed */
    font-weight: 500; /* Medium font weight */
}

#forgot-password:hover {
    color: #4CAF50; /* Darker blue on hover */
    text-decoration: underline; /* Adds underline on hover */
    cursor: pointer;
}

/* Optional: Adjust the font family to match your site's theme */
#auth-form a {
    font-family: Helvetica, sans-serif;
}


.datenschutz-link {
    color:	#474747; 
    text-decoration: none; /* Removes the underline */
    transition: color 0.3s ease, text-decoration 0.3s ease;
    font-size: 14px; /* Adjust the font size as needed */
    font-weight: 500; /* Medium font weight */
}

.datenschutz-link:hover {
    color: #4CAF50; /* Darker blue on hover */
    text-decoration: underline; /* Adds underline on hover */
    cursor: pointer;
}

#open-modal-link {
    text-decoration: none; /* Removes underline from link */
    color: black; /* Set a default color */
    display: inline-block; /* This can help ensure hover effects are recognized */
    transition: text-decoration 0.5s ease-in-out; /* Transition only the text-decoration property */
}

#open-modal-link:hover, #open-modal-link h1:hover {
    text-decoration: underline; /* Add underline on hover */
    transition: text-decoration 0.5s ease-in-out; /* Transition only the text-decoration property */
}

#open-modal-link h1 {
    margin: 0; /* Removes default margin from h1 */
}



.loader-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Stack children vertically */
    min-height: 100px; /* Adjust based on your preference */
}

.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #28a745; /* Green */
    border-radius: 50%;
    width: 50px; /* Width of the loader */
    height: 50px; /* Height of the loader, same as width for a circle */
    animation: spin 2s linear infinite;
    margin-bottom: 10px; /* Adds space between loader and text */
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
