/* Allgemeine Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Slab', serif;
    background-color: #E3E3E3;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
    color: #3c4858;
}

.logo {
    font-weight: bold;
    font-size: 25px;
    margin-right: auto;
    opacity: 0;
    transition: opacity 0.5s;
    user-select: none;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.menu {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 13pt;
    user-select: none;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu ul li {
    margin-right: 20px;
}

/* Menü-Link-Hover-Effekt */
.menu ul li a {
    text-decoration: none;
    color: #ffffff;
    position: relative;
    padding: 15px;
}

.menu ul li a::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #0000001c;
    border-radius: 5px;
    transition: all 0.3s;
    z-index: -1;
}

.menu ul li a:hover::before {
    left: 0;
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin-bottom: 4px;
}

/* Header */
header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.parallax {
    background-image: url("../img/Start.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100%;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    user-select: none;
}

.header-content-text {
    font-family: 'Roboto Slab', serif;
    font-size: 57px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: opacity 0.5s;
    opacity: 1;
    color: white;
}

.header-content-text-header{
    font-family: 'Roboto Slab', serif;
    font-size: 37px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: opacity 0.5s;
    opacity: 1;
}

/* Hamburger-Menü */
.hamburger-menu {
    z-index: 2;
}

/* Willkommensbereich */
.welcome-content {
    background-color: rgba(255, 255, 255);
    padding: 20px;
    margin-top: -180px;
    margin-left: 40px;
    margin-right: 40px;
    border: 1px solid #ccc;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 300;
    align-items: center;
    justify-content: center;
}

.welcome-content-text {
    max-width: 1250px;
    margin: 0 auto;
    margin-top: 80px;
    color: #3c4858;
}

.welcome-content-text h2 {
    font-weight: 700;
    font-size: 32px;
}

.welcome-content-text p {
    font-size: 18px;
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    font-family: Roboto;
    user-select: none;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.linksammlung {
    flex-basis: calc(50% - 10px);
    text-align: left;
}

.linksammlung ul {
    list-style: none;
    padding: 0;
}

.linksammlung li {
    margin-bottom: 10px;
}

.linksammlung a {
    text-decoration: none;
    color: #fff;
}

.info {
    flex-basis: calc(50% - 10px);
    text-align: right;
}

.info p {
    margin: 0;
    font-weight: 500;
}

/* Responsives Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .linksammlung,
    .info {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 1320px) {
    .welcome-content {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 980px) {
    nav{
        box-shadow: 5px 5px 9px -2px rgba(0, 0, 0, 0.47);
    }
    .welcome-content {
        margin-left: 0px;
        margin-right: 0px;
        border-radius: 0;
    }

    .navbar {
        background-color: #f2f2f2;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #f2f2f2;
        padding: 10px;
        display: none;
    }

    .menu ul li {
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hamburger.active~.menu {
        display: block;
    }

    .header-content-text h1 {
        font-size: 37pt;
    }
}

@media (min-width: 981px) {
    .menu ul {
        display: flex;
    }

    .menu ul li {
        margin-bottom: 0;
    }
}


/* Navbar */
nav {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

.nav-mobile {
    display: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
    color: #ffffff;
}

.logo {
    font-weight: bold;
    font-size: 25px;
    margin-right: auto;
    text-decoration: none;
}

.logo a {
    text-decoration: none;
    color: #3c4858;
    font-weight: bold;
    font-size: 25px;
}

.menu {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 13pt;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu ul li {
    margin-right: 20px;
}

/* Menü-Link-Hover-Effekt */
.menu ul li a {
    text-decoration: none;
    color: #ffffff;
    position: relative;
    padding: 15px;
}

#actual {
    color: #000000;
}

.menu ul li a::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #0000001c;
    transition: all 0.3s;
    z-index: -1;
}

.menu ul li a:hover::before {
    left: 0;
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin-bottom: 4px;
}

.footer {
    text-align: center;
    margin-bottom: 58px;
}

.footer a {
    text-decoration: none;
    color: #3c4858;
}


/* Hamburger-Menü */
.hamburger-menu {
    z-index: 2;
}


@media (max-width: 980px) {
    .welcome-content {
        margin-left: 0px;
        margin-right: 0px;
        border-radius: 0;
    }

    .navbar {
        background-color: rgb(255, 255, 255);
    }

    .menu {
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: rgb(255, 255, 255);
        padding: 30px;
        display: none;
    }

    .menu ul li {
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;
        padding: 15px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hamburger.active~.menu {
        display: block;
    }

    .header-content-text h1 {
        font-size: 37pt;
    }
}

@media (max-width: 980px) {
    .menu ul li {
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;
        padding: 15px;
        font-size: 16pt;
    }
}

@media (min-width: 981px) {
    .menu ul {
        display: flex;
    }

    .menu ul li {
        margin-bottom: 0;
    }
}


@media (max-width: 980px) {
    body {
        margin: 0;
        padding: 0;
    }

    #actual {
        color: #000000 !important;
    }

    .nav-mobile #menuToggle-mobile #menu-mobile li a {
        color: #3c4858;
        text-decoration: none;
        opacity: 1;
        font-size: 1.5em;
        font-weight: 400;
        transition: 200ms;
    }

    a:hover {
        opacity: 0.5;
    }

    ul {
        padding: 0;
        list-style-type: none;
    }

    nav {
        background-color: rgb(255, 255, 255);
        height: 65px;
    }

    .nav-mobile {
        display: block;
    }

    #menuToggle-mobile {
        display: flex;
        flex-direction: column;
        position: relative;
        top: 25px;
        left: 25px;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
    }

    #menuToggle-mobile input {
        display: flex;
        width: 100%;
        height: 32px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }

    #menuToggle-mobile span {
        display: flex;
        width: 29px;
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: #3c4858;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 5px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
    }

    #menuToggle-mobile span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle-mobile span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    #menuToggle-mobile input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -1px);
        background: #3c4858;
    }

    #menuToggle-mobile input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #menuToggle-mobile input:checked~span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    #menu-mobile {
        position: absolute;
        width: 100%;
        height: 100vh;
        margin: -50px 0 0 -50px;
        padding: 50px;
        padding-top: 65px;
        background-color: rgba(255, 255, 255, 0.7);
        -webkit-font-smoothing: antialiased;
        transform-origin: 0% 0%;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    #menu-mobile li {
        padding: 10px 0;
        text-align: center;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s, transform 0.3s;
        margin-left: -50px;
        margin-top: 30px;
    }

    #menuToggle-mobile input:checked~ul {
        transform: translateY(0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    #menuToggle-mobile input:checked~ul li {
        opacity: 1;
        transform: translateY(0);
    }

    #menuToggle-mobile input:checked~ul li:nth-child(1) {
        transition-delay: 0.2s;
    }

    #menuToggle-mobile input:checked~ul li:nth-child(2) {
        transition-delay: 0.4s;
    }

    #menuToggle-mobile input:checked~ul li:nth-child(3) {
        transition-delay: 0.6s;
    }

    #menuToggle-mobile input:checked~ul li:nth-child(4) {
        transition-delay: 0.8s;
    }

    #menuToggle-mobile input:checked~ul li:nth-child(5) {
        transition-delay: 1.0s;
    }

    /* Falls mehr Elemente vorhanden sind, jeweils fortsetzen */


}