:root {
    --font-size-h1: 8rem;
    --font-size-h2: 4rem;
    --font-size-h3: 2rem;
    --font-size-text: 1.5rem;
    --font-size-small: 1.3rem;
    --flex-list-gap: 7rem;

    
    --color-accent: rgb(191, 76, 0);
    --color-bg: rgb(30, 0, 42);
}

* {
    margin: 0px;
    box-sizing: border-box;
}

.main_content {
    max-width: 1556px;
    margin: 0 auto;
    background-color: black; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hamburger-menu {
    display: none; 
}

.flex_navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    background-image: url(../bilder/background_purple_noise.png);
    padding-top: 2rem;
    padding-bottom: 2rem;
}


.flex_list {
    display: flex;
    justify-content: space-evenly;
    gap: var(--flex-list-gap); /* mit Mediaqueries ändern */
}

.flex_list :hover {
    color: var(--color-accent);
}


.logo_container {
    height: 110px;
}


.logo_container img {
    height: 100%;
}


.button {
    text-align: center;
    margin-right: 2rem;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: var(--font-size-text);
    border: 2px;
    border-radius: 10px;
    background-color: var(--color-accent);  
}

body {
    background-color: var(--color-bg);
}

a {
    font-size: var(--font-size-text);
    text-decoration: none;
    color: rgb(208, 208, 208);
}

ul {
    list-style: none;
}

h2 {
    color: white;
    text-align: center;
    font-size: var(--font-size-h2);
    padding-top: 50px;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: bold;
    color: var(--color-accent);
}

footer{
    display: flex;
    justify-content: space-around;
    height: auto;
    background-color: black;
    color: white;
    font-family: Lato-text;
}

footer h3 {
    padding-top: 50px;
    padding-bottom: 30px;

}



@media screen and (max-width: 1058px) {
    
    :root {
        --font-size-text: 1.2rem; 
        --flex-list-gap: 2rem;   
    }

    
    .flex_navbar {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo_container img {
        height: 90px;
    }
}

@media screen and (max-width: 768px) {


    .flex_navbar {
        flex-direction: column; 
        height: auto;
        align-items: center;   
    }

    
    .logo_container {
       
        height: 60px; 
        margin-bottom: 3rem; 
    }

    
    nav {
        width: 100%; 
        margin-bottom: 1rem; 
    }

    .flex_list {
        flex-direction: column; 
        gap: 0px;
        padding: 0;        
        width: 100%;
        text-align: center;    
    }

    .flex_list li {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    }
    
    .flex_list li:last-child {
        margin-top: 3rem;
        border-bottom: none; 
    }

    
    .flex_list li a.button {
        margin-top: 4rem;
        margin: 1rem auto;
    }

    footer {

        flex-direction: column;
        align-items: center;

    }

    footer :last-child {
        margin-bottom: 50px;
    }

}