
* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
body,a {
    font-family: 'Merriweather Sans', sans-serif;
    color: #422918;
}



.main-container {
    max-width: 100%;
    overflow: hidden;
}

/* --------------HEADER----------------------------- */

header {
    position: fixed;
    width: 100%;
    background-color: white;
    border-bottom: black thin solid;
    z-index: 999;
    height: auto;
}

.logo-menu-container {
  display: flex;
  justify-content:space-evenly;
  z-index: 999;
  align-items: center;
  padding-right: 1rem;
}


/*----------NAVIGATION------------*/
/* BURGER ICON */
#menuBtn {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 999;
}
  
.bar {
background-color: #422918;
width: 2rem;
height: .15rem;
margin-top: 1rem;
}

.bar::before,
.bar::after {
    content: " ";
    position: absolute;
    width: 2rem;
    height: .15rem;
    background-color: #422918;
}

.bar::before {
    transform: translateY(-.75rem);
}

.bar::after {
    transform: translateY(.75rem);
}

#menuBtn:hover .bar,
#menuBtn:hover .bar::before,
#menuBtn:hover .bar::after {
    background-color: #f39200;
}

#menuBtn.open .bar {
    background-color: transparent;
}

#menuBtn.open .bar::before {
    transform: rotate(45deg);
}

#menuBtn.open .bar::after {
    transform: rotate(-45deg);
}


/*----- NAVI LIST -----*/
nav {
    display: none;
    background-color: white;
    position: fixed;
    top: 6.25rem;
    width: 100%;
    max-width: 1280px;
    z-index: 990;
}

.navi-ul {
    list-style-type: none;
}

#invisibleBG {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    z-index: 980;
} 

.open {
    display: block;
}

nav a {
    display: block;
    color: #422918;
    line-height: 4;
    border-bottom: thin solid black;
    letter-spacing: .1em;
    text-align: center;
    text-decoration: none;
    padding: 0;
}

nav a:hover {
    color: white;
    background-color: #f39200;
}

nav li:first-child {
    border-top: thin solid black;
}


/*----------------- NAVI ENDE----------- */

#logo {
  width: 6rem;
  height: auto;
}

.style-orange {
    color: #F39200;
}

.style-light {
    font-weight: lighter;
}


.style-bigger {
    font-size: 1.3em;
}

.karriere-intro {
    font-size: 1.1em;
}

.style-font {
    padding-left: 3rem;
}

.style-bold {
    font-weight: bolder;
}


/* --------------HEADER ENDE----------------------------- */
/* --------------PARALLAX----------------------------- */



.parallax-effect-container {
    height: 500px;
    overflow: hidden;
    display: block;
    background: black;
    margin: 3rem 0;
    position: relative;
}
  
.parallax-effect-content {
    position: relative;
    display: block;
    max-width: 100%;
    margin: 0 auto;
    top: 45%;
    transform-style: flat;
    transform: translate3d(0,-50%,0);
}

.parallax-effect-image {
    background-image: url(../img/eisenbahn-nahaufnahme-full.jpg);
}



.parallax-effect-image, .parallax-effect-image2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-attachment: fixed;
    opacity: .7;
}

.parallax-effect-image2 {
    background-image: url(../img/zugwagen-mit-frachtcontainern-fuer-reedereien.jpg);
    opacity: 1;
}

  
#text-center {
    text-align: center;
    font-size: 3.5rem;
    display: block;
    max-width: 100%;
    padding: none;
    color: white;
    padding: 0;
    margin: 0;
}

/* ----------PARALLAX ENDE------------------- */

.intro {
    text-align: center;
}


section, .intro {
    border-bottom: #F39200 thin solid;
    padding-top: 8rem;
    padding-bottom: 4rem;
}



section:last-child {
    border: none;
}

h2, h3, h4, p, .kontaktinfo {
    padding-left: 1rem;
    padding-right: 1rem;
}


h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
}


h2 {
    font-size: 1.5em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25em;
    margin-bottom: 2rem;
}

h4 {
    font-size: 1.15em;
    margin-bottom: 1.1rem;
}

h5 {
    font-size: 1.05em;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 2rem;
    font-size: 1em;
}

p, .karriere-liste, .datenschutz-liste {
    line-height: 1.5;
}

a {
    cursor: pointer;
    text-decoration: none;
    scroll-behavior: smooth;
}


button {
    padding: 1rem 1.5rem;
    border: none;
    background-color: #F39200;
    color: white;
    display: flex;
    justify-self: flex-start;
    margin: 0 auto;

} 

