html {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f4f4f6;
}

:root {
    --color-primary: #4C8043;

}

*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

a.menu__link:hover {
    color: rgb(109, 109, 109);

}

img {
    max-width: 100%;
}

body {
    font-family: "Montserrat", sans-serif;

}






h2 {
    padding: 0;
    margin: 0;
}

.header__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.body-wraper {
    /* overflow: hidden; */
    width: 100%;
    position: relative;
}



.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
}

.logog {
    display: flex;
    align-items: center;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo {
    display: block;
}

.logo__img {
    width: 200px;
}

.header__burger-btn {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    z-index: 1000;
    cursor: pointer;
}

.gb-container.gb-container-619aa595 p {
    margin: 0;
}

figure.wp-block-image.size-full img {
    width: 100%;
    height: 464px;
    background: no-repeat;
    object-fit: cover;
    border-radius: 20px;
}

.header__burger-btn span {
    display: block;
    position: absolute;
    width: 30px;
    height: 3px;
    left: 5px;
    background-color: black;
    transition: background-color .3s, opacity .3s, transform .5s;
    will-change: transform;
}

.header__burger-btn:hover span {
    background-color: rgb(103, 103, 103);
}

.header__burger-btn span:nth-child(1) {
    transform: translateY(-10px);
}

/* .header__burger-btn span:nth-child(2) {} */

.header__burger-btn span:nth-child(3) {
    transform: translateY(10px);
}

/* nav#menu {
    display: flex;
    flex-direction: row;
} */

/* Крестик */

.header.open .header__burger-btn span {
    background-color: white;
}

.header.open .header__burger-btn span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.header.open .header__burger-btn span:nth-child(2) {
    opacity: 0;
}

.header.open .header__burger-btn span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.menu__list {
    display: flex;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu__item:not(:last-child) {
    margin-right: 20px;
}

.menu__link {
    font-size: 16px;
}

.head__contact__mobail {
    display: none;
}

a.btn__telegram {
    margin-right: 10px;
}

/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: rgb(0, 0, 0);
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
}



/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: fixed;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}



section.upnaw {
    background-color: #4B4B4B;
}

.upnaw__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upnaw__left {
    display: flex;
    align-items: center;
    gap: 1em;
}

.upnaw__right {
    display: flex;
    align-items: center;
    gap: 1em;
}

.upnaw__1 {
    display: flex;
    align-items: center;
    gap: 1em;
}

.upnaw__2 {
    display: flex;
    align-items: center;
    gap: 1em;
}

.upnaw__left p {
    color: white;
}


.upnaw__1 a {
    color: #6CEE3E;
}

.upnaw__2 a {
    color: #6CEE3E;
}

header.header {
    background: #4C8043;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 4em;
    margin-right: 10px;
}


.logo a {
    color: #fff;
}

.post {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #e6e6e6;
    padding: 40px;
    margin-bottom: 40px;
}

.gb-container-42d4bb14 {
    padding: 20px;
    background-color: #ededed;
    border-radius: 20px;
}

.about__right img {
    border-radius: 20px;
}

.modula-item.effect-pufrobo.jtg-filter-all.jtg-filter-.tiled.tile-v.tg-loaded {
    border-radius: 10px;
}









nav {
    color: #fff;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative;
    margin-right: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 7px 15px;
    font-size: 17px;
}

nav ul li a:hover {
    background-color: #000000;
    border-radius: 100px;
    color: #ffffff;
}

/* Стили для выпадающего списка */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    /* background-color: #333; */
    min-width: 150px;
    z-index: 1;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li {
    margin-right: 0;
}

nav ul li ul li a {
    padding: 5px 20px;
}


.hero {
    height: 650px;
    background-repeat: no-repeat;
    background-size: cover;
}

p.podzag__catalog {
    margin-bottom: 50px;
}

header.entry-header {
    text-align: center;
}

.post {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    width: 400px;
}

.post img {
    border-radius: 20px;
    margin-bottom: 20px;
    height: 160px;
    object-fit: cover;
    background-repeat: no-repeat;
    width: 100%;

}

.hero__body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
    padding-top: 35px;
}

.uslugi__body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.katalog__body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.about__body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
}

.priem__body {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #4d8043;
    margin: 0 100px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

.hero__body h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 45px;
    padding: 150px 0;
}

