/* base_style.css - Anpassung für überdimensioniertes Logo */

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;

    /* Hintergrundbild *//*
    background-image: url('../img/Background.svg');
    background-repeat: repeat;
    background-color: #fce4ec;
    min-height: 100vh;
    */

   position: relative;
}

/* Pseudo-Element für Hintergrund-Overlay */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -1;
}

/* Grund-Styling der Navigationsleiste */
#top_navbar {
    display: grid;
    grid-template-columns: auto auto auto;
    /*grid-template-rows: minmax(10px, 30px);*/
    grid-template-rows: minmax(10px, 46px);
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    position: sticky;
    top: 0;          /* WICHTIG: klebt oben am Viewport */
    z-index: 1001;    /* über dem restlichen Content */
    max-height: 50px;
}

/* Container für die Buttons rechts */
#nav-buttons-right {
    display: flex;
    gap: 10px;
    /* NEU: Stellt sicher, dass die Buttons nicht von der Logo-Positionierung beeinflusst werden */
    z-index: 11;
    position: relative;
}

/* Styling des Links, um ihn wie einen Button aussehen zu lassen */
.nav-btn {
    text-decoration: none;
    color: white;
    padding: 10px 18px;
    /*border-radius: 30px;*/
    border-radius: 20px;
    /*background: linear-gradient(135deg, #FF69B4, #FF1493);*/
    background: linear-gradient(135deg, #ffa3e2, #f4a4d0);
    border: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
    transition: all 0.25s ease-in-out;
    display: inline-flex;
    align-items: center;
    z-index: 10000;
}

/* Hover Effekt: Glow + leichte Vergrößerung */
.nav-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 105, 180, 0.55);
    /*background: linear-gradient(135deg, #FF1493, #FF69B4);*/
    background: linear-gradient(135deg, #f848a7, #f897c8);
}
#navbar_logo {
    height: 100%;
    padding-left: 12px;


    /*object-fit: scale-down;*/
}

/* Logo-Spezifisches Styling (Logo in der Navigationsleiste) */
.logo-link {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    /*margin-right: 20px;*/
    display: flex;
    align-items: center;
    height: 100%;

    /* NEUE KORREKTUR 2: Positioniere den Link absolut aus der Flexbox heraus */
    position: relative;
    /*left: 10px; /* Kleiner Abstand links vom Rand */
    /*top: 50%;
    /*transform: translateY(-50%);*/
    /* WICHTIG: Erhöhe den z-index, damit das Logo über den Buttons liegt */
    /*z-index: 12;*/
}
.link_icon {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-right: 10px;
    /*margin-right: 20px;*/
    display: block;
    align-items: center;
    height: 33px;
    width: 33px;

    position: relative;
}

#nav-logo {
    /* NEUE KORREKTUR 3: Logo-Größe erhöht */
    /*height: 100px;*/
    /*display: block;*/

    text-decoration: none;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

#logo-candyshop {
    /* 1. Schriftfamilie: Die Fallback-Kette verwenden */
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    /* 2. Gewicht: Auf Fett setzen */
    font-weight: bold; /* Oder: font-weight: 700; */
    /* Weitere Styles für den Candy-Look (wie zuvor besprochen) */
    font-size: 100%;
    color: #FF69B4; /* Hot Pink */

    /*text-shadow:
        3px 3px 0 #FFF, /* Weißer Rand */
        /*6px 6px 0 #000; /* Schwarzer Schatten */
}
/* === HEADER STYLING === */
header {
    text-align: center;             /* zentriert alles im Header */
    padding: 2rem 1rem;             /* etwas Abstand oben/unten */
    background-color: rgba(255, 192, 203, 0.15); /* leichtes Rosa */
    border-bottom: 2px solid #FF69B4; /* dezente pinke Linie unten */
}

header h1 {
    margin: 0;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    color: #FF69B4;
    font-size: 2rem;
    text-shadow: 1px 1px 0 #fff;
}

.logo-link {
    text-decoration: none !important;
}
html::-webkit-scrollbar, body::-webkit-scrollbar{
    /* Setzt die Breite/Höhe der Scrollbar auf 0 */
    width: 0;
    height: 0;
}
html, body{
    /* Setzt die Scrollbar auf die schmalste/minimale Größe */
    scrollbar-width: none;
}

.scroll-sichtbar::-webkit-scrollbar {
    width: 17px;
    height: 17px;
}

.scroll-sichtbar {
    scrollbar-width: auto;
}

@media (max-width: 800px) {
    .link-text {
        display: none;
    }
    .link_icon {
        margin-right: 0;
        height: 25px;
        width: 25px;
    }
    .nav-btn {
        /*background: linear-gradient(135deg, #f3b0c6, #f3c5de);*/
        /*background: linear-gradient(135deg, #f3b0c6, #f3c5de);*/
        background: linear-gradient(135deg, #ffa3e2, #f4a4d0);
    }
    #top_navbar {
        grid-template-rows: minmax(10px, 35px);
    }
    #navbar_logo {
        height: 100%;
        padding-left: 12px;

    }


}
@media (max-width: 450px) {
        #navbar_logo {
            display: none;

        }
    }