@font-face {
    font-family: 'RexBold';
    src: url('fonts/RexBold.eot');
    src: url('fonts/RexBold.eot') format('embedded-opentype'),
    url('fonts/RexBold.woff2') format('woff2'),
    url('fonts/RexBold.woff') format('woff'),
    url('fonts/RexBold.ttf') format('truetype'),
    url('fonts/RexBold.svg#RexBold') format('svg');

}


@font-face {
    font-family: 'RexLight';
    src: url('fonts/RexLight.eot');
    src: url('fonts/RexLight.eot') format('embedded-opentype'),
    url('fonts/RexLight.woff2') format('woff2'),
    url('fonts/RexLight.woff') format('woff'),
    url('fonts/RexLight.ttf') format('truetype'),
    url('fonts/RexLight.svg#RexLight') format('svg');
}

@font-face {
    font-family: 'RexBoldInline';
    src: url('fonts/RexBoldInline.eot');
    src: url('fonts/RexBoldInline.eot') format('embedded-opentype'),
    url('fonts/RexBoldInline.woff2') format('woff2'),
    url('fonts/RexBoldInline.woff') format('woff'),
    url('fonts/RexBoldInline.ttf') format('truetype'),
    url('fonts/RexBoldInline.svg#RexBoldInline') format('svg');
}

body {
    margin: 0px;
    padding: 0px;
    min-width: 1024px;
}

h1, h2, h3, p {
    font-style: normal !important;
    font-weight: normal !important;
}

button {
    background-color: white;
}

