/*
Theme Name: Chick In Bucket Theme
Author: ahmg96
Description: Die Offiziele Chick In Bucket Website.
Version: 1.0
*/

@font-face {
    font-family:'CiBFont';
    src: url('../chick-in-bucket-theme/fonts/Pricedown-Bl.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: 'CiBFont';
    letter-spacing: 0.05em; /* Wichtig um die Buchstaben auseinander zu setzen*/
    background-color: black;
    color: black;
}

h1, h2, h3 {
    font-family: 'CiBFont';
}

/* Header und Navbar */
.header {
    position: relative;
    z-index: 10;
}

.navbar {
    transition: background-color 0.3s, opacity 0.3s;
    background-color: transparent; /* Unsichtbar am Anfang */
    opacity: 0;
    font-size: 5rem;
}

.navbar.sticky {
    background-color: black !important; /* Sichtbar beim Scrollen */
    opacity: 1;

}

.navbar-brand{
    font-size: inherit;
}
/* Logo */
.logo {
    font-family: 'CiBFont', Arial, sans-serif;
    font-size: 5rem !important; 
    font-weight: bold;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 3rem; /* Kleinere Größe für Mobile */
    }

    .navbar{
        font-size: 1.5rem;
    }
}


/* Leere Mitte in der Navigation */
.navbar-space {
    flex-grow: 1;
}

/* Rechte Seite der Navbar */

.navbar-right {
    margin-left: auto; /* Schiebt den Inhalt nach rechts */
    display: flex;
    align-items: center;
    gap: 1rem; /* Abstand zwischen den Elementen */
}
.navbar-right .btn {
    font-size: 0.9rem;
}

.navbar-right .text-white {
    font-size: 1.2rem; /* Icon-Größe */
    transition: color 0.3s;
}

.navbar-right .text-white:hover {
    color: #f8d210; /* Farbe beim Hover */
}

.hero {
    position: relative;
    height: 100vh; /* Vollbild */
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /*display: block;*/
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: none; /* Standardmäßig ausgeblendet */
}

/* Wenn das Video nicht funktioniert, zeige das Bild */
.hero-video:invalid + .hero-image,
.hero-video[error] + .hero-image {
    display: block;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.video-container video {
  width: 100%;
  height: auto;
  display: block;
}
