  @import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600&family=Sora:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');


html, body {
  background-color: #2c2b30;
  background: #2c2b30;
  color: white;
  font-family: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  
  background: rgb(68,66,75);
  background: -moz-radial-gradient(circle, rgba(68,66,75,1) 0%, rgba(44,43,48,1) 100%);
  background: -webkit-radial-gradient(circle, rgba(68,66,75,1) 0%, rgba(44,43,48,1) 100%);
  background: radial-gradient(circle, rgba(68,66,75,1) 0%, rgba(44,43,48,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#44424b",endColorstr="#2c2b30",GradientType=1);
}

body {
  scroll-behavior: smooth;
}

p { font-size: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-top: 2rem; }

/* for main section */
.offcanvas-header,
.offcanvas-body {
  color: gray;
}

.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #2c2b30;
  border-color: #2c2b30;
  border-top-right-radius: 70px;
  border-bottom-right-radius: 30px;
  font-weight: bold;
}

.site-header nav {
  flex-direction: row !important;
}

.site-header {
    background: #2c2b30db;
    border-bottom: 1px solid #2c2b30;
}

#menu-logo {
  color: #ffffff;
  font-size: 2rem;
  text-decoration: none;
  margin-right: auto;
  margin-left: auto;
  display: inline-block !important;
}

#menu-btn,
#menu-contact {
  color: #ffffff;
  padding-left: 0px;
  font-size: 1.7rem;
  display: inline-block !important;
}

#menu-btn:focus {
    box-shadow: 0 0 0 0.25rem #7952b344;
}




h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
}

.textareaGrau {
  background-color: rgba(17, 17, 17, 1);
  color: white;
  border: none;
  height: 200px;
}

.nav-black .nav-link {
  color: white;
}

.nav-black .nav-item.show .nav-link,
.nav-black .nav-link.active {
  color: #ffffff;
  background-color: #101010;
}

.nav-black .nav-link:focus,
.nav-black .nav-link:hover {
  border-color: #323539 #323539 #dee2e6;
}

.accordion-button:not(.collapsed) {
  color: white;
  background-color: #101010;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion h2 {
  padding-bottom: initial;
  padding-top: initial;
}
  
.accordion h2 button{
  font-size: 1.2rem;
}
  
.accordion .accordion-button .fa,
.accordion .accordion-button .fas {
  margin-right: 15px;
}

.accordion-item {
  background-color: transparent;
  border: 1px solid transparent;
}

.formEingabe {
  max-width: 600px;
  background: #101010;
  padding-top: 30px;
  padding-bottom: 20px;
  padding-left: 35px;
  padding-right: 35px;
  border-top-right-radius: 40px;
  border-top-left-radius: 0px;
  margin-top: 50px;
  margin-bottom: 0px;
}

.formEingabe textarea {
  min-height: 150px;
}

.formEingabe h2 {
  margin-bottom: 20px;
}

.formEingabe .form-floating>label,
.form-floating>label {
  color: initial;
}

.formEingabe .btn {
  border-radius: 30px;
  padding-right: 20px;
  padding-left: 20px;
  margin-top: 10px;
}

.formEingabe .btn-link {
  color: white;
}

.formEingabe .btn-link:hover {
  color: #1472e3;
}

.btn-primary {
  color: #ffffff;
  background-color: #1472e3;
  border-color: #1472e3;
}

.btn-secondary {
  color: #ffffff;
  background-color: #2c2b30;
  border-color: #2c2b30;
}

.formBlack .btn-secondary {
  color: #ffffff;
  background-color: #5c636a;
  border-color: #5c636a;
}

.formBlack .btn-secondary:hover {
  color: #ffffff;
  background-color: #565e64;
  border-color: #565e64;
}

.table-dark {
  --bs-table-bg: #2c2b30;
  --bs-table-striped-bg: #2c2b30;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #373b3e;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #323539;
  --bs-table-hover-color: #fff;
  color: #fff;
}

.table-dark label {
  color: initial;
}

.table-dark .table-final,
.table-dark .table-final td {
  background: #101010;
  font-style: italic;
}

