:root {
    --main_color: #FCEBE4;
    --secondary_color: #5D3624;
    --third_color: #D5BEB4;
    --fourth_color: #AD9084;
    --text_color_dark: #333333;
    --text_color_light: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--main_color) !important;
}

p {
    font-family: "Comic Neue";
}

h1 {
    font-family: "Dancing Script", cursive !important;
    text-align: center;
}

h2 {
    font-family: "Dancing Script", cursive !important;
}

h3 {
    font-family: "Dancing Script", cursive !important;
}

.my-slow-animation {
    animation-duration: 1.5s !important;
    /* Animation läuft 2 Sekunden lang */
    transition-duration: 2s !important;
    /* Für Übergänge ebenfalls */
}

.text {
    font-size: 20px;
    margin-top: 20px;
    padding: 0 80px;
    text-align: center;
}

#index_navbar_carousel_container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 0;
    grid-row-gap: 0;
}

.navbar {
    /* background-color: var(--main_color) !important; */
    backdrop-filter: blur(15px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(200%) !important;
    background-color: rgba(252, 235, 228, 0.58) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(209, 213, 219, 0.3) !important;
    grid-area: 1 / 1 / 2 / 2;
    z-index: 10;
}

.navbar#big_nav {
  width: 50%;
  margin-top: 10px;
}

.navbar#small_nav {
  width: 100%;
  margin-top: 0px;
  border-radius: 0px !important;
}


#index_carousel {
  grid-area: 1 / 1 / 3 / 2;
}

.uk-navbar-container img {
  height: 60px;
  width: auto;
  margin: 0;
}

.uk-offcanvas-bar {
  background-color: var(--main_color) !important;
    backdrop-filter: blur(15px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(200%) !important;
  background-color: rgba(252, 235, 228, 0.58) !important;
  border: 1px solid rgba(209, 213, 219, 0.3) !important;
  transition: all 0.3s ease-in-out;
}

.uk-offcanvas-bar a {
    color: black !important;
}

.uk-offcanvas-bar .uk-iconnav {
    border-top: gray solid 1px;
    padding: 2.5px;
}

.uk-offcanvas-bar .uk-iconnav img {
    max-width: 30px;
}

#big_nav .uk-dropdown {
    width: fit-content !important;
    background-color: var(--main_color);
}

#big_nav .uk-iconnav {
    margin: auto;
    grid-area: 1 / 2 / 2 / 3;
    padding-right: 10px;
}

.lang_img {
    width: 20px !important;
    height: auto !important;
}

.footer_legal p {
    margin: 0 !important;
}

.footer {
    background-color: var(--main_color) !important;
    margin: 0 !important;
}

.footer .border-bottom {
    border-color: var(--secondary_color) !important;
}

.uk-position-relative img {
    filter: brightness(60%);
}

/* #index_slide_text_1{
  color: #ffffff;
  font-size: 120%;
} */

.index_slide_head {
    font-family: "Dancing Script", cursive;
    font-size: 70px;
    /* font-weight: bold; */
}

.index_slide_text {
    font-family: "Dancing Script", cursive;
    font-size: 50px;
}

.uk-slideshow-items img {
    width: 100%;
}

#index_slide_img_2 {
    height: auto;
}

.products_section #products_cards_container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    /* padding: 0px 25px; */
}

.products_section {
    background-color: var(--third_color) !important;
    padding: 0;
    color: white;
    padding-bottom: 25px;
}

.products_section h2 {
    color: white;
    font-size: 55px;
    text-align: center;
}


/* From Uiverse.io by Novaxlo */
.card {
    width: 250px;
    height: 325px;
    background: lightgrey;
    border-radius: 20px;
    box-shadow: -8px 8px 0 5px rgb(50, 50, 50, 0.2);
    border: solid 2px white;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    transform: rotate(3deg) skewX(3deg);
    margin: auto;
    margin-bottom: 40px;
}

#cardtop {
    width: 100%;
    height: 70%;
    display: flex;
    /* justify-content: center;
  align-items: center; */
    transition: all 0.1s ease;
    color: #fc6969;
    position: relative;
    background-size: cover;
    /* Bild vollständig anzeigen */
    background-position: center;
    /* Bild zentrieren */
    background-repeat: no-repeat;
    overflow: hidden;
}

#cupcakes #cardtop {
    background-image: url("../img/cupcakes_index.jpg");
}

#cakes #cardtop {
    background-image: url("../img/torte_index.jpg");
}

#cookies #cardtop {
    background-image: url("../img/cookies_index.jpg");
}

#wedding #cardtop {
    background-image: url("../img/wedding_cake.png");
}

#cardbottom {
    width: 100%;
    height: 31%;
    border-end-start-radius: 20px;
    border-end-end-radius: 20px;
    background-color: white;
    font-weight: 500;
    font-size: 20px;
    padding: 10px;
    color: var(--text_color_dark) !important;
    transition: all 0.2s ease;
}

#cardbottom hr {
    height: 3px;
    background-color: black;
}

#cardbottomtitle {
    margin-bottom: 10px;
    color: var(--text_color_dark);
    font-size: 35px;
}

#cardbrightfilter {
    width: 450px;
    height: 200px;
    background-color: rgb(255, 255, 255, 0.5);
    position: absolute;
    transform: rotate(-40deg) translateX(-15%) translateY(-160%);
    transition: all 0.5s ease;
    z-index: 1;
}
#cardnewfilter {
    width: 75px;
    height: 30px;
    border-radius: 25px;
    background-color: #fc6969;
    position: absolute;
    z-index: 2;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-weight: 500;
}