.header-page {
    background-image: url(../images/promo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 750px;

}

.vk {

}

.instagram {

}

.social-icon {
    display: inline-block;
    width: 47%;
    text-align: center;

}

.social-icon a {
    color: black;
    text-decoration: none;
    text-align: center;
    font-size: 38px;
    transition: 0.5s;
}


.group-social {
    width: 35%;
    margin: 0 auto;
    /*	padding-top: 10px; */
    position: relative;
    top: 10px;
    margin-bottom: 15px;
}

.social-icon a:hover {
    color: #f5e039;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}


.group-social-footer .social-icon a {
    font-size: 20px;
}

.group-social-footer .social-icon {
    width: 20%;
}

.cover_bg {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.4) 20px, #f5e039 760px);
}

.clearfix::before {
    content: "";
    display: table;
    clear: both;
}

.contacts p {
    margin: 0px;
    padding: 0px;
    font-size: 25px;
}

.place {


}


.wrapper {
    margin: 0 auto;
    width: 950px;
}

.contacts {
    float: right;
    margin-top: 30px;
    font-family: 'RexBoldInline';
    text-align: end;
}


@keyframes rotate-phone-hover {
    0% {
        color: #f5e039;
        transform: rotate(10deg);
    }

    30% {
        color: #f5e039;
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(10deg);
    }


}


@keyframes rotate-phone {
    0% {
        color: #f5e039;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
        transform: rotate(10deg);
    }

    30% {
        color: #f5e039;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(10deg);
    }


}

.fa.fa-phone {
    font-size: 35px;
    margin-right: 15px;
    animation-name: rotate-phone;
    animation-duration: 1s;

}

.fa.fa-map-marker {
    font-size: 35px;
    margin-right: 15px;
    animation-name: rotate-phone;
    animation-duration: 1s;

}


.fa.fa-phone:hover {
    animation-name: rotate-phone-hover;
    animation-duration: 1s;
}

.logo h2 {
    padding: 0px;
    margin: 0px;
    font-family: 'RexBold';
    font-size: 40px;

}

.logo-text {
    text-align: center;
}

.logo {
    float: left;
    margin-top: 30px;
}


.descript-logo {
    text-align: center;
    font-size: 16px;
    font-family: 'RexBoldInline';
    margin: 0px;
    padding: 0px;
    margin-top: 10px;

}


.promo h1 {
    margin: 0px;
    padding: 0px;
    font-family: 'RexBold';
    color: white;
    font-size: 65px;
}

.promo h2 {
    margin: 0px;
    padding: 0px;
    font-family: 'RexBoldInline';
    font-size: 20px;
    color: #f5e039;
    margin-top: 16px;
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 7px;
}

.fa.fa-key {
    color: black;
    transform: rotate(80deg);
    margin-left: 10px;
    transition-duration: 0.5s;
}

.fa.fa-key:hover {
    color: #f5e039;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}


.desc-promo {
    background-image: linear-gradient(to left, transparent, black);
    float: left;
    width: 550px;
    height: 20px;
    border-bottom: 2px solid black;
    border-right: 2px solid black;
}

.line-bottom {
    float: left;
    margin-left: 560px;
    margin-top: -34px;
    border-top: 2px solid black;
    width: 320px;
}

.promo {

    margin-top: 190px;

}


.desc-promo_bottom {

    margin-top: 50px;
    padding: 10px;
    width: 531px;
    font-family: 'RexBoldInline';
    line-height: 23px;
    font-size: 17px;
    background-image: linear-gradient(to left, transparent, black);
    color: #f5e039;
}

.action {
    float: right;
    margin-top: 10px;
    margin-right: 10px;

}

.action-desc {
    position: relative;
}

.action-desc p {
    margin: 0px;
    padding: 0px;
    font-family: 'RexBoldInline';
    font-size: 20px;
    text-shadow: 1px 1px 5px rgba(245, 224, 57, 0.2);
    position: absolute;

}


.first-text {
    top: 40px;
    left: 100px;
}

.second-text {
    top: 68px;
    left: 100px;
}

.action-btn {
    margin-top: 150px;
    margin-left: 300px;
    width: 300px;
    height: 40px;
    border-radius: 100px;
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
    cursor: pointer;
    position: relative;
    transition-duration: 1s;

}

.action-btn p {
    color: #f5e039;
    font-family: 'RexBold';
    font-size: 28px;
    font-weight: bolder;
    text-align: center;
    padding-top: 7px;
    padding-left: 10px;
    transition-duration: 1s;
}

.fa.fa-paper-plane {
    position: absolute;
    top: 10px;
    left: 20px;
    color: #f5e039;
    transition-duration: 1s;
}

.action-btn:hover {
    background-image: linear-gradient(to top left, rgba(255, 255, 255, 0.8), transparent 60%);
    transition-duration: 1s;
    color: black;

}

.advantages {
    background-color: black;
    background-image: url(../images/drill.png);
    background-repeat: no-repeat;
    background-position: center top 200px;
    height: 1000px;
    position: relative;
}

.beetwen-advan {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 1.0), transparent);
    position: absolute;
    top: -50px;
    left: 0px;
    width: 100%;
    height: 70px;

}

.beetwen-button {
    width: 20%;
    height: 50px;
    cursor: pointer;
    margin-left: 40%;
    margin-top: 23px;
    background-color: #ffffff00;
    border-color: #f0f8ff00;
}

.title-adv {
    margin: 0px;
    padding: 0px;
    color: #f5e039;
    text-align: center;
    padding-top: 100px;
    font-size: 55px;
    font-family: 'RexBold';
}

.rect-adv {
    border-left: 1px solid #f5e039;
    border-right: 1px solid #f5e039;
    border-top: 1px solid #f5e039;
    width: 480px;
    height: 130px;
    display: table;
    margin: auto;
    margin-top: 30px;
}

.group-adv-1 {
    float: left;
    margin-left: 55px;
    height: 200px;
    position: relative;

}

.group-adv-1::after {
    content: "";
    border-left: 1px solid #f5e039;
    height: 250px;
    position: absolute;
    top: 30px;
    left: 2px;
    z-index: 5;
}

.block-adv p {
    margin: 0px;
    padding: 0px;
    text-align: center;
    padding-top: 30px;
    font-size: 22px;
    color: black;
    font-family: 'RexBoldInline';
}

