body {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    margin: 0px;
    overflow-x: hidden;
    touch-action: pan-y pinch-zoom;
}

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0px;
    border-style: solid;
}

.Layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-left: 140px;
    margin-right: 140px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 70px;
    padding: 15px 0px;
}

.header-logo-block,
.header-button-block {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

h3 {
    margin: -1px 0 0 0;
    font-size: 24px;
    color: #202020;
    font-weight: 800;
    line-height: 90%;
    alignment-baseline: left;
}

button {
    background: none;
}

.first-button,
.second-button,
.language-buttons {
    color: white;
    font-weight: 500;
    font-size: 14px;
    border-radius: 15px;
}

.first-button {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-decoration: none;
    font-weight: 400;
    background-color: #434ffd;
    min-width: 170px;
    cursor: pointer;
}

.second-button {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-decoration: none;
    font-weight: 400;
    background-color: #202020;
    min-width: 120px;
    cursor: pointer;
}

.language-buttons {
    display: flex;
    min-width: 120px;
    justify-content: center;
    gap: 10px;
    align-items: center;
    border: #e6e6e6 1px solid;
    background: none;
}

.main-block {
    height: 650px;
    width: 56%;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.main-block::before {
    width: 100vw;
    content: '';
    position: absolute;
    top: 0;
    left: -140px;
    right: -100px;
    bottom: 0;
    background-image: url('../images/index/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.main-block h1 {
    color: #202020;
    font-size: 58px;
    font-weight: 600;
    margin: 0;
}

.main-block h2 {
    color: #000000;
    opacity: 0.7;
    font-size: 23px;
    font-weight: 400;
    margin-top: -15px;
}

.main-block a {
    transition: opacity 0.2s cubic-bezier(0, -0.02, 1, 1.01);
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-decoration: none;
    width: 190px;
    height: 45px;
    background-color: #202020;
    color: white;
    font-size: 15px;
    font-weight: 400;
    border-radius: 15px;
    cursor: pointer;
}

.about-block {
    display: flex;
    gap: 40px;
    margin: 50px 0px;
}

.about-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.about-container {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 14px);

    border: #E6E6E6 1px solid;
    border-radius: 15px;
    padding: 20px 40px;
}

.title-about {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.about-img {
    width:29px;
}

.title-about h4 {
    color: #000000;
    margin: 0;
    font-size: 23px;
    font-weight: 600;
}

.about-container p {
    color: #000000;
    margin: 0;
    font-size: 15px;
    font-weight: normal;
}

.integration-block {
    display: flex;
    min-height: 310px;
    gap: 40px;
    margin: 50px 0px;
    background: linear-gradient(90deg, #7079F7 0%, #404CFC 100%);
    border-radius: 15px;
}
.integration-fade{
    margin-top: 43px;
}
.integration-help-img {
    width: 550px;
    margin-bottom: -4px;
    margin-top: 0;
    height: 267px;
}
.integration-container {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 50px;
    width: 46%;
}
.integration-container h5 {
    color: white;
    margin: 0;
    font-size: 35px;
    font-weight: 600;
}
.integration-container p {
    color: white;
    opacity: 0.7;
    margin: 0;
    font-size: 19px;
    font-weight: 300;
}
.request-block {
    display: flex;
    flex-direction: row;
    gap: 100px;
    border: 1px #DFDFDF solid;
    border-radius: 15px;
    padding: 50px;
}
.request-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 47%;
}

.request-container h5 {
    color: #202020;
    margin: 0;
    font-size: 35px;
    font-weight: 600;
}

.request-container p {
    color: #000000;
    opacity: 0.7;
    margin: 0;
    font-size: 19px;
    font-weight: 300;
}

.request-input-container {
    display: flex;
    align-items: center;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}

.request-input-container input {
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.2s cubic-bezier(0, -0.02, 1, 1.01);
    font-weight: 300;
    font-size: 13px;
    width: 100%;
    height: 46px;
    background: #F6F6F6;
    border: 1px #E1E1E1 solid;
    border-radius: 15px;
    padding: 0px 20px;
}
.request-input-container input:focus {
    border: 1px #434FFD solid;
}
    
.request-input-container button {
    margin-top: 16px;
    width: 215px;
    height: 46px;
    background-color: #434FFD;
    color: white;
    font-size: 15px;
    font-weight: 400;
    color: white;
    border-radius: 15px;
    font-weight: normal;
    cursor: pointer;
}
footer{   
    background-color: #202020;
    padding: 39px 140px 0 140px;
    height: 213px;
    margin-top: 100px;
    height: 100%;
}
.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}
.logo-footer{
    width: 84px;
    height: 84px;
}
.footer-logo-block {
    color: white;
    font-weight: 600;
    font-size: 39px;
    gap: 20px;
    display: flex;
    align-items: center;
}
.footer-copyright-block{
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    padding-bottom: 6px;
    font-size: 15px;
    font-weight: 300;
}
.footer-nav-a{
    font-weight: 300;
    font-size: 17px;
    color: white;
    text-decoration: none;
}
.footer-nav-a:hover{
    color: #cdd0ff;
}
.footer-nav-block{
    flex-direction: column;
    justify-self: end;
    display: flex;
    font-size: 17px;
    color: white;
    text-decoration: none;
    gap: 5px;
}
.footer-main p{
    align-content: center;
    color: white;
    font-weight: 300;
    font-size: 17px;
}
@media (max-width: 1390px) { 
    .main-block{
        width: 70%;
    }
    .integration-container {
        width: 42%;
    }
    .integration-fade{
        margin-top: 78px;
    }
    .integration-help-img{
        margin-top: 0;
        margin-bottom: -4px;
        width: 527px;
        height: 249px;
    }

}
@media (max-width: 1275px) { 
    .integration-container h5{
        font-size: 25px;
    }
    .integration-container p{
        font-size: 16px;
    }
    .integration-container {
        width: 29%;
    }    
}
@media (max-width: 1231px) { 
    .main-block::before{
        left: -20px;
        right: -100px;
    }
    .Layout{
        margin-left: 20px;
        margin-right: 20px;
    }
    .main-block{
        width: 70%;
        height: 600px;
    }
    .main-block h1{
        font-size: 52px;
    }
    .integration-block{
        min-height: 260px;
        min-width: 0;
    }
    .integration-fade{
        margin-top: 40px;
        max-width: 100%;
    }
    .integration-help-img {
        margin-top: 0;
        margin-bottom: -4px;
        width: 450px;
        /* margin-top: 32px; */
        height: 220px;
        
    }
    .integration-container {
        width: 42%;
        gap: 6px;
        padding: 35px;
        width: 40%;
    }
    footer{
        padding: 39px 20px 0 20px;
    }
    .integration-container h5{
        font-size: 25px;
    }
    .integration-container p{
        font-size: 16px;
    }
    .request-container h5{
        font-size: 25px;
    }
    .request-container p{
        font-size: 16px;
    }
    .request-container{
        
        gap: 6px;
        width: 40%;
    }
    .request-block{
        height: 260px;
        gap: 40px;
        padding: 35px;
    }
    .title-about h4{
        font-size: 18px;
    }
    .about-img {
        width: 24px;
    }
    .about-container p{
        font-size: 13px;
    }
    .about-container{
        width: calc(50% - 14px);
    }
}
@media (max-width: 789px) { 
    .integration-block{
        justify-content: center;
        padding: 35px 35px 0 35px;
        flex-direction: column;
    }
    .integration-container{
        padding: 0;
        width: 100%;
    }
    .header-logo-block{
        gap: 5px;
    }
    .logo-header{
        height: 35px;
    }
    h3 {
    margin: 0px 0 0 0;
    font-size: 21px;
    color: #202020;
    font-weight: 800;
    line-height: 90%;
    alignment-baseline: left;
    }
    .integration-fade{
        width: auto;
        margin-top: -12px;
        max-width: 100%;
    }
    .integration-help-img{
        width: 100%;
        margin-top: 0;
        height: auto;
    }
    header{
        height: 55px;
        padding: 10px 0px;
    }
    .first-button{
        min-width: 150px;
        font-size: 12px;
        border-radius: 12px;
    }
    .second-button{
        font-size: 12px;
        border-radius: 12px;
        min-width: 100px;
    }
    .language-buttons{
        gap: 6px;
        min-width: 91px;
        font-size: 12px;
        border-radius: 12px;
    }
}
@media (max-width: 550px) { 
    .first-button{
        display: none;
    }
    .header-logo-block{
        gap: 5px;
    }
    .logo-header{
        height: 35px;
    }
    h3 {
    margin: 0px 0 0 0;
    font-size: 21px;
    color: #202020;
    font-weight: 800;
    line-height: 90%;
    alignment-baseline: left;
    }
    header{
        height: 55px;
        padding: 10px 0px;
    }
    .first-button{
        min-width: 150px;
        font-size: 12px;
        border-radius: 12px;
    }
    .second-button{
        font-size: 12px;
        border-radius: 12px;
        min-width: 100px;
    }
    .language-buttons{
        gap: 6px;
        min-width: 91px;
        font-size: 12px;
        border-radius: 12px;
    }
    h1{
        text-align: center;
    }
    .main-block h1{
        font-size: 33px;
    }
    .main-block h2{
        margin-right: auto;
        margin-left: auto;
        justify-content: center;
        max-width: 400px;
        text-align: center;
        font-size: 16px;
        text-align: center;
    }
    .main-block{
        height: 89vh;
        justify-content: center;
        display: flex;
        width: 100%;
        flex-direction: column;
    }
    .main-block a{
        font-weight: 300;
        border-radius: 12px;
        width: 100%;
        height: 47px;
        margin-top: 30px;
    }
    .about-block{
        gap: 10px;
    }
    .about-container{
        width: 100%;
        padding: 17px 25px;
        border-radius: 10px;
    }
    .title-about h4{
        font-weight: 500;
    }
    .integration-block{
        gap: 22px;
        margin: 75px 0px;
        background: 0;
        padding: 0;
    }
    .integration-container h5{
        font-size: 22px;
        color: black;
    }
    .integration-container p{
        font-size: 14px;
        color: black;
        opacity: none;
        font-weight: 400;
    }
    .integration-container{
        text-align: center;
        color: black;
    }
    .integration-fade{
        position: relative;
    }
    .integration-fade::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-image: url('../images/index/fade.png');
        height: 95px;
        background-size: cover;
        background-repeat: no-repeat;
        pointer-events: none;
    }
    footer{
        margin-top: 170px;
    }
    .request-block {
        border-style: none;
        flex-direction: column;
        height: 260px;
        gap: 20px;
        padding: 0;
    }
    .request-container {
        gap: 6px;
        width: 100%;
    }
    .request-container h5 {
        text-align: center;
        font-size: 22px;
    }
    .request-container p {
        font-size: 14px;
        opacity: 1;
        text-align: center;
    }
    .request-input-container input {
        font-weight: 300;
        font-size: 14px;
        width: 100%;
        height: 47px;
        background: #F6F6F6;
        border: 1px #E1E1E1 solid;
        border-radius: 12px;
        padding: 0px 17px;
    }
    .request-input-container button {
        margin-top: 16px;
        width: 100%;
        height: 47px;
        background-color: #434FFD;
        color: white;
        font-size: 15px;
        font-weight: 300;
        color: white;
        border-radius: 12px;
        /* font-weight: normal; */
        cursor: pointer;
    }
    .about-block{
        margin-top: -40px;
    }
    .main-block::before {
        width: 100vw;
        content: '';
        position: absolute;
        top: 0;
        left: -20px;
        right: -100px;
        bottom: 0;
        background-image: url('../images/index/background-phone.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: -1;
    }
    .footer-main {
        margin-bottom: 20px;
        grid-template-columns: 1fr 1fr;
    }
    .footer-logo-block{
        font-size: 30px;
        gap: 10px;
    }
    .logo-footer {
        width: 40px;
        height: 40px;
    }
    .footer-nav-a {
        text-align: right;
        align-content: right;
        font-weight: 300;
        font-size: 12px;
        color: color(srgb 1 1 1);
        text-decoration: none;
    }
    .footer-copyright-block{
        font-size: 12px;
    }
    .footer-main p{
        display: none;
    }

}

a {
    transition: opacity 0.2s cubic-bezier(0, -0.02, 1, 1.01);
    cursor: pointer;
}

a:hover {
    opacity: 0.8;
}

.first-button {
    transition: opacity 0.2s cubic-bezier(0, -0.02, 1, 1.01);
}

.first-button:hover {
    opacity: 0.8;
}

.second-button {
    transition: opacity 0.2s cubic-bezier(0, -0.02, 1, 1.01);
}

.second-button:hover {
    opacity: 0.8;
}

.language-buttons {
    transition: opacity 0.2s cubic-bezier(0, -0.02, 1, 1.01);
}

.language-buttons:hover {
    opacity: 0.8;
}

.main-block a {
    transition: opacity 0.2s cubic-bezier(0, -0.02, 1, 1.01);
}

.main-block a:hover {
    opacity: 0.8;
}

.request-input-container button {
    transition: opacity 0.2s cubic-bezier(0, -0.02, 1, 1.01);
}

.request-input-container button:hover {
    opacity: 0.8;
}
.language-button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: #E6E6E6;
    padding: 0;
    transition: color 0.2s ease;
    font-family: inherit;
}

.language-button.active {
    color: #000;
}

.language-button:hover {
    color: #cdd0ff;
}