@font-face {
  font-family: 'Caveat';
  src: url('Caveat-Regular.woff') format('woff'), 
      url('Caveat-Regular.ttf') format('truetype');
       font-display: swap;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

#page {
    padding-top: 50px;
    flex: 1;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

.notification {
  margin: 1rem;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  background-color: #fff;
}

.navbar, .footer, .navbar-menu {
    background-color: rgb(194, 0, 85);    
}

.navbar-burger {
  color: #fff;
}

.navbar-burger:hover {
  color: #fff;
}

.navbar-item {
    color: white;
    transition: all ease-in-out 0.2s;
    font-weight: 400;
    font-size: 1.1rem;
    padding: 1rem;
}

a.navbar-item:hover {
    background-color: rgb(212, 0, 92);   
    color:white;
    text-shadow: 1px;
}

a.navbar-item:focus {
    background-color: rgb(212, 0, 92);   
    color:white;
    border: none;
    outline: none;
}

a.navbar-item::after {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 0px;
    opacity: 0;
    transition: all .2s;
    content: "";
    background-color: #fff;
  }

  a.navbar-item:hover::after, a.navbar-item:focus::after {
    height: 2px;
    opacity: 1;
  }

  .footer a {
    color: #fff;
    margin: 0px 10px;
  }

  .footer .footer-links a:hover {
    text-decoration: underline;
  }

  ul {
    list-style-type: disc;
    padding-left: 1rem;
  }

  .box, .card {
    background-color: #ffe2ef;
    height: 100%;
    overflow-wrap: break-word;
  }

  .card h2 {
    font-weight: 400;
  }

  .title {
    color: rgb(194, 0, 85);
    font-size: 3.5rem;
    font-family: 'Caveat', cursive;
  }

  .quote {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.7rem;
  }

  .main-title {
    font-size: 4.5rem;
  }

  .box-image {
    margin: -20px;
  }

  .button.is-link {
    background-color: rgb(194, 0, 85);
    transition: all 0.2s ease-in-out;
  }

  .button.is-link:hover {
    background-color: rgb(212, 0, 92);
    box-shadow: 0px 2px 4px #aaa;
  }

  #kontakt .fa-solid {
    color: rgb(194, 0, 85);
  }

  #backtotop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 100;
}

.section {
  transition: all 0.5s ease-out;
}

.is-fade-out {
  transform: translateY(200px);
  opacity: 0;
}

.is-fade-in{
  transform: translateY(0px);
  opacity:1;
} 

.is-link {
  color: rgb(212, 0, 92);
  position: relative;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.is-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: rgb(212, 0, 92);;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.is-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

#backtotop.is-visible {
  opacity: 1;
}

  @media screen and (max-width:768px) {
    /* Zusätzliche Regeln für kleinere Monitore  */
      .main-title {
        font-size: 3.5rem !important;
      }

      .title {
        font-size: 3rem;
      }

      .subtitle {
        font-size: 1.5rem;
      }

      .content h2 {
        font-size: 1.3rem;
      }

      .quote {
        font-size: 2.2rem;
      }
    }