.block-adv {
    background-image: url(../images/iron_texture.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 200px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 150px;
    position: relative;
}

.last-block {
    background-image: url(../images/iron_texture.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 200px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 150px;
    display: table;
    margin: auto;
    margin-top: 500px;
    position: relative;
}

.last-block p {
    margin: 0px;
    padding: 0px;
    text-align: center;
    padding-top: 30px;
    font-size: 22px;
    color: black;
    font-family: 'RexBoldInline';
}

.last-block i {
    color: white;
    font-size: 50px;
    position: absolute;
    top: -65px;
    left: 70px;
}

.block-adv i {
    color: white;
    font-size: 50px;
    position: absolute;
    top: -65px;
}

.group-adv-1 .block-adv i {
    left: 20px;
}

.group-adv-2 .block-adv i {
    right: 20px;
}

.group-adv-2 {
    float: right;
    margin-right: 55px;
    height: 250px;
    position: relative;

}

.group-adv-2::after {
    content: "";
    border-left: 1px solid #f5e039;
    height: 250px;
    position: absolute;
    top: 30px;
    right: 2px;
}


.services {
    background-color: #f5e039;
    height: 2800px;

}

.services-title {
    margin: 0px;
    padding: 0px;
    text-align: center;
    font-size: 55px;
    font-family: 'RexBoldInline';
    padding-top: 100px;
}


.card-services {

    margin-top: 80px;
    width: 400px;
    height: 370px;
    padding-bottom: 50px;
    background-color: white;
    float: left;


}

.card-services:nth-child(2n) {
    float: right;

}

.card-services:nth-child(2n + 1) {
    float: left;
}

.card-services:nth-child(2n) .block-top .cover-services {

    background-image: linear-gradient(10deg, rgba(0, 0, 0, 0.2), rgba(245, 224, 57, 0.5));

}


.card-services h3 {
    text-align: center;
    font-family: 'RexBold';
    font-size: 25px;
}

.card-services p {
    text-align: center;
    font-family: 'RexBoldInline';
    font-weight: bold;
    font-size: 20px;
}

.card-services button {
    display: table;
    margin: auto;
    font-family: 'RexBold';
    border: 3px solid #f5e039;
    font-size: 22px;
    width: 170px;
    height: 50px;
    padding: 14px;
    cursor: pointer;
    transition-duration: 0.5s;

}

.card-services button:focus {
    outline: none;
    background: none;
}

.card-services button:hover {
    background-color: #f5e039;
    color: white;
}

.block-top {
    position: relative;
    overflow: hidden;

}

.cover-services {
    position: absolute;
    top: 0px;
    background-image: linear-gradient(-10deg, rgba(0, 0, 0, 0.2), rgba(245, 224, 57, 0.5));
    width: 100%;
    height: 100%;
    transition-duration: 1s;
}


.popup {
    display: none;
    z-index: 10;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100%;
    transition-duration: 1s;

}

.close-popup p {
    margin: 0px;
    padding: 0px;

}

.close-popup {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 36px;
    background-color: #f6e02a;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    text-align: center;
    cursor: pointer;
    color: black;

}

.floater {
    float: left;
    height: 20%;
    width: 100%;
    margin-bottom: -50px;
}

.popup .cont {
    position: relative;
    clear: both;
    height: 480px;
    width: 580px;
    display: table;
    margin: auto;
    background-color: rgba(18, 17, 17, 0.8);
}


.container-form {

    padding-top: 100px;
    margin-left: 350px;

}

.title-form {
    margin: 0px;
    padding: 0px;
    font-size: 65px;
    color: #f6e02a;
    border-bottom: 1px solid #f6e02a;
    font-family: 'RexBold';
    text-align: center;
}

.group-form {
    font-family: 'RexLight';
    color: #f6e02a;
    margin-top: 20px;
    position: relative;
    width: 220px;
    z-index: 20;
}

input[type="text"], input[type="number"], input[type="email"], textarea {
    background-color: transparent;
    border: 0px;
    border-bottom: 1px solid #f6e02a;
    color: #f6e02a;
    height: 55px;
    width: 280px;
    font-size: 20px;
    padding-left: 10px;
    outline: none;
    resize: vertical;
    overflow: hidden;
    font-family: 'RexLight';
    margin-top: 20px;

}

textarea {
    height: 100px;
}

input[type="submit"] {
    transition: 1s;
    background-color: transparent;
    border: 1px solid #f6e02a;
    font-size: 26px;
    font-family: 'RexLight';
    text-align: center;
    width: 290px;
    height: 80px;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #f6e02a;
    cursor: pointer;
}

input[type="submit"]:hover {
    transition: 1s;
    background-color: #f6e02a;
    color: black;
    font-weight: bolder;
}

input[type="text"]:focus {
/ / border-bottom: 1 px solid #f6e02a;
}


input::-webkit-input-placeholder {
    color: #f6e02a;
    opacity: 0.7;
}

input::-moz-placeholder {
    color: #f6e02a;
    opacity: 0.7;
}

/* Firefox 19+ */
input:-moz-placeholder {
    color: #f6e02a;
    opacity: 0.7;
}

/* Firefox 18- */
input:-ms-input-placeholder {
    color: #f6e02a;
    opacity: 0.7;
}

textarea::-webkit-input-placeholder {
    color: #f6e02a;
    opacity: 0.7;
}

textarea::-moz-placeholder {
    color: #f6e02a;
    opacity: 0.7;
}

/* Firefox 19+ */
textarea:-moz-placeholder {
    color: #f6e02a;
    opacity: 0.7;
}

/* Firefox 18- */
textarea:-ms-input-placeholder {
    color: #f6e02a;
    opacity: 0.7;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}


.title-exmpl {
    margin: 0px;
    padding: 0px;
    font-size: 55px;
    color: black;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    font-family: 'RexBold';
}


.slideshow-container {

    max-width: 600px;
    position: relative;
    margin: auto;
}

.example-slides {
    margin-bottom: 100px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0, 0, 0, 0.8);

}

.next {
    right: -35px;


}

.prev {
    left: -35px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 00px;
    margin-left: auto;
}


.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;

}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: 0.4;
        transform: translateX(0px);
    }

    to {
        opacity: 1;
        transform: translateX(250px);
    }
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}


