* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-Regular.ttf");
}

@font-face {
    font-family: Montserrat-Bold;
    src: url("../fonts/Montserrat-Bold.ttf");
}

@font-face {
    font-family: Montserrat-Medium;
    src: url("../fonts/Montserrat-Medium.ttf");
}

@font-face {
    font-family: NotoSerif-Bold;
    src: url("../fonts/NotoSerif-Bold.ttf");
}

body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3 {
    font-family: 'Montserrat-Bold', sans-serif;
    text-align: left;
}

h1 {
    font-size: 32px;
    color: #029034;
}

h2 {
    font-size: 24px;
    color: black;
}

h3 {
    font-size: 20px;
    color: black;
}

p, a {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    text-align: left;
    color: black;
}

p span {
    font-family: Montserrat-Bold, sans-serif;
}

.container {
    max-width: 1664px;
    width: calc(100% - 20px);
    margin: 0 auto;
    /*padding: 0 30px 0 30px;*/
    font-size: 0;
    position: relative;
}

.header {
    width: 100%;
    background-color: white;
    overflow: hidden;
    z-index: 100;
    padding-top: 15px;
    padding-bottom: 10px;
    position: sticky;
    top: 0;
}

.header.prime-header {
    position: relative;
}

.header:not(.prime-header):hover {
    background-color: white;
    background-image: -moz-linear-gradient(90deg, rgb(248, 246, 246) 0%, rgb(255, 235, 207) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 235, 207) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(255, 255, 253) 0%, rgb(255, 235, 207) 100%);
}

.header .container {
    display: grid;
    align-items: center;
    padding-bottom: 12px;
}

.container-first {
    grid-template-columns: 90px 1fr 450px;
}

.container-second {
    grid-template-columns: 132px 132px 1fr 365px;
}

.button_action_image {
    position: relative;
}

.button_action_image img {
    top: -90vh;
    /*top: 75px;*/
    left: 300px;
    position: fixed;
    object-position: 50% 50%;
    width: auto;
    height: 80vh;
    border: 3px #029034 solid;
    border-radius: 5px;
    box-shadow: 10px 10px 10px #85c497;
    cursor: default;
    opacity: 0;
    transition: all 0.5s linear;
    animation-delay: 10s;
}

.button_action:hover .button_action_image img {
    animation-name: action_Animation;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes action_Animation {
    from {
        opacity: 0;
        top: -90vh;
    }
    to {
        opacity: 1;
        top: 75px;
    }
}

.menu {
    justify-self: right;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu li {
    display: flex;
    align-items: center;
    margin-right: 30px;
    vertical-align: middle;
}

.menu li:last-child {
    margin-right: 0;
}

.menu li a {
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    color: #000;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px transparent solid;
}

.menu li:hover a {
    border-bottom: 2px #000 solid;
}

.menu li svg {
    transition: all 0.5s linear;
}

/*.menu li:hover svg {*/
/*    rotate: -400grad;*/
/*    scale: 125%;*/
/*}*/

.logotext {
    font-family: Montserrat, sans-serif;
    text-align: left;
    font-size: 16px;
}

.logotext div {
    font-size: 1em;
    font-weight: 900;
    line-height: 20px;
}

.logotext span {
    font-size: 0.8em;
    line-height: 14px;
}

.header_button {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: white;
    background-color: #029034;
    padding: 12px 19px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    /*box-shadow: 10px 10px 10px #85c497;*/
}

.header_button p {
    color: white;
}

.header_button_grey {
    background-color: #D9D9D9;
}

.header_button_grey p {
    color: #9E9E9E;
}

.header .header_button {
    margin-right: 10px;
}

.header .header_button:first-child p {
    margin-left: 8px;
}

.header .header_button:hover p {
    color: #ADFF00;
    transition: 0.5s;
}

.header .header_button:focus {
    background-color: #017C2D;
    transition: 0.5s;
}

.header .header_button:hover svg path {
    stroke: #ADFF00;
    transition: 0.5s;
}

.header-search-input {
    background: #fff url("../images/look.png") no-repeat;
    background-position-y: center;
    background-position-x: 10px;
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    color: #000;
    padding: 10px 20px 10px 44px;
    outline: none;
    margin-left: 20px;
    margin-right: 32px;
}

.header-search-input::placeholder {
    color: #DBDBDB;
}

.content {
    flex-grow: 1;
    overflow: auto;
}

/* *** значок на кнопке избранное ******************************** */

#favorite {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#favorite::after {
    content: attr(data-content);
    width: 20px;
    height: 20px;
    color: yellow;
    line-height: 20px;
    text-align: center;
    background: red;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    right: -15px;
}

#favorite[data-content=""]::after {
    display: none;
}

/* *** стрелки ********************/

.arrow_left, .arrow_right {
    position: absolute;
    top: calc(50% - 50px);
    background-color: #F0F0F0;
    border-radius: 50%;
    order: 100;
    width: 39px;
    height: 39px;
    cursor: pointer;
}

.arrow_left {
    left: 25px;
}

.arrow_right {
    right: 25px;
}

.arrow_left::before, .arrow_right::before {
    content: "";
    border-left: 2px solid black;
    border-bottom: 2px solid black;
    height: 13px;
    width: 13px;
    position: absolute;
}

.arrow_left::before {
    transform: rotate(45deg);
    top: 12px;
    left: 15px;
}

.arrow_right::before {
    transform: rotate(225deg);
    top: 12px;
    left: 8px;
}

/* *** footer ********************/

.footer {
    width: 100%;
    color: white;
    font-size: 16px;
    background-color: #029034;
    overflow: hidden;
    z-index: 100;
}

.footer:not(.prime-footer) {
    margin-top: 80px;
}

.footer.prime-footer {
    position: absolute;
    top: 102vh;
}

.footer-page1 {
    margin-top: 0;
}

.footer .container {
    display: grid;
    grid-template-columns: 130px 460px 1fr 210px;
    align-items: top;
    padding-top: 25px;
    padding-bottom: 15px;
}

.footer-block-4 {
    align-self: center;
}

.footer-block-3 {
    margin-right: 80px;
}

.footer a {
    display: block;
    text-decoration: none;
    color: white;
    margin-bottom: 6px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-block p {
    font-size: 14px;
    color: white;
    margin: 0 0 10px 10px;
}

.footer-block span {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
}

.footer-telefon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-svg svg {
    margin: 0 3px;
    cursor: pointer;
}

.footer-svg svg:hover path {
    fill: #c2fc04;
}

/* ***********************/

.displaynone {
    display: none;
}