@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@600;700&family=Poppins:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --main-color: rgb(228, 145, 37);
}

html {
    font-size: 10px;
}

body {
    /*background-image: url(oranges.jpg);
    background-attachment: fixed;
    background-size: cover;*/
    background-repeat: no-repeat;
    min-height: 100vh;
    overflow-x: hidden;
    height: auto;
    width: 100%;
    background-image: linear-gradient(120deg,#313132,#161618);
    
}

a {
    text-decoration: none;
}


ul {
    list-style: none;
}

header {
    /*border: 1px solid yellow;*/
    background-color:  rgb(0, 0, 0);
    width: 100%;
    position:fixed;
    top: 0;
    left: 0;
    z-index: 2;
}

.container_1 {
    /*border: 1px solid rgb(0, 255, 106);*/
    width: 1334px;
    margin: auto;
    /*
    display: flex;
    justify-content: center;
    align-items: center;
*/
}

.menu-icons {
    display: none; /*Standert war "none"*/ /* Das Burger-Icon wird standardmäßig angezeigt */
    align-items: center;
    justify-content: center;
    color: #eee;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    /*-webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);*/
    cursor: pointer;
    z-index: 1500;
}

.menu-icons #close-icon {
    display: none; /* Das Schließen-Icon wird standardmäßig ausgeblendet */
}

nav {
    /*border: 1px solid yellow;*/
    width: 100%;
    /*border-radius: 1px solid hsla(0, 0%, 100%, 0.1);
    -webkit-border-radius: 1px solid rgba(255, 255, 255, 0.1);
    -moz-border-radius: 1px solid rgba(255, 255, 255, 0.1);
    -ms-border-radius: 1px solid rgba(255, 255, 255, 0.1);
    -o-border-radius: 1px solid rgba(255, 255, 255, 0.1);*/
    display: flex;
    align-items: center;
    
    height: 60px;
    background: rgba(0,0,0, 0.5);
    justify-content: space-between; /* Geändert, um das Logo in der Mitte zu zentrieren */
    padding: 0 20px; /* Hinzugefügt, um die Abstände zu ändern */
    /*gap: 2rem;*/
}

.navigation ul{

    list-style: none;
}

.logo-container {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    /*padding: 20px;*/ /* Optional: Fügen Sie Innenabstand hinzu, um den Abstand zwischen dem Logo und dem Rand des Containers anzupassen */
}

.logo {
    /*border: 1px solid yellow;*/
    font-size: 2.5rem;
    color: #eee;
    font-family: 'Kanit', sans-serif;
    display: flex;
    align-items: center;
    /*justify-content: center;
    */
}

.logo a {
    text-decoration: none;
    color: #eee;
    display: inline-block;
}

@media screen and (max-width: 1365px) {
    .logo-container {
        justify-content: center;
    }

    .logo {
        font-size: 2rem; /* Ändern Sie die Schriftgröße nach Bedarf */
    }
}



/* START -- Hier begint die Sandwich geschichte */
.nav-list {
    /*border: 1px solid green;*/
    
    display: flex;
    padding-left: 2%;
    /*Für die Animation des Sandwich*/
    transition: transform 0.3s ease-in-out; 
    transform: translateX(0);
}

.nav-list.active {
    /*border: 1px solid blue;*/
    display: block;
    flex-direction: column; /* Das Menü sollte in einer Spalte angezeigt werden */
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: #191919;
    z-index: 1000;
    align-items: center;
    text-align: left;
    overflow-y: scroll;
    width: 100%;
    
  
    transform: translateY(0);
}



.nav-list li {
    line-height: 8rem;
    position: relative;
}

.sub-menu li {
    line-height: 4rem;
}

.nav-list a {
    display: block;
    color: #eee !important;
    padding: 0 1.5rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    transition: color 650ms;
    -webkit-transition: color 650ms;
    -moz-transition: color 650ms;
    -ms-transition: color 650ms;
    -o-transition: color 650ms;
    position: relative;
    width: 100%;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s;
    
    

}

.nav-list a:hover {
    color: var(--main-color) !important;
}


.btn {
    padding: 1.3rem;
    display: inline-block;
    border: 2px solid var(--main-color);
    border-radius: 0.5rem;
    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    -ms-border-radius: 0.5rem;
    -o-border-radius: 0.5rem;
    transition: background-color 650ms;
    -webkit-transition: background-color 650ms;
    -moz-transition: background-color 650ms;
    -ms-transition: background-color 650ms;
    -o-transition: background-color 650ms;
    cursor: pointer;
}


.btn:hover {
    color: var(--main-color);
    cursor: pointer;
}



.sub-menu {
    width: 20rem;
    display: block;
    position: absolute;
    border-top: 3px solid var(--main-color);
    background-color: #191919;
    z-index: 100;
    top: 16rem;
    transition: all 250ms ease;
    -webkit-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    -ms-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    opacity: 0;
    visibility: hidden;
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -2.5rem;
    left: 3rem;
    border: 1.2rem solid transparent;
    border-bottom: 1.2rem solid var(--main-color);
}

.sub-menu::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition-duration: .25s;
  }


.sub-menu .sub-menu::before {
    top: .9rem;
    left: -2.5rem;
    border: 1.2rem solid transparent;
    border-right-color: var(--main-color);
}

.sub-menu .sub-menu {
    border-top: none;
    border-left: 3px solid var(--main-color);
    top: 0;
    left: 160%;
}


.nav-list li:hover>.sub-menu {
    top: 8rem;
    opacity: 1;
    visibility: visible;
}

.sub-menu li:hover>.sub-menu {
    top: 0;
    left: 100%;
}

li.move-right {
    margin: auto 0 auto auto;
    line-height: initial;
}

@media screen  and (max-width: 1365px) {
    .nav-list {
        position: fixed;
        top: 60px;
        left: 0px;
        height: 100vh;
        flex-direction: column;
        background-color: #191919;
        z-index: 1000;
        align-items: initial;
        /*text-align: left;*/
        display: none;
        overflow-y: scroll ;
        width: 100%;
    }
  
    .nav-list > li {
        line-height: 6rem;
        
    }

    .nav-list a:hover {
            color: var(--main-color) !important;
        }
    


.logo{
    /*Border: 3px solid yellow;*/
    justify-content: center;
    align-items: center;
    /*width: 400px;*/
    text-align: center;
    font-size: 25px;


}

    .sub-menu {
        position: initial;
        border: 3px solid transparent;
        margin-left: 1rem;
        max-height: 0;
        background: rgba(0, 0, 0, 0.5);
        overflow: hidden;
        margin-right: 0.4rem;
        padding-right: 1rem;
    }

    .sub-menu .sub-menu {
        border: none;
        overflow: hidden;
        margin-right: 0.4rem;
    }

    .sub-menu::before {
        display: none;
    }

    .nav-list li:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        max-height: initial;
    }

    li.move-right {
        margin: 0 auto 0 0;
        line-height: initial;
    }

    .menu-icons {
        display: block;
    }

    .fa-times {
        display:none;
    }

    .fa-bars{
        display: none; /*Neu hinzugefügt*/
    }

    nav.active .fa-times {
        display: block;
    }

    nav.active .fa-bars {
        display: none;
    }
    
    nav.active .nav-list {
        display: flex;
    }
}






