/*@font-face {
    font-family: Gilroy-Light;
    src: url(fonts/Gilroy-Light.ttf);
}*/

body {
    margin: 0;
    padding: 0;
    color: white;
    font-family: sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1 {
    margin: 0;
}

button {
    background: none;
    border: none;
}

h5 {
    opacity: 1;
    font-size: 16px;
}

span {
    font-size: 45px;
    margin-left: 15px;
}

span:active {
    border: none;
}

p {
    margin: 40px 0 0 0;
}

img {
    height: 100%;
}

a {
    text-decoration: none;
}
/* Phone*/

.phone {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-color: grey;
    text-align: center;
    right: 50px;
    bottom: 50px;
    position: fixed;
    z-index: 100;
    display: none;
}

.phone>i {
    font-size: 30px;
    color: black;
    margin-top: 15px;
}






/* Menu-hamburger */

/* скрываем чекбокс */
#menu__toggle {
  opacity: 0;
}
/* стилизуем кнопку */
.menu__btn {
  display: flex;
  align-items: center;
  position: absolute; /*адаптация 07.11*/
  top: 20px;
  right: 40px;
  width: 26px;
  height: 26px;
  cursor: pointer;
}
/* добавляем "гамбургер" */
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #616161;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}

/* контейнер меню */
.menu__box {
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  width: 100%;
  height: 245px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  background-color: #ECEFF1;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  z-index: 5;
}

.menu__box li{
    margin-top: 20px;
    color: black !important;
}
/* элементы меню */
.menu__item {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}
.menu__item:hover {
  background-color: #CFD8DC;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
}
.hambur {
    display: none;
}

.service_btn {
    color: white;
    position: fixed;
    top: 50%;
    background-color: slategray;
    padding: 5px 10px;
    max-width: 80px;
    font-size: 16px;
    z-index: 1;
    border-radius: 0px 5px 5px 0px;
}

/* Menu */

.container {
    width: 1280px;
    margin: 0 auto;
    padding-top: 10px;
}

.logo {
    height: 82px;
}

.menu {
    background-image: url(../img/back/3_ekran.jpg);
    /*height: 110vh;*/
    background-size: cover;
    background-position: bottom;
}

.menu_pos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.menu_tb {
    display: flex;
    align-items: center;
}
.menu_tb li {
    list-style-type: none;
    margin-left: 82px;
}

.menu_tb>li>a {
    color: white;
}

.menu_tb li a:hover {
    color: #909090;
}

.menu_icon {
    position: absolute;
    display: flex;
    top: 10px;
    right: 120px;
}
.menu_icon>i {
    margin-left: 8px;
}

.opac_menu {
    opacity: 0.7;
    font-size: x-large;
}
/* About */

.about {
    background-image: url(../img/back/2_ekran.jpg);
    background-size: cover;
    background-position: top;
    position: relative;
    line-height: 1.6;
}

.content_speed {
    display: flex;
    justify-content: space-between;
    /*text-align: end;*/
    margin-bottom: 10px;
}

.plus {
    /*width: 15%;*/
    display: inline-block;
    background-color: #fff3;
    padding: 35px 15px;
    margin: 5px;
    text-align: center;
}

.plus img {
max-width: 150px;
max-height: 100px;
}

.speed_img {
    height: 600px;
}

.about_text {
    /*width: 800px;*/
    display: flex;
}

.strap {
    opacity: 0.2;
    position: absolute;
    top: 0;
    top: 760px;
    height: 200px;
    width: 90%;
}

.speed_text {
    width: 550px;
}
/* Service */

.service{
    background-image: url(../img/back/3_ekran.jpg);
    background-size: cover;
    background-position: top;
    padding-bottom: 150px;
}

.service_title {
    padding-top: 150px;
    text-align: center;
}

.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    width: 1140px;
}

.item_pos {
    display: flex;
    flex-direction: column;
}

/*.slot {
    margin:70px 87px;
    position: relative;
    color: white;
}

.slot>img:hover {
    filter: grayscale(1%);
    opacity: 1;
    box-shadow: 14px 12px 35px -4px #ddd9d9;
}*/

.text_item {
    position: absolute;
    left: 20%;
    bottom: 1%;
    opacity: 1;
    filter: grayscale(0);
    text-align: -webkit-center;
   /* filter: drop-shadow(0px 0px 0px white);  делает чуть светлее, но размывает*/
}


.test {
   /* position: absolute;
    bottom: -6%;
    opacity: 1;*/
    text-align: -webkit-center;
    width: 100%
}

.arrow  {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
    padding-bottom: 80px;
    margin: 0 auto;
    width: 967px;
}