.fa-toggle-on,
.fa-check-circle {
  font-size: 2rem;
  color: #1472e3;
  color: #1ca81c;
  transition: color .4s ease-in-out;
}
  
.fa-toggle-on:hover,
.fa-check-circle:hover {
  color: #0b5ed7;;
  color: #1472e3;
  transition: color .4s ease-in-out;
}
  
.fa-toggle-off,
.fa-circle {
  font-size: 2rem;
  color: #101010;
  transition: color .4s ease-in-out;
}
  
.fa-toggle-off:hover,
.fa-circle:hover {
  color: #565e64;
  transition: color .4s ease-in-out;
}

.alert-success {
    color: #fff;
    background-color: #1ca81c;
    border-color: #1ca81c;
}

.alert-danger {
    color: #ffffff;
    background-color: red;
    border-color: red;
}

.loginForm a,
.loginEnde a {
  text-decoration: underline;
  color: inherit;
  transition: color .4s ease-in-out;
}

.loginForm a:hover, 
.loginEnde a:hover {
  color: #2c2b30;
  text-decoration: underline;
}

.startKasten {
  font-size: 1.5rem;
  text-align: center;
  background: white;
  border-radius: 20px;
  border: 10px solid #2c2b30;
  color: #101010;
  text-decoration: none;
  cursor: pointer;
}

.startKasten:hover {
  background: #1472e3;
  color: white;
}

.startKasten i {
  font-size: 4rem;
  display: block;
}

.nav-tabs {
 overflow-x: auto;
 overflow-y: hidden;
 flex-wrap: nowrap;
}

.nav-tabs .nav-link {
  white-space: nowrap;
  background: #ffffff;
  margin-right: 10px;
  color: #2c2b30;
  border: 0px;
  margin-bottom: 1px;
  border-radius: 0px;
}

.fragenAntwort .btn-primary{
  margin-top: 10px;
}

.fragenAntwort h3{
  margin-bottom: 20px;
}

.fragenAntwort .commentBox ul li .profileBox {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #1472e3;
    color: #fff;
    font-weight: 700;
}

.fragenAntwort .profileText {
    border-radius: 7px;
    padding: 10px;
    position: relative;
    background-color: #101010;
    display: inline-block;
    margin-left: 15px;
    max-width: 70%;
}

.fragenAntwort .profileText i{
    display: block;
    font-size: 0.8rem;
}

.fragenAntwort .profileText::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #101010;
    z-index: 1;
}

.fragenAntwort .commentBox ul li {
    display: flex;
    align-items: center;
}

.fragenAntwort .commentBox ul li:nth-child(even) .profileText::before {
    left: unset;
    right: -9px;
    transform: translateY(-50%) rotate(175deg);
}

.fragenAntwort .commentBox ul li:nth-child(even) .profileText {
    text-align: left;
    margin-left: 0;
    margin-right: 15px
}

.fragenAntwort .commentBox ul li:nth-child(even) {
    text-align: right;
    margin: 20px 0;
    justify-content: flex-end;
}


/* Kleiner als md */
@media (max-width: 768px) {
  .formEingabe {
    max-width: 100%;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    width: 100%;
  }

  .fragenAntwort .btn-primary{
    margin-bottom: 30px;
  }

  .fragenAntwort .commentBox{
    padding-left: 0px;
  }
}


.formPre {
  background: #212529;
}

.textPre {
  background: #101010;
}

/* Größer als md */
@media (min-width: 769px) {
  .formEingabe {
    margin-right: auto;
    margin-left: auto;
  }

  .fragenAntwort .commentBox{
    padding-left: 20px;
  }
}


/* Groesser als lg */
@media (max-width: 992px) {
  .loginEnde {
    text-align: center;
    width: 100%;
    background: #ffffff2e;
  }
}


/* Kleiner als lg */
@media (min-width: 993px) {
  .loginEnde {
    text-align: center;
    position: fixed;
    bottom: 0px;
    width: 100%;
    background: #ffffff2e;
  }
}




/*
Black: #101010
White: #ffffff

Primary: #1472e3
Secondary: #2c2b30
#323539
*/












      
/* Allgemein */
      
