
/**colors
dark rgb(60, 60, 70);
light rgb(241, 241, 242);
beige rgb(245, 242, 237);
blue rgb(85,139,255);
light blue rgb(157, 211, 255);
dark blue rgb(27, 20, 100);
warm yellow rgb(254, 204, 144);
orange rgb(255, 136, 94);

font-family: 'PT Serif', serif;

/**global rules**/

#link {
    text-decoration: underline;
}

body {
    color: rgb(60, 60, 70);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: rgb(60, 60, 70);
}

.clear {
    clear: both;
}

.wrapper {
    width: 80%;
    margin: 0 auto;
}

em {
    font-style: italic;
    font-size: 0.7em;
}

strong {
    color: rgb(85,139,255);
}

button {
    padding: 10px;
    background-color: rgb(85,139,255);
    border: none;
    box-shadow: 2px 2px 4px lightgrey;
    border-radius: 5px;
    font-size: 14px;
    color: white;
    margin: 50px 0 0 0;
    cursor: pointer;
    transition: background-color 0.3s ease-in;
}

button:hover {
    background-color: rgb(27, 20, 100);
}

h1 { /*used as Page Header*/
    color: rgb(60, 60, 70);
    font-family: 'PT Serif', serif;
    font-size: 2em;
    font-weight: bolder;
    text-align: center;
    position: relative;
    top: 35px;
}


h2 { /*used as section header*/
    font-family: 'PT Serif', serif;
    font-size: 1.8em;
    font-weight: bolder;
}

h3 { /*used for lautschrift separator*/
    font-family: 'PT Serif', serif;
    font-size: 1.3em;
    font-weight: bolder;
    color: rgb(85,139,255);
    margin-bottom: 5px;
}

h4 { /*used for lautschrift separator*/
    font-family: 'PT Serif', serif;
    font-size: 1.4em;
    font-weight: bolder;
    margin-top: 10px;
    text-align: center;
}

h5 { /*used for lautschrift separator*/
    color: rgb(85,139,255);
    text-align: center;
    margin-bottom: 10px;
}

/**styling sections**/

header {
    position: fixed;
    width:100%;
    left: 0; top:0; 
    z-index: 40;  
}

#main-header {
    background: white; 
    height: 60px;
    border-bottom: 0.8vh solid rgb(85,139,255);
}

#home {
    color: black;
    float: left;
    margin: 17.5px 0;
    font-family: 'PT Serif', serif;
    font-size: 25px;
    line-height: 1;
    font-weight: bolder;
}

nav {
    color: black;
    float: right;
    font-size: 14px;
    line-height: 1;
}

nav ul, #sub-nav ul {
    list-style: none;
}

nav ul li {
    
    float:right;
    transition: color .3s ease;
    cursor: pointer;
}

.animate {
    display: inline-block;
    margin: 0 0 0 40px;
    text-decoration: none;
}

.animate::before {
    content: '';
    display: block;
    width: 0;
    height: 23px;
    border-top: 3px solid black;
    transition: width .3s;
}

.animate:hover::before {
    width: 100%;
}

.active::before {
    content: '';
    display: block;
    width: 100%;
    height: 23px;
    border-top: 3px solid black;
    transition: width .3s;
}

.active {
   font-weight: bold;
}

#sub-nav {
    width: 100%;
    height: 40px;
    background-color: rgb(85,139,255);
    border-bottom: 4px solid white;
}

#sub-nav li {
    float:right;
    cursor: pointer;
    color: white;
    font-size: 13px;
    margin-top: 10px;
}

.padding {
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid white;
}

#sub-nav li:hover {
    text-decoration: underline;
}

/**#mobile-nav {
    display: none;
}

#burger {
    display:none;
}**/

/*content*/

#content {
    background-color: white;
    position: relative;
    margin: 95px 0 30vh 0;
    z-index: 20;
}

#content2 {
    background-color: white;
    position: relative;
    margin: 55px 0 30vh 0;
    z-index: 20;
}

#teaser {
    position: relative;
    text-align: center;
    margin: 25px 0 40px 0;
}


.section {
    min-height: 40vh;
    padding: 40px 0;
}

.section .wrapper {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}

.right .section-text {
    padding-right: 10%;
}

.left .section-text {
    padding-left: 10%;
}

.section-text p, .section-text ul {
    margin-top: 15px;
}

.section ul {
    font-weight: bold;
    line-height: 1.7;
}

.section-img {
    flex: 0 0 40vh;
    right: 0;
}

