body {
    margin: 0;
    padding: 0;
    font-family: Arial;
}

a {
    text-decoration: none;
}

.we-made-main, header, .advantages-main, .green-line, .partner-main,
    .map-main div, .last-news-main, .footer-body, .about-office-body, .about-story,
    #width{
    width: 1200px;
    margin: auto;
}

header {
    text-align: center;
    height: 140px;
}

.row {
    display: flex;
    justify-content: space-between;
}

.row-evenly {
    display: flex;
    justify-content: space-evenly;
}

.row-start {
    display: flex;
    justify-content: start;
}

.row-center {
    display: flex;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.p-1 {
    padding-left: 1em;
}

header li {
    list-style: none;
}

header li a{
    text-transform: uppercase;
    text-decoration: none;
    color: #2B2A29;
    transition: .3s;
}

header li a:hover{
    color: #3FAB3C;
}

.active {
    background-color: #3FAB3C;
    padding: 2px 10px;
}

.active a {
    color: white;
    font-weight: 500;
}

.active a:hover {
    color: white;
}

.banner-text-main {
    width: 610px;
    top: -350px;
    left: 100px;
    position: relative;
}

.banner-text-main strong, .partner-main strong:nth-child(1), .map-main strong, .last-news-main strong, .about-office-text strong, .about-story-header strong, #header {
    color: #3FAB3C;
    font-weight: 900;
    font-size: 32px;
    text-transform: uppercase;
}

#date {
    font-size: 15px;
    color: #3FAB3C;
    font-style: normal;
}

#sub_header {
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
}

#banner {
    width: 100%;
}

.banner-text-main p {
    color: white;
    font-weight: 400;
    font-size: 15px;
}

.we-made-main p {
    text-align: center;
    font-weight: 900;
    font-size: 20px;
}

.we-made-main {
    margin-top: -180px;
    margin-bottom: 50px;
}

.advantages-main {
    margin-top: 50px;
}

.advantages-main div {
    width: 300px;
    height: 250px;
    text-align: center;
    padding: 8px;
}

.advantages-main div:nth-child(even){
    background-color: #F6F6F6;
}

.advantages-main strong {
    font-weight: 900;
    text-transform: uppercase;
    color: #3FAB3C;
    font-size: 20px;
}

.advantages-main p {
    text-align: start;
    font-size: 15px;
    color: #2B2A29
}

.advantages-main img {
    margin-top: 35px;
}

.green-line{
    margin: 40px auto;
    border: none;
    height: 1px;
    background-color: #3FAB3C;
}

.partner-main strong:nth-child(4) {
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
}

.partner-main img {
    margin-right: 30px;
}

.green-button {
    color: white;
    font-weight: 900;
    font-size: 20px;
    border-radius: 50px;
    background-color: #3FAB3C;
    border: 1px solid #3FAB3C;
    padding: 9px 20px;
}

.green-button:hover{
    background-color: white;
    color: #3FAB3C;
    cursor: pointer;
}


.green-button-inline {
    color: #3FAB3C;
    font-weight: 900;
    font-size: 20px;
    border-radius: 50px;
    background-color: white;
    border: 1px solid #3FAB3C;
    padding: 9px 20px;
}

.green-button-inline:hover {
    background-color: #3FAB3C;
    color: white;
    cursor: pointer;
}


.map-main {
    background-color: #F6F6F6;
    text-align: center;
    padding: 40px 0px;
}

.last-news-main {
    text-align: center;
}

.last-news-main-block {
    width: 30%;
    margin: auto;
    text-align: start;
    padding: 0 15px;
}

.last-news-main img {
    width: 300px;
}

.news-header {
    font-weight: 900;
    font-size: 16px;
    height: 40px;
    text-transform: uppercase;
}

.news-body {
    font-size: 15px;
    line-height: 1;
    height: 90px;
}

.last-news-main .row div div {
    text-align: center;
}

footer {
    background-color: #3FAB3C;
    color: white
}

footer a{
    color: white
}

.footer-body-info {
    width: 55%;
}

.footer-body-contact img {
    height: 20px;
    width: 20px;
    align-self: center;
}

.footer-body {
    padding-top: 20px;
}

.footer-body-contact p {
    margin: 9px 5px;
}

.footer-body-header {
    height: 40px;
}

.footer-body-link a {
    display: block;
    height: 15px;
}

