body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}
.rating-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stars {
    display: flex;
    gap: 8px;
}

.star-wrapper {
    position: relative;
    font-size: 30px;
    line-height: 1;
    color: #ddd; /* цвет пустой звезды */
}

.star-bg,
.star-fill {
    display: block;
}

.star-bg {
    color: #ddd;
}

.star-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    overflow: hidden;
    color: #ffcc00;
    white-space: nowrap;
    transition: width 0.2s ease; /* плавная анимация при изменении рейтинга */
}
/* Верхняя панель */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #343a40;
    color: white;
}
.links {
    list-style-type: none;
    padding-left: 0;
}

.links li {
    display: inline-block;
    margin-right: 10px;
}

.links a {
    color: white;
    text-decoration: underline;
}
.logo {
    width: 50px; /* Ширина логотипа */
    height: auto; /* Высота логотипа */
}
.clogo {
    width: 50px; /* Ширина логотипа */
    height: auto; /* Высота логотипа */
    border-radius: 50%; /* Радиус угла равен половине размера, превращая квадрат в круг */
    overflow: hidden; /* Скрывает выходящие за пределы круга части изображения */
}
.shoot {
    width: 300px; /* Установите нужный размер */
    height: auto;
}
.title {
    font-size: 1.65em;
    font-weight: bold

}

/* Основной контент */
.main-content {
    padding: 20px;
    text-align: left;
    flex: 1;
}
.form-vote {
    width: 1000px;

}
.download-buttons button {
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    margin-left: 100px

}

.btn-success {
    background-color: #28a745;
    color: white;
    border-radius: 5px;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
    border-radius: 5px;
}

.btn-primary:hover{
transform: scale(1.05);
}
.btn-success:hover,
.btn-info:hover {
    transform: scale(1.05);
}

/* Нижняя панель */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #343a40;
    color: white;
}

.contacts {
    list-style-type: none;
    padding-left: 0;
}

.contacts li {
    display: inline-block;
    margin-right: 10px;
}

.contacts a {
    color: white;
    text-decoration: underline;
}
.text-container {
    background-image: url('../main_page/images/icon.png');
    background-size: cover; /* Растяжение изображения на весь контейнер */
    background-position: center; /* Центрирование изображения */
    padding: 20px; /* Внутренние отступы для текста */
    color:  #ED760E ; /* Цвет текста */
    text-align: center; /* Горизонтальное выравнивание текста */
	font-size: 24px;
    
}
.scroll-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      background-color: #007BFF;
      color: white;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      transition: background-color 0.3s ease;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
}

.scroll-to-top.show {
      opacity: 1;
      pointer-events: auto;
}

.scroll-to-top.bottom-position {
      
      right: 20px;
}

.scroll-to-top:hover {
      background-color: #0056b3;
}
/* Адаптивная ширина формы для мобильных устройств */
@media (max-width: 768px) {
      .form-vote {
          width: 100%; /* Занимает всю ширину экрана */
      }
	  .text-container{
		font-size: 14px
		}
	  .scroll-to-top.bottom-position {
      
      right: 20px;
}
}