/* GENERAL */

:root {
    --color-blue: #8fbedc;
    --color-blue-light-1: #c5e0eb;
    --color-blue-light-2: #dee7ee;
    --color-blue-dark: #01293f;
    --color-grey-dark: #1f1f1f;
    --color-white: #ffffff;
}

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%;
    }
}

body {
    font-size: 1.6rem;
    color: var(--color-black);
}

img {
    width: 100%;
}


/* GENERAL */

.container-header {
    background-image: -webkit-gradient(linear, right top, left bottom, from(var(--color-blue)), to(var(--color-blue-dark)));
    background-image: -o-linear-gradient(top right, var(--color-blue), var(--color-blue-dark));
    background-image: linear-gradient(to bottom left, var(--color-blue), var(--color-blue-dark));
    -webkit-box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
    box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
}

.navbar {
    padding: 0 2rem;
}

.navbar-brand {
    display: block;
    height: 100%;
}

.navbar-brand-heading {
    margin-left: 3.4rem;
    margin-right: 3.8rem;
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Play', sans-serif;
    color: var(--color-white);
    text-shadow: 0 .4rem .8rem rgba(0, 0, 0, .1);
}

.nav-item {
    background-color: var(--color-blue-light-2);
    margin-right: 1.3rem;
    -webkit-box-shadow: 0 .6rem 1.2rem rgba(0, 0, 0, .05);
    box-shadow: 0 .6rem 1.2rem rgba(0, 0, 0, .05);
}

.nav-link {
    display: block;
    width: 13.6rem;
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
    text-align: center;
    color: var(--color-blue-dark) !important;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    border-bottom: 6px solid var(--color-blue-dark);
}

.nav-item:hover {
    background-color: #eef2f5;
}

