


#logo {
    position: fixed;
    margin: 0 auto;
    top: 10px;
    left: 0;
    right:0;
	width: 122px;
	height: 70px;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/design/Christoph-Physiotherapie-Logo.svg");
}

@media screen and (min-width:480px) {
	#logo {
		top: 30px;
	}
}

@media screen and (min-width:768px) {
	#logo {
		top: 10px;
		width: 174px;
		height: 100px;
	}
}





/* overlay */

.overlay {
  position: fixed;
  background: #fff;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  z-index: 2000;
}



    .overlay.open {
      opacity: .95;
      visibility: visible;
      height: 100%;
    }
    .overlay.open li {
      animation: fadeInRight .4s ease forwards;
      animation-delay: .30s;
    }
    .overlay.open li:nth-of-type(2) {
      animation-delay: .35s;
    }
    .overlay.open li:nth-of-type(3) {
      animation-delay: .40s;
    }
    .overlay.open li:nth-of-type(4) {
      animation-delay: .45s;
    }

.overlay nav {
  position: relative;
  height: 50%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  text-align: center;
  background: none;
        padding-left: 0px;
        padding-right: 0px;
}

@media(min-width:567px) {
    .overlay nav { font-size: 36px; }
}



.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
width: 100%;
}



.overlay ul li {
  display: block;
  height: 50%;
  height: calc(100% / 2);
  min-height: 0px;
  position: relative;
  opacity: 0;
    margin-left: 0px;
    margin-right: 0px;
margin-bottom: 0px;
}

.overlay ul li a {
  display: inline-block;
  position: relative;
  color: var(--primary);
background-color: var(--secondary);
  text-decoration: none;
  overflow: hidden;
    text-transform:  lowercase;
font-weight: 400;
padding: 0px 10px 0px 10px;
}

.overlay ul li a:hover {
    color: var(--zero);
    background-color: var(--primary);
}

.overlay ul li a.active {
	color: var(--zero);
    background-color: var(--primary);
}

.overlay ul li a.active:hover {
    color: var(--secondary);
    color: var(--zero);
    background-color: var(--primary);
}



@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}


/* TOGGLE */


#toggle { 
    display: block; 
     position: fixed;
    width: 75px;
    height: 70px;
    background-color: var(--zero);
     top: 5px;
     left: 5px;
     cursor: pointer;
    z-index: 3000;

}

header.halb #toggle {
    background-color: transparent;
}

@media(min-width:480px) {
    #toggle { 
         top: 25px;
         left: 25px;
    }
}



#toggle.toggle-scrolled { 
    background-color: var(--secondary);

}

#toggle:hover {
    color: var(--primary);
    background-color:  var(--zero);
}

#toggle.toggle-scrolled:hover { 
    background-color: var(--secondary);
}


#toggle:hover .button_container span {
    background: var(--primary) !important;
}


#toggle.active {
    background-color: var(--zero);
}

#toggle.toggle-scrolled.active { 
    background-color: var(--secondary);
}

#toggle.active:hover {
    background-color: var(--zero);
}

#toggle.toggle-scrolled.active:hover { 
    background-color: var(--secondary);
}
 
 .button_container {
     display: block;
     position: absolute;
     top: 15px;
     right: 10px;
     height: 45px;
     width: 55px;
     cursor: pointer;
     transition: opacity .25s ease;
}

.button_container:hover {
  /* opacity: .7; */
	opacity: 1.0;
}
#toggle.active .button_container .top {
  transform: translateY(16px) translateX(0) rotate(45deg);
 background: var(--primary);
}
#toggle.active .button_container .middle {
  opacity: 0;
 background: var(--primary);
}
#toggle.active .button_container .bottom {
  transform: translateY(-16px) translateX(0) rotate(-45deg);
 background: var(--primary);
}
.button_container span {
  background: var(--primary);
  border: none;
  height: 3px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .35s ease;
  cursor: pointer;
}

.button_container:hover span {
  background: var(--primary) !important;
}

.button_container span:nth-of-type(2) {
  top: 17px;
}
.button_container span:nth-of-type(3) {
  top: 33px;
}


#socialmedia {
    position: fixed;
    top: 2px;
    right: 15px;
    z-index: 3000;
	text-align: center;
}

@media(min-width:480px) {
    #socialmedia {
        top: 22px;
        right: 45px;
    }
}

#socialmedia a {
	width: 55px;
	height: 55px;
    font-size: 55px;
	display: inline-block;
    color: var(--primary);
    transition: 0.3s;
}

#socialmedia a:hover {
    color: var(--tertiary);
    transition: 0.3s;
}

@media(min-width:480px) {
    #socialmedia a {
        color: var(--zero);
    }
    #socialmedia a.id:hover {
        color: var(--primary);
        transition: 0.3s;
    }
}

#socialmedia a.id {
    color: var(--primary);
}

#socialmedia a.id:hover {
    color: var(--tertiary);
    transition: 0.3s;
}



#introarrow {
	position: absolute; 
    z-index: 3;
	width: 100%;
	text-align: center;
	bottom: 30px; 
}


#introarrow .fa { font-size: 5em; color: rgba(255,255,255,0.70) }

#introarrow a .fa { 
	color: var(--secondary);
}
	
#introarrow a:hover .fa { 
	color: var(--primary);
}
