*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat';
}
:root{
    --font1: 'Montserrat', sans-serif;
    --font2: 'Open Sans', sans-serif;
}
@font-face {
    font-family: 'fontello';
    src: url('fontello-f4599311/font/fontello.eot?32406524');
    src: url('fontello-f4599311/font/fontello.eot?32406524#iefix') format('embedded-opentype'),
         url('fontello-f4599311/font/fontello.woff2?32406524') format('woff2'),
         url('fontello-f4599311/font/fontello.woff?32406524') format('woff'),
         url('fontello-f4599311/font/fontello.ttf?32406524') format('truetype'),
         url('fontello-f4599311/font/fontello.svg?32406524#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
  /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
  /*
  @media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
      font-family: 'fontello';
      src: url('../font/fontello.svg?32406524#fontello') format('svg');
    }
  }
  */
   
   [class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
   
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
   
    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;
   
    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;
   
    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;
   
    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */
   
    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
   
    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
  }
   
  .icon-pinterest:before { content: '\e800'; } /* '' */
  .icon-twitter:before { content: '\f099'; } /* '' */
  .icon-youtube-play:before { content: '\f16a'; } /* '' */
  .icon-facebook:before { content: '\f30c'; } /* '' */
  .icon-linkedin:before { content: '\f318'; } /* '' */
  .icon-instagram:before { content: '\f32d'; } /* '' */
.main{
    background: url(foto/fon.png) center center no-repeat;
    background-size: cover;
    padding-top: 40px;
}
.main__burger{
    width: 35px;
    height: 20px;
    border-top: 1px solid #60606e;
    cursor: pointer;
}
.main__burger:before{
    content: "";
    display: block;
    margin-top: 6px;
    width: 16px;
    height: 1px;
    background-color: #60606e;
}
.main__burger:after{
    content: "";
    display: block;
    margin-top: 6px;
    width: 24px;
    height: 1px;
    background-color: #60606e;
}
.main__heading{
    position: relative;
    color: #60606e;
    font-family: var(--font1);
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    border: 10px solid #60606e;
    padding: 22px 35px;
    margin-bottom: 30px;
}
@media(max-width: 768px){
    .main__heading{
        word-wrap: break-word;
        text-align: center;
    }
}
.main__heading:before{
    position: absolute;
    content: "we're";
    font-size: 18px;
    text-transform: uppercase;
    background-color: #7beec7;
    height: 30px;
    line-height: 30px;
    top: -40px;
    left: 50%;
    padding-left: 20px;
    padding-right: 20px;
    transform: translateX(-50%);
}
.main__heading-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 168px;
}
.main__text{
    width: 537px;
    color: #60606e;
    font-family: var(--font2);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin-bottom: 125px;
}
.main__card-wrapper{
    display: flex;
    flex-direction: column;
    margin-bottom: -20px;
    padding-top: 15px;
}
@media(max-width: 1199px){
    .main__card-wrapper{
        margin-top: 140px;
    }
}
.main__card-heading{
    position: relative;
    color: #60606e;
    font-family: var(--font1);
    font-size: 30px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 19px;
    z-index: 0;
}
@media(max-width: 1199px){
    .main__card-heading{
        text-align: center;
    }
}
.main__card-heading:before{
    position: absolute;
    content: "";
    bottom: 3px;
    left: 0px;
    width: 67px;
    height: 21px;
    background-color: #7beec7;
    z-index: -1;
}
@media(max-width: 1199px){
    .main__card-heading:before{
        position: absolute;
        left: auto;
    }
}
.main__card-text{
    color: #60606e;
    font-family: var(--font2);
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 27px;
}
.main__card-btn{
    color: #ffffff;
    font-family: var(--font1);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #7beec7;
    padding: 20px 39px;
    outline: none;
    border: none;
    cursor: pointer;
    align-self: flex-end;
}
.main__card{
    display: flex;
    align-items: center;
    
}
.main__card-img{
    margin-bottom: -100px;
}
@media(max-width:1199px){
    .main__card{
        justify-content: center;
    }
}
.content__heading{
    color: #60606e;
    font-family: var(--font1);
    font-size: 30px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    z-index: 0;
    position: relative;
    margin-bottom: 29px;
}
.content__text{
    color: #60606e;
    font-family: var(--font2);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
}
.content__heading-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 249px;
}
.content__heading:before{
    position: absolute;
    content: "";
    bottom: 3px;
    left: 0px;
    width: 67px;
    height: 21px;
    background-color: #7beec7;
    z-index: -1;
}
.content__header{
    color: #60606e;
    font-family: var(--font1);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}
