.risque-regular {
    font-family: "Risque", serif;
    font-weight: 400;
    font-style: normal;
  }
.source-serif-4-mainfont {
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.container {
    max-width: 1200px !important; /* or any other width you prefer */
    margin: 0 auto;
    padding: 0 15px;
}

body {
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #fef3ce;
}


h2, h3 {
    font-family: "Risque", serif;
    font-weight: 200;
}

#logoimg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}
footer {
    background-color: #c74635;
    padding: 20px;
    color: white;
    text-align: center;
    font-size: 1.2rem;
}

#mainNavbar {
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #c74635 !important;
    z-index: 1000;
    transform-origin: top;
}

/* Stan po przewinięciu */
#mainNavbar.scrolled {
    background-color: #c74635fd !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1);
}

/* Container w nawigacji */
#mainNavbar .container-fluid {
    transition: all 0.3s ease;
}

/* Logo/nazwa */
#mainNavbar .navbar-brand {
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

#mainNavbar.scrolled .navbar-brand {
    font-size: 1.25rem;
}

/* Linki nawigacyjne */
#mainNavbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 4px;
    font-size: 1.2rem;
}

#mainNavbar.scrolled .nav-link {
    font-size: 1rem;
}

#mainNavbar .nav-link:hover {
    color: #fef3ce !important;
    background-color: rgba(199, 70, 53, 0.1);
}

/* #mainNavbar .nav-link.active {
    color: #c74635 !important;
    font-weight: 600;
} */

/* Przycisk hamburgera */
#mainNavbar .navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

#mainNavbar .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

@media (max-width: 768px) {
    #mainNavbar {
        width: 100%;
        background-color: #c74635 !important;
    }

    #mainNavbar .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
    }

    #mainNavbar .navbar-toggler {
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0.5rem;
        margin-right: 1rem;
        background-color: transparent;
    }

    #mainNavbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    #mainNavbar .nav-item {
        margin: 0.5rem 0;
    }

    #mainNavbar .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
        color: #333 !important;
    }
    #mainNavbar .nav-link:hover {
        color: #333 !important;
        background-color: rgba(199, 70, 53, 0.1);
        
    }
}

#logoHeader {
    max-width: 150px;
    height: auto;
}