.arrow>button>i {
    color: white;
    font-size: 35px;
    margin-left: 20px;
}


/* Feedback */

.feedback {
    color: black;
}

.content_feedback {
    width: 950px;
    margin: 0 auto;
}

.feedback_title {
    margin: 100px 0;
}

.people {
    display: flex;
    align-items: center;
}

.photo {
    height: 94px;
    width: 94px;
    border-radius: 50%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 19px;
    margin-right: 20px;
}

.feedback_text {
    margin: 45px 0;
}

.scroll {
    height: 29px;
    text-align: end;
}

.prev {
    height: 30px;
    width: 30px;
    padding: 0;
    margin: 0;
}

.next {
    height: 30px;
    width: 30px;
    padding: 0;
    margin: 0;
}

/* Maps */
.main_maps {
    display: flex;
    height: 600px;
    position: relative;
    overflow: hidden;
    /*margin-top: 100px;*/
}

.maps {
    width: 55%
}
.maps>iframe {
    width: 100%;
    height: 100%;
}

.content_maps {
    width: 45%;
    background-image: url(../img/back/fon_map.jpg);
}

.content_maps div {
    margin: 20px;  
}

.content_maps div:first-child {
    display: inline-block;
}

.content_maps a {
    color: white;     
}

.content_maps h2 {
    margin: 0;  
}

.content_maps .foot_icon {
    display: flex;
    float: right;
    font-size: xx-large;
}

.cars {
    position: absolute;
    height: 410px;
    right: -60px;
    top: 195px;
}

/* Footer */

.footer {
    background-color: black;
    color: #898989;
    font-size: 14px !important; /*меняю с 12 на 14*/
    padding: 30px 0;
}
.footer_content {
    display: flex;
    justify-content: space-between;
}

.foot_name {
    width: 300px;
    padding-bottom: 10px;
}

.foot_menu {
    display: flex;
    flex-direction: column;
}

.foot_menu div {
    margin-top: 11px;
}

.foot_text {
    margin-top: 12px;
}

.foot_menu li {
    list-style-type: none;
}

.anchor {
    height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.anchor>li>a {
    color: #898989;
}

.foot_icon {
    display: flex;
    margin-top: 20px;
    font-size: xx-large; /*Добавил стиль*/
}

.foot_icon>i {
    margin-left: 8px;
}

.owl-dots .owl-dot {
    display: none;
}


/* Modal */
.modal_div {
   width: 460px;
   height: 385px;
   border-radius: 25px;
   border: 3px #000 solid;
   background: #fff;
   position: fixed; 
   top: 5%; 
   left: 50%; 
   margin-top: -250px;
   margin-left: -230px; 
   display: none; 
   opacity: 0; 
   z-index: 5; 
   padding: 20px 10px;
}

.modal_close {
   width: 21px;
   height: 21px;
   position: absolute;
   top: 10px;
   right: 10px;
   cursor: pointer;
   display: block;
    color: black;
}

#overlay {
   z-index:3;
   position:fixed;
   background-color:#000; 
   opacity:0.8; 
   -moz-opacity:0.8;
   filter:alpha(opacity=80);
   width:100%;
   height:100%; 
   top:0; 
   left:0;
   cursor:pointer;
   display:none; 
}

.modal_form {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
}

.modal_form>input {
    margin-bottom: 30px;
    height: 40px;
    border: 1px solid black;
    border-radius: 10px;
    padding-left: 10px;
}

.advant { /*адаптация 07.11*/
        width: 25%;
        display: grid;
    }

/* Media 1300 1024 768 480 320 */

@media screen and (min-width: 720px) {
    .slot>img {
    border-radius: 5px;
    height: 200px;
    filter: grayscale(50%);
    object-fit: cover;
    }

    #mob .slot {
border-radius: 5px;
height: 200px;
filter: grayscale(50%);
object-fit: cover;
width: 290px;
        /*=======*/
    margin:25px;
    position: relative;
    color: white;
    background-size: cover;
    }
    
    .slot:hover {
    filter: grayscale(1%);
    opacity: 1;
    box-shadow: 14px 12px 35px -4px #ddd9d9;
    }
    .test {
        /*position: absolute;
bottom: -6%;
opacity: 1;*/
text-align: center;
width: 100%;
/*margin: 10px 0;*/
padding: 10px 0;
background: linear-gradient(to top, #10101000 0%, #10101047 10%, #00000094 70%);
    }

    .items_back {
    background-color:#fff3;
    /*margin-top: 90px;*/
    padding-top: 50px;/*уменьшил с 100 до 50*/
    }

    .about {
        padding-bottom: 100px; 
    }

    .service_title {
        padding: 0;
    }

    #desk {
        display: none;
    }
}

