@keyframes bounce-notice {
  0%, 70%, 100% { transform: translateY(0) rotate(0deg); }
  /* Hüpfer 1 */
  73%  { transform: translateY(-10px) rotate(1.5deg); }
  76%  { transform: translateY(0) rotate(0deg); }
  /* Hüpfer 2 kleiner */
  79%  { transform: translateY(-5px) rotate(-1deg); }
  82%  { transform: translateY(0) rotate(0deg); }
  /* Kleines Wackeln */
  84%  { transform: rotate(-1.5deg); }
  86%  { transform: rotate(1.5deg); }
  88%  { transform: rotate(0deg); }
}

#temp-notice {
  animation: bounce-notice 6s ease-in-out infinite;
  transform-origin: center bottom;
  margin: 0 auto;
  display: block;
}

@font-face {
    font-family: 'Chalk Board';
    src: url('/fonts/ChalkBoard.woff2') format('woff2'),
         url('/fonts/ChalkBoard.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Chalk Board', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px !important;
    font-size: 130%;
    color: #333333;
    margin: 0;
    padding: 0px;
    height: 100%;
    background: linear-gradient(160deg, #fdf6f9, #f3fafe);
}

.firebase-emulator-warning {
    display: none;
}

#header {
    display: none;
    height: 27px;
    padding-top: 10px;
    padding-bottom: 3px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: white;
    position: fixed;
    left: 0px;
    bottom: 0px;
    background-color: rgba(31, 117, 121, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10;
}

#reservationList {
    margin-bottom: 40px;
}

#impressum-container {
    padding: 10px;
}

#impressum-container h1 {
    font-size: 1.6em;
    margin-bottom: 10px;
    margin-top: 50px;
   
    text-align: left;
    color: black;
}

#impressum-container h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
    margin-top: 50px;
    text-decoration: underline;
}

#impressum-container h3 {
    font-size: 1em;
    margin-bottom: 5px;
    margin-top: 30px;
    text-decoration: underline;
}

.page-card {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 16px;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

footer {
    font-size: 58%;
    padding: 6px 20px 8px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(100, 100, 100, 1);
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 10;
}

h1 {
    font-size: 100%;
    line-height: 1em;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    color: #0a3633;
}

#back-home {
    padding: 8px 12px 0;
    text-align: center;
    margin-top: 15px;
}

#back-home-link {
    font-size: 75%;
    color: #1f7579;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

#back-home-link:hover {
    opacity: 1;
}

#calendar {
    width: 100%;
    overflow: hidden;
}

i#modalLocation {
    font-size: 75%;
    margin-top: -20px;
    margin-bottom: -10px;
    display: block;
}

#reservation-confirmation {
    text-align:center;
    margin: 0 auto;
}

.fc-h-event .fc-event-main-frame {
    display: block;
}

.fc-daygrid-event .fc-event-title {
    display: block;
}

.fc-daygrid-event .fc-event-time {
    display: block;
    font-weight: bold;
    margin-bottom: 2px;
}

.fc-daygrid-event {
    white-space: normal;
}

.fc .fc-toolbar-title {
    line-height: 1em;
    font-size: 1.5em;
    margin: 0;
    padding-top: 0;
}

.fc .fc-header-toolbar {
    margin-bottom: 0 !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .modal.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  
  .modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
  }


input, select {
    font-family: 'Chalk Board', sans-serif;
    width: 100%;
    margin-bottom: 10px;
}

input, select {
    font-size: 115%;
    letter-spacing: 1px;
    padding: 15px;
    border-radius: 5px;
}

input:not([type="checkbox"]) {
    width: calc(100% - 35px);
}

select {
    width: calc(100%);
}

input[type="submit"] {
    text-transform: uppercase;
    background-color: #1f7579;
    letter-spacing: 0.5px !important;
    font-size: 115%;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: white;
    border-radius: 5px;
    padding-top: 20px;
    margin: 0 auto;
    margin-bottom: 5px;
}

input[type="checkbox"] {
    width: auto;
    transform: scale(1.5);
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
}

input[type="submit"]:disabled {
    background-color: #ccc !important;
    cursor: not-allowed !important;
}

#adminForm {
    margin: 30px auto;
    background: #e7fefa;
    padding: 20px;
    max-width: 600px;
    border-radius: 10px;
}

