@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 162,5%;
    color: #313131;
    overflow-x: hidden;
    position: relative;
    background-color: #FBFBFB;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-style: normal;
}

img {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

p {
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    margin: 0;
}

button {
    border: none;
    outline: none;
    margin: 0;
}

.titles {
    color: #000;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

ul.flex li {
    color: #FFF;
    font-size: 24px;
    font-weight: 400;
    line-height: 39px; 
}

.descr {
    font-size: 30px;
}

.section__border {
    border-bottom: 1px solid #262BA1;
}

.container {
    width: 1080px;
    margin: 0 auto;
}

/*  header  */

.header, .main, .footer {
    min-width: 1200px;
}

.header_nav {
    padding: 15px 0;
    background: rgba(92, 104, 149, 0.77);
}

.header_nav ul {
    align-items: center;
    column-gap: 37px;
    justify-content: center;
}

.header_nav a, .footer__nav a {
    color: inherit;
    transition: color .3s ease;
}

.header_nav a:hover, .footer__nav a:hover {
    color: #262BA1;
    transition: color .3s ease;
}

.header__bg {
    background-image: url(/images/cover.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/*  cover   */

.cover {
    position: relative;
    padding-top: 33px;
    padding-left: 33px;
    padding-bottom: 305px;
    z-index: 2;
}

.cover img {
    max-width: 200px;
}

/*  about   */

.about {
    padding-top: 73px;
}

.about  .section__border {
    padding-bottom: 85px;
}

.about h2 {
    margin-bottom: 35px;
}

.about__content {
    justify-content: space-between;
    column-gap: 68px;
}

.about__txt {
    max-width: 50%;
}

.about__txt p:not(:last-of-type) {
    padding-bottom: 15px;
}

/*  services    */

.services {
    padding-top: 45px;
}

.services h2 {
    margin-bottom: 35px;
}

.services__list {
    justify-content: center;
    flex-wrap: wrap;
}

.services__point {
    align-items: center;
    width: 400px
}

.services__point .img {
    padding: 10px;
}

.services__point img:hover {
    border: #262BA1 solid 2px;
}

.services__point .txt {
    max-width: 70%;
}

.services .section__border {
    padding-bottom: 110px;
}

/*  products    */

.products {
    padding-top: 55px;
}

.products h2 {
    padding-bottom: 40px;
}

.products ul.flex li {
    color: #313131;
    position: relative;
    padding-left: 107px;
}

.products ul.flex li:last-child a {
    color: inherit;
    transition: color .3s ease;
}

.products ul.flex li:last-child a:hover {
    color: #262BA1;
    transition: color .3s ease;
}

.products ul.flex li:nth-child(2) {
    max-width: 80%;
}

.products ul.flex li::before {
    content: '';
    position: absolute;
    width: 74px;
    height: 59px;
    background-image: url(/images/succeeded.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    left: 0;
    top: -5px;
}

.products ul.flex li:nth-child(2):before {
    top: 13px;
}

.products__bg {
    background-image: url(/images/);
}

.products .descr {
    padding-bottom: 63px;
}

.products ul {
    flex-direction: column;
    row-gap: 33px;
    margin-bottom: 68px;
}

.serts_list {
    grid-template-columns: repeat(5, 1fr);
    gap: 42px;
}

.products .section__border {
    padding-bottom: 74px;
}

/*  features    */

.features {
    padding-top: 55px;
}

.features h2 {
    margin-bottom: 77px;
}

.features .descr {
    margin-bottom: 23px;
    text-align: center;
}

.features__card {
    max-width: 80%;
    margin: 0 auto;
}

.features__group {
    justify-content: space-between;
    align-items: center;
}

.features__card:not(:last-of-type) {
    margin-bottom: 70px;
}

.features__group .txt {
    max-width: 70%;
}

.features .section__border {
    padding-bottom: 74px;
}

/*  sinergy */

.sinergy {
    padding-top: 57px;
}

.sinergy h2 {
    margin-bottom: 47px;
}

.sinergy_list {
    padding: 39px 60px;
    background-color: #CDCCFF;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 53px;
    column-gap: 117px;
}

.sinergy_point {
    width: 25%;
    flex-direction: column;
    row-gap: 10px;
    align-items: center;
    position: relative;
}

.sinergy_point:nth-child(1)::after, .sinergy_point:nth-child(2)::after, .sinergy_point:nth-child(4)::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    left: 110%;
    top: 30px;
    background-image: url(/images/arrow.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.sinergy_point img {
    max-width: 100px;
}

.sinergy_point .txt {
    text-align: center;
}

/*  clients */

.clients {
    padding-top: 81px;
}

.clients h2 {
    margin-bottom: 70px;
}

.clients__list {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 80px;
    row-gap: 50px;
}

.clients__list div {
    width: 28%;
}

.clients__list div img {
    display: block;
    margin: 0 auto;
}

.clients .section__border {
    padding-bottom: 74px;
}

/*  feedback    */

.feedback {
    padding-top: 87px;
    padding-bottom: 100px;
}

.feedback h2 {
    margin-bottom: 35px;
}

.feedback__form {
    padding: 61px 85px 20px;
    background-color: #CDCCFF;
}

.form__group {
    flex-direction: column;
    row-gap: 44px;
}

.form__group:nth-child(1){
    width: 40%;
}

.form__group:nth-child(2) {
    width: 50%;
}

.form__group textarea {
    width: 100%;
    height: 100%;
    max-height: 223px;
}

input, textarea {
    padding: 7px 12px;
    border-radius: 5px;
    border: 1px solid #000;
    background: #D9D9D9;
}

.form__content {
    justify-content: space-between;
}

.feedback__form button {
    padding: 6px 94px;
    display: block;
    border-radius: 5px;
    background: #262BA1;
    color: #FFF;
    margin: 44px auto 15px auto;
    cursor: pointer;
    transition: all .3s ease;
}

.feedback__form button:hover {
    background: #757AF2;
    transition: all .3s ease;
}

.feedback__form p {
    font-size: 14px;
}

/*  contacts    */

.contacts {
    padding-bottom: 108px;
}

.contacts h2 {
    margin-bottom: 61px;
}

.contacts p {
    text-align: center;
    font-size: 48px;
    font-weight: 400;
}

.contacts p:first-of-type {
    margin-bottom: 61px;
}

.contacts p a {
    color: #262BA1;
}

/*  footer  */

.footer {
    position: relative;
    height: 240px;
    padding: 10px 0;
    background-image: url(/images/footer_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.footer_logo {
    position: absolute;
    margin-left: 33px;
}

.footer__content {
    column-gap: 98px;
    align-items: center;
}

.footer__nav {
    margin-top: 30px;
}

.footer__nav ul {
    column-gap: 37px;
    justify-content: center;
    text-align: center;
    margin-bottom: 53px;
}

.copyright {
    text-align: center;
    color: #262BA1;
}

/*  modal   */

.modal__bg {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none; 
    transition: all 0.5s ease;
	z-index: -1;
}

.modal__bg.active {
	opacity: 1;
    pointer-events: all;
    transition: all 0.5s ease;
	z-index: 1000;
}

.modal__block {
	position: absolute;
	color: #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    max-width: 500px;
	width: 80%;
    padding: 25px 25px 67px;
	z-index: -1;
    transition: all 0.5s ease;
}

.modal__block p {
    text-align: center;
}

.modal__block.active {
	transform: translate(-50%, -50%) scale(1);
	z-index: 1000;
    transition: all 0.5s ease;
}

.modal__close {
	position: relative;
	display: flex;
	width: 20px;
	height: 20px;
	margin-left: auto;
	cursor: pointer;
}

.modal__close div {
	position: absolute;
	width: 20px;
	height: 2px;
	background: #000;
}

.modal__close div:nth-child(1) {
	transform: rotate(45deg);
    transform-origin: 11px;
}
.modal__close div:nth-child(2) {
	transform: rotate(-45deg);
    transform-origin: 9px;
}