/* GENERAL */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-underline-offset: 12px;
}


body {
    background: url("../images/main-bg.jpg") no-repeat;
    padding: 0;
    margin: 0;
    color:#fff;
    background-size: cover;
}

.wrapper {
    max-width:1040px;
    width:100%;
    margin:0 auto;
    height:100vh;
    flex-direction: column;
    display: flex;
}

header {
    padding:60px 0 0 0;
    display:flex;
    justify-content: space-between;
}

header .menu {
    margin:0;
    padding: 40px 0 0 0px;
    overflow:hidden;
}

header .menu li {
    float:left;
    margin-right:6px;
    padding-right:6px;
    position:relative;
    font-size:18px;
    line-height:40px;
    list-style:none;
    position:relative;
    font-family: 'axiformasemibold';
    text-transform:uppercase;
}

header .menu li:before {
    content:'';
    position:absolute;
    right: -2px;
    top: 16px;
    background:#fff;
    width:5px;
    height:5px;
    border-radius:50%;
}

header .menu li:last-child:before {
    display:none;
}

.content {
    display:flex;
    justify-content: space-between;
}

.text h2 {
    font-size:112px;
    font-family: 'Montserrat', sans-serif;
    line-height: 128px;
}

.text h2 span {
    position:relative;
    z-index:10;
}

.text h2 span:after {
    content: '';
    background: #ed0506;
    bottom: 5%;
    left: -5%;
    margin: 0;
    position: absolute;
    width: 110%;
    height: 88%;
    z-index: -1;
}

.content .image {
    width:100%;
}

.content .image img {
    padding-top:8px;
}

footer {
    text-align: center;
    margin-top: auto;
}

footer .contact {
    display:flex;
    justify-content: center;
    margin-bottom:50px;
}

footer .contact span.phone,
footer .contact span.sos {
    font-family: 'axiformaextrabold';
    font-size:32px;
    line-height:36px;
    display: block;
    padding: 5px 12px 0px;
}

footer .contact span.phone {
    margin:-4px 20px 0;
    border:3px solid #fff;
}

footer .contact span.mail {
    font-family: 'axiformalight';
    font-size:26px;
    line-height:40px;
}

footer p {
    font-family: 'axiformalight';
    font-size:32px;
    line-height:36px;
    margin:0 0 15px;
}

footer p.red {
    font-family: 'axiformasemibold';
    color:#ed0506;
}

@media screen and (max-width: 1040px) {
    .wrapper {
        padding: 0 20px;
    }
}

@media screen and (max-width: 840px) {
  
  .text h2 {
      font-size:80px;
      line-height:92px;
  }
  
  .content image {
      text-align:center;
      
  }
  
  .content .image img {
      max-height:350px;
  }
  
}

@media screen and (max-width: 768px) {
    
    header {
        display:block;
        padding: 30px 0 0 0;
        text-align: center;
    }
    
    header img {
        max-height:90px;
    }
    
    header .menu {
        padding: 20px 0 0 0px;
        text-align:center;
        display:flex;
        justify-content: center;
    }
    
    header .menu li {
        float:none;
        display:inline-block;
        font-size: 14px;
        line-height: 24px;

    }
    
    header .menu li:before {
        top: 8px;
        right: -2px;
    }
    
    .content {
        display: block;
        position: relative;
            margin: auto;
    }
    
    .content .text {
        max-width:300px;
        margin:0 auto;
    }
    
    .content .image img {
        padding-top:0;
    }
    
    .text h2 {
        text-align:center;
        font-size: 56px;
        line-height:66px;
    }
    
    .content .image {
        
    }
    
    .content .image img {
        max-height: 270px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: auto!important;
        text-align: center;
        z-index: -1;
        bottom:0;
    }
    
    footer .contact,
    footer .contact span {
        display:block;
    }
    
    footer .contact span.phone, footer .contact span.sos,
    footer .contact span {
        margin:0 0 10px!important;
        font-size: 20px;
        line-height: 24px;
    }
    
    footer p {
        font-size: 18px;
    line-height: 24px;
    }
    
}

@media screen and (max-width: 420px) {
    
    header .menu li {
        font-size:12px;
        margin-right: 4px;
        padding-right: 4px;
    }
    
    header .menu li:before {
        width:4px;
        height:4px;
            top: 9px;
    }
    
}