/* GENERAL */

@font-face {
    font-family: "Evgenia Deco";
    src: url("../fonts/Evgenia\ Deco.ttf") format("truetype");
}

@font-face {
    font-family: "UniNeue";
    src: url("../fonts/UniNeueRegular.ttf") format("truetype");
}

:root {
    --color-orange: #ff6000;
    --color-text: #0e0e0e;
    --color-blue: #2591b4;
    --color-grey: #7a7a7a;
}

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;
    font-family: "UniNeue", sans-serif;
    color: var(--color-text);
    overflow-x: hidden;
}

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

p {
    text-indent: 2.2rem;
}


/* /GENERAL */


/* HEADER */

.header-box,
.footer-box {
    padding: 1rem 12.4rem;
    background-image: url(../img/header_decor.png);
    background-position: right;
    background-size: 53% auto;
    background-repeat: no-repeat;
}

.logo {
    height: 12.8rem;
    width: auto;
}

.company-info-list {
    list-style-type: none;
    margin-bottom: 0;
}

.company-info-item,
.contacts-mail {
    font-family: "UniNeue", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
}

.company-info-item.company {
    font-family: "Evgenia Deco", sans-serif;
    font-size: 2.6rem;
    letter-spacing: 1px;
}

.contacts-box {
    text-align: right;
    margin: 1rem;
}

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

