@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&display=swap');
/*Обнуление*/
* {
    padding: 0;
    margin: 0;
    border: 0;
}

    *, *:before, *:after {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

:focus, :active {
    outline: none;
}

a:focus, a:active {
    outline: none;
}

nav, footer, header, aside {
    display: block;
}

html, body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input, button, textarea {
    font-family: inherit;
}

    input::-ms-clear {
        display: none;
    }

button {
    cursor: pointer;
}

    button::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

a, a:visited {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: 400;
}
/*--------------------*/

/* Main style */

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto;
}

.main-content {
    /* 1 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 1 0 auto;
}

footer {
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto;
}


html, body {
    font-family: "Golos Text";
    background: #F0F5FB;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
  
}

h2 {
    color: #373C59;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}


/* Navigation */

.navigation {
    display: flex;
    margin-top: 160px;
}

.navigation-row {
    display: flex;
}

.navigation-menu {
    display: inline-flex;
}

.navigation-ul {
    display: inline-flex;
    gap: 5px;
}

    .navigation-ul a:visited {
        color: #5B5B5B;
    }

    .navigation-ul a:hover {
        color: #5B5B5B;
    }

    .navigation-ul li:first-child {
        font-weight: 600;
    }

/*--------------------*/


/*Main*/

.main-content {
    margin-bottom: 90px;
}

    .main-content h2 {
        text-align: center;
    }

.info-row {
    display: flex;
    gap: 75px;
    margin: 90px 0px;
}

.info-text {
    color: #373C59;
    font-family: Golos Text;
    font-size: 16.5px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

    .info-text span {
        color: #373C59;
        font-weight: 700;
    }





.clients h2 {
    margin: 80px 0px;
}

.client-animation {
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}


    .client-animation:hover {
        transform: scale(1.05);
    }


.clients-row{
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 30px 50px;
    margin-bottom: 90px;
    justify-content: center;
}

.client-style{
    border-radius: 15px;
    background: #F0F4F7;
    padding: 30px 50px;
}


.client-style img{
    width: 100%;
    display: block;
}







.contact-main-row h3 {
    color: #373C59;
    font-family: 'Golos Text';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 25px;
}

.contact-main-row p {
    color: #373C59;
    font-family: 'Golos Text';
    font-size: 16.5px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-bottom: 50px;
}

.contact-main-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

    .contact-main-block span {
        color: #373C59;
        font-family: "Golos Text";
        font-size: 19.5px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

.contact-main-telephone {
    display: flex;
}

.contact-main-telephone-img {
    display: flex;
    align-items: center;
}

.contact-main-telephone-text {
    display: flex;
    flex-direction: column;
    gap: 25px
}

.contact-main-block img {
    margin-right: 20px;
}




/*--------------------*/


@media screen and (max-width: 1024px) {

    .container{
      max-width: 1024px;
      margin: 0px 15px 0px 15px;
  
    }
    
    .clients h2{
        text-align:  center;
    }

    .client-animation{
        align-items: center;
    }

    .info-row{
        gap: 30px;
    }


    .clients-row{
        grid-template-columns: 1fr 1fr 1fr;
    }
  
  }
  
  @media screen and (max-width: 768px) {
    .info-row{
        flex-direction: column;
        align-items: center;
    }

    .info-img img{
        width: 280px;
    }

    .clients-row{
        grid-template-columns: 1fr 1fr;
    }
  
  
  }
  
  
  @media screen and (max-width: 425px) {
    h2{
      font-size: 20px;
      text-align: center;
    }

    .clients-row{
        grid-template-columns: 1fr;
    }

    .client-two {
        width: 228px;
    }

    .client-four img{
        width: 280px;
    }

    .client-four{
        width: 280px;
    }

    .client-one{
        width: 280px;
    }

    .client-three{
        width: 280px;
    }

    .client-three img{
        width: 280px;
    }

    .client-one img{
        width: 280px;
    }

    .client-two{
        width: 280px;
    }

    .client-one{
        width: 280px;
    }

    h2{
        font-size: 21px;
    }
  

  
  
    }
  
  
  