/*global font definiton*/

@font-face {
  font-family: 'Roboto';
  src: url('src/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


body {
 margin: 0;
 padding: 0;
 scroll-behavior: smooth !important;
 font-family: 'Roboto', sans-serif !important;
 font-weight: bold !important;
 overflow-x: hidden;
 overflow-y: hidden;
} 


:root {
  --pink: #ffb6c1;
  --pink2: 206,62,136;
  
}

#impressum .container {
  margin-top: 250px !important;
}

.subpage #mainNavigation {
  background-color: var(--pink) !important;
}



#impressum .container {
  border: 1px solid #ddd; /* Add a 1px solid border */
  border-radius: 5px; /* Add border radius for rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a shadow */
}

.preloader {
  position: fixed;
  left: 0;
  width: 0;
  height: 100%;
  width: 100%;
  text-align: center;
  z-index: 9999999 !important;
  -webkit-transition: .9s;
  transition: .9s;

}



.preloader .loader {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-block;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 45%;
  -webkit-transform: translateY(-45%);
          transform: translateY(-45%);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.preloader .loader .loader-outter {
  position: absolute;
  border: 4px solid #ffffff;
  border-left-color: transparent;
  border-bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
          animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}

.preloader .loader .loader-inner {
  position: absolute;
  border: 4px solid #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  left: calc(40% - 21px);
  top: calc(40% - 21px);
  border-right: 0;
  border-top-color: transparent;
  -webkit-animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
          animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}

.preloader .loader .indicator {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%) scale(1.5);
          transform: translateY(-50%) scale(1.5);
}

.preloader .loader .indicator svg polyline {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preloader .loader .indicator svg polyline#back {
  stroke: #ffffff;
}

.preloader .loader .indicator svg polyline#front {
  stroke: var(--pink);
  stroke-dasharray: 12, 36;
  stroke-dashoffset: 48;
  -webkit-animation: dash 1s linear infinite;
          animation: dash 1s linear infinite;
}

.preloader::before, .preloader::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60%;
  z-index: -1;
  background: var(--pink);
  -webkit-transition: .9s;
  transition: .9s;
}

.preloader::after {
  left: auto;
  right: 0;
}

.preloader.preloader-deactivate {
  visibility: hidden;
}

.preloader.preloader-deactivate::after, .preloader.preloader-deactivate::before {
  width: 0;
}

.preloader.preloader-deactivate .loader {
  opacity: 0;
  visibility: hidden;
}

@-webkit-keyframes loader-outter {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes loader-outter {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@-webkit-keyframes loader-inner {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
            transform: rotate(-360deg);
  }
}

@keyframes loader-inner {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
            transform: rotate(-360deg);
  }
}

@-webkit-keyframes dash {
  62.5% {
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dash {
  62.5% {
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.bg-1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(src/images/Empfang.jpg);

}

.bg-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(src/images/Sprechzimmer.jpg);
}

.bg-3 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(src/images/Wartebereich_1.jpg);
}

.bg-4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(src/images/Wartebereich_2.jpg);
}

.carousel-image {
  height: 100vh !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
}


.navbar {
  z-index: 99 !important;
 
}

 h2 {
  padding-top: 50px !important;

}

.mega-menu {
  width: 100%;
  background-color: #fff !important;
  width: 500px !important;
}

.mega-menu .container {
  padding: 20px;
}

.mega-menu .row {
  column-gap: 20px;
}

.mega-menu h5 {
  color: #333;
}

.mega-menu ul li a {
  color: #777;
}

.mega-menu ul li a:hover {
  color: #333;
}

.btn-primary {
  background-color: darkblue !important;
}
.custom-hr {
  border: 1.5px solid;
  font-weight: bolder; 
}

.custom-hr2 {
  border: 2px solid;
  font-weight: bold; 
  color: var(--bs-white);
}

.navbar-toggler-icon {
  transition: transform 0.3s ease; /* Smooth transition for rotation */
}

.navbar-toggler-icon.collapsed::after {
  transform: rotate(180deg);
}
#appointment {
  background-image: url('src/images/Section1_BG.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh !important;

}

#service {
  background-image: url('src/images/Section2_BG.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
}

.frame {
  border: var(--pink) solid;
}

/*--------------------------------------------------------------
# Section Title
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}




.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 100px;
  height: 2px;
  background: var(--pink) ;
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
}


.card {
  border: 2px solid #ce3e88;
  overflow: hidden;
  position: relative;
}

.card:hover img {
  transform: scale(1.15);
}

.card img {
  transition: transform 0.3s;
  width: 100%;
  height: auto;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--pink2), 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .overlay {
  opacity: 1;
}

.overlay-content {
  color: #fff;
  text-align: center;
}

.card-title,
.card p {
  text-align: center !important;
}

.carousel-control-next {
  color: black !important;
}
.carousel-item {
  position: relative;
 
}
#carouselExampleCaptions {
  margin: auto;
  max-width: 1000px; /* Adjust the maximum width as needed */
}
/* #carouselExampleCaptions .carousel-inner .carousel-item {
  height: 600px; 
} 

#carouselExampleCaptions .carousel-inner .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
} */



