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

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

html,
body {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    font-family: "Metropolis-Regular", sans-serif;
}

.main-nav {
    position: relative;
    background: #00329B;
    text-align: center;
}

.main-nav,
.main-nav_logo-link {
    height: 50px;
}

.main-nav_logo-link {
    display: inline-block;
    width: 80px;
}

.unvailable-error {
    position: relative;
    background: url('../img/error-full.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    height: calc(100% - 50px);
}

.unvailable-error_text {
    position: absolute;
    color: #FFF;
    top: 35%;
    left: 20%;
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    max-width: 1000px;
    margin: 0;
}

.unvailable-error_text-title {
    font-size: 20px;
}

.unvailable-error_text-title_border {
    width: 20px;
    margin: 0;
    height: 2px;
    background: #FFF;
    border: none;
}

.unvailable-error_text-subtitle {
    display: block;
    font-family: "Metropolis-Bold", sans-serif;
    font-size: 40px;
    margin-top: 25px;
}

@media screen and (max-width: 1024px) {
    .unvailable-error_text {
        left: 0;
        padding: 0 20px;
    }
}

@media screen and (max-width: 767px) {
    .unvailable-error_text-subtitle {
        font-size: 25px;
    }
}
