.video-container {
   text-align: center;
margin-top: 20px;
font-size: 25px;
}
.video {
    display: block;
    width: 80%; 
    height: 20%;
    max-width: 100%;

}
.infvideo {margin: 2px;}
img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: rgb(145, 136, 136); 
    overflow-x: hidden;
}

.strelka {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px; 
  width: 50px; 
  margin: 0 auto;
 
}

.name { 
    font-size: 50px;
}

.price-frame {
    border: 1px solid #000;
    padding: 5px;
    font-size: 25px;
    border-radius: 7.5px;
    background-color: #ffffff;
    margin-top: 20px;
    padding-top: 20px;
    margin: 25px;
}

.price-frame table {
    width: 100%;
    font-size: 19.5px;
}

.price-frame th,
.price-frame td {
    padding: 2.5px;
    text-align: left;
}

.logo {
    text-align: center;
    font-size: 50px;
    width: 75px;
    height: auto;
}
.main-link {text-decoration: none;}
.header1 {
    position: absolute;
    top: 7.5px;
    right: 2.5px;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    margin-top: 5px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25vh;
}

.zagolovki a {
    border: 0.10px solid black;
    margin: 2px;
    padding: 1px 3px;
    display: inline-block;
    text-align: right;
    text-decoration: none;
    color: black;
    cursor: pointer;
    font-size: 15px;
    background-color: #ffffff;
    border-radius: 2.5px;
    transition: 0.075s;
    
}
zagolovki span {
    border: 0.25px solid black;
    margin: 5px;
    padding: 1px;
    display: inline-block;
    font-family: Arial, sans-serif;
}

.opisanie {
    color: white;
    background-image: url('foto/0_wny5-tj.jpg');
    width: 100%;
    height: 100%;
      background-position: center; 
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 20px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
}
.gallery-grid a {
  text-decoration: none !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
gap:2px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 20px;
    text-decoration: none!important;
    color: #000;
}

/* Для изображений: */
.gallery-grid img {
    width: 100%;
    height: auto; 
object-position: center;
}

/* Стиль для изображений */
.gallery-grid img {
    border: 0.25px solid #ccc;
    transition: all 0.075s ease;
    width: 300px;
    height: 300px;
    object-fit: cover;
    align-items: center;
    border-radius: 8.75px;
    object-position: center;
}

.gallery-grid img:hover {
    outline: 0.75px solid rgb(110, 105, 105);
    transform: scale(1.05);
    cursor: pointer;
    object-position: center;
}

.my-title {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    text-align: center;
    margin-top: 12.5px;
    color: #0d0c0c;
    align-items: center;
}

.my-title:hover {
    border: 0.5px solid rgb(214, 180, 180);
    box-shadow: 0 0 2.5px rgba(0,0,0,0.5);
    cursor: pointer;
    transform: scale(1.05);
    transition: all 0.075s ease;
}

#feedbackForm input[type="text"],
#feedbackForm input[type="email"],
#feedbackForm textarea {
    font-size: 7.5px;
    padding: 2.5px;
    width: 100%;
    max-width: 75px;
    margin-bottom: 2.5px;
    border-radius: 1.25px;
    border: 0.25px solid #ccc;
}

#feedbackForm button {
    font-size: 5.5px;
    padding: 3px 6px;
    border-radius: 1.25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

#feedbackForm button:hover {
    background-color: #45a049;
    font-size: 5.5px;
}

label {
    font-size: 6px;
}

.price {
    border: 0.5px solid #888;
    border-radius: 2.5px;
    padding: 5px;
    background: #fafafa;
    max-width: 150px;
    margin: 0 auto;
}

.bordered-text {
    border: 0.5px solid black;
    padding: 2.5px;
    display: inline-block;
    border-radius: 1.25px;
    font-size: 25px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    margin-left: 25px;
    margin-right: 25px;
    border-radius: 8.75px;
    margin-top: 22.5px;
}

.image-text-container {
    display: flex;
    align-items: center;
    font-size: 17.5px;
    flex-wrap: wrap;
    background-color: #ffffff;
    background-size: 6.25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.description {
    margin-top: 4.5px;
    font-size: 11.5px;
}

.footer {
    background-color: #f2f2f2;
    padding: 5px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    max-width: 150px;
    width: 100%;
}

.footer-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5px;
}

.icon-right {
    position: absolute;
    top: 10px;
    right: 8.5px;
    display: flex;
    gap: 5px;
}

.footer-logo {
    width: 12.5px;
    height: auto;
    margin-right: 2.5px;
    font-size: 11.5px;
}

.footer-title {
    font-weight: bold;
    font-size: 11.5px;
}

.footer-info p {
    display: block;
    margin-right: 12.5px;
    font-size: 10px;
    text-align: center;
}

.footer-info p {
    margin: 6.25px 0;
    text-align: center;
}

.figcaption {
    font-size: 5px;
    text-decoration:none!important;
}
/* Оформление ссылок */
.zagolovki {
    display:inline-block; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    padding: 5px;
    margin-top: 7.5px;
      display: flex;
    align-items: center;
    font-size: 17.5px;
    flex-wrap: wrap;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

}
/* Адаптивность для телефонов и планшетов */
@media (max-width: 192px) {
    .name { font-size: 10px; }
    .price-frame { font-size: 5px; padding: 2.5px; }
    .price-frame table { font-size: 4px; }
    .logo { font-size: 10px; width: 37.5px; }
    .zagolovki a { font-size: 5px; }
    .zagolovki span { font-size: 4px; margin: 2.5px; }
    .opisanie { font-size: 5px; margin: 7.5px; padding: 2.5px; background-size: 100%; }
    .gallery-grid { grid-template-columns: 0.25fr; gap: 5px; max-width: 100%; }
    .bordered-text { font-size: 6px; margin-left: 1.25px; margin-right: 1.25px; text-align: center; }
    .image-text-container { flex-direction: column; gap: 5px; font-size: 5px; }
    .description { font-size: 5px; }
    .footer-info { font-size: 4px; }
    .footer-title { font-size: 4.5px; }
    .my-title { font-size: 6px; }
    .container { height: auto; padding: 5px; }
    .header1 { position: static; flex-direction: row; justify-content: center; gap: 5px; font-size: 4px; margin-bottom: 5px; }
    .price { font-size: 4px; padding: 2.5px; }
}