.social-item {
    width: 2.2rem;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.social-item:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.social-item:not(:last-child) {
    margin-right: 1rem;
}

.nav-box {
    margin-left: auto;
}

.nav-item {
    border-radius: .4rem;
    background-color: var(--color-orange);
    -webkit-box-shadow: .2rem .2rem .6rem rgba(0, 0, 0, .2);
    box-shadow: .2rem .2rem .6rem rgba(0, 0, 0, .2);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.nav-item:hover {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    background-color: #fd6c11;
}

.nav-item:active {
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: .2rem .2rem .4rem rgba(0, 0, 0, .3);
    box-shadow: .2rem .2rem .4rem rgba(0, 0, 0, .3);
}

.nav-item:not(:last-child) {
    margin-right: 1.2rem;
}

.navbar .nav-link {
    padding-top: .6rem !important;
    padding-bottom: .6rem !important;
    padding-left: 1.4rem !important;
    padding-right: 1.4rem !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.5rem;
}

section {
    margin-top: 4rem;
    padding: 1rem 12rem;
}

.heading-secondary {
    display: inline-block;
    padding: 0 .4rem .8rem .4rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-text);
    text-transform: uppercase;
    font-size: 2.2rem;
    font-weight: 600;
}

.heading-secondary.white {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

@media (max-width: 1199.98px) {
    .header-box,
    .footer-box {
        padding: 1rem 2rem;
        background-size: 70% auto;
    }
    section {
        padding: 1rem 6rem;
    }
}

@media (max-width: 575.98px) {
    .header-box,
    .footer-box {
        height: 15rem;
        background-size: auto 100%;
    }
    section {
        padding: 1rem 2rem;
        margin-top: 2rem;
    }
    .slogan-box {
        overflow: hidden;
    }
    .slogan-box img {
        width: 120%;
        -webkit-transform: translateX(-10%);
        -ms-transform: translateX(-10%);
        transform: translateX(-10%);
    }
    .header-box .navbar {
        position: absolute;
        top: 15rem;
        right: 1rem;
        z-index: 10;
    }
    .nav-item:not(:last-child) {
        margin-right: 0;
        margin-bottom: .4rem;
    }
    .nav-item:active,
    .nav-item:hover {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}


/* ABOUT US */

.about-us-col {
    -webkit-box-flex: 48%;
    -ms-flex: 48% 0 0px;
    flex: 48% 0 0;
}

.about-us-col:not(:last-child) {
    margin-right: 4rem;
}

.about-us-img {
    display: block;
    margin: 0 auto;
    width: 88%;
    -webkit-box-shadow: .4rem .4rem 1.2rem rgba(0, 0, 0, .2);
    box-shadow: .4rem .4rem 1.2rem rgba(0, 0, 0, .2);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.about-us-img:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.about-us-img.img--1 {
    margin-top: 3rem;
}

.about-us-img.img--2 {
    margin-bottom: 3rem;
}

.about-us-list {
    display: block;
    margin: 0 auto;
    width: 86%;
}

.about-us-item {
    padding-bottom: .8rem;
}

@media (max-width: 575.98px) {
    .heading-secondary {
        max-width: 80%;
    }
    .about-us-col:not(:last-child) {
        margin-right: 0;
    }
    .about-us-list {
        width: 100%;
        margin-left: 2.6rem;
    }
    .about-us-img.img--1 {
        margin-top: 1rem;
        margin-bottom: 1.4rem;
    }
    .about-us-img.img--2 {
        margin-bottom: 1rem;
    }
}


/* SECTION EQUIPMENT */

section.equipments_rent {
    padding-top: 4rem;
}

.section-union-box {
    position: relative;
}

.section-union-box::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 90%;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: -o-linear-gradient(256deg, #fe931d 0%, #f15904 70rem, #25b4b1 70rem, #2591b4 100%);
    background-image: linear-gradient(194deg, #fe931d 0%, #f15904 70rem, #25b4b1 70rem, #2591b4 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
}

.text-white {
    color: #ffffff;
}

.equipments-box {
    margin-top: 3rem;
}

.equipments-imgs {
    height: 29rem;
    margin-right: 4.6rem;
}

.equipments-img {
    display: block;
    -webkit-box-shadow: .4rem .4rem 1.2rem rgba(0, 0, 0, .2);
    box-shadow: .4rem .4rem 1.2rem rgba(0, 0, 0, .2);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.equipments-img:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.equipments-img:hover {
    -webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    transform: scale(1.03);
}

.equipments-img.eq--1 {
    width: auto;
    margin-right: 1rem;
}

.equipments-img.eq--2 {
    margin-bottom: 1rem;
}

.equipments-img.eq--2,
.equipments-img.eq--3 {
    width: 20.6rem;
}

.equipments-item {
    margin-bottom: 1.2rem;
}

.license-box {
    position: relative;
    padding-bottom: 10rem;
}

.license-link {
    display: block;
    -webkit-box-shadow: .4rem .4rem 1.2rem rgba(0, 0, 0, .2);
    box-shadow: .4rem .4rem 1.2rem rgba(0, 0, 0, .2);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.license-link:hover {
    -webkit-transform: scale(1.03) translateY(-3px);
    -ms-transform: scale(1.03) translateY(-3px);
    transform: scale(1.03) translateY(-3px);
}

.contact-us-link-box {
    position: absolute;
    bottom: 0;
    right: 2rem;
    width: 30rem;
}

.contact-us-link-box img {
    position: relative;
    z-index: -2;
}

.contact-us-link {
    position: absolute;
    top: 7rem;
    left: -2rem;
    padding: .8rem 1.4rem;
    border-radius: 5px;
    text-decoration: none;
    background-color: #dfecf9;
    border: 4px solid #ffffff;
    color: var(--color-text);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.5rem;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.contact-us-link:hover {
    color: var(--color-text);
    background-color: #bdd7f1;
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.decor {
    position: absolute;
    height: 12rem;
    width: auto;
}

.decor.decor-blue {
    left: 0;
    top: 18%;
}

.decor.decor-orange {
    right: 0;
    top: 39.5%;
}

.rights-container {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: .4rem;
}

@media (max-width: 1199.98px) {
    .license-box {
        padding-bottom: 6rem;
    }
    .contact-us-link-box {
        position: absolute;
        bottom: 0;
        right: 1rem;
        width: 24rem;
    }
    .contact-us-link {
        top: 5.8rem;
        left: -2.8rem;
        padding: .6rem 1.2rem;
        border-radius: 5px;
        border: 2px solid #ffffff;
        font-size: 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .section-union-box::before {
        height: 96%;
        background-image: -o-linear-gradient(256deg, #fe931d 0%, #f15904 70%, #25b4b1 70%, #2591b4 100%);
        background-image: linear-gradient(194deg, #fe931d 0%, #f15904 70%, #25b4b1 70%, #2591b4 100%);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 94%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 94%, 0% 100%);
    }
    .equipments-box {
        margin-top: 0;
    }
    .rent-list,
    .equipments-list {
        margin-left: 2.4rem;
    }
    .equipments-imgs {
        margin-right: 0;
        height: auto;
    }
    .equipments-img.eq--1 {
        width: 80%;
        margin: 0 auto;
    }
    .equipments-img.eq--2,
    .equipments-img.eq--3 {
        width: 90%;
        margin: 0 auto;
    }
    .license-box {
        padding-bottom: 12rem;
    }
    .contact-us-link-box {
        position: absolute;
        bottom: 0;
        right: 1rem;
        width: 18rem;
    }
    .contact-us-link {
        top: 7.8rem;
        left: -3.8rem;
        padding: .6rem 1.2rem;
        border-radius: 5px;
        border: 2px solid #ffffff;
        font-size: 1.4rem;
    }
}


/* CONTACTS */

section.contacts {
    margin-bottom: 6rem;
}

.heading-forth {
    font-weight: 600;
}

.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: #aad5be;
    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 {
    outline: none;
    background-color: #3d9b69;
    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;
}

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


/* BACK TO TOP BTN */

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

.back-to-top__btn {
    display: none;
    position: fixed;
    z-index: 100;
    border: none;
    border-radius: 100px;
    background-color: var(--color-orange);
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    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: 2.8rem;
        right: 2.8rem
    }
}

@media (max-width: 575.98px) {
    .heading-forth {
        font-size: 1.8rem;
    }
    .footer-box .nav-box {
        margin-left: 0;
        margin-top: 2rem;
        width: 100%;
    }
    .footer-box .navbar-nav {
        text-align: center;
        width: 100%;
    }
    p,
    ul {
        font-size: 1.8rem;
    }
    p {
        text-align: justify;
    }
    .contacts-form {
        width: 100%;
    }
    .contacts-form-input,
    .contacts-form-textarea,
    .contacts-add-info p {
        font-size: 1.6rem;
    }
    .contacts-add-info p {
        text-indent: 0;
    }
    .contacts-btn {
        margin-bottom: 2rem;
    }
}