/* GENERAL */

:root {
    --color-brown-light: #cba675;
    --color-brown-light-2: #bb9969;
    --color-gray: #989697;
}

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

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

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

@media (min-width: 1400px) {
    .container-extra {
        max-width: 1320px;
        margin: 0 auto;
    }
}

body {
    font-size: 1.6rem;
    color: var(--color-text);
    overflow-x: hidden;
}

p {
    text-indent: 2.2rem;
}


/* /GENERAL */


/* HEADER */

.header {
    background-color: var(--color-brown-light);
    padding: 1.2rem 4rem;
}

.brand-link {
    color: #ffffff;
    font-size: 2.6rem;
    text-shadow: .2rem .2rem .8rem rgba(0, 0, 0, .2);
}

.brand-link:hover {
    color: #ffffff;
}

.brand-link:hover {
    text-decoration: none;
}

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

.nav-link {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all .3s;
}

.nav-link:hover {
    color: #311f06;
    transform: translateY(-2px);
}

.slider img {
    width: 100%;
}

@media (max-width: 575.98px) {
    .heading-primary {
        text-align: center;
    }
    .brand-link {
        font-size: 2.2rem;
    }
    .nav {
        width: 100%;
        text-align: center;
    }
    .nav-list {
        width: 100%;
        padding-left: 0;
    }
}


/* /HEADER */


/* ABOUT US */

.about-us {
    background-color: var(--color-brown-light-2);
    padding: 4rem 0;
}

.heading-secondary {
    background-color: var(--color-brown-light-2);
    width: 70%;
    padding: 1rem 2rem;
    clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
    margin-left: -2px;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
}

.about-us-box {
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: .8rem .8rem 1.6rem rgba(0, 0, 0, .3);
    padding: 3.6rem 0;
}

.about-us-text {
    padding: 1rem 4rem;
}

.product-item:not(:last-child) {
    margin-bottom: 1rem;
}

.about-us-block-1 .about-us-text {
    flex: 50%;
}

.about-us-block-1 .about-us-imgs {
    flex: 50%;
}

.about-us-block-1 .about-us-imgs .about-us-img-1 {
    height: 40rem;
    width: auto;
}

.about-us-block-1 .about-us-imgs .about-us-img-2 {
    height: 30rem;
    width: auto;
}

.about-us-block-2 .about-us-imgs {
    text-align: right;
    padding-right: 8rem;
}

.about-us-imgs .about-us-img-3,
.about-us-imgs .about-us-img-4,
.about-us-imgs .about-us-img-5,
.about-us-imgs .about-us-img-6 {
    height: 16rem;
}


@media (max-width: 1199.98px) {
    .about-us-block-2 .about-us-imgs {
        text-align: center;
        padding-right: 0;
    }

    .about-us-block-2 .about-us-imgs img {
        width: 22%;
        height: auto;
    }
}

@media (max-width: 991.98px) {
    .about-us-block-1 .about-us-imgs .about-us-img-1 {
        display: none;
    }

    .about-us-block-1 .about-us-text {
        flex: 70%;
    }
    
    .about-us-block-1 .about-us-imgs {
        flex: 30%;
    }
}

@media (max-width: 767.98px) {
    .about-us-text {
        padding: 1rem 1.6rem;
    }
    .about-us-block-1 .about-us-imgs img {
        display: none;
    }

    .product-list {
        position: relative;
        z-index: 100;
    }
    .product-list::before {
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        position: absolute;
        opacity: .5;
        background-image: url("../img/oman1.jpg");
        background-size: auto 100%;
        background-position: right;
        background-repeat: no-repeat;
        z-index: -1;
    }
}

@media (max-width: 575.98px) {
    .heading-secondary {
        clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
    }

    .about-us-block-2 .about-us-imgs img {
        width: 48%;
        height: auto;
    }
}

/* /ABOUT US */


/* PARTNERS */

