/* FONTS */

@font-face {
    font-weight: 400;
    font-family: WixMadeforDisplay;
    src: url("fonts/WixMadeforDisplay-Regular.ttf");
  }
  
  @font-face {
    font-weight: 500;
    font-family: WixMadeforDisplay;
    src: url("fonts/WixMadeforDisplay-Medium.ttf");
  }

  @font-face {
    font-weight: 700;
    font-family: WixMadeforDisplay;
    src: url("fonts/WixMadeforDisplay-Bold.ttf");
  }

  @font-face {
    font-weight: 800;
    font-family: WixMadeforDisplay;
    src: url("fonts/WixMadeforDisplay-ExtraBold.ttf");
  }

  /* DEFAULT */

  * {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "WixMadeforDisplay", Verdana, sans-serif;
    font-weight: 500;
	font-size: 18px;
}

h1, h2, h3, h4, h5, h6, p, ol, ul {
	margin: 0;
    padding: 0;
    color: #ffffff;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* HEADER */

header img {
    display: block;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

header {
    margin: 90px 0 160px 0;
}

/* COMPANY INFO */

.company .content:last-of-type {
    margin-top: 100px;
}

.content {
    background: linear-gradient(180deg, #0051B1 0%, #0074FF 54.16%, #009EFF 100%);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.block-img img {
    height: 100%;
    max-width: 640px;
    width: 100%;
}

.block-text {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

h1 {
    font-size: 38px;
    font-weight: 800;
    padding: 170px 0 55px 0;
}

.company .block-text:first-of-type p {
    font-size: 24px;
    font-weight: 700;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    padding: 160px 0 40px 0;
}

ul {
    padding-left: 15px;
}

.company li::marker {
    content: url(images/rectangle.png);
    color: #ffffff;
}

.company li {
    margin-bottom: 30px;
    padding-left: 20px;
    font-weight: 500;
    font-size: 18px;
}

.company .block-text:last-of-type p {
    font-size: 18px;
    font-weight: 500;
}

/* PARTNERS */

h3 {
    color: #2A2A29;
    font-size: 36px;
    font-weight: 800;
    margin: 150px 0 100px 0;
    text-align: center;
}

.partners__content {
    display: flex;
    justify-content: space-around;
    margin-bottom: 200px;
    flex-wrap: wrap;
    row-gap: 60px;
}

.partners__content a {
    width: 50%;
    display: flex;
    justify-content: center;
}

.partners__content img {
    height: 36px;
    max-width: 100%;
    width: auto;
    transition: transform .2s;
}

.partners__content img:hover {
    transform: scale(1.2);
}

/* CONTACTS */

.contacts {
    margin-bottom: 200px;
}

.contacts h2 {
    padding-top: 130px;
    font-size: 36px;
}

.contacts p:nth-of-type(2) {
    padding: 30px 0;
}

.contacts a {
    text-decoration: none;
    color: #ffffff;
}

.contacts a:hover {
    text-decoration: underline;
}

.contacts p:last-of-type {
    line-height: 1.6;
    margin-top: 30px;
}


/* FOOTER */
footer {
    background-color: #0051B1;
    width: 100%;
}

footer p {
    padding: 60px 0;
    text-align: center;
}

/* PARTNERS PAGES */

.partner img {
    max-width: 187px;
    width: 100%;
    display: block;
    float: left;
}

.partner {
    height: 60px;
}

.logo {
    margin: 30px auto 100px auto;
    display: block;
}

.products__content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.products__block {
    max-width: 187px;
    width: 100%;
    height: 187px;
    padding-top: 25px;
}

.products__block p {
    color: #2A2A29;
    font-size: 16px;
    text-align: center;
    padding: 20px 0 25px 0;
}

.icon {
    height: 99px;
    position: relative;
}

.icon img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.clear240 {
    height: 240px;
}

/* MEDIA */

@media screen and (min-width: 800px) and (max-width: 1300px) {
    header {
        margin: 60px 0 90px 0;
    }
    h1 {
        padding: 80px 0 20px 0;
        font-size: 2em;
    }
    .company .block-text:first-of-type p {
        padding-bottom: 65px;
    }
    .content {
        flex-wrap: nowrap;
        height: 550px;
    }
    .block-text {
        padding: 0 30px;
        width: 50%;
    }
    .block-img {
        width: 50%;
    }
    .company .content:last-of-type {
        margin-top: 50px;
    }
    h2 {
        padding: 80px 0 25px 0;
    }
    .company li {
        margin-bottom: 20px;
    }
    .company__block-text:last-of-type p {
        padding-bottom: 60px;
    }
    .partners__content {
        line-height: 3;
        margin-bottom: 80px;
    }
    h3 {
        margin: 70px 0;
    }
    .contacts h2 {
        padding-top: 45px;
    }
    .contacts p:last-of-type {
        padding-bottom: 50px;
    }
    .contacts {
        margin-bottom: 100px;
    }
}

@media screen and (min-width: 600px) and (max-width: 799px) {
    header img {
        max-width: 300px;
    }
    header {
        margin: 35px 0 60px 0;
    }
    h1 {
        padding: 60px 0 20px 0;
        font-size: 2em;
    }
    .company .block-text:first-of-type p {
        padding-bottom: 65px;
        font-size: 0.9em;
    }
    .content {
        flex-wrap: nowrap;
        height: 400px;
    }
    .block-text {
        padding: 0 30px;
        width: 50%;
        font-size: 0.8em;
    }
    .block-img {
        width: 50%;
    }
    h2 {
        padding: 40px 0 25px 0;
        font-size: 1.3em;
    }
    .company li {
        margin-bottom: 20px;
        font-size: 0.9em;
    }
    .company__block-text:last-of-type p {
        padding-bottom: 60px;
        font-size: 0.9em;
    }
    .partners__content {
        line-height: 6;
        margin-bottom: 80px;
        padding: 0 30px;
    }
    h3 {
        margin: 70px 0;
    }
    .contacts h2 {
        padding-top: 45px;
        font-size: 1.6em;
    }
    .contacts p:last-of-type {
        padding-bottom: 50px;
    }
    .contacts {
        margin-bottom: 100px;
    }
    .contacts .block-text {
        font-size: 0.7em;
    }
}

@media screen and (max-width: 599px) {
    header img {
        max-width: 187px;
    }
    header {
        margin: 35px 0 60px 0;
    }
    h1 {
        padding: 60px 0 20px 0;
        font-size: 2em;
    }
    .company .block-text:first-of-type p {
        padding-bottom: 65px;
        font-size: 0.9em;
    }
    .content {
        flex-wrap: wrap;
        height: auto;
    }
    .block-text {
        padding: 0 30px;
        font-size: 0.9em;
    }
    .company .content:first-of-type {
        flex-direction: column-reverse;
    }
    .company .content:last-of-type {
        margin-top: 0;
    }
    h2 {
        padding: 40px 0 25px 0;
        font-size: 1.6em;
    }
    .company li {
        margin-bottom: 25px;
        font-size: 0.9em;
    }
    .company .block-text:last-of-type p {
        padding-bottom: 60px;
        font-size: 0.9em;
    }
    .partners__content {
        line-height: 6;
        margin-bottom: 80px;
    }
    .partners__content a {
        width: 100%;
    }
    h3 {
        margin: 70px 0;
    }
    .contacts h2 {
        padding-top: 45px;
        font-size: 1.6em;
    }
    .contacts p:last-of-type {
        padding-bottom: 50px;
    }
    .contacts {
        margin-bottom: 0;
    }
}
    /* PARTNERS PAGE MEDIA */
    @media screen and (max-width: 1300px) {
        .partner img {
            display: block;
            margin: 0 auto;
            float: none;
        }
        .logo {
            width: 350px;
        }
    }
    @media screen and (max-width: 500px) {
    .logo {
        margin: 30px auto 100px auto;
        display: block;
        width: 280px;
    }
    
    .products__content {
        flex-direction: column;
    }
    
    .products__block {
        margin: 0 auto;
    }
    
    .clear240 {
        height: 80px;
    }
}
