*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

:root {
    /* <-----> colors <-----> */
    --color-white: #ffffff;
    --color-grey: #808080;
    --color-black: #000000;
    --color-red: #ff0000;
    --color-brown: #6d4444;
    --color-green: #33a333;

    /* <-----> font <-----> */
    font-size: 10px;
    --font-family: Arial, sans-serif;
}

/* <-----> header <-----> */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 10rem;
    position: sticky;
    top: 0;
    background-color: var(--color-black);
    padding: 0.5rem 2.5rem;
    border-bottom: 0.1rem solid var(--color-grey);
    z-index: 100;
}

/* <-----> header__left  <-----> */

header .header__left {
    height: 8rem;
}

header .header__left img {
    display: block;
    width: 100%;
    height: 8rem;
}

/* <-----> header__center <-----> */

header .header__center {
    transition: none;
}

header .header__center ul {
    display: flex;
    gap: 1rem;
}

header .header__center ul a {
    display: block;
    font-size: 2.4rem;
    padding: 0.5rem;
    color: var(--color-white);
}

header .header__center ul li:nth-child(1) a {
    color: rgb(231, 53, 53);
    text-decoration: underline;
}

/* <-----> header__right <-----> */

header .header__right {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    height: 8rem;
}

header .header__right .header__button {
    display: none;
    width: 6rem;
    height: 6rem;
    border: none;
    background-color: var(--color-black);
    color: var(--color-green);
}

header .header__right .header__button:hover {
    background-color: var(--color-grey);
    cursor: pointer;
}

header .header__right .header__button .header__menu_open {
    display: block;
}

header .header__right .header__button .header__menu_close {
    display: none;
}

main .article_one {
    height: 50rem;
    position: relative;
}

main > .article_one > .section_one {
    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.15) 35%,
            rgba(0, 0, 0, 0.15) 70%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        url("1920x800.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main .article_one .section_two {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10rem 10rem;
}

main .article_one .section_two div:nth-child(1) {
}

main .article_one .section_two div:nth-child(1) h1 {
    color: var(--color-white);
    font-size: 4rem;
    line-height: 4rem;
    text-align: center;
    padding: 1rem 0;
}

main .article_one .section_two div:nth-child(2) {
    display: flex;
    justify-content: center;
}

main .article_one .section_two div:nth-child(2) div {
    display: flex;
    width: 30rem;
    height: 0.8rem;
}

main .article_one .section_two div:nth-child(2) div div:nth-child(1) {
    background-color: var(--color-green);
    flex: 1 0 0;
}

main .article_one .section_two div:nth-child(2) div div:nth-child(2) {
    background-color: var(--color-white);
    flex: 1 0 0;
}

main .article_one .section_two div:nth-child(2) div div:nth-child(3) {
    background-color: var(--color-red);
    flex: 1 0 0;
}

main .article_one .section_two div:nth-child(3) {
}

main .article_one .section_two div:nth-child(3) p {
    color: var(--color-white);
    font-size: 2rem;
    line-height: 2.5rem;
    text-align: center;
    padding-top: 1rem;
}

main .article_one .section_two div:nth-child(4) {
    display: flex;
    justify-content: center;
}

main .article_one .section_two div:nth-child(4) a {
    display: block;
    text-align: center;

    padding: 1.2rem 2rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, #c62828, #4d0101);
    border: 0.1rem solid rgb(129, 126, 126);
    border-radius: 15px;
    box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.35);
    margin-top: 2rem;
}

main .article_one .section_two div:nth-child(4) a:hover {
    transform: scale(95%);
    cursor: pointer;
}

main > .article_two {
}

main > .article_two > .section_one {
}

main > .article_two > .section_one h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;

    font-size: 5rem;
    line-height: 5rem;
    padding: 1.5rem;

    text-align: center;

    background: linear-gradient(90deg, #4f3b1d 0%, #745a2c 25%, #9c7b45 50%, #745a2c 75%, #4f3b1d 100%);

    border-top: 1px solid rgb(204, 175, 175);
    border-bottom: 1px solid rgb(204, 175, 175);

    color: #302312;
    white-space: nowrap;
}

main > .article_two > .section_one h2::before,
main > .article_two > .section_one h2::after {
    content: "";

    display: block;

    width: 50rem;
    height: 2px;

    background: linear-gradient(to right, transparent, #e0c67c, transparent);
}

main > .article_two > .section_two {
    background-color: #2c2314;

    background: linear-gradient(90deg, #171310 0%, #2c2314 40%, #3a2d1d 70%, #1b1815 100%);
    /* background-image: url("b.png"); */

    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    padding: 5rem;
    gap: 2.5rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 35rem));
    justify-content: center;
    gap: 2.5rem;
}

