/*@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Niramit:wght@300;400&display=swap');

body{
    padding: 0;
    margin: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    /*font-family: 'Poppins', sans-serif;*/
    font-family: 'Niramit', sans-serif;
    color: #e3e3e3;
    -webkit-animation: hideOverflow .1s  2s  forwards;
    -moz-animation: hideOverflow .1s  2s  forwards;
    -o-animation: hideOverflow .1s  2s  forwards;
    animation: hideOverflow .1s  2s  forwards; 
    background-color: rgb(60,135,120);
    line-height: 1.2;
}    
html { 
    -webkit-scroll-padding-top: 57px;
    -moz-scroll-padding-top: 57px;
    -o-scroll-padding-top: 57px;
    scroll-padding-top: 57px;
    -webkit-scroll-snap-type: y proximity;
    -moz-scroll-snap-type: y proximity;
    -o-scroll-snap-type: y proximity;
    scroll-snap-type: y proximity;
    -webkit-scroll-behavior: smooth;
    -moz-scroll-behavior: smooth;
    -o-scroll-behavior: smooth;
    scroll-behavior: smooth;
  }


/* loadingLogo */

#loadingScreen_image{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#loadingScreen_container{
    background-color: white;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1001;
    visibility: visible;
    animation-delay: 2s;
    -moz-animation: hideLogo 2s ease-in forwards ;
    -webkit-animation: hideLogo 2s ease-in forwards ;
    -o-animation: hideLogo 2s ease-in forwards ;
    animation:  hideLogo 2s ease-in forwards ;
}
.loadingScreen_wrapper{
    position: absolute;
    height: 350px;
    width: 350px;
    top:50%;
    left:50%;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    overflow: hidden;
}
.loadingScreen_wrapper span{
    position: absolute;
    background: rgba(60,135,120,1);
}
.loadingScreen_wrapper span:nth-child(1){
    width: 100%;
    height: 4px;
    top: 0px;
    left: -100%;
    -moz-animation: animate1 2s linear infinite;
    -webkit-animation: animate1 2s linear infinite;
    -o-animation: animate1 2s linear infinite;
    animation:  animate1 2s linear infinite;
}
.loadingScreen_wrapper span:nth-child(3){
    width: 100%;
    height: 4px;
    bottom: 0px;
    right: -100%;
    -moz-animation: animate3 2s linear infinite;
    -webkit-animation: animate3 2s linear infinite;
    -o-animation: animate3 2s linear infinite;
    animation:  animate3 2s linear infinite;
}
.loadingScreen_wrapper span:nth-child(2){
    width: 4px;
    height: 100%;
    right: 0px;
    top: -100%;
    -moz-animation: animate2 2s linear infinite;
    -webkit-animation: animate2 2s linear infinite;
    -o-animation: animate2 2s linear infinite;
    animation:  animate2 2s linear infinite;
}
.loadingScreen_wrapper span:nth-child(4){
    width: 4px;
    height: 100%;
    left: 0px;
    bottom: -100%;
    -moz-animation: animate4 2s linear infinite;
    -webkit-animation: animate4 2s linear infinite;
    -o-animation: animate4 2s linear infinite;
    animation:  animate4 2s linear infinite;
}


/* content */

a{
    text-decoration: none; 
    color: black;
}

#header_helper{
    position: fixed;
    width: 57px;
    height: 57px;
    background-color: #e3e3e3;
    z-index: 99;
}

#header{
    position: fixed;
    width: -webkit-calc(100% - 57px);
    width:    -moz-calc(100% - 57px);
    width:         calc(100% - 57px);
    left:57px;
    height: 57px;
    top: 0;
    background-color: #e3e3e3;
    z-index: 97;
    box-shadow: 0px 1px 10px black;
}

#header_banner{
    position: relative;
    height: 100%;
    width: auto;
    left: 50%;
    transform: translate(-50%);
}

.logo_box{
    position: fixed;
    height: 12vh;
    width: 160px;
    top: 9vh;
    right: 4vw;
    z-index: 99;
    cursor: pointer;
    line-height: 1.6;
    font-size: 1vw;
    box-shadow: 2px 2px 10px black;
    -webkit-animation: logopulse 15s infinite;
    -moz-animation: logopulse 15s infinite;
    -o-animation: logopulse 15s infinite;
    animation: logopulse 15s infinite;
}
.logo_visible{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-width: 100%;
}