body {
  padding-bottom: 68px;
}

.btnMe {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 100;
}
      
.btnMe i{
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  padding: 6px;
}
      
.btn {
  border-radius: 0px;
}
      
.badge-primary {
  background-color: #d2af37 !important;
  color: #2c2b30;
}
      
.badge-primary-link {
  text-decoration: none;
  color: #2c2b30;
}
      
.badge-primary-link:hover {
  text-decoration: none;
  color: #fff;
}
      
.btn-primary {
  color: #ffffff;
  background-color: #1b6cc1;
  border-color: #1b6cc1;
}
      
.btn-secondary {
  color: #ffffff;
  background-color: #2c2b30;
  border-color: #2c2b30;
}
      
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #101010;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1030;
    background: rgb(16,16,16);
    background: -moz-linear-gradient(0deg, rgba(16,16,16,1) 0%, rgba(32,32,32,1) 50%, rgba(16,16,16,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(16,16,16,1) 0%, rgba(32,32,32,1) 50%, rgba(16,16,16,1) 100%);
    background: linear-gradient(0deg, rgba(16,16,16,1) 0%, rgba(32,32,32,1) 50%, rgba(16,16,16,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#101010",endColorstr="#101010",GradientType=1); 
}

.bottom-nav .nav-item {
    flex: 1;
    text-align: center;
}

.bottom-nav .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
  min-height:50px;
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}
.bottom-nav i {
    font-size: 1.5em;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
}

.star-rating :checked ~ label {
    color: #d2af37;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #d2af37;
}
 
      
/* liste.php */
      
.containerListe .star-rating {
    display: flex;
    flex-direction: row-reverse;
    font-size: 1.5em;
    justify-content: space-around;
    padding: 0 .2em;
    text-align: center;
    width: 5em;
}
      
     
      
/* index.php */
      
    .containerBewerten {
        max-height: calc(100vh - 70px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
  
    .containerBewerten .card {
        width: 90vw;
        max-width: 600px;
        padding: 3px;
        border-radius: 0px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        background-color: #101010;
    }
  
    .containerBewerten .card .image-container {
        position: relative;
        width: 100%;
    }
  
    .containerBewerten .card .image-container img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 0px;
        max-height: 60vh;
        object-fit: cover;
    }
  
    .containerBewerten .card .image-container .card-title {
          position: absolute;
          bottom: 10px;
          left: 10px;
          background: rgba(0, 0, 0, 0.6);
          color: white;
          padding: 8px 12px;
          border-radius: 5px;
          font-size: 18px;
      }
  
      .containerBewerten .card .card-body {
          padding: 10px;
      }
  
    .containerBewerten .card .card-body .star-rating {
        display: flex;
        flex-direction: row-reverse;
        font-size: 3em; /* Größere Sterne für bessere Bedienbarkeit */
        justify-content: center;
        text-align: center;
        width: 100%;
    }
      
    @media(max-width:767px) {
      .containerBewerten .card .card-body .star-rating {
        font-size: 2em; /* Größere Sterne für bessere Bedienbarkeit */
      }
    }
      
    .containerBewerten .card .card-body .star-rating label {
        padding-left: 10px;
        padding-right: 10px;
    }
      
      
      
    .containerRezepte .swiper-container {
        width: 100%;
        max-width: 100%;
        margin: auto;
        overflow: hidden;
        position: relative;
    }
    .containerRezepte .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .containerRezepte .swiper-button-next,
    .containerRezepte .swiper-button-prev {
        color: white !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    .containerRezepte .swiper-button-next { right: 10px; }
    .containerRezepte .swiper-button-prev { left: 10px; }
      
      
      
    .containerRezepte .card {
        width: 100%;
        max-width: 400px;
        border-radius: 0px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        background-color: #d2af37;
        overflow: hidden;
        position: relative;
        padding: 0px;
        border: 0px;
      color: #2c2b30;
    }
      
      
.containerKategorie .card {
        border-radius: 0px;
        background-color: #2c2b30;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        padding: 0px;
        border: 0px;
    }

  
.containerRezepte .image-container,
.containerKategorie .image-container  {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Macht das Container-Element quadratisch */
  overflow: hidden; /* Verhindert Überlauf */
}

.containerRezepte .image-container img,
.containerKategorie .image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Bild füllt den Container vollständig aus */
  object-fit: cover; /* Schneidet das Bild, um es perfekt ins Quadrat zu passen */
}
  
    .containerRezepte .card-title {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 8px 12px;
        font-size: 18px;
    }
  
    .containerKategorie .card-body {
      background: rgb(33, 37, 41);
        color: white;
        padding: 6px 8px;
        font-size: 18px;
        min-height: 125px;
      text-decoration: none;
    }

.containerKategorie .card-footer {
  padding: 8px;
  padding-bottom: 14px;
}

    .containerRezepte .card-body {
        padding: 20px;
    }
    .containerRezepte .card-body i,
     {
        margin-right: 5px;
    }

.containerKategorie .card-footer .dropdown {
  text-align: right;
}

.containerKategorie .card-footer .dropdown .btn-secondary {
  border-radius: 50%;
color: #2c2b30;
  background-color: #d2af37;
  border-color: #d2af37;
}
.containerKategorie .card-footer i {
        margin-left: 5px;
        margin-right: 5px;
    }

.containerKategorie .dropdown-menu {
  background-color: #212529;
  border: 0px;
  border-radius: 0px;
}

.containerKategorie .dropdown-item:focus,
.containerKategorie .dropdown-item:hover {
  background-color: #2c2b30;
}

.containerKategorie .dropdown-item {
  color: #fff;
}

.containerKategorie .dropdown-divider {
  border-top: 1px solid rgb(255, 255, 255);
}
 


  
 .rezeptDetail .rezeptSeite {
  position: relative;
  padding-right: 8rem !important;
  background: rgb(44, 43, 48);
  color: white;
}
  
 .rezeptDetail .rezeptSeite .btn-secondary {
  background-color: #101010;
  border-color: #101010;
}

.rezeptDetail .startContainer {
  background: white;
  color: #2c2b30;
}

.rezeptDetail .startContainer .fas.fa-star {
  color: #d2af37;
}

.rezeptDetail .startContainer .fa-star {
  font-size: 1.5rem;
}

.rezeptDetail .startContainer .dropdown {
  display: inline;
}

.rezeptDetail .startContainer .dropdown-toggle::before {
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}

.rezeptDetail .startContainer .dropdown-toggle::after {
  display: none!important;
}

.rezeptDetail .iconDet {
  background: #d2af37;
  padding: 10px;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 1.5rem;
  color: #2c2b30;
}





.rezeptDetailZutaten li::before {
  display: block;
  text-align: right;
  width: 40px;
  line-height: 30px;
  position: absolute;
  font-size: 26px;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f101';
  margin: 0 5px 0 -15px;
  color: #d2af37;
  margin-left: -60px;
}
 
.rezeptDetailZutaten li {
  margin-bottom: 0px;
  list-style: none;
  padding-top: 10px;
  border-top: 1px dashed #999999;
  margin-top: 0px;
  padding-bottom: 10px;
  padding-left: 15px;
}
  
.rezeptDetailZutaten li:first-child {
  border-top: 0px;
  margin-top: 0px;
}

.rezeptDetailZubereitung {
  counter-reset: item
}
  
.rezeptDetailZubereitung li::before {
  display: block;
  margin-bottom: 20px;
  content: counter(prep-counter);
  counter-increment: prep-counter;
  background-color: #d2af37 !important;
  text-align: center;
  border-radius: 50%;
  font-size: 16px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0;
  position: absolute;
  /* left: 35px; */
  font-size: 26px;
  color: #2c2b30;
  content: counters(item, ".") " ";
  counter-increment: item ;
  margin-left: -50px;
  font-weight: bold;
}
 
.rezeptDetailZubereitung li {
  margin-bottom: 20px;
  list-style: none;
  padding-top: 40px;
  border-top: 1px dashed #999999;
  margin-top: 20px;
  padding-bottom: 20px;
  padding-left: 15px;
}
  
.rezeptDetailZubereitung li:first-child {
  border-top: 0px;
  margin-top: 0px;
}