* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    /* removes white space on the right side of the page! useful*/
}

body {
    font-family: 'Montserrat', sans-serif;
    flex-direction: column;
    text-justify: distribute-all-lines;
    margin: 0px;

}

/* Top section of the page */

.jumbotron {
    background: url(images/header.jpg) center center;
    background-size: cover;
    height: 230px;

}

#afterheader {
    background-image: linear-gradient(45deg, #e40b0b, #ad0e0e);
    height: 45px;
    max-height: 45px;
    width: 100%;
    margin-top: 3px;
}

/* CONTAINER OF LOGO AND CAROUSEL*/
.container-fluid {
    margin: 0;
    padding: 0;
}

/* LOGO AND CAROUSEL SECTION */
.logo {
    display: flex;
    justify-content: center;
}

#logo {
    height: 150px;
    margin: 60px 0 60px 30px;
}


.item1 {
    background: url("slides-img/maliny.png") center center;
    height: 250px;
}

.item2 {
    height: 250px;
    background: url("slides-img/maliny2.png")center center;

}

.item3 {
    background: url("slides-img/porzeczka.png")center center;
    height: 250px;

}

#myCarousel {
    margin-bottom: 10px;
    margin-top: 10px;
    height: 250px;

}

/*here we have to code border radius, cause there is a grey background under item background */
.item {
    border-radius: 20px 0 0px 20px;
    background-size: cover;
}

.carousel-control {
    border-radius: 20px 0 0px 20px;
}

.carousel-caption p {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 60px;
}

/* Styling navbar*/

#myNav {
    background-color: rgb(238, 101, 101);
    color: white;
    height: auto;
    border-radius: 0px;
    padding-left: 10px;
    padding-top: 0;
    text-align: center;
    z-index: 6;
    margin-bottom: 0px;
}

.navbar .navLink {
    color: white;
    background-color: rgb(238, 101, 101);
    font-size: 17px;
}

.newslink {
    cursor: pointer;
}


.navbar .navLink:hover {
    background-color: rgb(235, 157, 157);
    color: rgb(71, 69, 69);
}

.navbar .navLink:focus {
    background-color: rgb(235, 157, 157);
}

.navbar-brand {
    background-color: #e40b0b;
    color: white;
    width: 125px;
}

.navbar-brand:hover {
    color: black;
}

/* Styling navbar icons */
.navbar-toggle {
    border: 1px solid rgb(255, 255, 255, 0.5);
    margin-right: 20px;
    background: none;
}

.navbar-toggle:hover {
    opacity: 60%;
    background-color: none;
}


.icon-bar {
    color: white;
    background-color: white;
}

.flag {
    height: 25px;
    float: right;
    margin: 12px 7px;
    border-radius: 5px;
    cursor: pointer;
}

.flag:hover {
    opacity: 50%;
}

/* news window icons */

.fa-times {
    float: right;
    padding-top: 2px;
    padding-right: 5px;
}

.fa-times:hover {
    opacity: 50%;
    cursor: pointer;
}

.fa-bullhorn {
    margin-left: 15px;
}

/* Styling text */

/* styling header and icons*/
.headerrow {
    display: flex;
    justify-items: center;
    justify-content: center;
    text-align: center;
    margin: 50px 0 30px 0;
    position: relative;
    transition: 0.5s;
    gap: 0;

}


.text-header-h1 {
    text-align: center;
    color: rgb(92, 92, 92);
    transition: 0.5s;
    margin-left: 10px;
    margin-right: 10px;
    font-weight: bold;
}


.fruit-icon {
    max-width: 120px;
}

/* styling paragraphs */


.mainparagraph {
    font-size: 20px;
    margin: 20px 100px 0px 117px;
    padding-left: 50px;
    color: #8a7f7f;
    border-left: solid;
    border-color: #EE6565;
    text-justify: distribute-all-lines;
    text-align: justify;
}

.specificationsp a{
    font-size: 20px;
    padding-left: 10px;
    margin: 0 40px 7px 20px
}

.mainparagraph-products {
    font-size: 20px;
    margin: 20px 10px 50px 15px;
    padding-left: 50px;
    color: #8a7f7f;
    border-left: solid;
    border-color: #EE6565;
    text-justify: distribute-all-lines;
    text-align: justify;
}

.strong {
    font-weight: bold;
}

