html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    -moz-font-feature-settings: "kern";
    -webkit-font-feature-settings: "kern";
    font-feature-settings: "kern";
    line-height: 1.333em;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
}

.wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}
nav {
    font-family: Roboto;
    font-size: 15px;
    color: #596070;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 auto;
    list-style: none;
    width: 100%;
    height: 29px;
    text-align: center;
    margin: 5px 0 5px 0;
    padding: 0;
}

nav ul li a {
    color: #596070;
    text-decoration: none;
    background-color: rgba(255,255,255,0.76);
    /*background-image: url("../images/btn-normal.png");*/
    display: block;
    width: calc(100%-30px);
    height: 100%;
    padding: 5px;
    margin-left: 35px;
    text-indent: -35px;
}

nav ul li::before {
  background-color: rgba(255,255,255,0.76); 
  background-position: left top;
  background-repeat: no-repeat;
    background-size: auto 100%;
    content:"";
    width: 35px;
    height: 100%;
    display: inline-block;
    float: left;
}

nav ul li:hover::before, nav ul li.active::before {
  background-image: url("../images/btn-small.png"); 
  background-color: rgba(255,255,255,0); 
  background-position: left top;
  background-repeat: no-repeat;
  background-size: auto 100%;
    content:"";
    width: 35px;
    height: 100%;
    display: inline-block;
    float: left;
}

.content-table {
    display: table;
    width: 100%;
    height: 100%;
}
.content-row {
    display: table-row;
    width: 100%;
    height: 100%;
}

.content-cell {
    display: table-cell;
    text-align: center;
    vertical-align: bottom;
    padding: 26px 10px 20px 10px;
    width: 100%;
    height: 100%;
}

.content {
    background-color: rgba(255,255,255,0.76);
    font-size: 15px;
    color: #54545D;
    text-transform: uppercase;
    padding: 26px 10px 0 10px;
    margin-bottom: 15px;
    line-height: 1.333em;
    overflow: hidden;
}

.content a {
    color: #54545D;
    text-decoration: none;
}

span.icon-exit {
    display: block;
    font-size: 18px;
    padding: 15px;
    cursor: pointer;
}
.visible {
    display: block;
    opacity: 1;
    -webkit-transition: all 100ms ease;
    -moz-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    transition: all 100ms ease;
}
.unvisible {
    opacity: 0;
    -webkit-transition: all 100ms ease;
    -moz-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    transition: all 100ms ease;
}

.hidden {
    display: none;
}

@media screen and (min-width: 375px) {
    .content-cell {
        padding: 26px 14px 54px 14px;
    }
    .content {
        background-color: rgba(255,255,255,0.76);
        padding: 26px 14px 0 14px;
        font-size: 17px;
    }
}

@media screen and (min-width: 768px) {
    .content-cell {
        padding: 26px 90px 75px 90px;
    }
    .content {
        background-color: rgba(255,255,255,0.76);
        padding: 70px 45px 0 45px;
        font-size: 26px;
    }
    nav {
        font-size: 22px;
    }
    nav ul li { 
      height: 35px;  
    }
    nav ul li a {
        padding: 8px;
    }
    span.icon-exit {
        font-size: 20px;
    }
}

@media screen and (orientation: portrait) {
    body {
        background: url('../images/bg-image-small.jpg') #000000 no-repeat;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        background-position: 50%
    }
}

@media screen and (orientation: landscape) {
    body {
        background: url('../images/bg-image-small-landscape.jpg') #000000 no-repeat;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        background-position: 50%
    }
}

@media screen and (min-width: 768px) and (orientation: landscape) {
    body {
        background: url('../images/bg-image-middle-landscape.jpg') #000000 no-repeat;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        background-position: 50%
    }
}

@media screen and (min-width: 768px) and (orientation: portrait) {
    body {
        background: url('../images/bg-image-middle.jpg') #000000 no-repeat;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        background-position: 50%
    }
}

@media screen and (max-width: 767px) and (orientation: landscape) {
    .wrapper {
        max-width: 75%;
        margin: 0 auto;
    }

}

@media screen and (min-width: 992px) {
    body {
        background: url('../images/bg-image-big.jpg') #000000 no-repeat;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        background-position: 50%
    }
    .wrapper {
        max-width: 930px;
        margin: 0 auto;
    }
    nav {
        max-width: 330px;
        position: fixed;
        top: 100px;
    }
    nav ul li { 
      height: 35px;  
    }
    .content-cell {
        padding: 26px 0px 75px 0px;
    }
    .content {
        width: 560px;
        position: absolute;
        padding: 105px 40px 0 40px;
        right: 0;
    }
    #we {
        top: 183px;
    }
    #we-deliver {
        top: 183px;
    }
    #we-do {
        /*top: 144px;*/
        top: 183px;
    }
    #we-work-in {
        top: 183px;;
    }
    #contact {
        top: 183px;
        padding: 55px 35px 0 35px;
    }
    span.icon-exit {
        margin-top: 50px;
        margin-bottom: 15px
    }
}

@media screen and (min-width: 992px) and (max-height: 768px) and (orientation: landscape) {
    nav {
        top: 50px;
    }
    .content {
        padding: 55px 40px 0 40px;
    }

}