/*dropdown menu*/

#menu-button-list {
    display: none;
    background-image: url("../images/menu-button.png");
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
    float: right;
    cursor: pointer;
    margin-right: 20px;
    margin-top: 50px;
}

@media (max-width: 840px) {
    #dropdown-menu {display: none;}
    #dropdown-menu li {width: 100%; padding: 2% 0;}
    #menu-button-list {display: block;}

    #dropdown-menu {list-style: none; float: left; width: 100%;}
    #dropdown-menu li {float: left; display: block; padding: 0 1%;}
    #dropdown-menu li a {text-decoration: none; background-color: white;}
    .dropdown-toggle {padding: 0 !important; height: 25px;}
    .dropdown-toggle span { margin-left: -10px !important;}
    .nav-link {
        margin-left: -7px !important;
        margin-top: -5px !important;
    }

    #header {
        height: 100px !important;
    }

    #menu {
        text-align: center;
        width: 100%;
        height: 50px;
        background-color: white;
        margin-top: -40px;
        padding-left: 4%;
    }
    #menu ul {
        border-style: none;  
    }
    #menu ul li {
        display: block;
        float: left;
        padding: 10px 13px;
        margin-right: 250px;
        font-size: 18px;
        border-top: 1px solid #c92928;
        width: 122px;
    }
    #menu ul li.home {
        display: none;       
    }
}
/* carousel */

.carousel-img {
    border-top: 5px solid #dddddd;
    width: 100%;
}

.image-text-carousel {   
    background-color: rgba(0, 0, 0, .2);
    color: whitesmoke;
    font-weight: bold;
    font-size: 18px;
    padding: 5px 0 5px 0;
}

@media screen and (max-width: 600px) {
    .image-text-carousel { 
        background-color: rgba(0, 0, 0, .2);
        color: whitesmoke;
        font-weight: bold;
        font-size: 10px;
        padding: 3px 0 3px 0;
    }
}

/*nav*/

.dropdown-menu {
    width: auto; 
}
.dropdown-menu > li > a {
    color: #8c8b8b !important;
    font-size: 16px !important;
}
.dropdown-menu > li > a:hover {
    background-color: white !important;
    color: #c92928 !important;
}
.dropdown a {
    color: #8c8b8b !important;
    background-color: white;
    padding-left: -10px;
}
.dropdown a:hover {
    color: #c92928 !important;
    background-color: white;
}
.dropdown-menu a:focus {
  background-color: white;
}

.nav-link {
    margin-left: -22px;
}
.dropdown-toggle {
    margin-top: -9px;
}
.dropdown-toggle:hover {
    margin-top: -9px;
}
.dropdown-toggle:after {
    margin-left: 15px !important;
}
.dropdown-toggle:after:hover {
    margin-top: -15px !important; 
}
.dropdown-toggle[aria-expanded="true"]:after {
    transform: rotate(180deg); 
    margin-top: -4px !important;
}
.dropdown-toggle:after { 
    transition: 0.7s; 
}

.produkty {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background-color: #f5f5f5;
    padding: 0px calc(3% + 15px);
    padding-top: 32px;
}

.produkty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.produkt {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background-color: white;
    border-radius: 18px;
    box-shadow: 0px 3px 12px 1px rgba(0, 0, 0, 0.1);
}

.produkt-header {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
    width: 100%;
    padding: 40px 40px 10px 40px;
}
.produkt-header img {
    max-width: 40px;
}
.produkt-header span {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.1;
    color: rgb(71, 71, 71);

    font-family: "Archivo Black", roboto, sans-serif;
}

.produkt-main_text p {
    font-family: 'Century Gothic', roboto, sans-serif;
    font-size: clamp(1.3rem, 1.4vw, 1.6rem);
    line-height: 1.4;
    color: #555;
    padding: 0px 40px 30px 40px;
}

.produkt-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 0px 40px;
}
.produkt-footer a {
    padding: 16px 22px;
    border-radius: 18px;
    margin-bottom: 40px;
    width: 100%;
    text-decoration: none;
    color: white;
    font-family: 'Century Gothic', roboto, sans-serif;
    text-align: center;
    transition: opacity 0.15s ease;
}
.produkt-footer a:hover {
    color: white;
    opacity: 0.7;
    text-decoration: none;
}
.produkt-footer a:active {
    color: white;
    opacity: 0.5;
}
.produkt-footer a:visited, .produkt-footer a:focus {
    color: white;
}

@media (max-width: 840px) {
    .produkty {
        padding: 0px 10px;
    }

    .produkty-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 450px) {
    .produkty {
        padding: 0px 4px;
    }
}
@media (max-width: 320px) {
    .produkt {
        padding: 0px -3px;
    }
}