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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}

html {
    font-size: 15px;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 1rem;
}

/*Page*/

.page {
    width: 100%;
    height: 100vh;
    min-width: 770px;
    position: relative;

    background: #000 url(../img/bg.png) center no-repeat;
    background-size: cover;
    overflow: hidden;
}

/*Header*/

.header {
    padding: 1rem 0;
    margin-bottom: 110px;

    background: #2b7ded;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__brand {
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 700;
}

.header__logo img{
    display: block;
}

.header__brand {
    font-weight: 700;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: #fff;
}

.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: #6db1ff;
}

.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;

    font-size: 1.8rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.2;
}

.title span{
    color: #2b7ded;
}

.text {
    margin-bottom: 50px;

    font-size: 1rem;
    color: #fff;
}

.text p::first-line {
    font-weight: 700;
}

/*Btn*/

.btn {
    display: inline-block;
    padding: 12px 35px;

    font-family: inherit;
    font-size: 1rem;
    line-height: 1.1;
    color: #fff;
    font-weight: 500;
    text-decoration: none;

    cursor: pointer;
    border: 0;
    background-color: #2b7ded;
    border-radius: 5px;

    transition: background .2s linear;
}

.btn__full {
    display: block;
    width: 100%;
}

.btn:hover {
    background-color: #1461cb;
}

/*Dwarf*/

.dwarf {
    position: absolute;
    bottom: 10px;
    right: 70px;
}

/*Footer*/

.footer {
    width: 100%;

    position: absolute;
    bottom: 45px;
    left: 0px;
}

/*Contacts*/

.contacts {
    display: flex;
    align-items: center;
}

.contacts__link {
    margin-right: 2rem;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.contacts__link:last-child{
    margin-right: 0;
    position: relative;
}

.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:hover {
    text-decoration: underline;
}

.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;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .1);
}

.textarea {
    height: 100px;
    resize: none;
}

.input::placeholder,
.textarea::placeholder {
    color: #fff;
}

/*Media*/

@media (max-width: 1000px) {
        .dwarf {
            right: -140px;
        }
}

@media (max-width: 767px) {
        .page {
            min-height: 100vh;
            height: auto;
            padding-bottom: 2rem;
        }

        /*Header*/

        .header {
            margin-bottom: 50px;
        }

        .header__logo {
            display: none;
        }

        .header__brand {
            font-size: 1.2rem;
        }

        /*Content*/

        .content {
            max-width: none;
            margin-bottom: 50px;

            text-align: center;
        }

        /*Form*/
        .form {
            margin: 0 auto;
        }

        /*Footer*/

        .footer {
            position: static;
        }

        /*Contacts*/

        .contacts {
            flex-direction: column;
        }

        .contacts__link {
            margin-right: 0;
            margin-bottom: 0.5rem;
        }

        .contacts__link:last-child {
            margin-bottom: 0;
        }

        .contacts__link:last-child::after {
            display: none;
        }

        .dwarf {
            display: none;
        }


}

@media (max-width: 565px) {

        /*Header*/
        
        .header__inner {
            flex-direction: column;
        }

        .header__brand {
            margin-bottom: 1rem;
        }


}

@media (max-width: 320px) {

        .subtitle {
            font-size: 1.2rem;
        }

        .title {
            font-size: 1.6rem;
        }
}