/* Grundlayout */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #1B263B;
    text-align: center;
    padding: 5vw;
    margin: 0;
    color: #FFFFFF;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #FFC300;
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #B0BEC5;
    margin-bottom: 2rem;
}

/* Buttons */
button {
    background-color: #00B4D8;
    color: white;
    padding: 1rem 2rem;
    margin: 1rem;
    border: none;
    border-radius: 8px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 180, 216, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: auto;
    max-width: 90vw;
}

button:hover {
    background-color: #0096C7;
    transform: translateY(-2px);
}

button:active {
    transform: scale(0.97);
}

/* Ergebnisbox */
#result {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #415A77;
    color: #FFC300;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 500;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#result.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Medienabfrage für kleine Screens */
@media (max-width: 600px) {
    body {
        padding: 8vw;
    }

    button {
        width: 100%;
    }
}
.nav-link {
    display: inline-block;
    margin-top: 20px;
    color: #00B4D8;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.4rem;
}

.nav-link:hover {
    text-decoration: underline;
    color: #FFC300;
}