.footer-body-link a:hover{
    cursor: pointer;
    color: #e5e5e5;
}

/*//////////////////////////////////// ABOUT US*/

.about-office, .production-first, .production-second, .production-four, .catalog, .cooper-item:nth-child(odd) {
    background: #F6F6F6;
}

.about-office-body {
    padding: 70px 0;
}

.about-item {
    width: 360px;
    height: 600px;
    padding: 15px;
}

.about-item strong {
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
}

.about-item em {
    color: #3FAB3C;
    font-style: normal;
}

.about-list {
    flex-wrap: wrap;
}

/*////////////////////////////////////// PRODUCT*/

.production-first img {
    padding: 0px 20px;
}

.we-made-main.production {
    margin-top: 0;
}

.production-third img {
    padding-right: 10px;
}

.production-four  .production-second-text{
    width: 33%;
}


/*///////////////////////////////// CATALOG*/

.catalog img {
    object-fit: contain;
    height: 360px;
    align-self: center;
}

.catalog > #width > div {
    width: 70%;
}

.cooper-item {
    height: 560px;
    width: 340px;
    font-size: 15px;
    padding: 25px;
}

.cooper-item ul li {
    line-height: 1.1;
}

.cooper-item ul {
    padding-left: 15px;
}

.cooperation .row {
    flex-wrap: wrap;
}

/*/////////////////////////// PARTNER*/

.partner-text > div {
    width: 40%;
    margin: 0 auto;
}

.partner-img #header {
    font-size: 20px;
}

.partner-img img {
    height: 62px;
    width: 66px;
}

table {
    border-collapse: separate;
    border-spacing: 20px 0em;
    margin: auto;
    margin-bottom: 80px;
}

th {
    background-color: #1d9718;
    color: white;
    text-transform: uppercase;
}

td a {
    text-align: center;
}

/*tr:not(:first-child) {*/
/*    -webkit-box-shadow: 0px 0.5px 0px 0px #3FAB3C;*/
/*    -moz-box-shadow: 0px 0.5px 0px 0px #3FAB3C;*/
/*    box-shadow: 0px 0.5px 0px 0px #3FAB3C;*/
/*}*/

tr:nth-child(odd) {
    background-color: #f2f2f2;
}

td, th {
    padding: 9px 14px;
    font-size: 16px;
}

/*//////////////////////////////////////// contact*/

.contact input[type='text'], .contact input[type='tel'], .contact input[type='email'] {
    padding: 5px;
    height: 45px;
    border: 1px solid rgba(0, 0, 0, 0.075);
    margin-bottom: 10px;
    color: #727272 !important;
    box-shadow: 0px 4px 4px 0px #0000000D;
    font-size: 14px;
    width: 90%;
}

.contact textarea {
    color: #727272 !important;
    font-size: 14px;
    width: 96%;
    border: 1px solid rgba(0, 0, 0, 0.075);
    box-shadow: 0px 4px 4px 0px #0000000D;
}

.contact-body div:nth-child(1), .contact-body div:nth-child(2) {
    width: 50%;
}

.contact-first {
    height: 130px;
    margin-top: 15px;
}

.contact-first p {
    margin: 0;
}

.contact-body img {
    height: 45px;
}

#subheader {
    text-transform: uppercase;
    color: #000000;
    font-size: 20px;
    font-weight: 900;
}

#link-back {
    color: #3FAB3C;
    font-weight: 700;
    font-size: 15px;
}

.menu #logo {
    margin-top: 15px;
}

.hamburger-menu #logo {
    margin-top: 10px;
}
/*/////////////////////////// news*/

.news-page-body img {
    height: 359px;
}
.news-page-body #header {
    margin: 0;
}

#mr-0 {
    margin: 0
}

#pl-1 {
    padding-left: 1em;
}

.news-block .news-header, .news-block #date {
    font-size: 21px;
}

.news-body-page {
    width: 60%;
    font-size: 18px;
    height: 50px;
}

.news-block-page {
    margin: 60px;
}

/*////////////////////////// partner*/

.partner-body-img img {
    width: 190px;
    height: 142px;
    object-fit: cover;
    padding: 10px;
}

.partner-body-img {
    width: 35%;
    margin-right: 35px;
}

.partner-body-contact p {
    margin: 0;
}