.logo_faded {
    opacity: 0;
}
#jobBanner{ 
    position: absolute; 
    right: 20%; 
    top: 35%; 
    width: 500px; 
    height: auto; 
    background: rgba(58,138,125,0.8); 
    text-align: center; 
    line-height: 30px; 
    font-size: 1.3vw; 
    transform: rotate(-15deg); 
    cursor: pointer;   
} 
#contact{
    position: fixed;
    background-color: #272A2E;
    width: calc(100% - 59px);
    left: 59px;    
    height: 0;
    bottom: 0px;
    z-index: 99;
    display: none;
    overflow: hidden;
    -webkit-animation: contactgrow .4s forwards ease-in;
    -moz-animation: contactgrow .4s forwards ease-in;
    -o-animation: contactgrow .4s forwards ease-in;
    animation: contactgrow .4s forwards ease-in;
}

.sec{
    position: relative;
    height: calc(100vh - 57px);
    width: calc(100vw - 75px);
    top: 57px;
    left: 57px;
    box-sizing: border-box;
    scroll-snap-align: start;
}
.img_beschreibung{
    position: absolute;
    right: 10px;
    top: 47vh;
    color: black;
    background-color: #e3e3e3;
    padding-left: 10px;
    padding-right: 10px;
}
.contentContainer{
    position: relative;
    width: 100%;
    height: 45vh;
    top: 50vh;
    box-shadow: 1px -1px 10px black;
    background: rgb(60,135,120);
    background: linear-gradient(180deg, rgba(60,135,120,0.7) 0%, rgba(58,138,125,0.8) 20%, rgba(58,138,125,0.8) 36%, rgba(58,138,125,1) 80%);
}
.zwischenbanner{
    position: relative;
    width: calc(100vw - 75px);
    height: 57px;
    left: 57px;
    top: 63px;    
    background-color: #e3e3e3;
    -webkit-box-shadow: inset 0px 0px 25px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 0px 25px -4px rgba(0,0,0,0.75);
    box-shadow: inset 0px 0px 25px -4px rgba(0,0,0,0.75);
}
.banner_img{
    position: relative;
    height: 80%;
    width: auto;
    left: 50%;
    transform: translate(-50%);
}
#quote{
    position: relative;
    color: black;
    text-align: center;
    line-height: .3vw;
    top: 57px;
    height: 35px;
    padding-top: 25px;
}
#author{
    font-size: .6vw;
}

#IHB{
    background-image: url(./images/Background/landing-page-1.jpg);
    background-attachment: fixed;
    background-size: cover;
}

#section1{
    position: relative;
    height: 45vh;
    top: 50vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#sec1_text{
    position: relative;
    color: white;
    word-wrap: break-word;
    top: .5%;
    width: 50%;
    height: 99%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size:  1vw;
    line-height: 1.5;
}
#sec1_img{
    position: relative;
    width: 30%;
}
#logo_big{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 70%;
    max-width: 70%;
    opacity: .7;
}

#Leistungen{
    background-image: url(./images/Background/landing-page-2.jpg);
    background-attachment: fixed;
    background-size: cover;
}


#section2{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}
.sec2_box{
    position: relative;
    overflow: hidden;
    background-color: transparent;
    width: 20vw;
    height: 20%;
    padding: 0;
    transition: all .5s;
    line-height: 1.5;
}
.sec2_box ul{
    display: none;
}
.sec2_box:hover{
    width: 20vw;
    height: 100%;
    background-color: rgba(58,138,125,1);
    flex-grow: .5;
}
.sec2_box:hover ul{
    display: block;
}

.sec2_box_inner{
    position: relative;
    width: 100%;
    height: 100%;
    font-size: .9vw;
}

h1{
    text-align: center;
    font-size: 1.5vw;
}

#Projekte{
    background-image: url(./images/Background/landing-page-3.jpg);
    background-attachment: fixed;
    background-size: cover;
}

