* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(eduford_img/banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links ul li {
    margin: 0 15px;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa {
    display: none;
}

@media (max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }
    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
        /* Text linksbündig ausrichten */
        padding-left: 25px;
    }
    .nav-links {
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        /* Links ausrichten */
        z-index: 2;
        transition: 1s;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Am oberen Rand beginnen */
        padding-top: 100px;
        /* Abstand vom oberen Rand */
    }
    nav .fa-bars {
        display: block;
        color: #fff;
        font-size: 22px;
        cursor: pointer;
    }
    nav .fa-times {
        display: block;
        color: #fff;
        position: absolute;
        top: 10px;
        /* Positioniert das Kreuz in der oberen linken Ecke */
        left: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul li {
        margin: 20px 0;
        /* Vergrößert den Abstand zwischen den Links */
    }
}