.partner-body-contact a {
    color: #3FAB3C;
}

.sticky {
    width: 100%;
    position: fixed;
    background: white;
    height: 70px;
    align-items: center;
    margin-top: -75px;
    z-index: 2;
    box-shadow: 0px 4px 4px 0px #0000000D;
}

.sticky li:nth-child(1){
    margin-left: -60px;
}

@media (max-width: 1200px) {
    .we-made-main, header, .advantages-main, .green-line, .partner-main,
    .map-main div, .last-news-main, .footer-body, .about-office-body, .about-story,
    #width{
        width: auto !important;
    }
    .banner-text-main {
        top: -300px;
    }
    .advantages-main div {
        width: 25%;
    }
    .about-office-body, .m-20 {
        margin: 0 20px !important;
    }
    .about-item {
        width: 335px;
    }
    .catalog-img {
        width: 100%;
    }
    .cooper-item{
        width: 315px;
    }

}

@media (max-width: 1100px) {
    .partner-main strong:nth-child(1) {
        font-size: 25px !important;
    }

    .news-header {
        height: 55px;
    }

    .about-item {
        width: 46%;
    }

    .production-first .row p {
        font-size: 14px;
    }

    #product-second {
        display: none;
    }

    .contact-body.row {
        flex-wrap: wrap;
    }

    .contact-body > div {
        width: 100% !important;
    }

    .production-four .row > *, .production-third .row > *, .catalog > .row > * {
        width: 100% !important;
    }

    .production-four .row > img, .production-third .row img {
        height: 350px;
        object-fit: cover;
    }

    .production-four .row, .production-third .row, .catalog .row {
        flex-wrap: wrap;
    }

    .cooper-item {
        width: 275px;
        height: 600px;
    }

    .partner-body.row-start {
        display: block;
    }

    .partner-body-img {
        width: 100%;
    }

    .partner-body-img > .row-start {
        justify-content: center;
    }

    .partner-body-contact {
        text-align: center;
    }

    .partner-body-img img {
        width: 310px;
    }
    .partner-body-text {
        margin-left: 20px;
    }
}
@media (max-width: 1000px) {
    .we-made-list.row img{
        height: 65px;
    }
    .partner-main strong:nth-child(4) {
        font-size: 15px;
    }
    .about-office-body.row{
        flex-wrap: wrap;
    }
    .about-office-text, .about-office-body img {
        width: 100%;
    }
    .cooper-item {
        width: 43%;
        height: 460px;
    }
    .cooper-item ul li {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .banner-text-main {
        top: -250px;
    }
    .partner-main strong:nth-child(1) {
        font-size: 20px !important;
    }
    .partner-main {
        padding-bottom: 30px;
    }
    .last-news-main-block:nth-child(3){
        display: none;
    }
    .last-news-main-block {
        width: 40%;
        margin: unset;
    }
    .last-news-main > .row {
        justify-content: center;
    }
    .partner-img #header {
        font-size: 15px;
    }
    .footer-body-link {
        display: none;
    }
    .news-page-body.row-start {
        flex-wrap: wrap;
    }
    .news-page-body img {
        width: 100%;
        height: auto;
    }
    .news-page-text p:not(:first-child) {
        text-align: justify;
    }
}

@media (max-width: 800px) {
    .first-banner {
        height: 400px;
    }
    .we-made-list.row img{
        width: 65px;
        padding: 0 10px;
    }
    .advantages-main div {
        width: 46%;
    }
    .advantages-main div:nth-child(even){
        background-color: white;
    }
    .we-made-list.row, .advantages-main.row, .partner-main.row {
        flex-wrap: wrap;
    }
    .partner-main img, .about-item img {
        width: 100%;
    }
    .partner-main-button {
        text-align: center;
    }
    .partner-main-text {
        width: 90%;
        margin: auto;
    }
    .last-news-main img {
        width: 270px;
    }
    .about-item {
        height: auto;
        width: 80%;
        padding: 66px 0;
        margin: auto;
        border-bottom: 1px solid;
    }
    .production-first .row > *, .partner-text > div {
        width: 100%;
    }
    .production-first .row, .partner-text.row {
        flex-wrap: wrap;
    }
    .cooper-item {
        width: 100%;
        height: max-content;
    }
    .cooper-item ul li {
        font-size: 16px;
    }
    td, th {
        font-size: 13px;
    }
    table img {
        width: 18px;
    }
    table {
        border-spacing: 0px 0em;
    }
    .news-block-page img {
        width: 250px;
        object-fit: cover;
    }
    .production-first img {
        width: 90% !important;
    }
}