.projekt_container{
    position: relative;
    width: 100%;
    height:50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.projekt{
    width: 15%;
    height: 80%;
    cursor: pointer;       
    box-shadow: 2px 2px 10px black;
    overflow: hidden;
}

.projekt_thumbnail{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;    
    background-repeat: no-repeat;
}

.projekt_name{
    position: relative;
    color: white;
    text-shadow: 1px -1px 10px black;
    display: none;    
    font-size: .9vw;
    line-height: 1.6;
    text-align: center;
    top: 40%;
}

.projekt:hover .projekt_thumbnail,
.projekt:hover .projekt_name{
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    transition: all .5s ;
    display: block;
}

#projekt_foto_zoom{
    position: absolute;
    background-color: #e3e3e3;
    width: 34.5%;
    height: 91%;
    left: 4%;
    top: 4.5%;
    z-index: 95;
    display: none;
    background-size: cover;
    background-position: center;
}
#projekt_detail{
    position: absolute;
    background-color: #e3e3e3;
    color: black;
    width: 54%;
    height: 91%;
    left: 42%;
    top: 4.5%;
    z-index: 95;
    display: none;
    z-index: 95;
}
#projekt_detail_text{
    position: relative;
    width: 100%;
    max-height: 99%;
    display: none;
    font-size: .8vw;
    line-height: 1.6;
    z-index: 95;
    overflow-y: auto;
    overflow-x: hidden;
}
table{
    position: relative;
    left: 2%;
    width: 90%;
}
td {
    padding-left: 15px;
    vertical-align: top;
  }


#close_text{
    position: absolute;
    right: 25px;
    top: 5px;
    font-size: 1.5vw;
    cursor: pointer;
    z-index: 96;
    transition: color .5s;
}
#close_text:hover{
    color: rgba(58,138,125,1)
}

#Team{
    background-image: url(./images/Background/landing-page-4.jpg);
    background-attachment: fixed;
    background-size: cover;
}
#section4{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.mitarbeiter{
    position: relative;    
    background-size: cover;
    background-position: center;
    width: 11.5%;
    height: 60%;
    transition: all .4s;
    padding: 0;
}
.mitarbeiter:hover{
    height: 90%;    
    flex-grow: 1;
}
.mitarbeiter_text{
    position: absolute;
    background-color: transparent;
    color: transparent;
    transition: .5s;
    top: 0;
    font-size: .9vw;
    line-height: 1.6;
}
.mitarbeiter_text ul{
    position: relative;
    top: -5%;
    left: 10%;
}
.mitarbeiter:hover .mitarbeiter_text{
    background-color: rgba(227,227,227,.8);
    color: black;
    height: 100%;
    width: 100%;
    transition-delay: .4s;
}

#teamphoto1{
    background-image: url(./images/Team/team1.jpg);
}
#teamphoto2{
    background-image: url(./images/Team/team2.jpg);
}
#teamphoto3{
    background-image: url(./images/Team/team3.jpg);
}
#teamphoto4{
    background-image: url(./images/Team/team4.jpg);
}
#teamphoto5{
    background-image: url(./images/Team/team5.jpg);
}
#teamphoto6{
    background-image: url(./images/Team/team6.jpg);
}

#Philosophie{
    background-image: url(./images/Background/landing-page-5.jpg);
    background-attachment: fixed;
    background-size: cover;
}

#section5{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.sec5_box{
    position: relative;
    overflow: hidden;
    background-color: transparent;
    padding: 0;
    transition: all .5s;
    line-height: 1.5;
    width: 22vw;
    height: 20vh;
    padding-left: 20px;
    padding-right: 20px;
}
.sec5_box h1{
    font-size: 1.3vw;
}
.sec5_box p,
.sec5_box ul{
    display: none;
}

.sec5_box:hover{
    width: 40vw;
    height: 100%;
    background-color: rgba(58,138,125,1);
    flex-grow: .5;
}
.sec5_box:hover  p,
.sec5_box:hover  ul{
    display: block;
}
.philo{
    position: relative;
    width: 100%;
    height: 100%;
    font-size: .9vw;
}

#footer{
    position: relative;
    background-color: #272A2E;
    width: calc(100% - 59px);
    left: 59px;    
    height: 17vh;
    top: 55px;
}
.kontakt{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 10vw;
}
.kontakt a{
    color: #e3e3e3;
}
.backToTop{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 10vw;
}
.backToTop a{
    color: #e3e3e3;
    padding-left: 50px;
}


nav{
    position: fixed;
    z-index: 1000;
    width: 57px;
    height: 95vh;
    top: 57px;
    background-color: #e3e3e3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 2px 2px 10px black;
}

