/*Обнуление*/
*{padding: 0;margin: 0;border: 0;}
*,*:before,*:after{-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}
nav,footer,header,aside{display: block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration: none;color: white;}
a:hover{text-decoration: none; color: unset;}
ul li{list-style: none;}
img{vertical-align: top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: inherit;margin-bottom: 0;}
/*--------------------*/

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('../fonts/raleway-v19-cyrillic-regular.woff2') format('woff2'),
         url('../fonts/raleway-v19-cyrillic-regular.woff') format('woff');
  }

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('../fonts/raleway-v19-cyrillic-500.woff2') format('woff2'),
       url('../fonts/raleway-v19-cyrillic-500.woff') format('woff');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    src: local(''),
         url('../fonts/raleway-v19-cyrillic-600.woff2') format('woff2'),
         url('../fonts/raleway-v19-cyrillic-600.woff') format('woff');
}

@font-face {
    font-family: 'Akrobat';
    font-style: normal;
    font-weight: normal;
    src: local(''),
         url('../fonts/Akrobat.woff') format('woff2');
}


h1 {
    font-family: 'Akrobat';
    font-weight: 600;
    font-size: 42px;
    line-height: 52px;    
}

h2 {
    font-family: 'Akrobat';
    font-size: 26px;
}

h3 {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}

h4 {
    font-family: 'Raleway';
    font-size: 16px;
    margin-left: 20px;
}

h5 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

body {
    background: right / cover no-repeat url(../img/bg_desktop.jpg);
    background-attachment: fixed;
    color: white;
    font-family: 'Raleway';
}

.wrapper, .wrapper-bot {
    padding-top: 30px;
}

.height-content {
    height: 400px;
}

.yt-lazy {
    position: relative;
    background-color: #000;
    height: 100%;
  }
  
.yt-lazy:hover .yt-lazy__play-bg {
    fill: #f00;
    fill-opacity: 1;
  }
  
.yt-lazy__preview {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    transition: opacity .8s ease-in;
    cursor: pointer;
    z-index: 1;
    height: 100%;
}
  
.yt-lazy__preview.darker {
    opacity: 0;
  }
  
.yt-lazy__preview.darker .yt-lazy__play {
    display: none;
  }
  
.yt-lazy__preview-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  
.yt-lazy__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: fill 0.1s cubic-bezier(0.4, 0, 1, 1), fill-opacity 0.1s cubic-bezier(0.4, 0, 1, 1);
    z-index: 2;
  }
  
.yt-lazy__play-bg {
    fill: #000;
    fill-opacity: .8;
  }
  
.yt-lazy iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
  }

.wrapper-center {
    margin-top: 80px;
}

.wrapper-bot {
    display: flex;
    align-items: center;
}

.header-left, .header-right {
    display: flex;
}

.header-left {
    justify-content: flex-start;
    align-items: center;
}

.header-right {
    justify-content: flex-end;
}

.header-icons {
    display: flex;
    position: absolute;
    top: 113px;
    left: 110px;
}

.header-icons img {
    margin-right: 10px;
}

/* .header-icons a:hover {
    transform: scale(1.1);
}
 */
.content-right {
    justify-content: flex-start;
    text-align: center;
}

.content-right h5 {
    text-align: start;
    width: 320px;
}

.content-right a{
    color: #4087BE;
}

.content-left img {
    width: 100%;
}

.success-text {
    font-size: 40px;
}

.form__bottom {
    width: 100%;
}

.form__fields, .form__bottom {
    width: 100%;
}

.content__right-text {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
}

.form-success {
    height: 300px;
    width: 300px;
    background: #000;
}

#form input.invalid {
    border-color: #DA0007;
}    

#callback {
    margin: 0 auto;
}

#form input {
    font-family: 'Akrobat';
    width: 100%;
    height: 60px;
    border: 2px solid #D2D6D9;
    margin-bottom: 15px;
    padding-left: 20px;
    color: #222222;
    font-size: 20px;
}

input::placeholder {
    font-family: 'Raleway';
    color: #222;
    font-weight: 500;
    font-size: 18px;
}

.search-btn {
    width: 100%;
    height: 60px;
    background-color: #DA0007;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn img {
    margin-left: 10px;
}

@media screen and (max-width: 1199.98px) {
    .header-icons {
        right: 20px;
    }

    .wrapper-center {
        margin-top: 30px;
    }

    .height-content {
        height: 298px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .content-right {
        text-align: left;
        margin-top: 20px;
    }

    #form {
        align-items: flex-start;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .search__form-bot {
        margin-left: 20px;
    }

    .search__form-bot:first-child {
        margin-left: 0;
    }
    
    .height-content {
        height: 340px;
    }

    
}



@media screen and (max-width: 991.98px) {
    h1 {
        font-size: 30px;
        line-height: 40px;
    }
    
    h2 {
        font-size: 20px;
        line-height: 44px;
    }
    
    h3 {
        font-size: 16px;
        width: 350px;
    }
    
    h4 {
        font-size: 14px;
        line-height: 18px;
    }
    
    body {
        background: right / cover no-repeat url(../img/bg_mobile.jpg);
        background-attachment: fixed;
    }

    .success-text {
        font-size: 30px;
    }

    .wrapper-center {
        margin-top: 30px;
    }

    .content-left img {
        width: 100%;
    }

    .header-icons {
        top: 43px;
        left: 380px;
    }
    .header-icons img {  
        width: 36px;
        height: 36px;
    }

    .header-left img {
        max-width: 67px;
    }

    .form__fields {
        width: 100%;
    }

    .form__fields, .form__bottom {
        width: calc(50% - 15px);
    }

    #form {
        max-width: 100%;
    }

}
@media screen and (max-width: 767.98px) {

    .header-icons {
        position: absolute;
        top: 84px;
        left: 80px;
    }

    h3, .success-text {
        margin: auto;
    }

    .header-left img {
        max-width: 67px;
    }

    .height-content {
        height: 280px;
        margin-bottom: 20px;
    }

    .form__fields, .form__bottom {
        width: 100%;
    }

    #form {
        width: 300px;
    }

    .content-right h5 {
        margin-bottom: 20px;
    }
}
    @media screen and (max-width: 575.98px) {

    h1 {
        font-size: 28px;
        line-height: 40px;
    }
    
    h2 {
        font-size: 20px;
        line-height: 44px;
    }
    
    h3 {
        margin: auto;
        width: 100%;
    }
    
    h4 {
        font-size: 14px;
        line-height: 18px;
    }

    .form__fields, .form__bottom {
        width: 100%;
    }

    .success-text {
        margin: auto;
        width: 100%;
        font-size: 26px;
    }

    .wrapper, .wrapper-bot {
        padding-top: 15px;
    }

    .header-icons {
        position: unset;
        margin-top: 15px;
        justify-content: center;
        right: 20px;
    }

    .content-left img {
        width: 100%;
        }

    .header-left {
        text-align: center;
    }
    
    .header-left img {
        max-width: 67px;
    }

    .wrapper-center {
        margin-top: 20px;
    }

    .height-content {
        height: 250px;
        margin-bottom: 20px;
    }

    #form {
        width: 300px;
    }

    .content-right h5 {
        margin-bottom: 20px;
    }
}

@media (max-width: 320px) {
    .height-content {
        height: 160px;
    }
    
    .content-right h5 {
        margin-bottom: 20px;
    }

    .form__fields, .form__bottom {
        width: 100%;
    }

}







