/*
Theme Name: Malarka799
*/

body {
    background-color: #181818;
}


.oxanium {
    font-family: "Oxanium", sans-serif;
}

.link-active {
    color:#00A29A !important;
}

/* HEADER */

header {
    padding: 5px 20px;
    background: #070808;
    justify-content: space-between;
}

header .header-phone-link {
    text-decoration: none;
}

header .header-phone {
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    font-style: normal;
    color:#fff;
    text-decoration: none;
}
header .header-phone:hover {
    color: #00A29A;
}

header .header-left {

}
header .header-left a {
    font-size: 14px;
}


header .heartbeat-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

header .ak-heartbeat-btn {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 8px 10px 8px 10px;
    display: flex;
    align-items: center;
    background-color: rgba(0, 162, 154, 0.7);
    justify-content: center;
}
header .ak-heartbeat-btn:before,
header .ak-heartbeat-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 162, 154, 0.7);
}

header .ak-heartbeat-btn:before {
    z-index: 0;
    animation: pulse-border 1500ms ease-out infinite;
}

header .ak-heartbeat-btn.no-animation:before {
    z-index: 0;
    animation: none;
}

header .ak-heartbeat-btn:after {
    z-index: 1;
    transition: all 200ms;
}

header .ak-heartbeat-btn img {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
}

header .ak-heartbeat-btn span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 16px solid currentColor;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    color: #fff;
}

header .ak-heartbeat-btna:hover {
    color: #000;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}



















/*****BANNER******/
.home-banner {
    width: 100%;
    height: auto;
    min-height: 600px;
    background: #070808;
}

.home-banner .sl1 {
    background-size: cover;
    background-repeat: no-repeat;
    height: 780px;
    position: relative;
    display: flex;
    justify-content: center;
}
.home-banner-opacity {
    width: 100%;
    height: 780px;
    position: absolute;
    background: #000;
    opacity: 0.5;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.home-banner .sl1:hover .home-banner-opacity {
    opacity: 0;
}
.home-banner-text {
    font-size: 70px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    line-height: 75px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin-top: 10px;
    padding: 20px;
    font-family: "Jost", sans-serif;
}
.home-banner .sl1:hover .home-banner-text {
    color:#00A29A;
    /*text-shadow: #000 1px 0 8px;*/
    -webkit-text-shadow: 0px 1px 5px #000;
    -moz-text-shadow: 0px 1px 5px #000;
    text-shadow: 0px 1px 5px #000;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin-top: 15%;
}

.home-banner-smtext {
    color: #fff;font-size: 34px;
    text-decoration: none;
    max-width: 90%;
    font-weight: bold;
    text-align: center;
    margin-top: 30%;text-shadow: 1px 1px 2px #000;
}


.elementor-shape-fill {
    /*fill:#181818;*/
    /*fill:#181818;*/
    fill: #000;
}

.line-d {
    bottom: -5px;
    z-index: 1054;
    position: absolute;
    left: 0;
}

.bg-181818 {
    background-color:#181818;
}

.section-block {
    padding: 50px;
}

.section-block-portfolio h2 {
    background: #ffffff;
    background: -webkit-linear-gradient(to bottom, #ffffff 0%, #dcdcdc 100%);
    background: -moz-linear-gradient(to bottom, #ffffff 0%, #dcdcdc 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #dcdcdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 70px;
    font-weight: 500;
    margin-bottom: 50px;
    font-family: "Jost", sans-serif;
}





.block-portfolio-list-items {
    padding: 0 10px;
}
.block-portfolio-item-1 {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    height: 516px;
    border-radius: 30px;
    transform: scale(1);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-size: cover;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 20px;
    filter: grayscale(52%);
    text-decoration: none;
}
.block-portfolio-item-2 {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    height: 516px;
    border-radius: 20px;
    margin-top: 20px;
    transform: scale(1);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-size: cover;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 20px;
    filter: grayscale(52%);
    text-decoration: none;
}
.block-portfolio-item-3 {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    height: 626px;
    border-radius: 30px;
    transform: scale(1);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-size: cover;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 20px;
    filter: grayscale(52%);
    text-decoration: none;
}
.block-portfolio-item-4 {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    height: 404px;
    border-radius: 20px;
    margin-top: 20px;
    transform: scale(1);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-size: cover;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 20px;
    filter: grayscale(52%);
    text-decoration: none;
}
.block-portfolio-item-1:hover,
.block-portfolio-item-2:hover,
.block-portfolio-item-3:hover,
.block-portfolio-item-4:hover {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    transform: scale(1.05);
    filter: grayscale(0%);
}

.portfolio-item-brand {
    background-color: rgba(0, 162, 154, 0.7);
    color: #fff;
    text-transform: uppercase;
    border-radius: 10px;
    padding: 5px 10px;
    width: fit-content;
    margin-bottom: 10px;
    margin-left: 20px;
}
.portfolio-item-work {
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
    text-transform: uppercase;
    border-radius: 10px;
    padding: 5px 10px;
    width: fit-content;
    margin-bottom: 10px;
    margin-left: 20px;
}

.swiper-scrollbar-drag {
    background: #00A29A !important;
}

header {
    width: 100%;
    z-index: 9999;
}

.home-banner {
    padding-top: 60px !important;
}

.button-block {
    display: block;
    height: 300px;
    box-sizing: border-box !important;
    -webkit-font-smoothing: antialiased;
    transition: transform 0.4s;
    overflow: hidden;
    background: #000;

}



.button-block-paint {

    background-image: url('/wp-content/themes/malarka799/img/page-index/button-block-paint.png');

}
.button-block-kuzov {

    background-image: url('/wp-content/themes/malarka799/img/page-index/button-block-kuzov.png');
}
.button-block-kuzov, .button-block-paint {
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 1.0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.4s;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    position: relative;
    z-index: 98;
}
.button-block:hover .button-block-kuzov, .button-block:hover .button-block-paint{
    transform: scale(1.1);
    transition: transform 0.4s;
    opacity: 0.5;
    cursor: pointer;
}
.button-block-title {
    position: absolute;
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 99;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.button-block-title:hover {
    color:#fff;
}

.phonefooter {
    color:#fff;
}
.phonefooter:hover {
    color:#00A29A;
}


.c-black {color:#000;}
.c-white {color:#fff;}

@media (max-width: 980px) {
    .line-d {
        display: none;
    }
    .block-portfolio-item-1, .block-portfolio-item-2, .block-portfolio-item-3, .block-portfolio-item-4 {
        filter: grayscale(0);
    }
    .home-banner-smtext {
        margin-top:60%;
    }
}