/* GENERAL */

 :root {
    --color-olive: #dfbe21;
    --color-green: #005e09;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

@media (max-width: 1199.98px) {
    html {
        font-size: 58.5%;
    }
}

@media (max-width: 991.98px) {
    html {
        font-size: 55.25%;
    }
    .container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }
}

body {
    font-weight: 400;
    font-size: 1.5rem;
    color: #101010;
}

a:hover {
    text-decoration: none;
}

p {
    text-indent: 1.2rem;
}

img {
    width: 100%;
    height: auto;
}


/* /GENERAL */


/* TYPOGRAPHY */

.heading-secondary-box {
    filter: drop-shadow(.2rem .2rem .8rem rgba(0, 0, 0, .2))
}

.heading-secondary {
    position: relative;
    margin-bottom: 3rem;
    padding: 1.4rem 1rem 1.4rem 5rem;
    width: 80%;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
    background-image: linear-gradient(120deg, var(--color-olive) 70%, var(--color-green));
    color: #ffffff;
    text-shadow: .2rem .2rem .6rem rgba(0, 0, 0, .2);
    text-transform: uppercase;
    font-size: 2.2rem;
    font-weight: 700;
}

.heading-tertiary {
    width: 60%;
    margin-left: 3rem;
    margin-bottom: 1rem;
    padding-bottom: .8rem;
    padding-left: 4rem;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-bottom: 3px solid var(--color-green);
}


/* /TYPOGRAPHY */

.header {
    height: 7rem;
    margin-bottom: 2rem;
    padding: 0 4rem;
}


/* TOP NAVIGATION */

.navbar {
    height: 100%;
    padding: 0 4rem;
    background-color: var(--color-olive);
}

.navbar-brand {
    height: 100%;
}

.navbar-img {
    height: 10rem;
}

.navbar-list {
    list-style-type: none;
    margin-bottom: 0;
    height: 10.6rem;
}

.navbar-item {
    height: 100%;
    width: 12rem;
    filter: drop-shadow(.4rem .4rem 1.2rem rgba(0, 0, 0, .2));
    transition: all .3s;
}

.navbar-icon {
    width: 3rem;
    height: 3rem;
    fill: var(--color-green);
    transition: all .3s;
}

.navbar-link {
    display: block;
    height: 100%;
    -webkit-clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    background-color: #ffffff;
    text-align: center;
    color: var(--color-green);
    transition: all .3s;
}

.navbar-link h4 {
    margin-top: .4rem;
}

.navbar-item:hover .navbar-link {
    color: var(--color-olive);
}

.navbar-item:hover .navbar-icon {
    fill: var(--color-olive);
    transform: scale(1.1);
}

.slider-img {
    width: 100%;
}

@media (max-width: 575.98px) {
    .navbar-list {
        padding-left: 0;
        height: auto;
    }
    .navbar-item {
        flex: 48% 0 0;
        margin-bottom: .6rem;
    }
    .navbar-icon {
        margin-right: .4rem;
    }
    .heading-secondary {
        margin-bottom: 1.6rem;
        width: 100%;
        padding-left: 3rem;
    }
    .heading-tertiary {
        width: 90%;
        padding-left: 1rem;
    }
}


/* /TOP NAVIGATION */


/* GOODS */

.section {
    margin-top: 8rem;
}

.goods-img.img--1 {
    height: 18rem;
    width: auto;
}

.goods-img.img--2 {
    height: 22rem;
    width: auto;
}

.goods-img.img--3 {
    margin-top: -6rem;
    height: 26rem;
    width: auto;
}

.goods-img.img--4 {
    height: 26rem;
    width: auto;
}

.goods-img.img--5 {
    height: 20rem;
    width: auto;
}

.goods-item {
    margin-bottom: 1rem;
}

.goods-no-desc img {
    width: 60%;
    display: block;
    margin: 0 auto;
}

.goods-no-desc h3.heading-tertiary {
    width: 90%;
    margin: 0 auto;
    margin-top: 1.6rem;
    margin-bottom: .6rem;
    padding-left: 0;
    text-align: center;
}

@media (max-width: 575.98px) {
    .goods-img.img--3 {
        height: auto;
        width: 100%;
    }
    .goods-img.img--4,
    .goods-img.img--5 {
        display: block;
        height: auto;
        width: 80%;
        margin: 0 auto;
    }
}


/* /GOODS */


/* PARTNERS */

.section.partners {
    position: relative;
}

.section.partners::after {
    content: "";
    background-image: url(../img/business.png);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: auto 40rem;
    opacity: 0.2;
    top: 0;
    right: -5rem;
    bottom: 0;
    left: 3rem;
    position: absolute;
    z-index: -1;
}