.text {
    overflow: hidden;
    width: 100%;
    height: 100%;
    text-justify: distribute-all-lines;
    text-align: justify;

    padding-bottom: 100px;
    background: opacity(1%)
}

.text p {
    margin-top: 50px;
}

.text ul {
    margin-left: 130px;
    list-style: none;
    width: auto;
}

.text li {
    color: #8a7f7f;
    font-size: 17px;
    padding-left: 10px 0;
    margin: 0 40px 7px 20px
}

.text li:before {
    content: "\";
    /* FontAwesome Unicode */
    font-family: FontAwesome;
    font-size: 1em;
    display: inline-block;
    margin-left: -1.3em;
    /* same as padding-left set on li */
    margin-right: 3px;
    width: 1.3em;
    /* same as padding-left set on li */
    color: rgb(130, 221, 134);
}

.text li:hover {
    transition: 0.2s;
    letter-spacing: 0.1em;
    color: #61798d;
}


.imageleft {
    margin: 55px 100px 40px 40px;
    float: left;
    width: 30%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    border: solid;
    border-color: #A1C46D;
    border-width: 3px;
}

.imageright {
    /* image is now responsive for resizing and zooming!*/
    margin: 55px 100px 40px 60px;
    float: right;
    width: 30%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    border: solid;
    border-color: #A1C46D;
    border-width: 3px;
}

/* styling images for products section */
.image-grid {
    margin-top: 30px;

}

.image-products-left {
    margin-top: 10%;
    max-width: 102%;
    min-width: 173px;
    height: auto;
    border-radius: 10px 0 0 10px;
    border-color: #A1C46D;
    mask-image: -webkit-gradient(linear, left top, left bottom,
            from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0.5)));
    ;
    filter: contrast(120%);
    /*
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom,
            from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0.5)));
    */
    display: none;
    border: solid;
    border-color: #A1C46D;
    border-width: 3px;
}


.image-products-right-1,
.image-products-right-2 {
    margin-top: 10%;
    max-width: 105%;
    height: auto;
    border-radius: 0 10px 10px 0;
    border-color: #A1C46D;
    filter: contrast(120%);
    /*mask-image: -webkit-gradient(linear, left top, left bottom,
            from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0.5)));
    ;
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom,
            from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0.5)));
    */
    display: none;
    border: solid;
    border-color: #A1C46D;
    border-width: 3px;
}

.image-products-right-1 {
    border-radius: 0 10px 0 0;

}

.image-products-right-2 {
    border-radius: 0 0px 10px 0;
    margin-top: 28px;
}

/* image for contact */
.imageright-contact {
    margin: 0;
    float: right;
    width: 97.5%;
    margin:5% 0% 0% 0%;
    max-width: 600px;
    height: auto;
    border-radius: 0 0 20px 20px;
    border: solid;
    border-color: #A1C46D;
    border-width: 3px;
    display: none;
}
.nopadding {
    padding: 0;
}

.map {
    border-radius: 0 10px 0 0;
    /* image is now responsive for resizing and zooming!*/
    margin: 4vw 12vw 10vw 10vw;
    float: right;
    width: 40%;
    min-height: 350px;
    max-width: 500px;
    max-height: 350px;
    border-radius: 20px;
}

.news {
    display: none;
}

.shownews {
    position: sticky;
    margin: 20px 20px 0 20px;
    top: 10px;
    left: 0;
    right: 0;
    bottom: 20px;
    width: auto;
    height: auto;
    z-index: 100;
    transition: 0.5s;
}

.newsheading {
    background-color: rgb(238, 101, 101);
    font-size: auto;
    color: white;
    font-weight: normal;
    height: 50px;
    border-radius: 10px 10px 0px 0px;
    display: block;
}

.newsh1 {
    padding: 15px;
    border: 2px solid rgb(233, 70, 70);
    border-radius: 10px 10px 0 0;
    background-color: rgb(238, 101, 101);
    border-bottom: none;
    font-size: 20px;
}
.fa-times{
    font-size: 35px;
    line-height: 1.3rem;
    margin-right: -8px;
}

.newsparagraph {
    background-color: white;
    border: solid 3px rgb(238, 101, 101);
    color: #5c5757;
    font-weight: normal;
    padding: 10px;
    height: 400px;
    border-radius: 0px 0px 10px 10px;
    border: 2px solid rgb(233, 70, 70);
    border-top: none;
}
.newsparagraph p{
    margin-left: 5px;
}