.partners {
    padding: 3rem 0;
    background-image: url("../img/materials-back.jpg");
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    height: 40rem;
}

.partners .heading-secondary {
    background-color: var(--color-gray);
}

.partners .container {
    height: 100%;
}

.partners-box {
    padding-top: 3rem;
    height: 100%;
}

.partners-box img {
    display: block;
    height: 14rem;
}

.partners-link {
    transition: all .3s;
    box-shadow: .6rem .6rem 1.8rem rgba(0, 0, 0, .2);
}

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

@media (max-width: 991.98px) {
    .partners-box img {
        height: 10rem;
    }
    .partners-link:not(:last-child) {
        margin-right: .8rem;
    }
}

@media (max-width: 575.98px) {
    .partners {
        height: auto;
    }
    .partners-box {
        padding-top: 0;
    }
    .partners-link:not(:last-child) {
        margin-bottom: .8rem;
    }
    .partners-box img {
        height: 10rem;
    }
}


/* /PARTNERS */


/* CONTACTS */

.contacts {
    background-image: url(../img/contacts-back4.jpg);
    background-size: cover;
    background-position: center;
    padding: 3.6rem 0;
}

.contacts .heading-secondary {
    background-color: #ffffff;
    color: #414141;
}

.contacts-form {
    width: 80%;
}

.contacts-form-input {
    height: 3.4rem;
    margin-bottom: 2rem;
}

.contacts-form-input,
.contacts-form-textarea {
    padding: .6rem 1.6rem;
    border: 1px solid var(--color-grey);
    font-size: 1.4rem;
    font-family: inherit;
}

.contacts-form-textarea {
    margin-bottom: 1.2rem;
    min-height: 14rem !important;
}

.contacts-form-input:focus,
.contacts-form-textarea:focus {
    border: none;
    border-bottom: 3px solid #109e1c;
    color: var(--color-grey-dark);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.contacts-form-input:focus:invalid {
    border-bottom: 3px solid #ce0210;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    box-shadow: 0 0 0 30px #ffffff inset !important;
}

.contacts-form-notification {
    text-align: right;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ce0210;
}

.contacts-btn {
    padding: .6rem 2rem;
    margin-left: auto;
    border: none;
    font-size: 1.5rem;
    background-color: #989697;
    box-shadow: .2rem .2rem .8rem rgba(0, 0, 0, .2);
    color: var(--color-text);
    font-weight: 600;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

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

.contacts-btn:hover {
    cursor: pointer;
    outline: none;
    background-color: #414141;
    color: #ffffff;
    font-weight: 500;
}

.contacts-add-info {
    margin-bottom: 1rem;
}

.contacts-add-info p {
    margin-bottom: .4rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.success-box {
    position: fixed;
    padding: 2rem 3rem;
    top: 40%;
    left: 50%;
    border-radius: 10px;
    -webkit-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    height: 16rem;
    width: 40rem;
    background-color: rgba(255, 255, 255, 0.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-blue);
    font-weight: 500;
    font-size: 2.6rem;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

.success-box p {
    text-indent: 0;
    text-align: center;
}

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

.succes-img {
    width: 4rem;
    position: absolute;
    bottom: 0;
    left: 0;
}

.contacts-info {
    margin-top: 1.6rem;
    padding: 1rem 2rem;
    background-color: rgb(152, 150, 151, .8);
    box-shadow: .4rem .4rem 1.2rem rgba(0, 0, 0, .2);
    font-weight: 600;
}

.contacts-info p {
    text-indent: 0;
    margin-bottom: .2rem;
}

@media (max-width: 575.98px) {
    .contacts-form {
        width: 100%;
        margin-bottom: 1.8rem;
    }
}


/* /CONTACTS */


/* FOOTER */

.footer {
    background-image: url("../img/concrete-back.jpg");
    background-size: cover;
    padding: 1.2rem 4rem;
}

.footer .nav-link:hover {
    color: #000000;
}

.footer-license {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.4rem;
}


/* /FOOTER */