.nav-item:hover .nav-link::before {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.header-motto-box {
    position: relative;
}

.header-motto {
    position: absolute;
    top: 42%;
    left: 45%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 3rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
}

.header-motto span {
    display: block;
}

.header-motto--bigger {
    margin-top: 1.4rem;
    margin-left: 2rem;
    font-size: 3.2rem;
}

.header-img-box {
    position: relative;
    height: 26rem;
}

.header-img {
    position: absolute;
    bottom: -4rem;
    right: 4rem;
}

@media (max-width: 991.98px) {
    .header-motto {
        width: 70%;
        font-size: 2.6rem;
    }
    .header-motto--bigger {
        font-size: 2.8rem;
    }
}

@media (max-width: 767.98px) {
    .header-img-box {
        height: 22rem;
    }
    .header-img {
        width: 112%;
    }
}

@media (max-width: 575.98px) {
    .container-header {
        height: 28rem;
        background-image: -webkit-gradient(linear, right top, left bottom, from(rgba(143, 190, 220, .8)), to(rgba(1, 41, 63, .8))), url(../img/electrical_applience.png);
        background-image: -o-linear-gradient(top right, rgba(143, 190, 220, .8), rgba(1, 41, 63, .8)), url(../img/electrical_applience.png);
        background-image: linear-gradient(to bottom left, rgba(143, 190, 220, .8), rgba(1, 41, 63, .8)), url(../img/electrical_applience.png);
        background-position: center;
        background-size: cover;
    }
    .navbar-brand-heading {
        margin: 2rem 0 2rem 3.2rem;
        font-size: 3.2rem;
    }
    .navbar-nav {
        width: 100vw;
    }
    .nav-item {
        -webkit-box-flex: 30%;
        -ms-flex: 30%;
        flex: 30%;
    }
    .nav-item:first-child {
        margin-left: 1.3rem;
    }
    .nav-link {
        width: auto;
        padding: 1.2rem 1rem !important;
    }
    .header-motto-box {
        margin-top: 4rem;
    }
    .header-motto {
        position: relative;
        width: 100%;
        text-align: center;
        font-size: 2.2rem;
    }
    .header-motto--bigger {
        font-size: 2.6rem;
    }
}

.section {
    margin: 4rem 0;
}

.heading-secondary {
    margin-left: 4.4rem;
    margin-bottom: 1.8rem;
    color: var(--color-blue-dark);
    font-family: 'Exo 2', sans-serif;
    font-size: 2.7rem;
    font-weight: 800;
}

.section.section-about-us {
    margin-top: 12rem;
    padding-left: 5rem;
    padding-right: 4rem;
    background-color: var(--color-blue-light-2);
}

.about-us-info-col {
    padding: 4rem 2rem;
}

.text-box {
    text-indent: 2.3rem;
}

.on-contacts-link {
    font-weight: 600;
    color: var(--color-blue-dark);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.on-contacts-link:hover {
    text-decoration: none;
}

.partners-logo-col {
    margin-bottom: 8rem;
    padding: 0 3rem;
}

.partners-logo-box {
    height: 100%;
    background-color: var(--color-blue-light-1);
    -webkit-box-shadow: 0 .8rem 1rem rgba(0, 0, 0, .1);
    box-shadow: 0 .8rem 1rem rgba(0, 0, 0, .1);
    border-bottom: 2rem solid #338fc2;
    border-right: 2rem solid var(--color-blue);
    border-left: 2rem solid var(--color-blue);
}

.partners-logo-link {
    width: 58%;
    margin-bottom: 1.6rem;
    border-bottom: 1rem solid var(--color-blue-dark);
    border-right: 1rem solid var(--color-blue-dark);
    border-left: 1rem solid var(--color-blue-dark);
    -webkit-box-shadow: 0 .6rem 1.2rem rgba(0, 0, 0, .2);
    box-shadow: 0 .6rem 1.2rem rgba(0, 0, 0, .2);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.partners-logo-link.logo-link-2 {
    width: 64%;
}

.partners-logo-link:hover {
    border-bottom: 1rem solid #338fc2;
    border-right: 1rem solid var(--color-blue);
    border-left: 1rem solid var(--color-blue);
}

@media (max-width: 991.98px) {
    .partners-logo-box {
        padding-bottom: 3rem;
    }
    .partners-logo-link {
        margin: 0 1rem;
    }
}

@media (max-width: 767.98px) {
    .section.section-about-us {
        margin-top: 8rem;
    }
}

@media (max-width: 575.98px) {
    .section.section-about-us {
        margin-top: 2rem;
        padding-left: 3.8rem;
        padding-right: 3.8rem;
    }
    .heading-secondary {
        margin-left: 0;
    }
    .partners-logo-col {
        margin-bottom: 6rem;
        padding: 0 1rem;
    }
    .partners-logo-link {
        margin-bottom: 1.6rem;
    }
}

.section-about-partner {
    margin-top: 6rem;
    padding: 4rem;
}

.marpa {
    background-color: #e2eff5;
}

.heading-tertiary {
    width: 80%;
    padding: 1.6rem 0 1.6rem 3rem;
    -webkit-box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
    box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
    background-image: -webkit-gradient(linear, right top, left top, from(#338fc2), to(var(--color-blue)));
    background-image: -o-linear-gradient(right, #338fc2, var(--color-blue));
    background-image: linear-gradient(to left, #338fc2, var(--color-blue));
    color: var(--color-blue-dark);
    font-size: 2.1rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
}

.about-partner-text {
    margin-top: 3.6rem;
    padding: 2.6rem 3rem 2rem 3rem;
    border-bottom: 1.6rem solid #338fc2;
    border-right: 1.6rem solid var(--color-blue);
    text-align: justify;
    background-color: var(--color-white);
    -webkit-box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
    box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
}

.img-box-marpa {
    position: relative;
}

.marpa-img {
    display: inline-block;
    position: absolute;
}

.marpa-1 {
    width: 13%;
    top: 24rem;
    left: 0;
}

.marpa-2 {
    width: 46%;
    top: 15rem;
    right: 38%;
}

.marpa-3 {
    width: 34%;
    top: -8rem;
    right: 3%;
}

.marakowski {
    margin-top: 10rem;
    background-color: var(--color-blue-light-1);
}

.img-box-marakowski {
    position: relative;
}

.marakowski-img {
    position: absolute;
}

.marakowski-1 {
    width: 90%;
    top: -8rem;
    left: 0;
    z-index: 2;
}

.marakowski-2 {
    width: 80%;
    top: 16rem;
    left: 4rem;
    z-index: 1;
}

.marakowski-3 {
    display: block;
    margin: 0 auto;
    width: 80%;
    margin-top: 4rem;
}

@media (max-width: 991.98px) {
    .marpa-1 {
        width: 18%;
        top: 22rem;
        left: 40%;
        z-index: 3;
    }
    .marpa-2 {
        width: 50%;
        top: 15rem;
        left: 0;
    }
    .marpa-3 {
        width: 50%;
        top: -4rem;
        right: 3%;
    }
    .marakowski-1 {
        width: 100%;
        top: 0rem;
        left: 0;
        z-index: 2;
    }
    .marakowski-2 {
        width: 90%;
        top: 19rem;
        left: 4rem;
        z-index: 1;
    }
}

@media (max-width: 767.98px) {
    .section-about-partner {
        margin-top: 3rem;
        padding: 2rem;
    }
    .heading-tertiary {
        width: 100%;
    }
    .marpa-1 {
        width: 25%;
        top: 14rem;
        left: 45%;
        z-index: 3;
    }
    .marpa-2 {
        width: 60%;
        top: 14rem;
        left: -2rem;
        z-index: 2;
    }
    .marpa-3 {
        width: 50%;
        top: -6rem;
        right: -1rem;
    }
}

@media (max-width: 575.98px) {
    .img-box-marpa,
    .img-box-marakowski {
        height: 22rem;
    }
    .section-about-partner.marpa {
        margin-bottom: 10rem;
    }
    .marpa-1 {
        width: 6rem;
        bottom: 0;
        left: 47%;
        z-index: 3;
    }
    .marpa-2 {
        width: 14rem;
        bottom: 0;
        left: 10%;
        z-index: 2;
    }
    .marpa-3 {
        width: 10rem;
        top: 0rem;
        right: 10%;
    }
    .marakowski-1 {
        width: 30rem;
        top: -8rem;
        left: 15%;
        z-index: 2;
    }
    .marakowski-2 {
        width: 30rem;
        left: 15%;
        top: 10rem;
    }
    .marakowski-3 {
        width: 100%;
    }
}


/* CONTACTS */

.contacts-row {
    background-color: var(--color-blue);
    padding: 0 4rem 4rem 4rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.contacts-row .text-box {
    text-align: justify;
}

.form-col {
    padding-top: 4rem;
    padding-right: 4rem;
}

.map-box {
    height: 45rem;
    padding: 0 1.4rem 1.4rem 1.4rem;
    -webkit-box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
    box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .1);
}

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

.contacts-form-input,
.contacts-form-textarea {
    padding: .6rem 1.6rem;
    font-size: 1.4rem;
    font-family: inherit;
}

.contacts-form-textarea {
    margin-bottom: 1.2rem;
}

.contacts-form-input:focus,
.contacts-form-textarea:focus {
    border: none;
    border-bottom: 3px solid #457197;
    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 var(--color-white) inset !important;
}

.contacts-form-label {
    padding-left: 2rem;
    margin-top: .3rem;
    margin-bottom: .1rem;
    font-size: 1.5rem;
    font-weight: 600;
    -webkit-transition: all .3;
    -o-transition: all .3;
    transition: all .3;
}

.contacts-btn {
    padding: .6rem 3rem;
    border-radius: 4px;
    border: none;
    font-size: 1.6rem;
    color: var(--color-white);
    background-color: var(--color-blue-dark);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

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

.contacts-btn:hover {
    outline: none;
    background-color: #2d567a;
}

.contacts-info {
    margin-top: 2rem;
}

.contacts-info-img {
    height: 3.6rem;
    width: auto;
}

.contacts-info-text {
    margin-left: 1.2rem;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 2rem;
}

@media (max-width: 575.98px) {
    .form-col {
        padding: 4rem 1rem 1rem 1rem !important;
    }
    .contacts-row {
        margin-left: 0;
        margin-right: 0;
        padding: 0 2rem 4rem 2rem;
    }
}

.footer-container {
    background-image: -webkit-gradient(linear, right bottom, left top, from(var(--color-blue-dark)), to(var(--color-blue-light-1)));
    background-image: -o-linear-gradient(bottom right, var(--color-blue-dark), var(--color-blue-light-1));
    background-image: linear-gradient(to top left, var(--color-blue-dark), var(--color-blue-light-1));
}

.footer {
    margin-top: 12rem;
    padding: 4rem 4rem 2rem 4rem;
}

.footer .navbar-brand-heading {
    color: var(--color-blue-dark);
}

.footer-navbar-nav {
    list-style-type: none;
    margin-top: 4rem;
}

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

.footer .nav-item {
    background-color: var(--color-blue-dark);
}

.footer .nav-link {
    color: var(--color-white) !important;
}

.footer .nav-link::before {
    border-bottom: 6px solid var(--color-blue-dark);
}

.footer .nav-item:hover {
    background-color: #004c75;
}

.license {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    color: var(--color-blue-light-1);
}

@media (max-width: 991.98px) {
    .license {
        position: relative;
        margin-top: 4rem;
    }
    .footer-navbar-nav {
        margin-top: 1rem;
    }
    .footer .nav-link {
        padding: 1.6rem 0;
    }
}

@media (max-width: 767.98px) {
    .footer {
        margin-top: 8rem;
        padding: 2rem 2rem 1rem 2rem;
    }
    .footer-navbar-nav {
        padding-left: 0;
    }
    .footer .nav-link {
        width: 11.6rem;
        padding: 1.2rem 0;
    }
    .footer-img {
        width: 110%;
        margin-top: -8rem;
        margin-left: -4rem;
    }
}

@media (max-width: 575.98px) {
    .footer .nav-link {
        width: 100%;
    }
    .footer {
        background-image: -webkit-gradient(linear, right bottom, left top, from(rgba(1, 41, 63, .8)), to(rgba(197, 224, 235, .8))), url(../img/electrical_applience2.png);
        background-image: -o-linear-gradient(bottom right, rgba(1, 41, 63, .8), rgba(197, 224, 235, .8)), url(../img/electrical_applience2.png);
        background-image: linear-gradient(to top left, rgba(1, 41, 63, .8), rgba(197, 224, 235, .8)), url(../img/electrical_applience2.png);
        background-position: center;
        background-size: cover;
        padding: 4rem 0 2rem 0;
    }
}

.back-to-top-btn,
.menu-btn {
    position: fixed;
    z-index: 99;
    bottom: 2rem;
    right: 2rem;
    width: 6rem;
    height: 6rem;
    padding: 0;
    background-color: transparent;
    border-radius: 50%;
    border: none;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.back-to-top-btn:focus,
.menu-btn:focus {
    border: none;
    outline: none;
}

.back-to-top-btn:hover,
.menu-btn:hover {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.menu-btn {
    top: 2rem;
    left: 2.1rem;
    width: 6.6rem;
    height: 6.6rem;
}

.side-nav {
    height: 100%;
    width: 10rem;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow-x: hidden;
    padding-top: 6rem;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.show-side-nav {
    opacity: 1 !important;
    visibility: visible !important;
}

.side-nav::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
    background-image: -webkit-gradient(linear, left top, left bottom, from(var(--color-blue)), to(var(--color-blue-dark)));
    background-image: -o-linear-gradient(top, var(--color-blue), var(--color-blue-dark));
    background-image: linear-gradient(to bottom, var(--color-blue), var(--color-blue-dark));
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.side-nav.show-side-nav::before {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.side-nav a:hover {
    text-decoration: none;
}

.sidenav-link {
    display: block;
    width: 100%;
    padding: 3rem 0;
    margin-bottom: 1.6rem;
    text-decoration: none;
    text-align: center;
    background-color: var(--color-blue-light-2);
    color: var(--color-blue-dark);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    z-index: 10;
    -webkit-box-shadow: 0 .6rem 1.2rem rgba(0, 0, 0, .1);
    box-shadow: 0 .6rem 1.2rem rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.sidenav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right;
    -ms-transform-origin: right;
    transform-origin: right;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: -1;
}

.sidenav-link:hover::before {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.sidenav-link.active {
    background-color: var(--color-white);
    color: var(--color-blue-dark);
}

.close-btn {
    position: absolute;
    top: 0;
    right: 1.5rem;
    font-size: 3.6rem;
    margin-left: 5rem;
    color: var(--color-white);
    text-decoration: none;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.close-btn:hover {
    color: var(--color-white);
    -webkit-transform: scale(1.07);
    -ms-transform: scale(1.07);
    transform: scale(1.07);
}

@media (max-width: 991.98px) {
    .menu-btn {
        top: 1rem;
        left: 1rem;
        width: 5.6rem;
        height: 5.6rem;
    }
    .back-to-top-btn {
        bottom: 1rem;
        right: 1rem;
    }
}


/* /BACK TO TOP & MENU BTN*/

.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 #338fc2;
    border-right: 2.4rem solid var(--color-blue);
    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-blue-dark);
    font-family: 'Exo 2';
    font-weight: 700;
    font-size: 3rem;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

.success-img {
    position: absolute;
    bottom: -6rem;
    right: -4rem;
    height: 16rem;
    width: auto;
}

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