@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

/*обнуляем*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: max-width .5s;
}

a {
    text-decoration: none;
}

ul li {
    list-style: none;
}

/*значения по умолчанию*/
body{
    overflow-x: hidden !important;
    background-color:#EE4D49 ;
}

.container {
    width: 100vw;
    max-width: 1200px;
    margin: 0 auto;
}

/*1 секция*/
.section1 {
    /*margin-top: 80px;*/
    position: relative;
    background-color: #EE4D49;
    min-height: 485px;
}

.ipadMain, .cupMain {
    position: absolute;
}

.ipadMain {
    margin-top: 25px;
    background: url("/upload/jet5_optimized/df/df36550a2b841fea1f3c77a7f063719843007a0c4702a28b489fed3751a67673.webp") no-repeat right;
    background-size: contain;
    width: 851px;
    height: 556px;
    right: -70px;
}

.cupMain {
    z-index: 2;
    background: url("/upload/jet5_optimized/09/094f8c950e7e3d1b3ddf7ae4ae5c49cd6a32f78b201fb39543ede49a9cc79948.webp") no-repeat center;
    background-size: contain;
    width: 707px;
    height: 286px;
    bottom: -81px;
    right: 410px;
}

.submenu {
    padding-top: 71px;
}

.submenu ul {
    width: 153px;
    list-style: none;
    text-decoration: none;

    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
}

.submenu ul a {
    color: white;

}

.year {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: white;
    float: left;
}

.headline {
    margin-top: calc(315px - 71px);
}