.section.partners .partners-list {
    padding: 0 8rem;
}

@media (max-width: 991.98px) {
    .section.partners::after {
        content: "";
        background-image: url(../img/business.png);
        background-position: top right;
        background-repeat: no-repeat;
        background-size: auto 40rem;
        opacity: 0.2;
        top: 0;
        right: 0;
        bottom: 0;
        left: 3rem;
        position: absolute;
        z-index: -1;
    }
}

@media (max-width: 575.98px) {
    .section {
        margin-top: 3rem;
    }
}

.partners-list {
    list-style-type: none;
}

.partners-item {
    flex: 25%;
    margin: 1rem 2rem;
}

.partners-img {
    transition: all .3s;
}

.partners-link:hover .partners-img {
    transform: scale(1.1) translateY(-2px);
}

@media (max-width: 575.98px) {
    .section.partners .partners-list {
        padding: 1rem;
    }
}


/* CONTACTS */

.contacts-content {
    background-image: linear-gradient(110deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(../img/contacts-back-2.jpg);
    background-position: center;
    background-size: cover;
    padding: 1rem 4rem 4rem 4rem;
    margin: 0 10rem;
}

.contacts-text {
    font-weight: 600;
    margin-bottom: 2rem;
}

.contacts-info {
    font-weight: 600;
}

.contacts-info p {
    text-indent: 0;
}

.contacts-form-label {
    font-weight: 500;
    font-size: 1.4rem;
}

.form-control {
    background-color: #fff;
    border-bottom: 3px solid transparent;
    border: none;
    font-size: 1.5rem;
    transition: all .3s;
}

.form-control:focus {
    outline: none;
    border-color: transparent;
    border-bottom: 3px solid #31ad00;
    box-shadow: 0 1rem 2rem rgba(255, 255, 255, 0.1);
}

.form-control:focus:invalid {
    border-bottom: 3px solid #ff0000;
}

.form-btn {
    margin-left: auto;
    margin-top: 1rem;
    border: none;
    width: 10rem;
    height: 3.4rem;
    font-size: 1.6rem;
    background-color: var(--color-green);
    color: #fff;
    border-radius: .4rem;
    transition: all .3s;
}

.form-btn:hover {
    background-color: var(--color-olive);
    box-shadow: 0 .2rem .4rem rgba(0, 0, 0, .2);
}

.form-btn:focus {
    outline: none;
}

@media (max-width: 575.98px) {
    .contacts-content {
        margin-right: 0;
        margin-left: 0;
        padding: 1rem;
    }
    .form-btn {
        margin-bottom: 1rem;
    }
}


/* BOTTOM NAVIGATION */

.footer {
    background-image: linear-gradient(to left, var(--color-green), var(--color-olive));
    box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
}

.footer .navbar-img {
    height: 12rem;
    margin-top: 1.6rem;
}

.footer .navbar {
    background-color: transparent;
}

.licence {
    margin-top: 1.6rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
}

.licence p {
    margin-bottom: 0;
}


/* /BOTTOM NAVIGATION */

.success-box {
    position: fixed;
    padding: 2rem 3rem;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    height: 20rem;
    width: 40rem;
    border-bottom: 2.4rem solid var(--color-olive);
    border-right: 2.4rem solid var(--color-green);
    background-color: rgba(255, 255, 255, .9);
    -webkit-box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .2);
    box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .2);
    color: var(--color-text);
    font-family: "Gardens CM", sans-serif;
    font-weight: 700;
    font-size: 3rem;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

.show-success {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

p.success-message {
    text-indent: 0;
}

.back-to-top__img {
    width: 100%
}

.back-to-top__btn {
    display: none;
    position: fixed;
    z-index: 99;
    border: none;
    border-radius: 100px;
    background-color: var(--color-olive);
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s
}

.back-to-top__btn {
    bottom: 3rem;
    right: 2.1rem;
    width: 5.6rem;
    height: 5.6rem
}

.back-to-top__btn:hover {
    -webkit-box-shadow: .1rem .2rem .8rem rgba(0, 0, 0, .2);
    box-shadow: .1rem .2rem .8rem rgba(0, 0, 0, .2);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px)
}

.back-to-top__btn:active {
    -webkit-box-shadow: .1rem .2rem .4rem rgba(0, 0, 0, .2);
    box-shadow: .1rem .2rem .4rem rgba(0, 0, 0, .2);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0)
}

.back-to-top__btn:focus {
    outline: 0
}

@media (max-width:991.98px) {
    .back-to-top__btn {
        bottom: 1rem;
        right: 1.8rem
    }
}