.fc-button {
    background-color: transparent !important;
    color: #1f7579 !important;
    border: 1.5px solid #1f757966 !important;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.fc-button:hover {
    background-color: #1f757914 !important;
    color: #155558 !important;
}

.fc-daygrid-week-number {
    font-size: 60% !important;
}

.fc-event-title {
    line-height: 1.2em;
    padding: 3px;
    padding-top: 8px;

}

.fc-event:last-child {
    margin-bottom: 10px;
}

.fc-event {
    cursor: pointer;
}

.fc-daygrid-day-top {
    margin-bottom: -12px;
}

.fc .fc-button {
    padding: 4px 8px;
    font-size: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid white;
    padding-top: 8px;
}

.fc .fc-button span {
    margin-top: -3px;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: #1f757922 !important;
    color: #0a3633 !important;
    border: 1.5px solid #1f7579 !important;
}

.fc-toolbar {
    justify-content: center;
}

.fc-toolbar-title {
    font-size: 1.1rem;
}

footer .hiddenlink {
    text-decoration: none !important;
    color: rgba(100, 100, 100, 0.8) !important;
}

footer a {
    color: rgba(31, 117, 121, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: #1f7579;
    text-decoration: underline;
}

.fc-event.past-slot {
    background-color: #ddd !important;
    color: #999 !important;
    opacity: 0.6;
}

.fc-event.bookable-slot {
    border: 0.5px solid #1f757954 !important;
}

.fc-event {
    width: 25px;
    height: 25px;
    margin: 0 auto !important;
    margin-top: 10px !important;
}

.fc-event.past-slot {
    cursor: not-allowed !important;
    
}

.fc-daygrid-dot-event {

}

#calendar-legend {
    font-size: 80%;
    margin: 0 auto;
    margin-top: 10px;
}

#legend-label {
    display: block;
    text-align: center;
    font-size: 75%;
    opacity: 0.45;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

#slotLegend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
}

#slotLegend .legend-item {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#slotLegend .legend-item.legend-inactive {
    opacity: 0.25;
    transform: scale(0.95);
}

.fc-daygrid-event .fc-event-dot {
    display: inline-block !important;
    text-align: center;
    margin: 0 auto;
}

.fc-list-event .fc-event-dot {
    display: none !important;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loader {
    box-sizing: border-box;
    display: inline-block;
    width: 50px;
    height: 80px;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
    position: relative;
    background: linear-gradient(#FF3D00 30px, transparent 0) no-repeat;
    background-size: 2px 40px;
    background-position: 50% 0px;
    animation: spinx 5s linear infinite;
  }
  .loader:before, .loader:after {
    content: "";
    width: 40px;
    left: 50%;
    height: 35px;
    position: absolute;
    top: 0;
    transform: translatex(-50%);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0 0 20px 20px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: 0 0px;
    animation: lqt 5s linear infinite;
  }
  .loader:after {
    top: auto;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    animation: lqb 5s linear infinite;
  }
  @keyframes lqt {
    0%, 100% {
      background-image: linear-gradient(#FF3D00 40px, transparent 0);
      background-position: 0% 0px;
    }
    50% {
      background-image: linear-gradient(#FF3D00 40px, transparent 0);
      background-position: 0% 40px;
    }
    50.1% {
      background-image: linear-gradient(#FF3D00 40px, transparent 0);
      background-position: 0% -40px;
    }
  }
  @keyframes lqb {
    0% {
      background-image: linear-gradient(#FF3D00 40px, transparent 0);
      background-position: 0 40px;
    }
    100% {
      background-image: linear-gradient(#FF3D00 40px, transparent 0);
      background-position: 0 -40px;
    }
  }
  @keyframes spinx {
    0%, 49% {
      transform: rotate(0deg);
      background-position: 50% 36px;
    }
    51%, 98% {
      transform: rotate(180deg);
      background-position: 50% 4px;
    }
    100% {
      transform: rotate(360deg);
      background-position: 50% 36px;
    }
  }
      



  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: #000;
    padding: 1rem;
    border-top: 2px solid #ccc;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    font-family: sans-serif;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 50px;
  }
  #cookie-banner.show {
    display: block;
  }
  #cookie-banner button {
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    background-color: #1f7579 ;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
  }
  #cookie-banner button.secondary {
    background-color: #6c757d;
  }