* {
    margin: 0;
    padding: 0;
    font-family: Arimo;
}

#wrapper {
    min-height: 100vh;
    display: flex;
}

.sidenav {
    width: 25%;
    height: 100%;
    float: left;
    overflow: hidden;
}

.sidenav #vidBg {
    height: 100vh;
    display: block;
}

.main-content {
    width: 75%;
    height: 100vh;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
}

main {
    padding: 20px;
}

header h1 {
    padding: 10px;
    font-size: 72px;
    text-align: center;
}

nav {
    width: 100%;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 100;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav li:last-child {
    border-right: none;
}

nav li a {
    text-decoration: none;
    display: inline-block;
    position: relative;
}

nav li a:visited {
    color: #000;
}

.menu-item {
    padding: 1rem 2rem;
    color: #000;
    position: relative;
    text-decoration: none;
}

.menu-item:before {
    content: "";
    height: 3px;
    position: absolute;
    background-color: #007bff;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 8px;
    transform: scaleY(0);
    transition: transform 0.1s ease;
}

.menu-item:hover:before,
.menu-item.active:before {
    transform: scaleY(1);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    background-color: #000;
    /* Or match your theme */
}

.burger span {
    height: 3px;
    width: 25px;
    background-color: white;
    transition: all 0.3s ease;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 5px);
    background-color: #FFF;
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
    background-color: #FFF;
}

.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin: 5px 10px;
}


footer {
    height: 150px;
    position: relative;
    margin-top: auto;
}

.m-stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.m-stripe-light-blue {
    background-color: #007bff;
    /* This stripe is on the left, angled to the right */
    clip-path: polygon(0 0, 37% 0, 28% 100%, 0% 100%);
}

.m-stripe-dark-blue {
    background-color: #003366;
    /* This stripe is in the middle, angled to the right */
    clip-path: polygon(37% 0, 74% 0, 65% 100%, 28% 100%);
    text-align: center;
    color: #FFF;
}

.m-stripe-dark-blue p {
    top: 45%;
    position: relative;
}

.m-stripe-red {
    background-color: #e30022;
    /* BMW M Red */
    /* This stripe is on the right, angled to the right */
    clip-path: polygon(73% 0, 100% 0, 100% 100%, 65% 100%);
}

/* Responsive adjustments for smaller screens if needed (though clip-path handles much of it) */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidenav {
        display: none;
    }

    .main-content {
        width: 100%;
        min-height: 100vh;
        overflow: hidden;
    }

    header h1 {
        font-size: 62px;
    }

    .m-stripe-container {
        height: 50px;
    }

    nav {
        align-items: stretch;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        background-color: #fff;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }

    .nav-links.open {
        max-height: 300px;
        overflow-y: auto;
        padding: 10px;
    }

    .nav-links li {
        text-align: center;
        /*padding: 1rem 0;*/
        margin: 0;
    }
}