.content__list-list{
    list-style-type: none;
    color: #999999;
    font-family: var(--font2);
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    text-transform: uppercase;
}
.content__list{
    margin-top:120px;
}
.content__img{
    width: 32px;
    height: 28px;
    margin-bottom: 20px;
}
.content-image{
    margin-top: 101px;
}
.content__list-item{
    padding-top: 28px;
}
.content__image-img{
    display: flex;
}
@media(max-width:1199px){
    .content__image-img{
        justify-content: center;
    }
    .content-image{
        margin-top: 50px;
    }
    .content__list-card{
        align-items: center;
    }
    .content__header{
        font-size: 16px;
    }
    .content__heading-wrapper{
        margin-top: 150px;
    }
}
.content__list-card{
    margin-bottom:60px;
    display: flex;
    flex-direction:column;
}
.content__heading-portfolio{
    margin-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.portfolio__image{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 950px;
}
@media(max-width:1000px){
    .portfolio__image{
        height: 1400px;
        align-items: center;
        margin-top: 50px;
    }
}
@media(max-width:768px){
    .portfolio__image{
        margin: 0 auto;
        width: 480px;
        height: 300px;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap; 
        word-wrap: normal;
        margin-top: 60px;
        
    }
    .portfolio__img{
        width: 160px;
        height: 160px;
        background-size: cover;
    }
}
.portfolio-img{
    width: 263px;
    margin-bottom: 30px;
    margin-right: 30px;
}
.portfolio__card{
    margin-top: 100px;
    padding-bottom: 150px;
}
.portfolio__list-heading{
    color: #60606e;
    font-family: var(--font1);
    font-size: 30px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
}
.portfolio__list-item{
    list-style-type: none;
    color: #60606e;
    font-family: var(--font1);
    font-size: 14px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    margin-left: 20px;
}
.portfolio__list-item:hover{
    color: #ffffff;
    background-color: #7beec7;
    padding: 5px 20px 5px 20px;
    cursor: pointer;
    margin-left: 0px;
}
.portfolio__list-card{
    margin-top: 34px;
}
.inform{
    background-color: #7beec7;
    padding-top: 50px;
    padding-bottom: 50px;
}
.inform__heading{
    color: #ffffff;
    font-family: var(--font1);
    font-size: 30px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
}
.inform__btn{
    margin-top: 29px;
    background-color: #ffffff;
    color: #7beec7;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 30px;
    outline: none;
    border: none;
    cursor: pointer;
}
.inform__card-head{
    color: #60606e;
    font-family: var(--font1);
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
}
.inform__card{
    background-color: #ffffff;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
}
@media(max-width:1199px){
    .inform__card{
        margin-top:30px;
        align-items: center;
    }
    .inform__card-text{
        text-align: center;
    }
}
.inform__card-text{
    color: #999999;
    font-family: var(--font2);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 29px;
    margin-top: 18px;
}
.inform__form-email::placeholder{
    color: #cdcdcd;
    font-family: var(--font1);
    font-size: 12px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
}
.inform__form-email{
    padding-top:20px;
    padding-bottom: 20px;
    padding-left: 20px;
    width: 350px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    outline: none;
    color: #999999;;
}
.inform__form-btn{
    color: #ffffff;
    font-family: var(--font1);
    font-size: 14px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    background-color: #7beec7;
    outline: none;
    border: none;
    cursor: pointer;
    width: 135px;
    padding: 6px;
}
.inform__form{
    display: flex;
}
.footer{
    padding-top: 40px;
    padding-bottom: 45px;
}
.footer__nav{
    display:flex;
    align-items: center;
    list-style-type: none;
}
.footer__nav-link{
    color: #9a9a9a;
    font-family: var(--font2);
    font-size: 14px;
    font-weight: 400;
    line-height: 48px;
    text-transform: uppercase;
    text-decoration: none;
}
.footer__nav_line{
    height: 2px;
    width: 4px;
    background-color: #9a9a9a;
    margin-right: 17px;
    margin-left: 17px;
}
@media(max-width:768px){
    .footer__nav_line{
        margin-right: 10px;
        margin-left: 10px;
    }
}
.footer__social-text{
    color: #9a9a9a;
    font-family: var(--font2);
    font-size: 14px;
    font-weight: 400;
    line-height: 48px;
    text-transform: uppercase;
}
.footer__social{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
}
.footer__social-item{
    color: #999999;
    font-size: 18px;
}
.footer__social-item{
    cursor: pointer;
}