﻿/* Gesamtes Formular zentrieren */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    display: flex;
    flex-direction: column; /* Elemente untereinander */
    align-items: center; /* Zentriert horizontal */
    min-height: 100vh;
    padding-top: 50px;
    box-sizing: border-box;
}

form {
    margin-top: 50px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Textfeld */
input[type="text"], TextBox {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

    input[type="text"]:focus, TextBox:focus {
        border-color: #0078d7;
        box-shadow: 0 0 5px rgba(0, 120, 215, 0.5);
        outline: none;
    }


/* Label */
Label {
    font-size: 16px;
    color: #0078d7;
    padding: 10px;
    background-color: #f0f2f5;
    border-radius: 8px;
    word-wrap: break-word;
}

.l1 {
    color: #0078d7;
}

h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem; /* große Überschrift */
    color: #0078d7; /* moderne Blau-Farbe passend zum Button */
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(120deg, #0078d7, #00aaff); /* sanfter Farbverlauf */
    -webkit-background-clip: text; /* Farbverlauf nur auf Text */
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

    h3:hover {
        transform: scale(1.05); /* kleiner Zoom-Effekt */
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    }


.but1 {
    background-color:  darkgray; 
    border: none;
    color: white; /* Textfarbe */
    padding: 2px 2px; /* Innenabstand */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    border-radius: 4px; /* abgerundete Ecken */
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 2px;
}

.but1:hover {
    background-color: black;
}


.but2 {
    background-color: #0078d7;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin: 2px;
}

    .but2:hover, Button:hover {
        background-color: #005a9e;
    }


.img1 {
    border-radius: 10px;
    margin: 20px;
    width: 450px;
}