@media screen and (max-width: 1300px) {
    .container {
        width: 1160px;
    }
    .menu_icon {
        right: 60px;
    }
    .content_feedback {
        width: 800px;
    }
}
@media screen and (max-width: 1165px) {
    .container {
        width: 97%;
    }
    h1 {
        font-size: 66px;
    }
    .menu_tb li {
        margin-left: 56px;
    }
    .menu_icon {
        right: 25px;
    }
    .speed_img {
        height: 520px;
    }
    .strap {
        top: 662px;
        height: 190px;
    }
    .items {
        width: 100%;
    }
    .cars {
        height: 310px;
        top: 295px;
    }    
}
@media screen and (max-width: 1054px) {
    .container {
        width: 95%;
    }
    .advant { /*адаптация 07.11*/
        width: 25%;
        display: grid;
    }
    .menu {
        height: 12vh; /*адаптация 07.11*/
    }
    .menu_icon {
        right: 7px;
    }
    .menu_tb li {
        margin-left: 27px;
    }
    .speed_img {
        height: 400px;
    }
    h1 {
        font-size: 51px;
    }
    p {
        margin: 15px 0 0 0;
        /*font-size: 13px; адаптация 07.11*/
    }
    .about_text {
        /*width: 525px; адаптация 07.11*/
    }
    .strap {
        width: 95%;
        height: 150px;
        top: 540px;
    }
    .items {
        width: 100%;
    }
    .slot {
        margin: 48px 38px; 
    }
    .cars {
        height: 290px;
        right: -65px;
        top: 310px;
    }
    .arrow {
        width: 800px;
    }
    .scroll {
        margin-right: 20px;
    }
    .content_feedback {
        width: 95%;
    }
}
@media screen and (max-width: 895px) {
    .menu_tb {
        display: none;
    }
    .hambur {
        display: block;
    }
    h1 {
        font-size: 48px;
    }
    .cars {
        height: 260px;
        right: -52px;
        top: 342px;
    }
    .phone {
        display: block;
    }
}

@media screen and (max-width: 788px) {
    .container {
        width: 95%;
    }
    .menu {
        height: 9vh;
    }
    .menu_tb li {
        margin-left: 17px;
    }
    .speed_img {
        height: 300px;
    }
    .strap {
        width: 95%;
        height: 145px;
        top: 428px;
    }
    .slot {
        margin: 31px 27px;
    }
    .arrow {
        width: 90%;
    }
    .content_feedback {
        width: 90%;
    }
    .feedback_title {
        margin: 90px 0 50px 30px;
    }
    .prev {
        height: 40px;
    }
    .next {
        height: 40px;
        margin-left: 20px;
    }
    .main_maps {
        height: 500px;
    }
    .cars {
        height: 243px;
        right: -45px;
        top: 258px;
    }
}

@media screen and (max-width: 720px) {
    .menu_tb li {
        font-size: 12px;
        margin-left: 14px;
    }
    .speed_img {
        height: 250px;
    }
    h1 {
        font-size: 45px;
    }
    .strap {
        top: 400px;
    }
   .item_pos {
        align-items: center;
    }
    .slot {
        width: 50%;
        margin: 40px auto;
    position: relative;
    color: white;
}

.slot>img:hover {
    filter: grayscale(1%);
    opacity: 1;
    box-shadow: 14px 12px 35px -4px #ddd9d9;
}
    .slot>img {
    border-radius: 30px;
    width: 200px;
    filter: grayscale(100%);
    opacity: 0.5;
    height: 200px;
    object-fit: cover;
}
    .cars {
        height: 207px;
        top: 293px;
    }
    .modal_div {
        margin-left: -250px;
    }
   .footer_content>div {
        min-width: 200px;
    }
    #mob {
        display: none;
    }
}


@media screen and (max-width: 686px) {
    .strap {
        top: 430px;
    }  
   .footer_content {
        height: 240px;
        flex-wrap: wrap;
    }
   .foot_icon {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        height: 80%;
        padding-left: 30px;
    }
    .anchor {
        align-items:center;
    }
}