.card:hover {
    transform: translateY(-5%);
    box-shadow: 0 20px 10px rgb(50, 50, 50, 0.2);
}
.card:hover #cardbrightfilter {
    transform: rotate(-42deg) translateX(-15%) translateY(-79%);
}

.card:active #cardtop {
    transform: scale(1.05);
}

.card:active #cardbottom {
    background-color: var(--main_color);
}

.card:active #cardbottom {
    color: white;
}

.card:active #cardbottom hr {
    background-color: white;
}

.aboutme_section {
    background-color: var(--fourth_color) !important;
    text-align: center;
    padding: 50px 0;
    color: white;
}

.aboutme_section div {
    width: fit-content;
    margin: auto;
    max-width: 800px;
}

.aboutme_section h2 {
    color: white;
    font-size: 40px;
    font-weight: bold;
}

#aboutme_text1 {
    font-size: 20px;
    margin-top: 20px;

    padding: 0 80px;
}

#aboutme_img {
    height: auto;
    width: 200px;
    border-radius: 10px;
    margin-top: 20px;
}

#aboutme_list {
    list-style: none;
}

#aboutme_list h3 {
    color: white;
    font-size: 25px;
    font-weight: bold;
    margin-top: 20px;
}

#aboutme_list li {
    font-size: 18px;
}

.contact_section {
    background-color: var(--third_color) !important;
    padding: 50px 0;
    color: white;
    /* width: fit-content;
  margin: auto;
  max-width: 800px; */
    text-align: center;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 0;
    grid-row-gap: 0;
}

.contact_section #contact_info {
    grid-area: 1 / 1 / 2 / 3;
}

.contact_section form {
    grid-area: 2 / 1 / 3 / 2;
}

.contact_section iframe {
    grid-area: 2 / 2 / 3 / 3;
}

.contact_section h2 {
    color: white;
    font-size: 40px;
    font-weight: bold;
}

#contact_text1 {
    font-size: 20px;
    margin-top: 20px;
    max-width: 700px;
    padding: 0 80px;
    margin: auto;
    text-align: center;
}

/* From Uiverse.io by AbanoubMagdy1 */
.wave-group {
    position: relative;
    margin-bottom: 20px;
}

.wave-group .input {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 200px;
    border: none;
    border-bottom: 1px solid #515151;
    background: transparent;
}

.wave-group .input:focus {
    outline: none;
}

.wave-group .label {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    display: flex;
}

.wave-group .label-char {
    transition: 0.2s ease all;
    transition-delay: calc(var(--index) * .05s);
}

.wave-group .input:focus ~ label .label-char,
.wave-group .input:valid ~ label .label-char {
    transform: translateY(-20px);
    font-size: 14px;
    color: var(--secondary_color);
}

.wave-group .bar {
    position: relative;
    display: block;
    width: 200px;
}

.wave-group .bar:after,
.wave-group .bar:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: var(--secondary_color);
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.wave-group .bar:before {
    left: 50%;
}

.wave-group .bar:after {
    right: 50%;
}

.wave-group .input:focus ~ .bar:after,
.wave-group .input:focus ~ .bar:before {
    width: 50%;
}

/* From Uiverse.io by adamgiebl */ 
.cyberpunk-checkbox-label {
  margin-bottom: 20px;
}

.cyberpunk-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--secondary_color);
  border-radius: 5px;
  background-color: transparent;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  cursor: pointer;
}

.cyberpunk-checkbox:before {
  content: "";
  background-color: var(--secondary_color);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.cyberpunk-checkbox:checked:before {
  transform: translate(-50%, -50%) scale(1);
}

.cyberpunk-checkbox-label {
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
}

/* From Uiverse.io by vinodjangid07 */
.Btn {
    width: 130px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--main_color) !important;
    border: none !important;
    color: var(--text_color_dark) !important;
    font-weight: 600 !important;
    gap: 8px !important;
    cursor: pointer !important;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.103) !important;
    position: relative !important;
    overflow: hidden !important;
    transition-duration: 0.3s !important;
}

.Btn img {
    width: 20px !important;
}

/* .svgIcon path {
  fill: white !important;
} */

.Btn::before {
    width: 130px !important;
    height: 130px !important;
    position: absolute !important;
    content: "" !important;
    background-color: white !important;
    border-radius: 50% !important;
    left: -100% !important;
    top: 0 !important;
    transition-duration: 0.3s !important;
    mix-blend-mode: difference !important;
}

.Btn:hover::before {
    transition-duration: 0.3s !important;
    transform: translate(100%,-50%) !important;
    border-radius: 0 !important;
}

.Btn:active {
    transform: translate(5px,5px) !important;
    transition-duration: 0.3s !important;
}

.contact_success {
    background-color: green !important;
    color: black !important;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
}

.contact_error {
    background-color: red !important;
    color: white !important;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
}

.contact_section iframe {
    border-radius: 10px;
    margin-top: 20px;
    width: 80%;
    height: 450px;
    border: none;
}

@media (max-width: 470px) {
  .text {
      font-size: 18px;
      padding: 0 20px;
  }

    #index_carousel {
      grid-area: 2 / 1 / 4 / 2;
    }

    .index_slide_text {
        font-size: 25px;
    }

    .index_slide_head {
        font-size: 35px;
    }

    .aboutme_section {
        padding: 10px 0;
    }

    .contact_section {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 0;
        grid-row-gap: 0;
    }

    .contact_section #contact_info {
        grid-area: 1 / 1 / 2 / 3;
    }

    .contact_section form {
        grid-area: 2 / 1 / 3 / 2;
        margin-bottom: 40px;
        padding: 0px 15px;
    }

    .contact_section iframe {
        grid-area: 3 / 1 / 4 / 2;
        margin: auto;
    }
}