.info {
    background-color: rgb(255, 136, 94);
    color: rgb(27, 20, 100);
    border-radius: 100%;
    position:absolute;
    right: 20px;
    bottom: 20px;
    text-align: center;
    padding: 15px 15px;
    border-radius: 100%;
    border: 3px solid white;
}

#coaching .info {
    background-color: rgb(27, 20, 100);
    color: white;
    bottom: 0px;
}



.section-img img {
    width: 100%;
}

.plus, .minus, .goto{
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 2px 0 0 3px;
}

.plus img, .minus img {
    width: 100%;
}

.minus {
    display: none;
}


.unterpunkte {
    font-size: 14px;
    font-weight: normal !important; 
    margin: 0 0 15px 15px !important;
    display: none;
}

.open {
    color: rgb(254, 204, 144);
    cursor: pointer;
}

#netzwerk a {
    color: rgb(27, 20, 100);
}

/*team seite */

#team .wrapper {
    width:80%; 
    max-width: 1100px; 
    margin: 0 auto;
}

.team-container {
    position: relative;
    background-color: white;
    width: 480px;
    margin-top: 170px;
    box-shadow: 4px 4px 4px lightgrey;
    border-radius: 5px;
}

.team-img {
    border-radius: 100%;
    border: 3px solid rgb(85,139,255);
    overflow: hidden;
    height: 40vh;
}

#karin {
    background-image: url("../images/karin3-bw.jpg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
}

#michi {
    background-image: url("../images/michi-bw.jpg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
}



.team ul {
    list-style: circle;
    margin: 10px 0 0 20px;
    font-weight: normal;
}

.team h5 {
    text-align: left !important;
}

.customers {
    flex: 0 0 45%;
    left: 0;
}

.customer-logo {
    float: left; 
    width: 20%;
    margin: 0 5% 5% 0;
    filter: grayscale(100%);
    opacity: 40%;
}

.customer-logo img {
    width: 100%;
}

/*Home-Seite*/

#opener {
    min-height: 75vh;
}

#opener h1 {
    margin-top: 10vh;
}

#content2 #teaser {
    margin-top: 0;
}

.leistungs-wrapper {
    margin: 2vh 0;
    position: relative;
}

.leistung {
    width: 20%;
    margin: 0 2.5%;
    float: left;
    transition: all .4s ease;
}

.leistung:hover {
    transform: scale(1.07);
}

.leistungs-img {
    width: 100%;
    border-radius: 100%;
}

.leistungs-img img {
    width: 100%;
}

.leistung h2 {
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-size: 1.5em;
}

#leistungs-btn {
    margin: 7vh 0;
    position: relative; 
    left: 50%;
    transform: translateX(-50%);
}

.flex-side {
    flex: 0 0 20vw;
}

.flex-side div{
    width: 20vw;
    height: 20vw;
    border-radius: 100%;
    border: 3px solid rgb(85,139,255);
}

.parallax { 
    /* The image used */
    background-image: url("../images/zusammen-parallax.jpg");
    /* Set a specific height */
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

.parallax ul {
    font-size: 17px; 
    margin-top: 20px;
}


#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 20vh;
    z-index: 0;
}

#footer-wrapper {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;   
}

#footer p {
    font-size: 14px;
    line-height: 1.3;
}
#footer a {
    transition: text;
}

#footer a:hover {
    text-decoration: underline;
}

#copyright {
    float: left;
}

#legal{
    float: right;
    text-align: right;
    margin-right: 1.15vw;
}

#scroll {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 40;
    width: 45px;
    transition: all .3s ease;
}

#scroll:hover {
    opacity: 0.6;
}


/**Media Queries**/