h1 {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24.96px;
    line-height: 29px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.headline p {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
}
.headline p a{
    text-decoration: #FFFFFF underline;
    color: #FFFFFF;
}

.headline h1 a{
    text-decoration: none;
    color: #FFFFFF;
}

/*секция 2*/
.section2 {
    overflow: hidden;
    background-color: #F8E8D5;
    min-height: 500px;
    padding-top: 140px;
    padding-bottom: 120px;
}

.section2 .container.description {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}

.section2 h3 {
    margin-bottom: 26px;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 19px;
    color: #333333;
}

.section2 p {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
    margin-bottom: 30px;
}

.section2 .description1,
.section2 .description2 {
    width: 510px;
}

.section2 .videoWrapper {
    border: 16px solid #262626;
    border-radius: 20px;
    width: calc(100% - 32px);
    margin-top: 120px;
    margin-left: auto;
    margin-right: auto;

}

.section2 .videoWrapper img {
    width: 100%;
}

.section3 {
    overflow: hidden;
    background-color: #2F2F2F;
    min-height: 700px;
    padding-top: 80px;
    padding-bottom: 30px;
}

.section3 .description span {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
    position: relative;
}

.section3 .description span:before {
    position: absolute;
    content: "";
    width: 23px;
    height: 0px;
    border: 1px solid #FFFFFF;
    bottom: -8px;
}

.section3 .fontsWrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.section3 .description2 {
    margin-bottom: 120px;
}

.colorWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.section3 .color {
    position: relative;
    width: 200px;
    height: 100px;
    margin-bottom: 30px;
}

.section3 .color1 {
    background-color: #EE4D49;
}

.section3 .color2 {
    background-color: #F8E8D5;

}

.section3 .color3 {
    background-color: #333333;
}

.section3 .color4 {
    background-color: #F9F9F9;
}

.section3 .color:before {
    content: attr(data-color);
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #E2E2E2;
    position: absolute;
    top: -25px;
}

.section3 .description3 {
    margin-top: 90px;
    margin-bottom: 40px;
}

.galleryGrid {
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-gap: 7px;
    margin: 0 auto 30px auto;
}

.galleryImg img {
    width: 100%;
}

.section4, .section6 {
    background-color: #F8E8D5;
    padding-top: 184px;
    padding-bottom: 184px;
}

.section4 .videoWrapper,
.section6 .videoWrapper {
    border: 16px solid #262626;
    border-radius: 20px;
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;

}

.section4 .videoWrapper img,
.section6 .videoWrapper img {
    width: 100%;
}

.section5 {
    overflow: hidden;
    background-color: #EE4D49;
    padding-top: 150px;
    padding-bottom: 150px;
}

.section7 .iphoneWrapper,
.section5 .iphoneWrapper {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.section7 {
    overflow: hidden;
    background-color: #2F2F2F;
    padding-top: 150px;
    padding-bottom: 150px;
}

video {
    margin-bottom: -4px;
}

.galleryImg.last {
    background: #494949;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Эффекты*/
.show{
    opacity: 1!important;
}

.iphone,
.section3 .galleryImg,
.section3 .fontsWrapper .fonts,
.color,
.section2 .description1,
.section2 .description2{
    opacity: 0;
}


/*Медиазапросы*/

@media (max-width: 1400px) {
    .section1 ul{
        opacity: 0;
    }
    .galleryGrid {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .container{
        max-width: 990px;
    }
    .galleryGrid {
        max-width: 990px;
    }
    .section2 .description1,
    .section2 .description2 {
        width: 400px;
    }
    .headline {
        margin-top: calc(185px - 71px);
    }
}

@media (max-width: 990px) {
    .section1{
        min-height: 415px;
    }
    .headline{
        margin-top: 24px;
    }

    .container{
        max-width: 800px;
    }
    .section2 .description1,
    .section2 .description2 {
        width: 350px;
    }
    .galleryGrid {
        max-width: 800px;
    }
    .ipadMain{
        right: -250px;
    }
    .cupMain{
        right: 150px;
    }
}

/*Адаптив на сотовые/планшеты*/
@media (max-width: 1599px){
    .ipadMain{
        background: url(/upload/jet5_optimized/df/df36550a2b841fea1f3c77a7f063719843007a0c4702a28b489fed3751a67673.webp) no-repeat left;
        background-size: cover;
        width: 728px;
        right: 0;
    }
}
@media (max-width: 768px){
    /********/
    .ipadMain{
        right: 0;
        background: url(/upload/jet5_optimized/df/df36550a2b841fea1f3c77a7f063719843007a0c4702a28b489fed3751a67673.webp) no-repeat left;
        background-size: cover;
        width: 390px;
    }
    /********/
    body{
        overflow-x: hidden;
    }
    .container{
        max-width: 750px;
    }
    .galleryGrid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    .cupMain{
        right: 0px;
    }

}

@media (min-width: 1600px) {
    .ipadMain{
        right: 0;
    }
    .cupMain{
        right: 475px;
    }
}
@media (min-width: 1800px) {
    .ipadMain{
        right: 75px;
    }
    .cupMain{
        right: 550px;
    }
}

@media (max-width: 640px) {
    .ipadMain, .year{
        display: none;
    }
    .headline{
        text-align: center;
    }
}
  @media (max-width: 450px) {
    .container{
        max-width: calc(100vw - 10px);
    }
    .ipadMain, .year{
        display: none;
    }
      .cupMain{
          right: 0;
      }
      .cupMain{
          background-size: cover;
          background-position: 67%;
          width: 100%;
      }
    .headline{
        text-align: center;
    }
    .section2 .description1, .section2 .description2 {
        margin: 0 auto 30px auto;
    }
    .section2 .videoWrapper {
        margin-top: 60px;
    }
    .section2{
        padding-bottom: 60px;
    }
    .galleryGrid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(12, 1fr);
    }
    .section4, .section6 {
        padding-top: 90px;
        padding-bottom: 90px;
    }
    .section5, .section7 {
        padding-top: 90px;
        padding-bottom: 90px;
    }
    .iphoneWrapper .iphone:nth-child(1){
        margin-bottom: 30px;
    }

}

@media (max-width: 360px){
    .fonts svg{
        width: 300px;
        height: 350px;
    }
    .colorWrapper {
        justify-content: center;
    }
}

@media (max-width: 750px) and (orientation: landscape) {
    .ipadMain {
        right: -350px;
    }
    .section2 .container.description {
        justify-content: center;
    }
    .section2 .container.description .description1{
        margin-bottom: 30px;
    }
    .section3 .fontsWrapper {
        justify-content: center;
    }

}






















