body, html {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Helvetica, sans-serif;
    background-color: #f0f0f0;
    overflow: hidden;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    height: 6vh;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3em;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

.logo-container {
    height: 100%;
    width: auto;
    max-width: 150px;
}

.logo-container img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

main {
    flex-grow: 1;
    background-image: linear-gradient(
        to top right,
        rgba(4, 9, 30, 0.5) 0%,
        rgba(4, 9, 30, 0.25) 50%,
        transparent 100%
    ),
    url('assets/leaves.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.text-container {
    max-width: 700px;
    padding-left: 60px;
    text-align: left;
}

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

.text-container p {
    font-size: 24px;
    color: white;
    margin-bottom: 1em;
    line-height: 1.6;
    font-weight: 300;
}

.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;
    border: none;
}

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

.button-container {
    display: flex;
    justify-content: flex-start;
    padding: 0 70px;
}

.highlight {
    font-weight: bold;
}

.footer {
    background-color: #f8f8f8;
    padding: 10px 0;
    text-align: center;
}

.footer .content {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.footer a {
    margin-left: 15px;
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
}

.footer a:hover {
    color: rgba(88, 168, 19, 0.94);
}

.footer a svg {
    width: 1em;
    height: 1em;
    margin-right: 5px;
}

.modal {
    display: none;
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 300px;
    text-align: center;
    border-radius: 5px;
}

@media (max-height: 750px) {
    .text-container h1 {
        font-size: 2rem;
    }
    .text-container p {
        font-size: 1rem;
    }
    .teilnehmen-button {
        font-size: 1rem;
    }
}