/* oferty */

main > .article_two > .section_two > article {
    background-color: #33a333;
    width: 35rem;
    height: 26rem;
    overflow: hidden;
    border-radius: 25px;
    border: 1px solid rgb(143, 139, 139);

    position: relative;

    transition: 0.2s all linear;
}

main > .article_two > .section_two > article:hover {
    transform: translateY(-0.8rem);
    cursor: pointer;
}

main > .article_two > .section_two > article > .section_one {
    background-color: #000000;
    width: 35rem;
    height: 26rem;
}

main > .article_two > .section_two > article > .section_one img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(60%);
}

main > .article_two > .section_two > article > .section_two {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translatey(-50%);
}

main > .article_two > .section_two > article > .section_two div:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: center;
}

main > .article_two > .section_two > article > .section_two div:nth-child(1) div {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgb(88, 88, 88);
}

main > .article_two > .section_two > article > .section_two div:nth-child(1) div img {
    width: 100%;
    height: 100%;
}

main > .article_two > .section_two > article > .section_two div:nth-child(2) {
}

main > .article_two > .section_two > article > .section_two div:nth-child(2) h3 {
    font-size: 3rem;
    text-align: center;
    color: rgb(255, 248, 248);

    font-size: 3.2rem;
    font-weight: 700;
    margin-top: 1rem;
}

main > .article_two > .section_two > article > .section_two div:nth-child(3) p {
    font-size: 2rem;
    color: var(--color-white);
    text-align: center;

    font-size: 1.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

main {
    background-color: #000000;
}

main > .article_three {
    height: 500px;
    background-color: #000000;

    background-image: url("b.png");

    border-top: 1px solid white;
    border-bottom: 1px solid white;

    opacity: 0.5;
}

footer p {
    background-color: #000000;
    color: #fdf9f9;
    padding: 2.5rem;
    font-size: 2rem;
    text-align: center;
    /* border-top: solid white 0.5px; */
}


.article_four{
   background-image: url("t.png");
  
   opacity: 0.5;
}

/* Telefony i tablety */
@media (max-width: 1050px) {
    header .header__center {
        transition: transform 1s ease;
        transform: translateX(100%);
        position: fixed;
        top: 10rem;
        right: 0;
        height: calc(100vh - 10rem);
        width: 30rem;
        padding: 2.5rem 5rem;
        background-color: var(--color-black);
        border-left: 0.1rem solid var(--color-grey);
    }

    header .header__center ul {
        flex-direction: column;
        align-items: center;
    }

    header .header__center ul li {
    }

    header .header__center ul li a {
        display: flex;
        justify-content: center;
        position: relative;
    }

    header .header__center ul li a::after {
        position: absolute;
        height: 0.2rem;
        width: 0;
        border-radius: 0.7rem;
        content: "";
        transition: width 0.5s ease;
        top: 100%;
    }

    /* kreska pod linkiem */
    header .header__center ul li a:hover::after {
        width: 100%;
        background-color: var(--color-green);
    }

    header .header__right .header__button {
        display: block;
    }

    header .header__center.active {
        transform: translateX(0%);
    }

    header .header__right .header__button .header__menu_open.active {
        display: none;
    }

    header .header__right .header__button .header__menu_close.active {
        display: block;
    }

    main .article_one .section_two {
        padding: 2rem;
    }
}

@media (max-width: 750px) {
    main .article_one .section_one {
        background-image: url("imgs/750x1000.png");
    }

    main .article_one .section_two {
        left: 50%;
        transform: translateX(-50%);
        padding-top: 4rem;
    }

    main > .article_two > .section_two {
        grid-template-columns: repeat(auto-fit, 30rem);
    }

    main > .article_two > .section_two > article {
        background-color: #33a333;
        width: 30rem;
        height: 20rem;
        overflow: hidden;
        border-radius: 25px;
        border: 1px solid rgb(143, 139, 139);

        position: relative;

        transition: 0.2s all linear;
    }
}




.menu {
    padding: 8rem 5%;
   
}

.menu__title {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 6rem;
    background-color: #302312;
    color: white;
    width: 50rem;
    margin: 3rem auto;
}

.menu__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem;
}

.menu__category {
    font-size: 3.6rem;
    margin-bottom: 3rem;
}

.menu__item {
    margin-bottom: 3.5rem;
}

.menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .8rem;
    border-bottom: 2px dotted #2f7d32;
    padding-bottom: .5rem;
}

.menu__header h4 {
    font-size: 2.6rem;
    font-weight: 500;
}

.menu__header span {
    font-size: 2.4rem;
    font-weight: 600;
}

.menu__item p {
    font-size: 1.8rem;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 900px) {

    .menu__container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

}