.hero__form {
backdrop-filter: blur(24px);
box-shadow: 0 4px 65px 0 rgba(0, 0, 0, 0.25);
background: rgba(255, 255, 255, 0.81);
margin-top: 70px;
border-radius: 20px;
-webkit-filter: var();
}

.hero__form h2 {
font-size: 30px;
text-align: center;
padding: 30px 0;
color: color(srgb 0.2961 0.5014 0.2642);
}

.hero__form p {
color: color(srgb 0.2961 0.5014 0.2642);
padding: 0 100px;
text-align: center;
margin: 0;
}

.hero__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 110px;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
padding: 10px;
background: #f0f8ff00;
border: solid;
border-color: color(srgb 0.2961 0.5014 0.2642);
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
padding: 10px 20px;
background: color(srgb 0.2961 0.5014 0.2642);
border: none;
flex-direction: row;
width: 100%;
margin-top: 30px;
color: white;
}

.hero__form h2 {
    color: #4c8043 !important;
}

.placeholder-red::placeholder {
        color: red;
    }

input::placeholder,
textarea::placeholder {
    color: #fff !important;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 100%;
    text-align: center;
    margin-top: 25px;
}

section#uslugi {
    margin: 50px 0;
}

section#katalog {
    margin: 50px 0;
}

h2.zagolovok {
    text-transform: uppercase;
    font-size: 35px;
    color: var(--color-primary);
    padding: 0px 0px 50px 0px;
    text-align: center;
}

.uslugi__card {
    background: #e6e6e6;
    padding: 20px;
    border-radius: 20px;
}

.uslugi__card img {
    border-radius: 20px;
}

.uslugi__card h2 {
    text-transform: uppercase;
    margin-top: 20px;
    color: var(--color-primary);
}

.uslugi__btn {
    text-align: end;
    padding-top: 20px;
}

.uslugi__btn a {
    background: var(--color-primary);
    padding: 8px 20px;
    color: #fff;
    border-radius: 100px;
}

.katalog__card {
    background: #e6e6e6;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
}

.katalog__card img {
    border-radius: 20px;
}

.katalog__card h2 {
    text-transform: uppercase;
    margin-top: 20px;
    color: var(--color-primary);
    text-align: center;
}

.katalog__btn {
    padding-top: 50px;
    text-align: center;
}

.katalog__btn a {
    background: var(--color-primary);
    padding: 8px 20px;
    color: #fff;
    border-radius: 100px;
}


section.about {
    background-image: url('/wp-content/themes/medvedev.agency/img/fonforma.png');
    background-repeat: no-repeat;
    /* запретить повторение изображения */
    background-size: cover;
    /* масштабировать изображение под размер дива */
    background-position: center;
    /* выровнять изображение по центру дива */

    padding: 50px 0;
}

.about__left h2 {
    color: white;
    font-size: 3em;
    text-transform: uppercase;
}

.about__left p {
    color: white;
}

.about__left a {
    color: var(--color-primary);
    font-size: 1.5em;
}

.about__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section#priem {
    padding: 100px 0;
}

h2.zagolovok2 {
    padding-bottom: 50px;
    color: var(--color-primary);
    font-size: 25px;
    text-transform: uppercase;
    text-align: center;
}

.priem__cart {
    text-align: center;
}

.priem__cart img {
    width: 70px;
    height: auto;
}

.priem__body h2 {
    margin-top: 20px;
    color: var(--color-primary);
    text-transform: uppercase;
}

section#gallery {
    text-align: center;
}

a.gallery__btn {
    background: var(--color-primary);
    padding: 8px 20px;
    color: #fff;
}

.gallery__body {
    margin-bottom: 50px;
}

.faq__zag {
    text-align: center;
}

section#faq {
    margin: 100px 0;
}

.accordion {
    background-color: #eee;
    color: var(--color-primary);
    border-radius: 0px;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin-bottom: 5px;
}

.active,
.accordion:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.panel {
    padding: 0 18px;
    transition: all 0.3s ease-in-out;
    max-height: 0;
    background-color: white;
    overflow: hidden;
}

button.accordion p {
    margin: 0;
}

.footer__body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
}

section#footer {
    padding: 50px 0;
    background-color: #eeeeee;
}

