@font-face {
    font-family: 'apercu';
    src: url('../fonts/apercu_bold-webfont.woff2') format('woff2'),
         url('../fonts/apercu_bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'apercu';
    src: url('../fonts/apercu_medium-webfont.woff2') format('woff2'),
         url('../fonts/apercu_medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'apercu', sans-serif;
}

a,
a:hover {
    color: #00242d;
    text-decoration: none;
}

footer a:after {
    content: '';
    display: block;
    width: 0%;
    border-bottom: 4px solid #00242d;
    margin-top: -6px;
    transition: 0.2s;
}

footer a:hover:after {
    width: 100%;
}

.page {
    width: 100%;
    height: 100%;
    background-image: url( '../img/background_1080.jpg' );
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.page .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.page .row {
    padding-top: 10px;
    padding-bottom: 10px;
}

.page .container > .row {
    flex-basis: 0;
}

.grow {
    flex-grow: 1;
}

.grow > div {
    height: 100%;
    display: flex;
}

.social {
    
}

.social a {
    padding: 5px 0;
    margin-right: 10px;
}

.social a:last-child {
    margin-right: 0;
}

.social img {
    height: 24px;
}

.logo {
    max-width: 250px;
    margin-right: -7px;
}

.h2 {
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.8px;
    margin-top: 0;
    margin-bottom: 0;
}

.address {
    margin-top: 20px;
    margin-bottom: 2px;
}

p {
    font-size: 12px;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 0;
}

footer {
    background-color: #ffebe0;
    color: #00242d;
}

footer a {
    display: inline-block;
}

footer .row {
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 110px;
}

.scroll {
    text-transform: uppercase;
    background: url('../img/icons_arrow.svg') no-repeat;
    background-size: auto 20px;
    background-position: center right;
    padding: 5px 20px 5px 0;
    animation-name: bump-bg;
    animation-duration: 2s;
    animation-iteration-count:infinite;
    animation-timing-function: ease-in-out;
}

.bump:hover {
    animation-name: bump;
    animation-duration: 0.4s;
}

.social {
    text-align: right;
    float: right;
}

.social a {
    margin-right: 0px;
    margin-left: 10px;
}

@media (min-width: 480px)  {
    .h2 {
        font-size: 25px;
        letter-spacing: 0.8px;
    }

    p {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (min-width: 992px) {
    .social img {
        height: 14px;
    }

    footer .row {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .address {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .page .row {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .mail-link {
        margin-top: 34px;
    }

    .page {
        background-image: url( '../img/background_large.jpg' );
    }
}

@keyframes bump {
    0% { transform: translateY(0); }
    20% { transform: translateY(-5px); }
    50% { transform: translateY(-7px); }
    70% { transform: translateY(-5px); }
    90% { transform: translateY(1px); }
    100% { transform: translateY(0); }
}

@keyframes bump-bg {
    0% { background-position-y: 0%; }
    50% { background-position-y: 100%; }
    100% { background-position-y: 0%; }
}

.ios body {
    margin-bottom: 0;
}

.ios footer {
    position: relative;
    height: auto;
    z-index: 10;
}

.ios .page .row {
    position: absolute;
    left: 0;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.ios .page .row:first-child {
    top: 2%;
}

.ios .page .row:last-child {
    bottom: 2%;
}

.ios .logo-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
