body {
    background: linear-gradient(to right, #333333, #aaaaaa, #333333); /* Фиолетовый градиент */
}

footer {
    background: linear-gradient(to right, #cccccc, #aaaaaa, #333333); /* Фиолетовый градиент */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
     background: linear-gradient(to right, #cccccc, #aaaaaa, #333333); /* Фиолетовый градиент */
}
.custom-rounded {
        border-radius: 5px; /* Установите нужное значение радиуса */
    }
.custom-margin {
        margin: 5px; /* Установите нужное значение отступа */
    }
p {
 text-indent: 20px;
 padding: 5px 0px;
 text-align: justify;
}

#text {
  text-indent: 20px;
  width: 100%;
  margin: 5px 0px 5px 0px;
  padding: 5px 15px 5px 15px;
  font-family: Verdana, Helvetica, sans-serif,  Arial,"Times New Roman";
  font-style: italic;
  text-align: justify;
}

#clock {
    font-size: 0.8rem;
    font-family: Arial, sans-serif;
    text-align: center;
}

#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    align-items: center;     /* Вертикальное выравнивание */
    justify-content: center; /* Горизонтальное выравнивание */
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: none;
    }

#scrollToTop svg {
    width: 100%;        /* Размер иконки относительно кнопки */
    height: 100%;
    display: block;    /* Убираем лишние отступы */
}

/* Опционально: анимация при наведении */
#scrollToTop:hover svg {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.img-left {
    float: left;
    margin: 0 15px 10px 0;
}

.img-right {
    float: right;
    margin: 0 0 10px 15px;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.img-full-width {
    width: 100%;
    height: auto;
}
.comment {
    border-left: 3px solid #eee;
    border-radius: 15px;
    background-color: white;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.comment .replies {
    border-left: 2px solid green;
    padding-left: 20px;
    background-color: #ccc;
}

.comment-header {
    margin-bottom: 5px;
}

.reply-form {
   /* background: #f9f9f9; */
   background: linear-gradient(to right, #cccccc, #aaaaaa, #333333); /* Фиолетовый градиент */
    padding: 10px;
    border-radius: 5px;
}
.hidden {
    display: none;
}


/* style.css */
.weather-widget {
    max-width: 350px;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    border-radius: 15px;
    padding: 20px;
    color: white;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.weather-header h2 {
    margin: 0;
    font-size: 1.5em;
}

#refresh-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

#refresh-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.location {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    opacity: 0.9;
}

.current-weather {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.temperature {
    font-size: 3em;
    font-weight: bold;
}

.unit {
    font-size: 0.5em;
    vertical-align: super;
}

.weather-icon img {
    width: 80px;
    height: 80px;
}

.weather-details {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.detail:last-child {
    margin-bottom: 0;
}

.forecast {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.forecast-day {
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 5px;
}

.forecast-date {
    font-size: 0.8em;
    opacity: 0.8;
    margin-bottom: 5px;
}

.forecast-temp {
    font-weight: bold;
    font-size: 0.9em;
}

.forecast-icon img {
    width: 30px;
    height: 30px;
}

.error-message {
    background: #e74c3c;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-top: 10px;
}

.loading {
    text-align: center;
    opacity: 0.7;
}