/* ------------------------- Fonts ----------------------------- */
@font-face {
    font-family: 'Avenir';
    font-weight: 400;
    font-style: normal;
    src: url('./assets/fonts/Avenir_Book.ttf');
}
@font-face {
    font-family: 'Avenir';
    font-weight: 800;
    font-style: normal;
    src: url('./assets/fonts/Avenir_Heavy.ttf');
}
/* ------------------------------------------------------ */

/*-----Reset css-----*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 62.5%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

html {
    font-size: 62.5%;
    overflow: hidden;
}

body {
    font-size: 1.6rem;
    line-height: 1.5;
    overflow: hidden;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*-----fonts-----*/
p, h1, h2, h3, h4, h5, h6, a, li, span, label, input, textarea {
    font-family: "Avenir", sans-serif;
}

* {
    box-sizing: border-box;
}

.container{
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1920px;
    padding-left: 78px;
    padding-right: 78px;
}

main{
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    width: 100%;
    min-height: 100vh;
    padding-top: 36px;
    padding-bottom: 36px;
}

.bc {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bc img {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center top;
    object-position: center top;
}

.info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.2rem;
}

.contact {
    font-size: 2.4rem;
    font-weight: 800;
    text-decoration: underline;
    text-transform: uppercase;
    color: #000000;
}

.contact:hover {
    text-decoration: none;
}

.contact:focus {
    text-decoration: underline;
}

.bg-align-top img {
    -o-object-position: center top;
    object-position: center top;
}

.bg-align-center img {
    -o-object-position: center center;
    object-position: center center;
}

.bg-align-bottom img {
    -o-object-position: center bottom;
    object-position: center bottom;
}

@media only screen and (min-width: 985px){
    .bc-white,
    .bc-white .contact {
        color: #ffffff;
    }
}


@media only screen and (max-width: 1440px){
    .container{
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media only screen and (max-width: 1260px){
    .logo{
        width: 58.33%;
    }
}

@media only screen and (max-width: 984px){
    .container{
        padding-left: 48px;
        padding-right: 48px;
    }

    main {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding-top: 0;
    }

    .bc {
        position: relative;
        height: inherit;
        padding-bottom: calc(1080 / 1920 * 100%);
        min-height: 380px;
        margin-bottom: 18px;
    }

    .contact {
        margin-top: 24px;
    }
}

@media only screen and (max-width: 840px){
    .container{
        padding-left: 24px;
        padding-right: 24px;
    }
}