@font-face {
    font-family: 'IowanOldStyle';
    src: url('font/IowanOldStyle-Roman.eot?#iefix') format('embedded-opentype'),  url('font/IowanOldStyle-Roman.woff') format('woff'), url('font/IowanOldStyle-Roman.ttf')  format('truetype'), url('font/IowanOldStyle-Roman.svg#font/IowanOldStyle-Roman') format('svg');
    font-weight: normal;
    font-style: normal;
}

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: 100%;
    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;
}
body {
    line-height: 1;
}
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;
}
a{
    color: inherit;
    text-decoration: none;
}

html, body{
    height: 100%;
}
html{
    overflow: hidden;
}
body{
    background: url("img/bg.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    -webkit-background-size: cover;
    background-size: cover;
    overflow-x: hidden;
    overflow-y: auto;
}

.main{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding: 30px 325px;
    display: flex;
    align-items: center;
    min-height: 100%;
}
.logo{
    max-height: 39px;
    display: inline-block;
    margin-bottom: 120px;
}
.title{
    font-family: 'Poppins', sans-serif;
    font-size: 4.0em;
    line-height: 1.203em;
    font-weight: 600;
    margin-bottom: 10px;
}
.title .line{
    display: block;
}
.contact,
.text{
    font-family: "IowanOldStyle", "Times New Roman";
    font-size: 1.25em;
    font-weight: normal;
}
.text{
    max-width: 710px;
    line-height: 2.100em;
}
.contact{
    margin-top: 87px;
    line-height: 1.700em;
}

.nav-rs{
    margin-top: 50px;
}
.item-rs{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 66px;
    height: 66px;
    border: 1px solid white;
    display: inline-block;
    margin-right: 9px;
}
.item-rs:last-child{
    margin-right: 0px;
}
.item-rs a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-rs img{
    width: auto;
    height: auto;
    max-height: 40%;
}

.bg-video{
    width: auto;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

@media (max-height: 900px) {
    .logo{
        margin-bottom: 40px;
    }
    .contact{
        margin-top: 29px;
    }
    .nav-rs{
        margin-top: 17px;
    }
}

@media (max-width: 1600px) {
    body{
        font-size: 14px;
    }
    .main{
        max-width: 1104px;
        padding: 30px 40px;
        margin: 0 auto;
    }
}
@media (max-width: 1336px) {
    body{
        font-size: 12px;
    }
    .main{
        max-width: 768px;
    }
    .logo{
        height: 29px;
    }
    .item-rs{
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 768px) {
    body{
        font-size: 10px;
    }
    .main{
        max-width: 600px;
        padding: 30px 20px;
        text-align: center;
    }
    .item-rs{
        width: 40px;
        height: 40px;
    }
    .title{
        font-size: 3.0em;
    }
    .logo{
        margin-bottom: 30px;
    }
}