.footer__left {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer__center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer__right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer__left h2 {
    color: var(--color-primary);
    text-transform: uppercase;
    padding-left: 10px;
}

.footer__center a {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}


.footer__center svg {
    margin-right: 10px;
}


.portfolio__stranica {
    margin: 100px 0;
}

.portfolio__titel {
    margin-bottom: 100px;
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog__osnova {
    display: flex;
    column-gap: 20px;
    margin-bottom: 100px;
}

h1.entry-title {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    margin: 100px 0;
}

.blog__osnova {
    display: flex;
    column-gap: 20px;
    margin-bottom: 100px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

.post-thumbnail img {
    margin-bottom: 50px;
}

.zag_category {
    margin: 100px 0;
    text-align: center;
    font-size: 35px;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
}

h3.bast__zag {
    color: white;
}



.about__priem-inner{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  grid-row-gap: 10px;
}

.about__priem {
    margin: 35px 0;
}


p.text {
    font-size: 19px !important;
}

.icon {
    font-size: 18px;
    width: 40px!important;
    height: 40px!important;
    color: #fff;
    background: rgba(76, 128, 67, 1);
}

.footer__left img {
    width: 70px;
}

.about__uslugiii{
    margin-top: 30px;
    margin-bottom: 30px;
}










@media (max-width: 544px) {
    .header__burger-btn {
        display: block;
    }

    .blog__osnova {
        display: flex;
        column-gap: 20px;
        margin-bottom: 100px;
        flex-direction: column;
    }

    .post {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
        background-color: #e2e2e2;
        padding: 40px;
        width: 100%;
    }

    .about__priem-inner{
        display: grid;
        grid-template-columns: repeat(2, 1fr)!important;
      gap: 10px;
      grid-row-gap: 10px;
      text-align: center;
    }

    .upnaw__left {
        display: flex;
        align-items: center;
        gap: 1em;
        display: none;
    }

    .upnaw__2 {
        display: flex;
        align-items: center;
        gap: 1em;
        flex-direction: column;
    }

    .upnaw__1 {
        display: flex;
        align-items: center;
        gap: 1em;
        margin-top: 30px;
    }

    .about__priem-cart2 {
        position: relative;
        right: -90px;
        margin-bottom: 30px;
    }

    .hero__body {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: 1fr;
        grid-column-gap: 20px;
        grid-row-gap: 0px;
    }

    .uslugi__body {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: 1fr;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .about__right {
        display: none;
    }

    .about__body {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: 1fr;
        grid-column-gap: 20px;
        grid-row-gap: 0px;
    }

    .katalog__body {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: 1fr;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .priem__body {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: 1fr;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .footer__body {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: 1fr;
        grid-column-gap: 20px;
        grid-row-gap: 0px;
    }

    .hero__body h2 {
        color: #fff;
        text-transform: uppercase;
        font-size: 30px;
        padding: 35px 0 0px 0px;
        text-align: center;
    }

    h2.zagolovok2 {
        padding-bottom: 50px;
        color: var(--color-primary);
        font-size: 20px;
        text-transform: uppercase;
        text-align: center;
    }

    .upnaw__body {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 0 !important;
    }

    nav ul li a {
        color: #ffffff;
        text-decoration: none;
        display: block;
        padding: 7px 15px;
    }

    nav ul li a:hover {
        background-color: #ffffff !important;
        border-radius: 100px;
        color: #000000;
    }

    nav ul li ul li a {
        background-color: white;
        color: black;
    }

    .container {
        max-width: 1320px;
        padding: 0 10px;
    }

    .menu {
        position: fixed;
        right: -350px;
        top: 0;
        width: 350px;

        background-color: rgb(0, 0, 0);
        visibility: hidden;
        transition: transform .5s, visibility .5s;
        will-change: transform;
    }

    .menu__list {
        display: block;
    }

    .menu__item:not(:last-child) {
        margin-right: 0;
    }

    .menu__link {
        color: white;
        font-size: 21px;
        display: block;
        padding: 10px;
    }

    .header.open .menu {
        transform: translateX(-100%);
        visibility: visible;
    }

    .head__contact__pc {
        display: none;
    }

    .head__contact__mobail {
        display: flex !important;
    }

    nav#menu {
        z-index: 1;
        height: 100vh;
        display: flex;
        align-items: center;
        opacity: 92%;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .hero__right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 0px;
    }

}