html {
    font-size: 15px;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}

.container {
    width: 100%;
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 1rem;
}


/* Page
=================*/

.page {
    width: 100%;
    height: 100vh;
    position: relative;
    background: #000 url("../img/bg.jpg") center no-repeat;
    background-size: cover;
}


/* Header
=================*/

.header {
    font-size: 5rem;
    padding: 1rem 0;
    margin-bottom: 110px;
    background: #2B7DED;
    white-space: nowrap;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}

.header-logo img {
    display: block;
}

.header-nav {
    display: flex;
}

.header-nav-link {
    margin-left: 1.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s linear;
}

.header-nav-link:hover {
    color: #b2e3fd;
}

.header-nav-link.active {
    position: relative;
}

.header-nav-link.active:after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: -5px;
}


/* Content
=================*/

.content {
    height: 100%;
    width: 100%;
    max-width: 565px;
}

.content-header {
    margin-bottom: 35px;
}

.subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, .6);
    font-weight: 300;
}

.title {
    margin-bottom: 10px;
    line-height: 1.2;
    font-size: 2rem;
    color: #fff;
    font-weight: 300;
}

.title span {
    color: #322AEB;
}

.text {
    font-size: 1rem;
    font-weight: bold;
    color: #B4BEF5;
    margin-bottom: 50px;
}


/* btn
=================*/

.btn {
    display: inline-block;
    padding: 12px 35px;
    border: 0;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.1;
    color: #fff;
    font-weight: 500;
    background-color: #2B7DED;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background .2s linear;
}

.btn-full {
    display: block;
    width: 100%;
}

.btn:hover {
    background-color: #6D8DF3;
}


/* Author
=================*/

.author {
    position: absolute;
    right: 20px;
    bottom: 0;
}


/* Footer
=================*/

.footer {
    width: 100%;
    position: absolute;
    bottom: 45px;
    left: 0;
}


/* contacts
=================*/

.contacts {
    display: flex;
    align-items: center;
}

.contacts-link {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    margin-right: 2rem;
}

.contacts-link:hover {
    text-decoration: underline;
}

.contacts-link:last-child:after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    margin-left: 2rem;
    background-color: #fff;
    pointer-events: none;
    position: absolute;
    left: 100%;
    top: 11px;
}

.contacts-link:last-child {
    margin-right: 0;
    position: relative;
}

.contacts-icon {
    margin-right: 5px;
}


/* Form
=================*/

.form {
    width: 100%;
    max-width: 280px;
}

.form-group {
    margin-bottom: 20px;
}

.input,
.textarea {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 1rem;
    color: #fff;
    border: 0;
    background-color: rgba(255, 255, 255, .1);
    border-radius: 5px;
}

.textarea {
    height: 100px;
    resize: none;
}

.input::placeholder,
.textarea::placeholder {
    color: #fff;
}


/* Media
=================*/

@media (max-width: 1050px) {
    .header {
        margin-bottom: 50px;
    }
    .header-logo {
        display: none;
    }
    .header-brand {
        font-size: 1.2rem;
    }
    .author {
        display: none;
    }
    .page {
        min-height: 100vh;
        height: auto;
        padding-bottom: 2rem;
    }
    .footer {
        position: static;
    }
    .content {
        margin-bottom: 50px;
        max-width: none;
        text-align: center;
    }
    .form {
        margin: 0 auto;
    }
    .contacts {
        flex-direction: column;
    }
    .contacts-link {
        margin-right: 0;
        margin-bottom: .5rem;
    }
    .contacts-link:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 560px) {
    .contacts-link:last-child:after {
        display: none;
    }
    .header {
        margin-bottom: 50px;
    }
    .header-inner {
        flex-direction: column;
    }
    .header-brand {
        margin-bottom: 1rem;
    }
    .content {
        text-align: center;
    }
    .page {
        min-height: 100vh;
        height: auto;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .title {
        font-size: 1.6rem;
    }
}

@media (max-height:900px) {
    .author {
        display: none;
    }
}