@media all and (max-device-width: 1024px) { 

    body {
        font-size: 16px;
    }

    .wrapper {
        width: 90%;
    }
    
    #main-header {
        height: 105px;
    }
    
    #home {
        width: 100%;
        height: 20px;
        text-align: center;
        margin: 0;
        padding: 20px 0;
        font-size: 25px;
        border-bottom: 1px solid lightgrey;
    }

    .team h5 {
        text-align: center !important;
    }

    
    nav {
        width: 100%;
    }
    
    nav ul li {  
        float:right;
        text-align: center;
        width: 25%;
        height: 16px;
        font-size:16px;
        padding: 14px 0 14px 0;
    } 
    
    #sub-nav {
        display: none;
        width: 100%;
        height: 50px;
    }

    #sub-nav.show {
        display: block;
    }

    #sub-nav .wrapper {
        position: relative;
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: space-between;
    }

    #sub-nav ul {
        margin: 0 auto;
    }
    
    #sub-nav li {
        text-align: center;
        font-size: 16px;
        margin-top: 15px;
    }
    
    .padding {
        padding-right: 9px;
        margin-right: 9px;
    }

    .animate {
        margin: 0;
    }
    
    .animate::before {
        display: none;
    }
    
    .active::before {
        display: none;
    }
    
    .active {
       font-weight: bold;
    color: rgb(85,139,255);
    }

    /*content*/
    .section .wrapper {
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
    }

    .right .wrapper {
        flex-flow: column-reverse wrap;
    }

    .right .section-text, .left .section-text{
        padding: 0;
        margin-top: 20px;
    }

    .team p {
        margin-top: 20px;
    }
    
    
    
    h3 {
        margin-top: 15px;
        text-align: center;
    }

    h2 {
        text-align: center;
    }
    
    .section ul {
        font-weight: bold;
        line-height: 1.7;
    }
    
    .section-img {
        width: 50%;
        right: auto;
        flex: auto;
    }

    #copyright {
        width: 100%;
        text-align: center;
    }
    
    #legal{
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    /*Team-Seite*/
    #team .wrapper {
        width:90%; 
        max-width: 90%;
        margin: 0 auto;
    }

    .not-mobile {
        display: none;
    }
    
    .team-container {
        width: 100%;
        margin-top: 40vw;
    }
    
    .team-img {
        top: -30vw;
        left: 25vw;
        width: 40vw;
        height: 40vw;
    }
    
    .team-text {
        font-size: 16px;
        padding: 130px 5% 5% 5%;
    }

    #kunden .wrapper {
        flex-flow: column wrap;
    }

    .customers {
        margin-top: 25px;
    }

    .customer-logo {
        margin: 5% 5% 0 0;
    }

    /*home-seite*/

    .leistung {
        width: 40%;
        margin: 0 5% 6% 5%;
    }

    .leistung h2 {
        font-size: 1.8em;
    }

    #content2 #teaser {
        margin-bottom: 0;
        font-size: 18px;
    }

    #content2 .section {
        min-height: 0;
    }

    #leistungs-btn {
        margin: 2vh 0;
    }

    button {
        font-size: 18px;
    }

    .flex-side {
        display:none;
    }

    .parallax {
        background-image: url(../images/zusammen-parallax-mobile.jpg);
        
    }

    .ueber-links {
        margin-top: 40px;
        font-size: 20px;
    }
}

@media all and (max-device-width: 600px) {

    .info {
        top: 55vw;
        bottom: auto;
    }
    
    #coaching .info {
        bottom: auto;
    }



    button {
        font-size: 14px;
    }

    body {
        font-size: 14px;
    }

    #main-header {
        height: 95px;
    }
    
    #home {
        width: 100%;
        height: 20px;
        padding: 16px 0;
        font-size: 20px;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul li {  
        height: 14px;
        font-size: 14px;
        padding: 13px 0 13px 0;
    } 
    
    #sub-nav {
        height: 40px;
    }
    
    #sub-nav li {
        font-size: 13px;
        margin-top: 10px;
    }

    .nowrap {
        white-space: nowrap;
    }

    .section-img {
        width: 80%;
    }

    .team-container {
        width: 100%;
        margin-top: 45vw;
    }
    
    .team-img {
        top: -35vw;
        left: 10vw;
        width: 70vw;
        height: 70vw;
    }
    
    .team-text {
        font-size: 12px;
        padding: 130px 5% 5% 5%;
    }

    .customer-logo {
        width: 28%;
        margin: 5% 5% 0 0;
    }

    #opener h1 {
    margin-top: 15vh;
    font-size: 1.5em;
    }

    .leistung {
        width: 40%;
        margin: 0 5% 6% 5%;
    }

    .leistung h2 {
        font-size: 1.1em;
        margin-top: 3%;
    }

    #content2 #teaser {
        margin-bottom: 0;
        font-size: 16px;
    }

    #leistungs-btn {
        margin: 5vh 0;
    }

    .ueber-links {
        margin-top: 20px;
    }
    

    
}

@media all and (max-device-width: 320px) {
    #sub-nav li {
        text-align: center;
        font-size: 12px;
        margin-top: 10px;
    }
    
    .padding {
        padding-right: 5px;
        margin-right: 5px;
        border-right: none;
    }

    .info {
        font-size: 13px;
    }
}