body {
    background-color: #F6F6F6;
    color: #252525;
    line-height: 1.2;
    overflow-x: hidden;
}
* {
    font-family: "Segoe UI";
}
.hide {
    opacity: 0;
}
.show {
    opacity: 1;
    transform: translateY(0%);
}
.animate-up {
    transform: translateY(100%);
}
.animate {
    transition: all 1s;
}
.radial {
    z-index: -999;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
}
.radial-1 {
    background-image: url("../images/radial_3.png");
    width: 40%;
    height: 80%;
    right: -3%;
    top: -3%;
}
.radial-2 {
    background-image: url("../images/radial_2.png");
    width: 60%;
    height: 100%;
    left: 0;
    top: 70%;
}
.radial-3 {
    background-image: url("../images/radial_4.png");
    width: 60%;
    height: 100%;
    left: 0;
    top: 270%;
}
.radial-4 {
    background-image: url("../images/radial_5.png");
    background-position: right;
    width: 60%;
    height: 100%;
    right: 0;
    top: 400%;
}
.container {
    max-width: 1140px;
    margin: auto;
}
.logo {
    width: 420px;
    height: 25px;
    background-image: url("../images/logo.svg");
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 32px;
}
.action-button {
    background-color: #252525;
    color: #fff;
    border-radius: 16px;
    width: 380px;
    height: 75px;
    font-size: 18px;
    font-weight: bold;
    line-height: 75px;
    text-align: center;
    cursor: pointer;
}
.action-button, .action-button:hover {
    transition: all .3s;
}
.action-button:hover {
    background-color: #3d3b3b;
}
.services-block {
    margin-top: 64px;
}
.services-block {
    display: grid;
    grid-template: 
        "h1 h1 h1 h1"
        "h2 h2 h2 h2"
        "frontend backend design devops"
        "button button button button"
        / 1fr 1fr 1fr 1fr
    ;
}
.services-block h1 {
    grid-area: h1;
    font-weight: bold;
    font-size: 56px;
    width: 65%;
}
.services-block h2 {
    grid-area: h2;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    width: 55%;
    margin-top: 40px;
}
.service-item {
    width: 90%;
    margin-top: 48px;
}
.service-item .icon {
    width: 60px;
    height: 48px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.service-item .title {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    margin-top: 16px;
}
.service-item .stack {
    font-size: 18px;
    color: #5E5E5E;
    margin-top: 16px;
}
.services-block .action-button {
    margin-top: 48px;
    grid-area: button;
}
.services-block .frontend { grid-area: frontend; }
.services-block .backend { grid-area: backend; }
.services-block .design { grid-area: design; }
.services-block .devops { grid-area: devops; }
.service-item .frontend-icon { background-image: url("../images/frontend.svg"); }
.service-item .backend-icon { background-image: url("../images/backend.svg") ;}
.service-item .design-icon { background-image: url("../images/design.svg"); }
.service-item .devops-icon { background-image: url("../images/devops.svg"); }

.price-block {
    position: relative;
    margin: 64px auto 0 auto;
    overflow-x: scroll;
    white-space: nowrap;
    display: grid;
    grid-template:
        "title title title title title"
        "units hourly lt3m lt6m gt6m"
        / 1.3fr 1fr 1fr 1fr 1fr
    ;
    margin-top: 64px;
    scrollbar-width: none;
}
.price-block h1 {
    grid-area: title;
    font-size: 48px;
    font-weight: bold;
    width: 30%;
    margin-bottom: 32px;
    white-space: normal;
}
.price-block .units .title {
    font-size: 32px;
    line-height: 104px;
    font-weight: 600;
}
.price-block .units .item {
    font-size: 18px;
    line-height: 60px;
    margin: 32px 0;
    font-weight: 600;
}
.price-block .rate-block {
    background-color: #fff;
    width: 90%;
    min-width: 150px;
    margin: 0 16px;
    border-radius: 16px;
    display: inline-block;
}
.price-block .rate-block .type {
    color: #6D6D6D;
    font-size: 18px;
    margin: 24px 0 0 16px;
    font-weight: 600;
}
.price-block .rate-block .discount {
    color: #6D6D6D;
    font-size: 18px;
    height: 18px;
    margin-left: 16px;
    font-weight: 600;
}
.price-block .rate-block .payment-unit {
    color: #6D6D6D;
    font-size: 14px;
    text-transform: uppercase;
    margin: 40px 0 0 16px;
    font-weight: 600;
}
.price-block .rate-block .price {
    background-color: #F6F6F6;
    border-radius: 8px;
    width: 70%;
    margin: 32px auto;
    padding: 0 10%;
    line-height: 60px;
}
.price-block .rate-block > .price {
    margin: 16px auto 32px auto;
}
.price-block .units { grid-area: units; }
.price-block .hourly { grid-area: hourly; }
.price-block .lt3m { grid-area: lt3m; }
.price-block .lt6m { grid-area: lt6m; }
.price-block .gt6m { grid-area: gt6m; }
.free-audit-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    height: 300px;
    padding: 70px 0;
    background-image: url("../images/background.png");
    background-size: cover;
    width: 100vw;
    margin-left: calc((100% - 100vw) / 2);
    margin-top: 56px;
}
.free-audit-block h1 {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}
.free-audit-block h2 {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    width: 75%;
}
.outstaff-benefits-block {
    display: grid;
    grid-template: 
        "title item1"
        "... item1"
        "item2 ..."
        "item2 item3"
        "... item3"
        "item4 ..."
        "item4 item5"
        "... item5"
    /   1fr 1fr;
    margin-top: 48px;
}
.outstaff-benefits-block h1 {
    grid-area: title;
    font-size: 48px;
    font-weight: bold;
    width: 30%;
}
.outstaff-benefits-block .item {
    background-color: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    width: 85%;
    margin: 10px 0;
}
.outstaff-benefits-block .item:nth-child(even) {
    justify-self: right;
}
.outstaff-benefits-block .item .number {
    font-size: 48px;
    font-weight: bold;
}
.outstaff-benefits-block .item h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 16px;
    line-height: 2.3;
}
.outstaff-benefits-block .item h3 {
    font-size: 20px;
}
.outstaff-benefits-block .item-1 { grid-area: item1; }
.outstaff-benefits-block .item-2 { grid-area: item2; }
.outstaff-benefits-block .item-3 { grid-area: item3; }
.outstaff-benefits-block .item-4 { grid-area: item4; }
.outstaff-benefits-block .item-5 { grid-area: item5; }
.three-steps {
    display: grid;
    grid-template:
        "title title title"
        "step1 step2 step3"
    /   1fr    1fr   1fr;
    margin-top: 64px;
}
.three-steps h1 {
    grid-area: title;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 48px;
}
.three-steps .step {
    background-color: #fff;
    border-radius: 16px;
    width: 90%;
    align-self: start;
    padding: 24px 0;
}
.three-steps .step h2 {
    font-size: 48px;
    font-weight: 600;
    width: 90%;
    margin: 0 auto;
}
.three-steps .step span {
    font-size: 24px;
    font-weight: 600;
    display: inline-block;
    width: 90%;
    margin: 20px 5% 0 5%;
}
.three-steps .step .action-button {
    width: 85%;
    margin: 24px auto 0 auto;
    line-height: 64px;
    height: 64px;
}
.three-steps .step1 { grid-area: step1; }
.three-steps .step2 { grid-area: step2; }
.three-steps .step3 { grid-area: step3; }
.cases-block {
    margin-top: 64px;
}
.cases-block h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 48px;
}
.case-item {
    display: grid;
    grid-template: 
        "title title"
        "description description"
        "image first-block"
        "image second-block"
        "image third-block"
    /   1fr 1fr;
    background-color: #fff;
    border-radius: 16px;
    width: 92%;
    padding: 24px 2.5%;
    margin-bottom: 32px;
}
.case-item h2 {
    grid-area: title;
    font-size: 32px;
    font-weight: 600;
}
.case-item .project-description {
    grid-area: description;
    font-size: 20px;
    margin: 24px 0 32px 0;
    width: 95%;
}
.case-item img {
    grid-area: image;
    width: 95%;
}
.case-item .stack-block h3 {
    font-size: 24px;
    font-weight: bold;
}
.case-item .stack-block .description {
    font-size: 20px;
    margin-top: 24px;
}
.case-item .first-block { grid-area: first-block; }
.case-item .second-block { grid-area: second-block; }
.case-item .third-block { grid-area: third-block; }
.livebrand-school-block h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 48px;   
}
.livebrand-school-block .card {
    display: grid;
    grid-template: 
        "title image"
        "description image"
        "read-more image";
    width: 92%;
    padding: 24px 2.5%;
    border-radius: 16px;
    background-color: #fff;
}
.livebrand-school-block .card h2 {
    grid-area: title;
    font-size: 32px;
    font-weight: bold;
}
.livebrand-school-block .card h3 {
    grid-area: description;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}