.qualityparagraph {
    font-size: 18px;
    margin: 50px 40px 50px 5px;
    padding-left: 10px;
    color: #8a7f7f;
    font-weight: bold;
    text-justify: distribute-all-lines;
    text-align: justify;
}

.qualityimg {
    height: 6.7em;
    float: left;
    transition: 1s;
    -webkit-transition: 1s;
    margin-bottom: 30px;
    margin-right: 30px;
}

.contacthead {
    font-size: 1.3em;
    transition: 0.5s;
}

.footer {
    height: 110px;
    width: auto;
    background-color: rgb(238, 101, 101);
    padding: 10px 10px;
    margin-bottom: 10px;
    font-size: 13px;
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
        /* removes white space on the right side of the page! useful*/
    }

    .jumbotron {
        margin-bottom: 10px;
        height: 150px;
    }

    #logo {
        margin: 15px 0px 15px 0;
        height: 100px;
    }

    .carousel-caption p {
        font-size: 23px;
        margin-bottom: 37px;
    }

    .carousel-control,
    .item {
        border-radius: 0px;
    }

    .item,
    #myCarousel {
        height: 180px;
    }

    .item {
        background-size: cover;
    }

    .navbar-brand {
        width: 70px;
        font-size: 13px;
    }

    /* styling text */
    /* styling header and icons*/
    .headerrow h1 {
        font-size: 25px;
        margin-top: 5px;
    }

    .fruit-icon {
        max-width: 70px;
        margin-top: 0px;
    }

    /* styling paragraph */
    .mainparagraph {
        margin: 20px 10% 20px 5%;
        padding-left: 20px;
        font-size: 13px;
        border: none;
    }

    .text {
        margin-top: 0;
    }

    .text li {
        font-size: 13px;
        margin-left: 0;
    }

    .imageright {
        margin: 55px 10% 10px 20px;
        border-radius: 7px;
        border: 2px solid #A1C46D;
    }

    .imageright-products {
        display: none;
    }

    .imageright-contact {
        display: none;
    }

    .newsh1 {
        font-size: 25px;
        height: 50px;
    }

    .newsheading {
        margin: 0;
        border-bottom: none;
    }

    .news {
        display: none;
    }

    .shownews {
        position: absolute;
        margin: 20px 20px 0 20px;
        top: 600px;
        bottom: 20px;
        width: auto;
        height: auto;
        z-index: 6;
        transition: 0.5s;
    }

    .qualityparagraph img {
        height: 30px;
        margin-right: 15px;
        margin-bottom: 0;
    }

    .qualityparagraph {
        font-size: 13px;
        margin-bottom: 0;
        margin: 50px 10% 50px 10%px;
    }

    .mainparagraph-products {
        font-size: 17px;
        margin: 20px 10% 50px 10%;
        color: #8a7f7f;
        border: none;
        text-justify: distribute-all-lines;
        text-align: justify;
        padding-left: 0;
    }

    .text ul {
        margin-left: 30%;
        list-style: none;
        width: auto;
    }

    .image-grid {
        display: none;
    }

    .image-products-left {
        margin-top: 30%;
    }

    .image-products-right-1,
    .image-products-right-2 {
        margin-top: 1%
    }

    .contacthead {
        font-size: 1.3em;
        transition: 0.5s;
    }

    .headerrow {
        margin-bottom: 0;
    }

    .footer {
        margin-top: 0;
        font-size: 10px;
    }

    .flag {
        float: none;
    }

    .map {
        float: none;
        width: 50%;
        margin: 40px 24vw 0 24vw;
        min-height: 100px;
        max-width: 600px;
        max-height: 400px;
        border-radius: 10px;
    }
}

@media (max-width: 1100px) {
    .image-products-left {
        margin-top: 10%;
    }

    .image-products-right-1,
    .image-products-right-2 {
        margin-top: 10%
    }
}

@media (min-width: 767px) and (max-width: 991px) {
    .image-products-left {
        margin-top: 18%;
    }

    .image-products-right-1 {
        margin-top: 18%
    }

    .image-products-right-2 {
        margin-top: 13%
    }

    .imageright-contact {
        max-width: 47%;
        margin: 2.5vw 0.8vw 1vw 0vw;
    }
    .map {
        float: none;
        margin-left: 30%;
    }
}