.footer-page {
    background-color: #121111;
    height: 977px;
    position: relative;
}


.block-footer-1 {
    width: 300px;
    height: 425px;
    border-top: 4px solid #f6e02a;
    border-right: 4px solid #f6e02a;
    position: absolute;
    left: 0px;
    top: -60px;
}


.block-footer-2 {

    width: 370px;
    height: 176px;
    border-top: 4px solid #f6e02a;
    border-right: 4px solid #f6e02a;
    position: absolute;
    top: 0px;
    left: 0px;
}

.rotate-label {
    font-family: 'RexLight';
    font-size: 39px;
    color: white;
    transform: rotate(-90deg);
    position: absolute;
    top: 160px;
    left: 160px;
}


.bottom-footer {
    float: left;
    margin-left: 20px;
    margin-top: 150px;
    font-family: 'RexBoldInline';
}

.download {
    color: #f6e02a;
    font-size: 40px;
    margin-top: 10px;
    font-weight: bolder;
    padding: 10px;
    text-align: center;
    transition-duration: 1s;
    position: absolute;
    right: -80px;
    top: 500px;
}


.download:hover {
    border: 1px solid #f6e02a;
    transition-duration: 1s;
}

.copyright p, .starlabs p {
    margin: 0px;
    padding: 0px;
    margin-bottom: 5px;
}


/* Changes */

.first-change_card-services {
    background-image: url("/images/wall.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center -205px;
    height: 230px;
}

.second-change_card-services {
    background-image: url("/images/house.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 230px;

}

.thrith-change_card-services {
    background-image: url("/images/mens.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 230px;
}