.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 50px;
  width: 70px;
  background-size: 100%, 100%;
  border-radius: 50%;
  background-image: none;
}

.carousel-control-next-icon:after
{
  content: '>';
  font-size: 55px;
  color: var(--pink);
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 55px;
  color: var(--pink);
}
/* Change the color of active carousel indicator (active dot) */
#carouselExampleCaptions .carousel-indicators .active {
    background-color: var(--pink); /* Change to your desired color */
  /* Change to your desired color */
}
/* Additional CSS for responsiveness */
@media (max-width: 768px) {
  /* Adjust styles for smaller devices */
}

@media (max-width: 576px) {
  /* Adjust styles for even smaller devices */
}


   /* Custom styling for the scroll indicator */
   #scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffff; /* Change the color as needed */
    z-index: 1000;
    display: none;
}

#scroll-indicator-bar {
    height: 100%;
    width: 0;
    background-color: var(--pink); /* Change the color as needed */
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
  /* Show the scroll indicator on devices with a minimum width of 768px */
  #scroll-indicator {
      display: none !important;
  }

}



.contact-banner {
  /*background-color: var(--pink);*/
  color: #fff;
  padding: 10px;
  text-align: center;
  margin-top: 40px !important;
}

.contact-banner a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}
.contact-banner img {
  max-width: 80%;
  height: auto;
  margin-bottom: 10px; /* Optional: Add some spacing between text and image */
}

.container-service {
  position: relative;
}

/*.container-service::before {
  position: absolute;
  content: '';
  background: var(--bs-light);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
  z-index: -1;
} */

.service-item {
  position: relative;
  height: 100%;
  padding: 45px 30px;
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  transition: .5s;
  background: var(--bs-primary);
}


.service-item:hover::before {
  height: 100%;
  top: 0;
}

#appointment .section-title {
  color: var(--bs-white);
}

.service-item * {
  position: relative;
  transition: .5s;
  z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
  color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
  background: #031b4e !important;
}

.service-item:hover .icon-box-primary i {
  color: var(--bs-white) !important;
}


.service-item a i {
  color: var(--pink) !important;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}
.text-container {
  max-height: 300px; /* Beispielhöhe, anpassen wie gewünscht */
  overflow: hidden;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
    color: var(--pink);
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}

.text-dark {
  color: #031b4e !important;
}

#mainNavigation a {
  font-family: 'Cabin', sans-serif;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:2px;
  text-shadow:1px 1px 2px rgba(0,0,0,0.4)
}

.dropdown-menu {
  background:#03727d
}
a.dropdown-toggle {
  color:#dfdfdf !important
}
a.dropdown-item:hover {
  color:#03727d !important
}
.nav-item a{
  color:#dfdfdf;
}
.nav-item a:hover {
  color:#fff
}
.nav-item{
 /* min-width:12vw; */
 margin: 0 40px;
}
#mainNavigation {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:123;

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
background: -moz-linear-gradient(top,  rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}
#navbarNavDropdown.collapsing .navbar-nav,
#navbarNavDropdown.show .navbar-nav{

  padding:12px;
}

@media only screen and (max-width: 768px) {
  #navbarNavDropdown.collapsing .navbar-nav,
  #navbarNavDropdown.show .navbar-nav {
  z-index: 99 !important;
  
}
#mainNavigation nav ul li a:hover {
  text-decoration: none !important;
  
 }
 

.navbar-nav .nav-link:hover::before {
  width: 0% !important;
  left: 0;
  visibility: hidden !important;
  z-index: -99 !important;
}

#mainNavigation {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:123;
  padding-bottom:120px;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
background: -moz-linear-gradient(top,  rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}

}

#btn-back-to-top {
  float: right;
  z-index: 99 !important;
  margin-bottom: 20px !important;
  background-color: var(--pink);
  outline: none !important;
}

#btn-back-to-top:focus{
  outline: none !important;
  border: unset !important;
  box-shadow: none !important;
  transform: scale(unset) !important;
} 

.btn {
  margin-bottom: 25px !important;
  outline: var(--pink);

}


#mainNavigation img {
  max-height: 150px !important;
}

#mainNavigation nav ul li a:hover {
 text-decoration: underline;
 
}

