* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    height: 100%;
    overflow-x: hidden;
    background-color: #f4f4f4;
}

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

header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
    position: relative;
}

nav {
    position: absolute;
    top: 50%;
    right: 6rem;
    transform: translateY(-50%);
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 2rem;
    background-color: #555;
    border-radius: 4px;
}

nav a:hover {
    background-color: #777;
}

/* Main-Bereich vertikal zentriert */
main {
    flex: 1;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selection-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.selection-box {
    background-color: #fff;
    border: 2px solid #ddd;
    padding: 2rem;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45%;
    height: 300px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.selection-box:hover {
    background-color: #e0e0e0;
    transform: scale(1.02);
}

footer {
    background-color: #333;
    color: #fff;
    padding: 1rem 0.25rem;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
}

footer a.white-link {
    color: #fff !important;
    text-decoration: none !important;
}

footer a.white-link:hover {
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .selection-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    nav {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        transform: translateY(0);
    }
}