@media (max-width: 700px) {
    .banner-text-main {
        width: 500px;
        top: -300px;
    }
    .news-header {
        font-size: 14px;
    }
    .partner-img div {
        width: 100%;
        margin-bottom: 35px;
    }
    .partner-img.row-evenly{
        flex-wrap: wrap;
    }
    td, th {
        padding: 9px 5px;
    }
    .footer-body > * {
        width: 100%;
        margin-bottom: 30px;
    }
    .footer-body {
        width: 80% !important;
        flex-wrap: wrap;
    }
    .footer-body-link {
        display: block;
    }
    .footer-body-link > .row{
        justify-content: center;
    }
    .footer-body-link > .row div{
        padding: 0px 25px;
        text-align: center;
    }
    .footer-body-link > .footer-body-header{
        text-align: center;
    }
}
@media (max-width: 600px) {
    .banner-text-main {
        width: 375px;
        left: 30px;
    }
    .we-made-main {
        margin-top: -240px;
    }
    .news-body {
        height: 115px;
    }
    .news-header {
        height: 65px;
    }
    .last-news-main img {
        width: 220px;
    }
    .about-item {
        padding: 50px 0;
    }
    .news-block-page img {
        width: 100%;
    }
    .news-block-page .row-start {
        flex-wrap: wrap;
    }
    .news-block-page .news-header {
        height: 35px;
    }
    .news-block-page .news-body {
        height: max-content;
    }
    .contact-body > .row > div {
        width: 100%;
    }
    .contact-body > .row {
        flex-wrap: wrap;
        text-align: center;
        margin-top: 35px;
    }
    .contact-first {
        height: auto;
    }
}

@media (max-width: 500px) {
    .advantages-main div {
        width: 90%;
        margin: auto;
    }

    .advantages-main p {
        text-align: center;
    }

    .advantages-main div:nth-child(even) {
        background-color: #F6F6F6;
    }

    .last-news-main > .row {
        flex-wrap: wrap;
    }

    .last-news-main-block {
        width: 80%;
        padding: 15px 0px;
        text-align: center;
    }

    .last-news-main img {
        width: 320px;
    }

    .news-body, .news-header {
        height: auto;
    }

    tr {
        display: grid;
        box-shadow: none !important;
        margin: 30px 0px;
    }

    td {
        width: 100%;
        padding: 4px 0px;
    }

    table {
        width: 80%;
        margin-bottom: 5px;
    }

    table:before {
        content: 'Наші партнери';
        color: #3FAB3C;
        font-weight: 900;
        text-transform: uppercase;
        font-size: 32px;
    }

    td:nth-child(1), td:nth-child(2):before, td:nth-child(3):before, td:nth-child(4):before, td:nth-child(5) a:before {
        color: #3FAB3C;
        font-weight: 900;
        text-transform: uppercase;
    }

    tr:nth-child(1), td:nth-child(5) img {
        display: none;
    }

    td:nth-child(2):before {
        content: 'Назва: ';
    }

    td:nth-child(3):before {
        content: 'Адрес: ';
    }

    td:nth-child(4):before {
        content: 'Контакти: ';
    }

    td:nth-child(5) a:before {
        content: 'Детальніше...';
    }

    .partner-body-img .row-start {
        flex-wrap: wrap;
    }

    .partner-body-img img {
        width: 100%;
    }
    .contact-body form .row {
        flex-wrap: wrap;
    }
    .contact-body form .row div {
        width: 100%;
    }
    .contact textarea {
        width: 92%;
    }
}

@media (max-width: 400px) {
    .first-banner {
        height: 500px;
    }
    .banner-text-main {
        width: 275px;
        top: -400px;
    }
    .we-made-main {
        margin-top: -325px;
    }
    .second-banner {
        display: none;
    }
    .news-header {
        height: 75px;
    }
    .catalog-img {
        display: none;
    }
    .news-block-page .news-header {
        height: 50px;
    }
    .footer-body{
        width: 95% !important;
    }
    .hamburger-menu #logo {
        width: 250px;
        margin-top: 15px;
    }
}