button:hover {
    border: medium solid #F39200;
    background-color: white;
    color: #F39200;
    font-weight: bolder;
    letter-spacing: .1rem;

}




/* --------------KARRIERE----------------------------- */

.aufgaben {
    background-color: #422918;
    color: white;
}

#karriere .suchen {
    background-color: #F39200;
    color: white;
}

#karriere ul, .datenschutz-liste {
    padding: 0rem 1rem 2rem 2rem;
    font-size: 1em;
}

#karriere ul li, .datenschutz-liste li {
    padding-bottom: 1.5rem;
}

.aufgaben, .suchen, .bieten {
    padding-top: 2rem;
}

/* --------------KONTAKT----------------------------- */

.hauptkontakt {
    margin-bottom: 4rem;
}

.hauptkontakt p {
    margin-bottom: 0;
}



.kontaktinfo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
}


.icon {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

address {
    font-style: normal;
}

/* --------------FOOTER----------------------------- */
footer {
    text-align: center;
    background-color: #422918;
    padding: 2rem 0;
    font-size: .9em;
}




footer a {
    color: white;
    padding: .5rem;
    border-right: thin solid white;
    font-size: .9em;
}

footer a:hover, #kontakt a:hover, #impressum a:hover {
    color: #F39200;
    text-decoration: underline;
}

.no-border {
    border-right: none;
}

.cookie {
    color: white;
    font-size: .75em;
    margin: 0 auto;
    padding-top: 1.5rem;

}

/* -----IMPRESSUM--------- */


#impressum p{
    margin-bottom: .5rem;
}

#impressum h4 {
    margin-top: 4rem;
}


.datenschutz-liste {
    list-style-type: disc;
    padding: 0 1rem;
    margin-left: 1.25rem;
    margin-bottom: 2rem;
}


@media screen and (min-width: 480px) {


    h2 {
        font-size: 2em;
    }
    
    h3 {
        font-size: 1.5em;
    }
    
    h4 {
        font-size: 1.35em;
    }
    
    h5 {
        font-size: 1.15em;
    }
    
    
    .style-font {
        padding-left: 5rem;
    }

}

@media screen and (min-width: 768px) {

    h2, h3, h4, p, .kontaktinfo {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .cookie {
        font-size: .9em;
    }

}




@media screen and (min-width: 900px) { 

    header, .logo-menu-container, .intro, section {
        margin: 0 auto;
    }

  

    /* HEADER & NAVIGATION */

    header {
        margin: 0 auto;
    }

    #menuBtn {
        display: none;
    }

    #title-h1 {
        padding-right: 1rem;
    }

    nav {
        display: block;
        position: relative;
        top: auto;
        width: auto;
    }
 

    nav ul {
        margin-top: 1.5rem;
    }

    nav a {
        line-height: normal;
        border-bottom: none;
        padding: 1rem 1.5rem;
    }

    nav ul li {
        display: inline-block;
    }

    nav li:first-child {
        border-top: none;
    }
  

    h2, h3, h4, p,.karriere-liste, .kontaktinfo, .datenschutz-liste {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .style-font {
        padding-left: 11rem;
    }
    

    #kontakt h3 {
        padding-top: 3rem;
    }

    button {
        padding: 1rem 1.5rem;
        border: none;
        background-color: #F39200;
        color: white;
    } 

    .datenschutz-liste {
        padding: 0 2.25rem;

    }


}





@media screen and (min-width: 1200px) {


    #logo {
        width: 8rem;
    }



    #title-h1 {
        font-size: 1.6rem;
    }


    h2, h3, h4, p,.karriere-liste, button, .kontaktinfo, .datenschutz-liste {
        max-width: 45%;
     
    }


    section, .intro {
        padding-top: 12rem;
        padding-bottom: 6rem;
    }


    button {
        padding: 1.5rem 2rem;
        font-size: 1.1em;
        letter-spacing: .1rem;

    }


    h2 {
        font-size: 2.1em;
        margin-bottom: 1.6rem;
    }
    
    h3 {
        font-size: 1.6em;
        margin-bottom: 2.1rem;
    }
    
    h4 {
        font-size: 1.45em;
        margin-bottom: 1.2rem;
    }
    
    h5 {
        font-size: 1.35em;
        margin-bottom: 1.1rem;
    }

    .aufgaben, .suchen, .bieten {
        padding-top: 4rem;
    }
    
    #kontakt h3 {
        padding-top: 4rem;
    }
   
}