.livebrand-school-block .card a {
    color: #000;
    text-decoration: none;
}
.livebrand-school-block .card a .read-more {
    grid-area: read-more;
    width: 300px;
    height: 65px;
    line-height: 65px;
    font-weight: bold;
    border-radius: 16px;
    border: 1px solid #000;
    text-align: center;
}
.livebrand-school-block .card img {
    grid-area: image;
    border-radius: 8px;
    width: 100%;
}
.contacts-block {
    height: 640px;
    margin-top: 56px;
    display: grid;
    grid-template: 
        "contacts form"
    /   1.2fr 1fr;
}
.contacts-block .background {
    background-image: url("../images/background.png");
    background-size: cover;
    width: 100vw;
    height: inherit;
    position: absolute;
    z-index: -1;
    left: calc(-50vw + 50%)
}
.contacts-block .contacts {
    grid-area: contacts;
    color: #fff;
}
.contacts-block .contacts h1 {
    font-size: 40px;
    font-weight: bold;
    margin: 48px 0 32px 0;
}
.contacts-block .contacts .contact-phone, .contacts-block .contacts .contact-email {
    font-size: 56px;
    font-weight: bold;
    line-height: 64px;
}
.contacts-block .form {
    grid-area: form;
    margin-top: 48px;
    background-color: #fff;
    padding: 24px;
    border-radius: 16px;
    align-self: start;
}
.contacts-block .form .title {
    font-size: 40px;
    font-weight: bold;
}
.contacts-block .form input {
    background-color: #F6F6F6;
    border: 1px solid #E6E6E6;
    border-radius: 16px;
    width: 92%;
    padding: 0 4%;
    font-size: 16px;
    height: 72px;
    margin: 8px 0;
}
.contacts-block .form input::placeholder {
    color: #000;
}
.contacts-block .form input:nth-child(2) {
    margin-top: 32px;
}
.contacts-block .form .send-form {
    background-color: #252525;
    color: #fff;
    width: 100%;
    padding: 0 4%;
    font-size: 16px;
    height: 72px;
    line-height: 72px;
    border-radius: 16px;
    margin: 8px 0 16px 0;
    text-align: center;
    cursor: pointer;
    border: 0;
}
.contacts-block .form .send-form, .contacts-block .form .send-form:hover {
    transition: all .3s;
}
.contacts-block .form .send-form:hover {
    background-color: #3d3b3b;
}
.contacts-block .form span {
    font-size: 14px;
    color: #000;
}
footer {
    display: grid;
    grid-template:
        "title title title"
        "first-block second-block third-block"
    /   1fr 1fr 1fr;
    height: 140px;
    color: #fff;
}
footer .block {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    width: 90%;
    margin-bottom: 20px;
}
footer .block a {
    color: #fff;
    text-decoration: none;
}
footer .background {
    background-color: #262626;
    width: 100vw;
    height: inherit;
    position: absolute;
    z-index: -1;
    left: calc(-50vw + 50%);
}
footer .title {
    grid-area: title;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}
