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 0;
}
.container {
    max-width: 1030px;
    width: 100%;
    
    margin: 0 auto;
    padding: 0 1rem;
}

/*padge*/
.padge {
    width: 100%;
    height: 100vh;
    min-height: 770px;
    background: black url(../img/bg.jpg);
    position: relative;
    overflow: hidden;
}


/*header*/
.header {
    background: #2B7DED;
    padding: 1rem 0;
    margin-bottom: 110px;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-brand {
    font-size: 1.6rem;
    color: white;
    font-weight: 700;
}
.header-logo {
    display: block;
}
.header-nav {
    display: flex;
    justify-content: space-between;
}
.header-nav-link {
    margin-left: 1.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s linear;
}
.header-nav-link.active {
    position: relative;

}
.header-nav-link.active:after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    bottom: -5px;
}
.header-nav-link:hover {
    color: turquoise;
}

/*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: 200;
}
.title {
    font-size: 2rem;
    color: white;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 10px;
}
.title span {
    color: #2B7DED;
}
.text {
    font-size: 1rem;
    color: white;
    margin-bottom: 50px;
    font-weight: 400;
}

/*btn*/
.btn {
    display: inline-block;
    font-size: 1rem;
    color: white;
    font-weight: 500;
    background-color: #2B7DED;
    border-radius: 5px;
    text-decoration: none;
    padding: 12px 35px;
    transition: background .2s linear;
    line-height: 1.1;
    font-family: inherit;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background-color: #1461cb;
}
.btn.btn-form {
    display: block;
    width: 100%;
}


/*img*/
.author {
    position: absolute;
    bottom: 0;
    right: 20px;
}

/*footer*/
.footer {
    position: absolute;
    bottom: 45px;
    left: 0;
    width: 100%;
}
.contacts {
    display: flex;
    align-items: center;
}
.contacts-link {
    margin-right: 2rem;
    font-size: 1rem;
    color: white;
    font-weight: 400;
    text-decoration: none;
}
.contacts-link:last-child {
    margin-right: 0;
    position: relative;
}
.contacts-link:last-child::after {
    content: "";
    display: block;
    height: 2px;
    width: 80px;
    background-color: white;
    margin-left: 2rem;
    position: absolute;
    left: 100%;
    top: 11px;
    pointer-events: none;
}
.contacts-link:hover {
    text-decoration: underline;
}
.contacts-icon {
    margin-right: 5px;
}

/*form*/
.form {
    width: 100%;
    max-width: 280px;
}
.form-group{
    margin-bottom: 20px;
}
.form-input,
.form-textarea {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .1);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}
.form-textarea {
    height: 100px;
    resize: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: white;
}

/*media*/
@media (max-width: 1000px) {
    .author {
        right: -170px;
    }
}

@media (max-width: 767px) {
    .author {
        display: none;
    }
    .padge {
        min-height: 100vh;
        height: auto;
        padding-bottom: 2rem;
    }
    .content {
        margin-bottom: 2rem;
        max-width: none;
        text-align: center;
    }
    .header {
        margin-bottom: 50px;
    }
    .header-logo {
        display: none;
    }
    .header-brand {
        font-size: 1.2rem;
    }
    .footer {
        position: static;
        
    }
    .form {
        margin: 0 auto;
    }
}
@media (max-width: 565px) {
    
    .header-inner {
        flex-direction: column;
    }
    .header-brand {
        margin-bottom: 1rem;
    }
    .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;
    }
    
}

@media (max-width: 320px) {
    .title {
        font-size: 1.6rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
}