.forum-go-btn_conteiner{
  width: 100%;
  display: flex;
  justify-content:center;
}
.forum-go-btn{
  height: 20px;
  width: 50%;
  margin-top: 20px;
  background-color: rgba(169, 169, 169, 0.12);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 128, 255, 1.0);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  color: yellow
}
.forum-go-btn:hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(255, 0, 0, 0.4);
}
.engine_content{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
}
.punkt {
  height: 20px;
  width: 70%;
  margin: 20px auto;
  background-color: rgba(169, 169, 169, 0.12);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 128, 255, 1.0);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: flex;
  align-items: center;
}
.content_punkts{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.content_punkts a{
  color: #90CAF9;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.punkt:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(255, 0, 0, 0.4);
}








.chapter{
  margin-top: 20px;
}
.last_articles{
  width: 80%;
  margin-left: 10px;
}













.content_h3{
  text-align: center;
  margin-top: 5%;
  scroll-margin-top: 150px;
}


.articles_title_conteiner {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.engine_url {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    width: 200px;
    height: 270px;
    margin-top: 20px;
    background-color: rgba(169,169,169,0.12);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 128, 255, 1.0);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.engine_url:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(255, 0, 0, 0.4);
    color: red;
}

.engine_foto img {
    width: 180px;
    height: 180px;
}

.engine_text p {
    text-align: center;
}

.upper-part, .lower-part {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.engine_url_a4 {
    display: flex;
    flex-direction: column;
    justify-content: stretch; /* Равномерное распределение пространства */
    width: 200px;
    height: 350px;
    margin-top: 20px;
    background-color: rgba(169,169,169,0.12);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 128, 255, 1.0);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.engine_url_a4:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(255, 0, 0, 0.4);
    color: red;
}

.article_content{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
} 
.article_content p{
  width: calc(250px + 300 * (100vw - 320px) / 1280);
  font-size: calc(12px + 8 * (100vw - 320px) / 1280);
}
.article_content h2{
  font-size: calc(16px + 8 * (100vw - 320px) / 1280);
}
.text_title{
  margin-top: 20px;
}    
.text{
  margin-top: 10px;
}
.image_url{
  width: calc(250px + 300 * (100vw - 320px) / 1280);
  background:url(../images/engine.webp);
  background-repeat: no-repeat;
  background-position: center;    
  background-size: contain;
  margin-top: 20px;
}
.image_a4{
  width: 100%;
  background:url(../images/engine.webp);
  background-repeat: no-repeat;
  background-position: center;    
  background-size: contain;
  margin-top: 20px;
}

.specification_container {
    max-width: 600px;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.custom-select {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    padding-left: 15px;
    z-index: 1;
}

.custom-select:focus,
.custom-select:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scaleY(1.05); /* Немного увеличиваем размер при фокусировке */
}

/* Стрелочка справа (иконка выбора) */
.custom-select::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #fff transparent transparent transparent;
    right: 15px;
    top: calc(50% - 3px);
    position: absolute;
    pointer-events: none;
}

/* Опции внутри списка */
.custom-select option {
    background-color: #1a1b26;
    color: white;
    padding: 10px;
    min-width: 100%;
    cursor: pointer;
}

.custom-select option:checked,
.custom-select option:active {
    background-color: #333333;
}

/* Тень для красивого эффекта */
.custom-select::-webkit-scrollbar {
    width: 10px;
}

.custom-select::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

@media screen and (max-width: 600px) {
    body {
        padding: 20px;
    }
}

.engine_description{
  width: 100%;
  margin-top: 30px;
  scroll-margin-top: 150px;
}
.engine_to_auto{
  scroll-margin-top: 150px;

}
.section_scroll{
  scroll-margin-top: 150px;
}
.engine_foto_url_block{
 margin: 20px;
 scroll-margin-top: 150px;
}
.engine_foto_url_block img{
  float: left; /* Изображение плавающее слева */
  width: calc(150px + 50 * (100vw - 320px) / 1280);
  height: auto;
}
.engine-description-block {
    clear: both; /* Чтобы текст не продолжал обтекание после блока с изображением */
}
.technical_characteristic{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}
.table{
  display: flex;
  justify-content: center;
  margin-top: 10px;
  width: 100%;
  height: auto;
  text-align: center;
}
table{
  width: 100%;
}
.tr{
  width: 100%;
  font-size:calc(14px + 4 * (100vw - 320px) / 1280);
}
.td1{
  width: 60%;
  height: 50px;
  padding: 5px;
  background-color: rgba(134, 184, 250, 0.1);
}
.td2{
  width: 40%;
  height: 50px;
  padding: 5px;
  background-color: rgba(11, 156, 49, 0.1);
}
.td3{
  width: 50%;
  height: 50px;
  padding: 5px;
  background-color: rgba(134, 184, 250, 0.1);
}
.td4{
  width: 20%;
  height: 50px;
  padding: 5px;
  background-color: rgba(11, 156, 49, 0.1);
}
.td5{
  width: 30%;
  height: 50px;
  padding: 5px;
  background-color: rgba(247, 132, 132, 0.157);
}
.moment_img{
  display: flex;
  justify-content: center;
  width: 250px;
  height: auto;
}






 /* Общая настройка блока комментариев */
        .comments-section {
            width: 100%;
            background-color: #1d1d1d;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-top: 40px;
        }

        /* Заголовок */
        .comments-section h3 {
            font-size: 20px;
            color: #eee;
            margin: 20px;
        }

        /* Список комментариев */
        .comments-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        /* Отдельный комментарий */
        .comment_row {
            display: flex;
            align-items: start;
            margin-bottom: 15px;
            padding: 10px;
            background-color: #292929;
            border-radius: 6px;
            box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
        }

        /* Имя пользователя */
        .comment_username {
            font-weight: bold;
            font-size: 14px;
            color: #aab7b8;
            margin-right: 10px;
        }

        /* Текст комментария */
        .comment_text {
            font-size: 16px;
            color: #fff;
            word-break: break-all;
            line-height: 1.5;
            flex-grow: 1;
        }

        /* Форма добавления комментария */
        .add_comment {
            margin-top: 20px;
        }

        /* Текстовое поле для комментария */
        .add_comment textarea {
            width: 90%;
            margin-left: 20px;
            font-size: 16px;
            border: 1px solid #444;
            border-radius: 4px;
            resize: vertical;
            background-color: #292929;
            color: #fff;
        }

        /* Кнопка отправки */
        .add_comment button {
            margin: 20px;
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }

        .add_comment button:hover {
            background-color: #45a049;
        }