nav a {
    position: relative; 
    color: black;
    height: 15%;
    width: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 3px;
    transform: rotate(-90deg);
    z-index: 96;
}

nav a:first-child{
    margin-top: 1.8vh;
}

nav a:nth-child(5){
    margin-top: 1.5vh;
}

nav a:hover, 
section#IHB:hover ~ nav a[href="#IHB"],
section#Leistungen:hover ~ nav a[href="#Leistungen"],
section#Projekte:hover ~ nav a[href="#Projekte"],
section#Team:hover ~ nav a[href="#Team"],
section#Philosophie:hover ~ nav a[href="#Philosophie"]
{
    background-color: rgb(60,135,120);
    color: #e3e3e3 !important;
    border-radius: 0px 10px 10px 0px;
    width: 3vw;
    display: inline-block;
    transform: rotate(0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rollNavIn .3s .05s forwards;
    box-shadow: .5px 1px 8px black;
    font-size: 1vw;
}




/* animations */

@keyframes hideOverflow {
    to{
        overflow-y: visible;
    }
}
@-webkit-keyframes hideOverflow {
    to{
        overflow-y: visible;
    }
}
@-moz-keyframes hideOverflow {
    to{
        overflow-y: visible;
    }
}
@-o-keyframes hideOverflow {
    to{
        overflow-y: visible;
    }
}


@keyframes animate1 {
    0%{
        left: -100%;
    }
    20%{
        left: 0%;
    }
    40%{
        left: 0%;
    }
    60%{
        left: 0%;
    }
    80%{
        left: 0%;
    }
    100%{
        left: 0%;
    }
}
@-webkit-keyframes animate1 {
    0%{
        left: -100%;
    }
    20%{
        left: 0%;
    }
    40%{
        left: 0%;
    }
    60%{
        left: 0%;
    }
    80%{
        left: 0%;
    }
    100%{
        left: 0%;
    }
}
@-moz-keyframes animate1 {
    0%{
        left: -100%;
    }
    20%{
        left: 0%;
    }
    40%{
        left: 0%;
    }
    60%{
        left: 0%;
    }
    80%{
        left: 0%;
    }
    100%{
        left: 0%;
    }
}
@-o-keyframes animate1 {
    0%{
        left: -100%;
    }
    20%{
        left: 0%;
    }
    40%{
        left: 0%;
    }
    60%{
        left: 0%;
    }
    80%{
        left: 0%;
    }
    100%{
        left: 0%;
    }
}


@keyframes animate2 {
    0%{
        top: -100%;
    }
    20%{
        top: -100%;
    }
    40%{
        top: 0%;
    }
    60%{
        top: 0%;
    }
    80%{
        top: 0%;
    }
    100%{
        top: 0%;
    }
}
@-webkit-keyframes animate2 {
    0%{
        top: -100%;
    }
    20%{
        top: -100%;
    }
    40%{
        top: 0%;
    }
    60%{
        top: 0%;
    }
    80%{
        top: 0%;
    }
    100%{
        top: 0%;
    }
}
@-moz-keyframes animate2 {
    0%{
        top: -100%;
    }
    20%{
        top: -100%;
    }
    40%{
        top: 0%;
    }
    60%{
        top: 0%;
    }
    80%{
        top: 0%;
    }
    100%{
        top: 0%;
    }
}
@-o-keyframes animate2 {
    0%{
        top: -100%;
    }
    20%{
        top: -100%;
    }
    40%{
        top: 0%;
    }
    60%{
        top: 0%;
    }
    80%{
        top: 0%;
    }
    100%{
        top: 0%;
    }
}


@keyframes animate3 {
    0%{
        right: -100%;
    }
    20%{
        right: -100%;
    }
    40%{
        right: -100%;
    }
    60%{
        right: 0%;
    }
    80%{
        right: 0%;
    }
    100%{
        right: 0%;
    }
}
@-webkit-keyframes animate3 {
    0%{
        right: -100%;
    }
    20%{
        right: -100%;
    }
    40%{
        right: -100%;
    }
    60%{
        right: 0%;
    }
    80%{
        right: 0%;
    }
    100%{
        right: 0%;
    }
}
@-moz-keyframes animate3 {
    0%{
        right: -100%;
    }
    20%{
        right: -100%;
    }
    40%{
        right: -100%;
    }
    60%{
        right: 0%;
    }
    80%{
        right: 0%;
    }
    100%{
        right: 0%;
    }
}
@-o-keyframes animate3 {
    0%{
        right: -100%;
    }
    20%{
        right: -100%;
    }
    40%{
        right: -100%;
    }
    60%{
        right: 0%;
    }
    80%{
        right: 0%;
    }
    100%{
        right: 0%;
    }
}


@keyframes animate4 {
    0%{
        bottom: -100%;
    }
    20%{
        bottom: -100%;
    }
    40%{
        bottom: -100%;
    }
    60%{
        bottom: -100%;
    }
    80%{
        bottom: 0%;
    }
    100%{
        bottom: 0%;
    }
}
@-webkit-keyframes animate4 {
    0%{
        bottom: -100%;
    }
    20%{
        bottom: -100%;
    }
    40%{
        bottom: -100%;
    }
    60%{
        bottom: -100%;
    }
    80%{
        bottom: 0%;
    }
    100%{
        bottom: 0%;
    }
}
@-moz-keyframes animate4 {
    0%{
        bottom: -100%;
    }
    20%{
        bottom: -100%;
    }
    40%{
        bottom: -100%;
    }
    60%{
        bottom: -100%;
    }
    80%{
        bottom: 0%;
    }
    100%{
        bottom: 0%;
    }
}
@-o-keyframes animate4 {
    0%{
        bottom: -100%;
    }
    20%{
        bottom: -100%;
    }
    40%{
        bottom: -100%;
    }
    60%{
        bottom: -100%;
    }
    80%{
        bottom: 0%;
    }
    100%{
        bottom: 0%;
    }
}


@keyframes hideLogo {
    to {
        visibility: hidden;
    }
}
@-webkit-keyframes hideLogo {
    to{
        visibility: hidden;
    }
}
@-moz-keyframes hideLogo {
    to {
        visibility: hidden;
    }
}
@-o-keyframes hideLogo {
    to {
        visibility: hidden;
    }
}


@keyframes rollNavIn {
    to {
        width: 7vw;
    }
}
@-webkit-keyframes rollNavIn {
    to{
        width: 7vw;
    }
}
@-moz-keyframes rollNavIn {
    to {
        width: 7vw;
    }
}
@-o-keyframes rollNavIn {
    to {
        width: 7vw;
    }
}


@keyframes logopulse {
    0% {
        transform: scale(1);
    }
    48%{
        transform: scale(1);
    }
    49%{
        transform: scale(1.1);
    }
    50%{
        transform: scale(1);
    }
    51%{
        transform: scale(1.05);
    }
    52%{
        transform: scale(1);
    }
    100% {
        transform: scale(1)
    }
}
@-webkit-keyframes logopulse {
    0% {
        -webkit-transform: scale(1);
    }
    48%{
        -webkit-transform: scale(1);
    }
    49%{
        -webkit-transform: scale(1.1);
    }
    50%{
        -webkit-transform: scale(1);
    }
    51%{
        -webkit-transform: scale(1.05);
    }
    52%{
        -webkit-transform: scale(1);
    }
    100% {
        -webkit-transform: scale(1)
    }
}
@-moz-keyframes logopulse {
    0% {
        -moz-transform: scale(1);
    }
    48%{
        -moz-transform: scale(1);
    }
    49%{
        -moz-transform: scale(1.1);
    }
    50%{
        -moz-transform: scale(1);
    }
    51%{
        -moz-transform: scale(1.05);
    }
    52%{
        -moz-transform: scale(1);
    }
    100% {
        -moz-transform: scale(1)
    }
}
@-o-keyframes logopulse {
    0% {
        -o-transform: scale(1);
    }
    48%{
        -o-transform: scale(1);
    }
    49%{
        -o-transform: scale(1.1);
    }
    50%{
        -o-transform: scale(1);
    }
    51%{
        -o-transform: scale(1.05);
    }
    52%{
        -o-transform: scale(1);
    }
    100% {
        -o-transform: scale(1)
    }
}


@keyframes contactgrow {
    to{
        height: 17vh;
    }
}
@-webkit-keyframes contactgrow {
    to{
        height: 17vh;
    }
}
@-moz-keyframes contactgrow {
    to{
        height: 17vh;
    }
}
@-o-keyframes contactgrow {
    to{
        height: 17vh;
    }
}
