:root {
    --c-main-bgr: #181818;
    --c-second-bgr: #222222;
    --c-bgr-overlay: #00000088;
    --c-main-text: #fff;
    --c-second-text: #cccccc;
    --c-selected: #FDDD0A;
    --animation-transition: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --second-font: "RoadRadio", sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    scroll-padding-top: 100px;
}
section{
    scroll-margin-top: 180px;
}
body {
    position: relative;
    font-family: "Gilroy", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: var(--c-main-text);
    background: var(--c-main-bgr);
}
.image1 {
    margin-left: -60px;
    margin-top: -60px;
    width: 550px;
}
.main-content {
    top: 127px;
    position: relative;
    overflow: hidden;
}
.site__lines {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1020px;
    height: 100%;
    margin: 0 auto;
    border-left: 1px solid #ffffff0d;
    border-right: 1px solid #ffffff0d;
}
.site__lines div {
    width: clamp(140px, 23.611vw, 340px);
    height: 100%;
    margin: 0 auto;
    border: inherit;
}

section {
    padding: clamp(54px, 6.528vw, 94px) 0;
}
section .container,
footer .container {
    position: relative;
    width: 100%;
    max-width: 1258px;
    margin: 0 auto;
    padding: 0 20px;
}
.section__name {
    color: #888888;
    font-size: 14px;
    font-weight: 600;
    line-height: 160%;
}
.title {
    margin: 0;
    font-family: var(--second-font);
    color: var(--c-main-text);
    font-size: 40px;
    font-weight: 600;
    line-height: 135%;
    text-align: left;
}
p {
    color: var(--c-second-text);
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
}
.sub__title {
    color: var(--c-main-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
}
.frame_box{
    display: block;
    width: 100%;
    height: 800px;
    border: 0px;
    margin-top: 80px;
}


.modal-form {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: .3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}
.modal-form--active {
    width: 100%;
    height: 100dvh;
}
.modal-form .contacts-form {
    position: relative;
    display: flex;
    grid-gap: 20px;
    flex-flow: column;
    align-items: flex-end;
    width: 300px;
    padding: 20px;
    background: var(--c-main-bgr);
    z-index: 100;
}
.modal-form .contacts-form input {
    width: 100%;
    padding: 5px 5px 5px 10px;
}
.modal-form .contacts-form input:user-invalid {
    border: 1px solid red;
}
.modal-form .contacts-form input:user-valid {
    border: 1px solid green;
}
.modal-form .response-message {
    text-align: center;
}


.contacts-form .btn {
    width: 150px;
    height: 40px;
    display: flex;
    grid-gap: 7px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    color: var(--c-main-bgr);
    font-size: 13px;
    font-weight: 500;
    line-height: 182.5%;
    background: var(--c-selected);
    border: none;
    cursor: pointer;
}




.contacts-form .close-modal-head {
    width: 30px;
    height: 30px;
    background: none;
    padding: 0;
    background: #d53800;
}
.modal-form .modal-form-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000c7;
}
.overflow {
    overflow: hidden;
}

@media screen and (max-width: 768px){
    .image1 {
        margin-left: -10px;
        margin-top: -10px;
        width: 100%;
    }
    .frame_box{
        display: block;
        width: 100%;
        height: 700px;
        border: 0px;
        margin-top: 40px;
    }
}