@media screen and (max-width: 586px) {
    .menu_tb {
        padding: 0;
    }
    .advant { /*адаптация 07.11*/
        display: inline-flex;
        width: 49%;
    }
    .plus {/*адаптация 07.11*/
        width: 100%;
    }
    .menu_tb li {
        font-size: 10px;
        margin-left: 10px;
    }
    .content_speed {
        flex-direction: column-reverse;
        align-items: center;
    }
    h1 {
        text-align: center;
    }   
    .strap {
        top: 590px;
    }
    .speed_text {
        width: 95%;
    }
    .about_text {/*адаптация 07.11*/
        width: 100%;
        display: block;
    }
    .cars {
        height: 169px;
        top: 331px;
    }
    .content_speed {
        text-align: start;
    }
    .footer_content {
        height: 270px;
        flex-wrap: wrap;
    }
    .footer_content>div {
        width: 50%;
    }
    .anchor li {
        text-align: center;
        margin-top: 10px;
    }
    .modal_div {
        margin-left: -218px;
        width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 100%;
    }
    .menu_tb {
        padding: 0;
    }
    .logo {
        height: 51px;
    }
    .menu_icon {
        right: 25px;
        top: 7px;
    }
    .menu_tb li {
        margin-left: 13px;
        font-size: 9px;
    }
    .menu_icon>i {
        font-size: 9px;
    }
    .feedback_text {
        font-size: 10px;
    }
    .name {
        font-size: 25px;
    }
    .content_speed {
        flex-direction: column-reverse;
    }
    h1 {
        font-size: 43px;
    }
    /*p {
         font-size: 11px;
    } адаптация 07.11*/
    .speed_text {
        width: 95%;
        margin: 0 auto;
    }
    .speed_img {
        margin-top: 28px;
    }
    .about_text {
        width: 95%;
        margin: 0 auto;
    }
    .strap {
        height: 130px;
        top: 582px;
        left: 10px;
    }
    .service_title {
        padding-top: 55px;
    }
    .item_pos {
        align-items: center;
    }
    .items_back {
        margin-top: 30px;
        padding-top: 40px;
    }
    .service {
        padding-bottom: 75px;
    }
    .slot {
        margin: 35px auto;
        width: 63%;
        background-repeat: round;
    }
    .slot .test {
        height: 200px;
    }
    .owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
        width: 30px;
        height: 50px;
    }
    .owl-nav span {
        margin: 0px;
    }
    .test h5 {
    padding: 15px 0 15px 0;
    text-align: center;
    background: linear-gradient(to top, #10101000 0%, #10101047 10%, #00000094 70%);
    }
    .feedback_title {
        margin: 38px 0 47px 38px;
    }
    .photo {
        width: 60px;
        height: 60px;
        font-size: 15px;
    }
    .name {
        font-size: 17px;
    }
    .maps {
        width: 100%;
    }
    .main_maps {
        margin-top: 5px;
    }
    .content_maps {
        display: none;
    }
    .cars {
        display: none;
    }
    .footer_content {
        justify-content: space-evenly;
        padding: 6px;
    }
    .modal_div {
       width: 310px;
       height: 360px; 
       margin-top: -250px;
       margin-left: -175px; 
    }
    .foot_icon {
        height: 57%;
    }
    .footer_content {
        height: 285px;
    }
    .footer_content>div {
        min-width: 170px;
    }
}

@media screen and (max-width: 391px) {
     .menu_tb li {
         margin-left: 9px;
         font-size: 8px;
    }
    .advant {
        width: 100%; /*адаптация 07.11*/
    }
    .menu {
        height: 9vh; /*адаптация 07.11*/
    }
    .footer {
        font-size: 8px;
    }
    .modal_div {
       width: 300px;
       height: 360px; 
       margin-top: -250px;
       margin-left: -168px; 
    }
    .footer_content {
        height: 400px;
        text-align: center;
        justify-content: center;
    }
    .footer_content>div {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .anchor {
        padding: 0;
    }
    .foot_icon {
        padding: 0;
    }
}

@media screen and (max-width: 335px) {
    .xs_none {
        display: none;
    }
    .slot .test {
    height: 150px;
    }
    .menu_icon {
        right: 10px;
    }
    h1 {
        font-size: 38px;
    }
    .menu_tb li {
        margin-left: 10px;
        font-size: 8px;
    }
    .speed_img {
        height: 250px;
    }
    .strap {
        height: 94px;
        top: 587px;
    }
    .feedback_title {
        text-align: center;
        margin: 30px;
    }
    .feedback_text {
        margin: 25px 0;
    }
    .name {
        font-size: 12px;
    }
    .photo {
        width: 45px;
        height: 45px;
        font-size: 15px;
    }
    .photo {
        margin-right: 10px;
    }
    .footer_content {
        justify-content: space-around;
    }
    .modal_div {
       width: 280px;
       height: 300px; 
       margin-top: -229px;
       margin-left: -153px; 
    }
    .modal_form>input {
        margin-bottom: 20px;
        height: 30px;
    }
    .footer_content>div {
        min-width: 170px;
    }
}



































