.navbar-nav .nav-item .active {
  color: var(--pink) !important; /* Change the color to your preference */
  font-weight: bold; /* Optionally, make the text bold */
}
.wrapper {
  position: fixed;
  z-index: 99999;
  top: 50%;
  right: 0.5%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(50%);
  transform: translateX(50%);
  /* transform: translate(-50%, -50%); */
  width: 150px;
  }
  
  
  .wrapper:hover ul li{
  transform: translate(-70%,0%);
  }
  
  
  /* Style the Un-order list by setting its list-style to none */
  .wrapper ul {
  list-style: none;
  }
  
  /* Style the list items inside the UL list, by setting its width, height and line-height 
  and float them to left and set its border and border-radius.
  */
  .wrapper ul li {
  width: 75px;
  height: 75px;
  line-height: 75px;
  margin: 5px 10px;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
  border: 5px solid var(--pink);
  float: left;
  transition: all 0.5s ease;
  }
  
  /* Style the icons by setting its color and margin-top value to 20px 
  to align it properly */
  .wrapper ul li .fa {
  color: var(--pink);
  margin-top: 20px;
  transition: all 0.5s ease;
  font-size: 26px;
  }
  
  /* Now target the specific li classes for styling and use box-shadow effect to border and text-shadow effect
  to icons for glowing effect and use transition property for smooth transition effect. */
  /*facebook*/
  .wrapper ul li:hover.facebook {
  border: 5px solid #3b5998;
  box-shadow: 0 0 15px #3b5998;
  transition: all 0.5s ease;
  }
  
  .wrapper ul li:hover .fa-phone {
  color: #3b5998;
  text-shadow: 0 0 15px #3b5998;
  transition: all 0.5s ease;
  }
  
  /*twitter*/
  .wrapper ul li:hover.twitter {
  border: 5px solid #00aced;
  box-shadow: 0 0 15px #00aced;
  transition: all 0.5s ease;
  }
  
  .wrapper ul li:hover .fa-envelope {
  color: #00aced;
  text-shadow: 0 0 15px #00aced;
  transition: all 0.5s ease;
  }


  #opener {
    margin-top: unset !important;
    margin-top: 0 !important;
  }

 .navbar-nav .nav-link {
    position: relative;
    transition: border-bottom 0.3s ease-in-out; /* Smooth transition effect */
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--pink); /* Set your desired color */
  bottom: 0;
  left: 0%;
  transition: width 0.5s ease, left 0.5s ease;
}

.navbar-nav .nav-link:hover::before {
  width: 100%;
  left: 0;
}

.info{
  position: absolute;
  z-index: 99 !important;
  color: #ffff;
  left: 40%;
  top:50%;
  font-weight: bold !important;
}

.arrow-scroll {
  position: absolute;
  bottom: 20px; /* Adjust this value as needed */
  left: 50%;
  transform: translateX(-50%);
  z-index: 80 !important;
}

.arrow-scroll__wrapper {
  width: 80px;
  height: 40px;
  cursor: pointer;
}

.arrow-scroll__wrapper svg {
  width: 100%;
  height: 100%;
  fill: var(--pink); /* Adjust the arrow color as needed */
}


.arrow-scroll__wrapper {
  animation: arrow-scroll 1.7s infinite ease;
}

@keyframes arrow-scroll {
  0%,
  100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-25px);
  }
  55% {
      transform: translateY(-25px);
  }
}

footer {
  padding-top: 80px;
  padding-bottom: 40px;
  cursor: default;
  background-color: var(--pink);
  margin-top: 20px !important;
  color: var(--bs-light);
}

/* footer .container {
  width: 100%;
} */

footer h4 {
  padding-bottom: 5px;
}

footer a {
  color: var(--bs-white);
  text-decoration: none !important;
}

footer a:hover {
  color: #4267b2;

}

.contact-info {
  padding-top: 10px;
}

.contact-info .fa {
  background: lightgray;
  border-radius: 100%;
  color: blue;
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  margin-right: 5px;
  margin-bottom: 2px;
}

.latest-stories {
  margin-bottom: 20px;
}

.footerborder {
  border-top: solid 1px grey;
}

.stories-image,
.stories-info {
  display: inline-block;
  vertical-align: top;
}
#maus{
  opacity: 1;
}
.stories-image img {
  border-radius: 100%;
  width: 65px;
  height: 65px;
}

.stories-info {
  margin-left: 15px;
}

.stories-info h5 {
  margin-bottom: 2px;
}

.stories-info span {
  color: #858585;
  font-size: 12px;
}

.opening-hours p {
  line-height: 18px;
}

.opening-hours .far{
  font-size: 23px;
}
.opening-hours span {
  font-weight: 500;
  display: inline-block;
  padding-left: 10px;
}

.copyright-text p
{
  color: #858585;
  font-size: 12px;
  font-weight: 500;
}

