:root {
    --ivm_blau: #0e69ab;
    --ivm_hblau: #f6fbff; /* Helles blau*/
    --ivm_orange: #f19654; /* Komplement├Ąrfarbe zu ivm_blau */
    --ivm_horange: #fee3cb; /* Helles orange*/
    --ivm_grau: #d2d2d2;
    --ivm_hgrau: #dfdfdf; /* Helles grau */
    --ivm_gelb: #e7e9b4;
    --ivm_metalisch_hblau: #d9e7fb; /* Metalisches helles blau*/
    --ivm_metalisch_dblau: #c8dbf9; /* Metalisches dunkles blau*/
}

html {
    font-size: 18px; /* Basis Schriftgroesse */
}

/* Scrollbar ausblenden */
body::-webkit-scrollbar {
    display: none; /* Scrollbar in WebKit-Browsern ausblenden */
}

body {
    background-color: var(--ivm_hblau);
}

h1 {
    text-align: center;
}

header h1 {
    font-size: 1.5rem;
    font-weight: bolder;
    text-decoration: none;
}

main {
    margin-bottom: 25px;
}

/*----- Navbar -----*/

.navbar {
    background-color: var(--ivm_blau);
    box-shadow: 0 2px 4px rgb(177, 177, 177);
    padding: 0;
}

.navbar img {
    max-width: 8em;
    max-height: 3.5em;
    margin-left: 0.5em;
}

.slogan {
    display: flex;
    flex-direction: column;
    color: white;
    min-width: 8rem;
}

.slogan p {
    margin: 0;
    margin-left: 1rem;
    font-size: 0.8rem;
}

/*----- Suchfeld -----*/

.input-group {
    width: 50rem;
    justify-content: right;
}

.suche-textfeld {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid white;
    padding: 5px;
    min-width: 40%;
}

.suche-textfeld:focus {
    outline: 0;
}

.suche-textfeld:hover + .suche-starten {
    background-color: var(--ivm_horange);
    border: 1px solid var(--ivm_horange);
    border-left: none;
}

.suche-starten {
    background-color: white;
    border: 1px solid white;
    border-left: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0 0.5rem;
}

.suche-starten:focus {
    outline: none;
}

.suche-starten:hover {
    background-color: var(--ivm_orange);
    border: 1px solid var(--ivm_orange);
    border-left: none;
}

.suche-starten i {
    font-size: 1.5rem;
}

.suche-button {
    display: none;
}

@media screen and (max-width: 1032px) {
    .suche-textfeld {
        display: none;
    }

    .input-group {
        display: none;
    }

    .suche-button {
        display: flex;
        background: none;
        border: none;
        color: white;
    }

    .suche-button i {
        font-size: 1.5rem;
    }

    .suche-button:hover {
        color: var(--ivm_orange);
    }
}

/*----------*/

.navbar ul a:hover {
    color: white;
    text-shadow: white 0px 0px 10px;
    transform: scale(1.3);
}

.navbar-nav {
    text-align: center;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: bold;
}

.nav-link,
.slogan {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    transition: background-image 0.3s ease;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    color: white;
}

.aktiv {
    color: white;
    text-shadow: white 0px 0px 10px;
    pointer-events: none;
}

.footerAktiv {
    text-decoration: underline;
    pointer-events: none;
}

/*----- Knoepfe -----*/

.knoepfe {
    border: none;
    background: var(--ivm_blau);
    text-shadow: 1px 1px 2px black;
    color: white;
    text-decoration: none;
    padding: 0.6rem;
    border-radius: 5px;
    margin-top: 0.5rem;
    transition: transform 0.3s;
    font-weight: bold;
    cursor: pointer;
}

.knoepfeLinks {
    text-decoration: none;
    color: white;
}

.knoepfe:hover {
    transform: scale(1.1);
}

/*----- Sprungbefehle -----*/

#scrollUp {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 1.35rem;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: #ffdfbf;
    opacity: 0.6;
    border-radius: 50%;
    transition: transform 0.3s;
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--ivm_orange);
}

#scrollUp a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: black;
    font-size: 24px;
}

#scrollUp a::before {
    font-size: 24px;
}

#scrollUp:hover {
    transform: scale(1.1);
}

.fa-caret-up {
    color: #ff7600;
}

/*----- links -----*/

.link-standard-blau {
    color: var(--ivm_blau);
    text-decoration: none;
}

.link-standard-blau:hover {
    text-decoration: underline;
}

/*-----*/

/* !!Nur für einzeiler anwendbar!! */
.link-hover-unterstrich {
    position: relative;
    text-decoration: none;
    color: black;
}

.link-hover-unterstrich::before {
    content: "";
    position: absolute;
    background-color: black;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.link-hover-unterstrich:hover::before {
    width: 100%;
}

/*----- Texthighlight -----*/

.wichtig,
.neu,
.interessant,
.erweiterung {
    font-style: italic;
}

.wichtig::before,
.neu::before,
.interessant::before,
.erweiterung::before {
    margin-right: 0.25em;
    padding: 0 5px;
    border-radius: 8%;
    font-weight: bold;
}

.wichtig::before {
    content: "WICHTIG";
    background-color: red;
}

.neu::before {
    content: "NEU";
    background-color: lime;
}

.interessant::before {
    content: "INTERESSANT";
    background-color: yellow;
}

.erweiterung::before {
    content: "ERW";
    background-color: blue;
    color: white;
}

/*----- Footer -----*/

footer {
    display: flex;
    justify-content: center;
    background-color: var(--ivm_blau);
    color: white;
    box-shadow: 0 -2px 4px rgb(177, 177, 177);
    padding: 0.15rem;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 2px;
}

footer a,
footer span {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

footer a:hover {
    text-decoration: underline;
}

/*----- media queries -----*/

@media (min-width: 768px) {
    .navbar-nav {
        width: 100%;
        margin-right: 1.25rem;
        justify-content: end;
        white-space: nowrap;
    }

    /* NOTE: wenn text "Ueber uns" dann "1.25rem"*/
    .navbar-nav li {
        display: flex;
        flex-direction: row;
        margin-left: 0.7rem;
    }

    .nav-link {
        color: white;
        transition: transform 0.3s;
    }

    .aktiv {
        transform: scale(1.3);
    }
}

@media (max-width: 767px) {
    .active {
        margin: 5px;
    }

    .slogan {
        margin-right: auto;
    }

    #scrollUp {
        right: 15px;
    }
}