footer .first-block { grid-area: first-block; }
footer .second-block { grid-area: second-block; }
footer .third-block { grid-area: third-block; }

@media screen and (max-width: 480px) {
    .services-block h1 {
        width: 90%;
        margin-left: 5%;
        font-size: 38px;
    }
    .services-block h2 {
        width: 90%;
        margin-left: 5%;
        font-size: 24px;
    }
    .services-block {
        grid-template: 
            "h1"
            "h2"
            "frontend"
            "backend"
            "design"
            "devops"
            "button"
        /   1fr;
    }
    .service-item {
        margin-left: 5%;
    }
    .services-block .action-button {
        width: 90%;
        margin: 32px auto 0 auto;
    }
    .free-autdit-block h1 {
        font-size: 32px;
    }
    .free-audit-block h2 {
        font-size: 16px;
        margin: 16px 0 8px 0;
    }
    .free-audit-block .action-button {
        width: 90%;
        margin: 8px auto 0 auto;
    }
    .outstaff-benefits-block {
        grid-template: 
            "title"
            "item1"
            "item2"
            "item3"
            "item4"
            "item5"
        /   1fr;
    }
    .outstaff-benefits-block h1 {
        font-size: 32px;
        width: 90%;
        margin: 0 auto 16px auto;
    }
    .outstaff-benefits-block .item, .outstaff-benefits-block .item:nth-child(even) {
        justify-self: center;
    }
    .price-block {
        width: 90%;
        margin: 64px auto 0 auto;
    }
    .three-steps {
        grid-template: 
            "title"
            "step1"
            "step2"
            "step3"
        /   1fr;
    }
    .three-steps h1, .cases-block h1, .livebrand-school-block h1 {
        font-size: 32px;
        width: 90%;
        margin: 0 auto 16px auto;
    }
    .three-steps .step {
        width: 90%;
        margin: 8px auto;
    }
    .cases-block .case-item {
        width: 90%;
        margin: 0 auto 32px auto;
        grid-template: 
            "title"
            "description"
            "image"
            "first-block"
            "second-block"
            "third-block"
        /   1fr;
    }
    .cases-block .case-item h2 {
        font-size: 24px;
        width: 90%;
    }
    .cases-block .case-item .project-description {
        font-size: 16px;
    }
    .cases-block .case-item .stack-block {
        width: 90%;
        margin: 8px auto;
    }
    .case-item .stack-block h3 {
        font-size: 20px;
    }
    .case-item .stack-block .description {
        margin-top: 8px;
        font-size: 16px;
    }
    .livebrand-school-block .card {
        width: 90%;
        margin: 0 auto;
        grid-template: 
            "title"
            "description"
            "image"
            "read-more"
        /   1fr;
    }
    .livebrand-school-block .card h2 {
        font-size: 24px;
    }
    .livebrand-school-block .card h3 {
        font-size: 16px;
        margin: 8px 0;
    }
    .livebrand-school-block .card .read-more {
        width: 100%;
        margin-top: 16px;
    }
    .contacts-block {
        grid-template: 
            "contacts"
            "form"
        /   1fr;
        height: 800px;
    }
    .contacts-block .form {
        width: 80%;
        margin: 0 auto;
    }
    .contacts-block .form .title {
        font-size: 24px;
    }
    .contacts-block .form input {
        font-size: 16px;
    }
    .contacts-block .form .send-form {
        font-size: 16px;
    }
    .contacts-block .form span {
        font-size: 14px;
    }
    .contacts-block .contacts h1 {
        font-size: 20px;
        width: 90%;
        margin: 32px auto;
    }
    .contacts-block .contacts .contact-phone, .contacts-block .contacts .contact-email {
        width: 90%;
        margin: 0 auto;
        line-height: 48px; 
        font-size: 32px;
    }
    footer {
        grid-template:
            "title"
            "first-block"
            "second-block"
            "third-block"
        /   1fr;
        height: 300px;
    }
    footer .title {
        font-size: 18px;
        width: 90%;
        margin: 16px auto 0 auto;
    }
    footer .block {
        width: 90%;
        margin: 0 auto;
    }
    .logo {
        background-image: url("../images/small_logo.svg");
        width: 100px;
        margin-left: 5%;
    }
}
._error{
    border: 1px solid red !important;
}
