@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed:300,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Josefin+Slab&display=swap");
  html, body {
 /* height: 100%;*/
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}


#navi-index {
  width: 100vw;
  height: 100vh;
  background: url(../images/ritas-craniosacral-therapie-tag-der-offenen-tuer_2024.jpg);
  background-repeat: no-repeat;
  background-size: cover;	
  background-position: right;	

}

#navi-rita-koller {
  width: 100vw;
  height: 100vh;
  background: url(../images/rita-koller_ritas-cranio.jpg);
  background-repeat: no-repeat;
  background-size: cover;	
  background-position: right;	

}

#navi-dienstleistung {
  width: 100vw;
  height: 100vh;
  background: url(../images/ritas-craniosacral-therapie_02.jpg);
  background-repeat: no-repeat;
  background-size: cover;	
  background-position: left;	

}

#navi-kontakt {
  width: 100vw;
  height: 100vh;
  background: url(../images/kontakt-ritas-cranio_praxis-neu.jpg);
  background-repeat: no-repeat;
  background-size: cover;	
  background-position: right;	

}


#navi {
 width: 100vw;
  height: 100vh;
/*  background: url("https://images.unsplash.com/photo-1418065460487-3e41a6c84dc5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1500&q=80");
*/  
  background-repeat: no-repeat;
  background-size: cover;	
  background-position: right;	

}


.hint {
  font-family: "Roboto Condensed";
  color: #6f420b ;          /* Farbe Pfeil Menü blau  -small screen- */
  font-size: 18px;
  font-weight: 700;
  position: fixed;
  right: 150px;
  bottom: 23px;
  letter-spacing: 1.2px;
}
.hint::before {
  content: "";
  width: 35px;
  height: 2px;
  background: #6f420b;        /* Farbe Pfeil Menü braun  -big screen- */
  position: absolute;
  right: -43px;
  top: 50%;
  transform: translateY(-50%);
}
.hint::after {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 2px #7b93db solid;    /* Farbe Pfeil Menü blau  -small screen- */
  border-right: 2px #7b93db solid;   /* Farbe Pfeil Menü blau  -small screen- */
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.toggle-nav {
  width: 60px;
  height: 60px;
  background: #7b93db;     /* Farbe blau Menü kasten  -big screen- */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.toggle-nav::before, .toggle-nav::after {
  content: "";
  width: 30px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s linear;
  transform-origin: center center;
}
.toggle-nav::before {
  margin-top: -5px;
}
.toggle-nav::after {
  margin-top: 5px;
}
.toggle-nav:hover {
  background: #6f420b;    /* Farbe braun Menü kasten  -big screen- */
}
.toggle-nav--open::before, .toggle-nav--open::after {
  transform-origin: center center;
  margin: 0;
}
.toggle-nav--open::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.toggle-nav--open::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  z-index: -1000;
  opacity: 0;
  visibility: collapse;
  transition: 0.6s ease-in-out;
  transform: translateY(-100%);
}
.nav--open {
  opacity: 1;
  visibility: visible;
  z-index: 1000;
  transform: translateX(0);
}
.nav__item {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: relative;
  bottom: 0;
  background: #fff;
  width: 0;
  height: 100%;
  transition: 0.7s cubic-bezier(0.25, 0.75, 0.5, 1.25);
  overflow: hidden;
  transform-origin: center bottom;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-decoration: none;
  flex-grow: 1;
}
.nav__item:not(:first-of-type) {
  border-top: 1px #ececec solid;
}
.nav__item:nth-child(1) {
  transition-delay: 0.15s;
}
.nav__item:nth-child(2) {
  transition-delay: 0.3s;
}
.nav__item:nth-child(3) {
  transition-delay: 0.45s;
}
.nav__item:nth-child(4) {
  transition-delay: 0.6s;
}
.nav__item:nth-child(5) {
  transition-delay: 0.75s;
}
.nav__item--open {
  width: 100%;
}
.nav__title {
  text-transform: uppercase;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 45px;
  font-weight: 900;
  display: block;
  text-align: center;
  transition: 0.3s ease-in-out;
  width: 100%;
  z-index: 1;
  position: relative;
  overflow: hidden;
  color: #7b93db;     /* Farbe blau Titel Navigation- */  
  padding: 3px 0;
}
.nav__title::after {
  content: attr(data-title);
  position: absolute;
  left: 50%;
  top: 52%;
  height: 0;
  transform: translate(-50%, 150%);
  color: #fff;
  z-index: 1;
  transition: 0.3s ease-in-out;
  transition-delay: 0.2s;
  opacity: 0;

}
.nav__subtitle {
  background: transparent;
  padding: 10px 15px;
  display: block;
  text-align: center;
  color: #8c8c8c;
  font-family: "Josefin Slab", serif;
  font-size: 18px;
  z-index: 1;
  transition: 0.2s;
}
.nav__item:hover .nav__title {
  color: transparent;
    padding: 5px;

}
.nav__item:hover .nav__title::after {
  height: 100%;
  transform: translate(-50%, -50%);
  opacity: 1;
    padding: 5px;

}
.nav__image {
  position: absolute;
  left: 0;
  top: 0;
  height: unset;
  height: auto;
  width: 100%;
  transform: translateY(75%);
  transition: 0.55s ease-in-out;
  opacity: 0;

}
.nav__item:hover .nav__image {
  transform: translateY(0);
  z-index: 1;
  opacity: 0.8;
}
.nav__item:hover .nav__subtitle {
  background: rgba(255,255,255,0.8);
  padding: 10px 15px;
}

@media (min-width: 991px) {
  .hint {
	z-index: 999 !important;	     /* Menü Schriftzug im Vordergrund */
    top: 35px;
    bottom: unset;
    bottom: auto;
    color: #7b93db;					/* Farbe Menü Schriftzug blau */
  }
  .hint::before {
	z-index: 999 !important;  	    /* Pfeil Schriftzug im Vordergrund */
    background: #7b93db;            /* Farbe Pfeil Menü blau  -big screen- */
  }
  .hint::after {
	z-index: 999 !important;		  /* Pfeil Schriftzug im Vordergrund */
    border-top: 2px #7b93db solid;    /* Farbe Pfeil Menü blau  -big screen- */
    border-right: 2px #7b93db solid;  /* Farbe Pfeil Menü blau  -big screen- */
  }

  .toggle-nav {
    bottom: unset;
    bottom: auto;
    top: 20px;
  }

  .nav {
    flex-direction: row;
  }
  .nav__item {
    height: 0;
    width: 100%;
  }
  .nav__item:not(:first-of-type) {
    border-top: none;
    border-left: 1px #ececec solid;
  }
  .nav__item--open {
    height: 100%;
  }
  .nav__image {
    height: 100%;
	width:auto !important;
  }
  .nav__subtitle {
    margin-top: 20px;
  }
}