body {
    margin: 0 auto;
    padding: 0 auto;
    /* max-width: 1100px; */
}


x-img {
    width: 100%;
    max-width: 1100px;
    display: block;
}

.x-left-side {
    width: 50%;

}

x-img1 {}

.x-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

/* SEKCJA 1 */
.x-sec-1 {
    background-color: white;
    display: flex;
    margin-bottom: 5rem;
    height: 40.625rem;
}

.x-sec-2 {
    background-color: white;
    display: flex;
    margin-bottom: 5rem;
    height: 650px;
}

.x-text-1 {
    flex: 1;
    padding: 2rem 6rem;
}

.x-text-2 {
    flex: 1;
    padding: 2rem 6rem;
    order: 2;
}

.x-text-h2 {

    margin-bottom: 1rem;
    font-size: 2rem;
}

.x-text-p2 {
    font-family: Lato;
    color: #8E8E8E;
    font-size: 1.2rem;
}

.x-img-1 {
    flex: 1;
}

.x-img-2 {
    flex: 1;
    order: 1;
}

/* RED BUTTON */
.x-buy-now {
    background-color: #CD2829;
    border: none;
    margin-top: 2rem;
    padding: 1rem 1rem;
}

.x-buy-now>a {
    font-size: 1rem;
    font-family: Lato;
    color: white;
    text-decoration: none;
    padding: 1rem 1rem;
    text-transform: uppercase;
}

.x-buy-now:hover {
    background-color: white;
    border: 2px solid #CD2829;
    color: black;
}

.x-buy-now>a:hover {

    color: black;
    font-weight: 800;
    padding: 1rem 1rem;
}

/* BLACK BUTTON */
.x-product-card {
    background-color: black;
    border: none;
    margin-top: 2rem;
    padding: 1rem 1rem;
}

.x-product-card>a {
    font-size: 1rem;
    font-family: Lato;
    color: white;
    text-decoration: none;
    padding: 1rem 1rem;
    text-transform: uppercase;
}

.x-product-card:hover {
    background-color: white;
    border: 2px solid black;
    color: black;
}

.x-product-card>a:hover {

    color: black;
    font-weight: 800;
    padding: 1rem 1rem;
}

.x-number {
    margin: 4rem 4rem 0rem 4rem;
}

.x-right-side {
    order: 2;
    width: 50%;
}

/*RESPONSIVE */
/* // Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .x-header {
        height: 380px;
    }

    .x-wrapper {
        max-width: 500px;
    }

    .x-sec-1 {
        max-width: 500px;
        margin-bottom: 1rem;
        height: 800px;
        display: flex;
        flex-wrap: wrap;
    }

    .x-number {
        margin: 0;
    }

    .x-number>img {
        width: 40%;
    }

    .x-text-1 {
        padding: 0 0 2rem 1rem;

    }

    .x-sec-2 {
        max-width: 500px;
        margin-bottom: 3rem;
        height: 800px;
        display: flex;
        flex-wrap: wrap;
    }


    .x-text-2 {
        padding: 0 0 2rem 1rem;
    }

    .x-text-h2 {
        font-size: 1.5rem;
    }

    .x-text-p2 {
        font-size: 1.1rem;
    }

    .x-img-1>img {
        width: 100%;
        height: 440px;
        object-fit: cover;
    }

    .x-right-side {
        order: 1;
        width: 100%;
    }

    .x-left-side {
        width: 100%;
    }

    .x-img-2>img {
        width: 100%;
        height: 440px;
        object-fit: cover;
    }

    .x-img-1 {
        flex: unset;
    }

    .x-img-2 {
        flex: unset;
    }
}

/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .x-header {
        height: 380px;
    }

    .x-wrapper {
        max-width: 500px;
    }

    .x-sec-1 {
        overflow: hidden;
        margin-bottom: 4rem;
        max-width: 900px;
        height: 800px;
        display: flex;
        flex-wrap: wrap;
    }

    .x-number {
        margin: 0;
    }

    .x-number>img {
        width: 40%;
    }

    .x-text-1 {
        padding: 0 0 2rem 1rem;

    }

    .x-sec-2 {
        overflow: hidden;
        margin-bottom: 4rem;
        max-width: 900px;
        height: 800px;
        display: flex;
        flex-wrap: wrap;
    }

    .x-text-2 {
        padding: 0 0 2rem 1rem;
    }

    .x-text-h2 {
        font-size: 1.5rem;
    }

    .x-text-p2 {
        font-size: 1.1rem;
    }

    .x-img-1>img {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

    .x-right-side {
        order: 1;
        width: 100%;
    }

    .x-left-side {
        width: 100%;
    }

    .x-img-2>img {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

    .x-img-1 {
        flex: auto;
    }

    .x-img-2 {
        flex: auto;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .x-header {
        height: 500px;
    }

    .x-wrapper {
        max-width: 700px;
    }

    .x-sec-1 {
        overflow: hidden;
        margin-bottom: 4rem;
        max-width: 900px;
        height: 800px;
        display: flex;
        flex-wrap: wrap;
    }

    .x-number {
        margin: 0;
    }

    .x-number>img {
        width: 40%;
    }

    .x-text-1 {
        padding: 0 0 2rem 1rem;

    }

    .x-sec-2 {
        overflow: hidden;
        margin-bottom: 4rem;
        max-width: 900px;
        height: 800px;
        display: flex;
        flex-wrap: wrap;
    }

    .x-text-2 {
        padding: 0 0 2rem 1rem;
    }

    .x-text-h2 {
        font-size: 1.5rem;
    }

    .x-text-p2 {
        font-size: 1.1rem;
    }

    .x-img-1>img {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

    .x-right-side {
        order: 1;
        width: 100%;
    }

    .x-left-side {
        width: 100%;
    }

    .x-img-2>img {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

    .x-img-1 {
        flex: auto;
    }

    .x-img-2 {
        flex: auto;
    }

}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1200px) {
    .x-header {
        height: 700px;
    }

    .x-wrapper {
        max-width: 900px;
    }

    .x-sec-1 {
        overflow: hidden;
        margin-bottom: 4rem;
        max-width: 900px;
        height: 500px;
    }

    .x-number {
        margin: 0;
        padding-left: 2rem;
        padding-top: 2rem;
    }

    .x-number>img {
        width: 75%;
    }

    .x-text-1 {
        padding: 2rem 3rem;
    }

    .x-sec-2 {
        overflow: hidden;
        margin-bottom: 4rem;
        max-width: 1100px;
        height: 500px;
    }

    .x-text-2 {
        padding: 2rem 3rem;
    }

    .x-text-h2 {
        font-size: 1.5rem;
    }

    .x-text-p2 {
        font-size: 1.1rem;
    }
}