@media screen and (max-width: 390px) {
  .video-bg video {
    height: auto;
  }
  .video-bg__content {
    z-index: 2;
    color: #ffffff;
    font-size: 50px;
    height: 225px;
  }
  .effects {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 225px;
  }
  .video-bg {
    height: 225px;
    width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
  }

  /* .slogan {
      margin-top: 150px;
      margin-left: 10px;
      font-size: 25px;
    }
  
    .text {
      margin-top: 300px;
      margin-left: 10px;
      font-size: 18px;
    }
  
    .one {
      height: auto;
      padding: 10px;
    }
  
    .container {
      flex-direction: column;
      align-items: center;
    }
  
    .vam_body {
      max-width: 100%;
    }
  
    h1 {
      font-size: 20px;
      margin-left: 10px;
      margin-top: 20px;
    }
  
    h3 {
      font-size: 18px;
      margin-top: 10px;
    }
  
    .two {
      height: auto;
      padding: 10px;
    }
  
    p {
      margin: 10px;
      font-size: 14px;
    }
  
    .three {
      flex-direction: column;
      height: auto;
      padding: 10px;
    }
  
    .map {
      height: 200px;
    }
  
    footer {
      flex-direction: column;
      height: auto;
      padding: 10px;
    }
  
    .nav,
    .nav2 {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .dropdown-content,
    .dropdown-content1 {
      width: 180px;
    }
  
    .tt,
    .tt1,
    .tsena,
    .tsena1,
    .tt2 {
      font-size: 10px;
    } */
  header {
    position: fixed;
    display: flex;
    justify-content: space-around;
    background: #fcfaf6;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
    align-items: center;
    height: 30px;
    width: 365px;
    margin-top: 10px;
    border-radius: 12px;
    z-index: 99999;
    left: 195px;
    transform: translate(-50%);
  }
  .logo {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-left: 90px;
  }
  .logoimg {
    width: 100px;
  }
  .nav,
  .dropdown,
  .dropdown1,
  .blog {
    display: none;
  }
  .burger-menu {
    display: block;
    color: #ababab;
    margin-left: 10px;
  }
  .mobile-menu {
    display: none;
    grid-template-columns: repeat(4, 4fr); /* четыре колонки */
    gap: 1px; /* промежутки между элементами */
  }
  .mobile-menu a {
    text-align: center;
    text-decoration: none;
    color: black;
    display: block;
    font-size: 8px;
    display: block;
  }
  .mobile-menu.show {
    display: grid; /* использование grid layout */
    background-color: #fcfaf6;
    height: 115px;
    width: 365px;
    border-radius: 12px;
    margin-top: 10px;
    margin-left: 11px;
    padding-top: 40px;
  }
  .nav2 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-left: 20px;
    margin-right: 10px;
    font-size: 24px;
  }
  .vhod {
    width: 8px;
    height: 10px;
    margin-top: 4px;
  }
  .email {
    width: 15px;
    height: 15px;
    margin-top: 4px;
  }
  .korzina {
    width: 8px;
    height: 10px;
    margin-top: 4px;
  }

  .slogan {
    height: 0px;
    margin-top: 0px;
    margin-left: 0px;
  }
  .text {
    margin-top: 125px;
    margin-left: 12px;
    text-align: center;
    color: #3c3a3a;
    font-family: "IBM Plex Mono", monospace;
    font-size: 16px;
  }
  h1 {
    font-size: 20px;
    margin-left: 20px;
    margin-top: 20px;
  }
  .ponrav {
    height: 900px;
  }

  .vam_ponrav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 10px;
  }

  .card-c {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 165px; /* Уменьшаем ширину карточки */
    height: 200px; /* Уменьшаем высоту карточки */
    margin: 10px; /* Добавляем отступы сверху и снизу */
  }

  .card-head {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ширина изображения занимает всю ширину карточки */
    height: 155px; /* Уменьшаем высоту изображения */
  }

  .cardimg {
    margin-top: 20px;
    width: 250px;
    height: auto;
  }

  .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    width: 100%; /* Ширина текстового блока равна ширине карточки */
    background-color: #e1d6cc;
    flex-grow: 1; /* Занимаем доступное пространство внутри карточки */
    font-size: 12px; /* Уменьшаем размер текста */
  }

  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
    width: 100%; /* Ширина подвала равна ширине карточки */
    height: 50px;
    background-color: #e1d6cc;
  }
  .but {
    border: 1px solid #ababab00;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    background: #fcfaf600;
    width: 130px;
    height: 30px;
    flex-shrink: 0;
    cursor: pointer;
  }
  .money {
    font-size: 10px;
  }
  .tu {
    display: none;
  }
  .iii {
    display: none;
  }
  .te {
    margin-left: 10px;
    width: 200px;
  }
  h2 {
    font-size: 16px;
    margin-left: 32px;
    margin-top: 20px;
  }
  .ttt1 {
    color: #3c3a3a;
    font-family: "IBM Plex Mono", monospace;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 376px;
  }

  .ttt2 {
    color: #3c3a3a;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 372px;
  }

  .bbbt {
    margin-top: 10px;
    width: 133px;
    height: 40px;
    margin-left: -10px;
    flex-shrink: 0;
    border: 1px solid #ababab;
    background: #fcfaf6;
  }

  .bbbt:hover {
    background-color: #e1d6cc;
    transition: 0.5s;
    border: none;
  }
  .ttt3 {
    display: none;
  }

  .footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px #ababab solid;
    align-items: center;
    width: 90%;
    padding: 40px;
  }
  .emails {
    color: #3c3a3a;
    font-size: 14px;
  }
  .form-row {
    display: flex;
    width: 100px;
  }

  .form-row .input-data {
    width: 50%;
    height: 40px;
    margin: 0 20px;
    position: relative;
  }

  .input-data label {
    position: absolute;
    pointer-events: none;
    bottom: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
  }

  .input-data .underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
  }

  .input-data .underline:before {
    position: absolute;
    content: "";
    height: 2px;
    width: 100%;
    background: #ababab;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  .input-data input:focus ~ .underline:before,
  .input-data input:valid ~ .underline:before,
  .textarea textarea:focus ~ .underline:before,
  .textarea textarea:valid ~ .underline:before {
    transform: scale(1);
  }
  .foot_footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px #ababab solid;
    width: 90%;
    height: 250px;
  }
  .input-data .img {
    width: 70px;
    left: 110px;
  }
}