.footer-link a {
  font-size: 14px;
  display: inline-block;
  padding: 0 10px;
  margin-top: 4px;
  color: #858585;
  font-weight: 750;
  
}

.angle-up-btn {
  position: relative;
  bottom: 4em;
  display: block;
}

.angle-up-btn a {
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 3px;
  font-size: 20px;
  color: #393939;
  display: inline-block;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 38px;
  transition: transform 0.1s ease-in;
  transform: translateX(0);
}

.angle-up-btn a:hover {
  background: #4267b2;
  color: #ffffff;
  transform: translateY(-5px);
}

.nk-cookie-banner {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  opacity: 0.95;
  z-index: 99 !important;
  margin-bottom: 0;
  border-radius: 0px;
  background-color: lightgray;
}

#cookielink:hover {
  color: green;
}

#cookiebtn {
  outline: none;
  margin: unset !important;
 
 
}

#cookiebtn2 {
  outline: none;
  margin: unset !important;
 
 
}


@media (min-width: 1200px) {
.fixed-container {
    width: 1170px !important;
}
}

@media (max-width: 1025px) {
  #mainNavigation {
     display: none !important;
     visibility: hidden !important;
     z-index: -99 !important;
     transition: transform 0.3s ease;
  }
  }
  
@media (min-width: 1025px) {
  #menuToggle {
     display: none !important;
     visibility: hidden !important;
     z-index: -99 !important;
     transition: transform 0.3s ease;
  }
  }

  #menuToggle
  {
    display: block;
    position: relative;
    top: 50px;
    left: 30px;
    
    z-index: 999 !important;
    
    -webkit-user-select: none;
    user-select: none;
  }
  
  #menuToggle a
  {
    text-decoration: none;
    color: #232323;
    
    transition: color 0.3s ease;
  }
  .parent-container {
    width: calc(100% - 30px); /* Adjust this value */
}
  
  #menuToggle a:hover
  {
    color: var(--pink) !important;
  }
  
  
  #menuToggle input
  {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    z-index: 9999 !important;
    cursor: pointer;
    
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    
    -webkit-touch-callout: none;
  }
  
  /*
   * Just a quick hamburger
   */
  #menuToggle span
  {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    
    background:  var(--pink);
    border-radius: 3px;
    
    z-index: 1;
    
    transform-origin: 4px 0px;
    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
  }
  
  #menuToggle span:first-child
  {
    transform-origin: 0% 0%;
  }
  
  #menuToggle span:nth-last-child(2)
  {
    transform-origin: 0% 100%;
  }
  
  /* 
   * Transform all the slices of hamburger
   * into a crossmark.
   */
  #menuToggle input:checked ~ span
  {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
    z-index: 999 !important;
  }
  
  /*
   * But let's hide the middle one.
   */
  #menuToggle input:checked ~ span:nth-last-child(3)
  {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }
  
  /*
   * Ohyeah and the last one should go the other direction
   */
  #menuToggle input:checked ~ span:nth-last-child(2)
  {
    transform: rotate(-45deg) translate(0, -1px);
  }
  
  /*
   * Make this absolute positioned
   * at the top left of the screen
   */
  #menu
  {
    position: absolute;
    width: 100%;
    margin: -100px 0 0 -30px;
    padding: 50px;
    padding-top: 125px;
    height: 105vh !important;
    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    z-index: 998 !important;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  }
  
  #menu li
  {
    padding: 10px 0;
    font-size: 22px;
  }
  
  /*
   * And let's slide it in from the left
   */
  #menuToggle input:checked ~ ul
  {
    transform: none;
  }
  @media only screen and (max-width: 767px) {
    .wrapper ul {
      display: none !important;
      visibility: hidden !important;
    }

    
    #impressum .container {
      margin-top: 100px !important;
    }
    
    .section-title h2 {
      font-size: 18px;
   
    }
    .section-title h2:before, .section-title h2:after {
     display: none !important;
     visibility: hidden !important;
  }
  }
  
  @media only screen and (max-width: 992px) {
  
    .section-title h2 {
      font-size: 22px;
   
    }
    .section-title h2:before, .section-title h2:after {
   width: 50px !important;
   }
   #appointment {
 
    height: 120vh;
  }
  
#contact .bg-primary {
  margin-top: 50px !important;
  
}

  }
  .iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 65.25%; /* 16:9 aspect ratio (height:width) */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.iframe-container .iframe {
  border-color: var(--pink) !important;
}
.scrolled {
  padding-top: 25px !important;
  color: black !important;
  background-color: white !important; /* Change the background color to your desired color */
  transition: background-color 0.3s ease; /* Add transition for smooth effect */
}

.scrolled .nav-item .nav-link {
  color: black;
}

.mobilelogo{
  height: 100px;
  width: auto;
}