html {
    font-family: Manrope;
    font-size: 15px;
    font-weight: 500;
}

body {
    margin: 0;
    overflow-y: scroll;
}

body * {

    box-sizing: border-box;
}

#zam_wrap {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    -webkit-box-shadow: 0px 0px 12px 0px rgba(66, 68, 90, 1);
    -moz-box-shadow: 0px 0px 12px 0px rgba(66, 68, 90, 1);
    box-shadow: 0px 0px 12px 0px rgba(66, 68, 90, 1);
}



#zam_tytul {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    text-align: center;
    background-color: #009DE0;
    padding: 10px;
    display: none;

}

#zam_tytul2 {
    font-size: 1.2rem;
    color: #E6007E;
    font-weight: 600;
    text-align: center;
}

#zam_opis {
    font-size: 1.1rem;
    margin: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1536 / 350;
    background: url("../zdjecia_main/baner_rady.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#tyt-rady {
    font-size: 2.2rem;
    font-weight: 700;
}

.trapez {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: #ffffffd9;
    width: 40rem;
    justify-self: end;
    font-size: 1.3rem;
    padding: 20px 0;
    position: absolute;
    bottom: 10px;
    right: 10px;
    border-radius: 10px;
}

#zamowienie {
    background: #0083e03b;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 30px 30px 30px;
}

.row-zam {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-top: 15px;
    align-items: end;
    flex-wrap: nowrap;
    flex-direction: row;
}

.col1-zam {
    width: 50px;
}

.col2-zam {
    width: 100%;
}

.col3-zam {
    padding: 0 5px 0 5px;
}

.zam-temat {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0 5px 0 5px;
    color: #E6007E;
}

.zam-owner {
    font-size: 0.8rem;
    font-weight: 500;
    color: green;

}

.zam_numb {
    margin-top: 5px;

}

.zam_temat_ok {
    padding: 0 5px 0 5px;
    color: #000000;
}

.zam_dane {
    display: flex;
}


#zam_kontakt_main {
    display: flex;
    justify-content: end;
    margin-top: 20px;
}

#zam_kontakt_zamow {
    color: #E6007E;
    font-weight: 700;
}

#zam_kontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#zam_tyt_belka {
    position: relative;
    width: 100%;
}

#zam_tyt_main {
    background: #0083e03b;
}

#zam_belka_close {
    position: absolute;
    right: 0;
    top: 0;
    height: 24px;
    border: 1px solid #ffffff61;
}

.zam-opis {
    color: rgb(0, 0, 0);
    background-color: #ffffff;
    padding: 10px 50px;
    margin-top: 5px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 70% 30%;
}

.opis-owner {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-bottom: 10px;
    padding-left: 20px;
}

.open_opis_demand {
    -webkit-box-shadow: 0px 0px 6px -2px rgba(66, 68, 90, 1);
    -moz-box-shadow: 0px 0px 6px -2px rgba(66, 68, 90, 1);
    box-shadow: 0px 0px 6px -2px rgba(66, 68, 90, 1);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition-duration: 0.3s;
    transition-property: background-color;
}

.open_opis_demand:hover {
    background-color: #0083e03b;

}

.open_opis_demand svg {
    border-radius: 16px;
    padding: 2px;
    background: #0083e03b;
}


.arrow {
    transition: transform 0.5s ease;
}

.rotated-arrow {
    transform: rotateZ(90deg);
}

.zam-opis li {
    padding-right: 20px;
}

.opis-owner {
    border-left: 1px solid #9d9a9a;
}



.active {
    box-shadow: 0 2px 0 #1d5bbf;
    transform: translateY(2px);
    background: #0062b5;
}

.menu {
    padding-top: 30px;
    padding-bottom: 10px;
    font-size: 1.2rem;
    color: #0067c1;
    margin-left: 20px;
    font-weight: 600;
    line-height: 0;
}

@media all and (max-width: 1000px) {
    .zam_numb {
        font-weight: 600;

    }

    .col2-zam {
        width: 100%;
    }

    .col3-zam {
        display: flex;
        width: max-content;
        border: none;

    }

    .col4-zam {
        display: flex;
        width: max-content;
    }

    .zam-temat {
        align-self: flex-end;

    }

    .zam_dane {
        justify-content: flex-end;
    }

    #zamowienie {
        padding: 20px 10px;
    }

    html {
        font-size: 13px;
    }

    #zam_opis {
        margin: 0;
        background: white;
    }

    .zam-opis {
        padding: 00px;
        grid-template-columns: 100%;

    }

    .opis-owner {
        flex-direction: column;
        border: unset;
    }

    #tyt-rady {
        font-size: 1.5rem;
    }

    #zam_kontakt {
        font-size: 1rem;
    }

    .trapez {
        width: 100%;
        padding: 5px 5px 10px 5px;
        bottom: 0px;
        right: 0;
        border-radius: 0;
    }

    .menu {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin-top: 10px;
    }

    .menu>span {
        margin-bottom: 20px;
    }

}

.btn-3d {
    position: relative;
    padding: 7px 36px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    margin: 0 10px;

    /* GŁÓWNY GRADIENT dla #0154d1 */
    background: linear-gradient(to bottom,
            #4da2ff 0%,
            /* jaśniejsza góra, efekt glossy */
            #0171d1 50%,
            /* główny kolor */
            #004892 100%
            /* ciemniejsza dolna część */
        );

    /* CIEŃ 3D zależny od koloru */
    box-shadow: 0 6px 0 #002d73;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #00245a;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* połysk glossy */
.btn-3d::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 8%;
    height: 40%;
    border-radius: 8px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.85),
            rgba(255, 255, 255, 0));
    pointer-events: none;
}



.btn-3d.active {
    transform: scale(0.95);
    box-shadow: 0 3px 0 #001e4b;
    background: linear-gradient(to bottom,
            #ff4d4d 0%,
            /* jaśniejsza góra, efekt glossy */
            #d10101 50%,
            /* główny kolor */
            #920000 100%
            /* ciemniejsza dolna część */
        );
}