/* style.css - Lila / Orange Verlauf */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #e5c8ff;

    background:
        radial-gradient(circle at top left, #7c00ff 0%, transparent 40%),
        radial-gradient(circle at bottom right, #ff7a00 0%, transparent 40%),
        linear-gradient(
            135deg,
            #19002f 0%,
            #420080 30%,
            #7a176d 55%,
            #c54b22 78%,
            #ff7900 100%
        );

    background-attachment: fixed;
}

/* HEADER */

header {
    background: linear-gradient(
        90deg,
        #31005e,
        #6500a8,
        #a52d62,
        #ff7300
    );

    padding: 20px;
    border-bottom: 2px solid #a83cff;

    box-shadow: 0 5px 25px #1b002e;
}

/* NAVIGATION */

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

nav a {
    color: #e1bfff;
    text-decoration: none;

    padding: 10px 18px;

    background: #4a087d;

    border: 1px solid #a83cff;
    border-radius: 8px;

    transition: 0.3s;
}

nav a:hover {
    color: #ffe0b3;

    background: linear-gradient(
        90deg,
        #8b19e8,
        #ff7900
    );

    box-shadow:
        0 0 12px #9c2cff,
        0 0 20px #ff7900;
}

/* HAUPTBEREICH */

main,
.container {
    width: 92%;
    max-width: 1200px;
    margin: 30px auto;
}

/* BOXEN */

.box,
.card {
    background: linear-gradient(
        145deg,
        #300054,
        #571078
    );

    border: 1px solid #9e36e8;

    border-radius: 15px;

    padding: 25px;
    margin-bottom: 20px;

    box-shadow:
        0 10px 30px #1a002b,
        0 0 18px #6f149d;

    transition: 0.3s;
}

.box:hover,
.card:hover {
    border-color: #ff8a18;

    box-shadow:
        0 10px 30px #1a002b,
        0 0 20px #8b19e8,
        0 0 25px rgba(255, 121, 0, 0.35);
}

/* ÜBERSCHRIFTEN */

h1,
h2,
h3 {
    margin-bottom: 15px;
}

h1 {
    color: #d49cff;
}

h2 {
    color: #c477ff;
}

h3 {
    color: #ff9c40;
}

/* TEXT */

p,
span,
label,
li {
    color: #e0c0f5;
}

/* LINKS */

a {
    color: #ca7cff;
}

a:hover {
    color: #ff9c40;
}

/* BUTTONS */

button,
.btn,
.button {
    display: inline-block;

    padding: 11px 22px;

    border: 1px solid #b23cff;
    border-radius: 8px;

    background: linear-gradient(
        90deg,
        #7300d8,
        #a928a5,
        #ff7300
    );

    color: #fff0dc;

    font-weight: bold;
    text-decoration: none;

    cursor: pointer;

    transition: 0.3s;
}

button:hover,
.btn:hover,
.button:hover {
    background: linear-gradient(
        90deg,
        #951cff,
        #cf398b,
        #ff9500
    );

    transform: translateY(-2px);

    box-shadow:
        0 0 15px #a229ff,
        0 0 22px #ff7900;
}

/* FORMULARE */

input,
textarea,
select {
    width: 100%;

    padding: 12px;
    margin: 7px 0;

    background: #3a075c;

    border: 1px solid #9235d1;
    border-radius: 8px;

    color: #e9ccff;

    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    background: #4c0b70;

    border-color: #ff8617;

    box-shadow:
        0 0 10px #922cff,
        0 0 15px rgba(255, 121, 0, 0.5);
}

input::placeholder,
textarea::placeholder {
    color: #b888d2;
}

/* TABELLEN */

table {
    width: 100%;

    border-collapse: collapse;

    background: #31034e;

    border: 1px solid #9235d1;

    border-radius: 10px;

    overflow: hidden;
}

th {
    padding: 12px;

    background: linear-gradient(
        90deg,
        #6b00b8,
        #a329a2,
        #ff7900
    );

    color: #ffe4c7;
}

td {
    padding: 12px;

    color: #dfc1ef;

    border-bottom: 1px solid #6d218e;
}

tr:nth-child(even) {
    background: #42085f;
}

tr:hover {
    background: #642176;
}

/* FOOTER */

footer {
    margin-top: 40px;

    padding: 20px;

    text-align: center;

    color: #e5c8ff;

    background: linear-gradient(
        90deg,
        #31005e,
        #67009f,
        #aa2c63,
        #f06a00
    );

    border-top: 2px solid #a83cff;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #210036;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        #8e16e8,
        #bb337f,
        #ff7900
    );

    border-radius: 10px;
}

/* TEXTAUSWAHL */

::selection {
    background: #8b19e8;
    color: #ffe4c7;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    main,
    .container {
        width: 95%;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    .box,
    .card {
        padding: 18px;
    }
}