* {
    box-sizing: border-box;
}
body {
    padding-bottom: 100px;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    padding-bottom: 150px; /* или больше, в зависимости от высоты футера */

}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    position: sticky;
    top: 0;
    background: #000;
    z-index: 1000;
    transition: all 0.5s ease;
    width: 100%;
}

.header.small {
    padding: 10px 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header.small .header-content {
    padding: 10px;
}

.header .logo img {
    transition: all 0.5s ease;
    width: 150px;
}

.header.small .logo img {
    width: 40px;
}


.logo img {
    max-width: 90px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}
.news-item a {
    color: #ff4081; /* Ваш цвет для ссылок */
    text-decoration: none; /* Удаление подчеркивания */
}

.news-item .news_time {
    margin: 10px 0;
    font-size: 0.9em;
    color: #aaa;
}


.news-item a:hover {
    color: #f50057; /* Цвет при наведении */
}
.news-item {
    display: block;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}
.news-item h2 {
    margin: 0;
}
.news-item p {
    margin: 0;
}
.news-item .source_info, .news-item .symbols_info {
    margin-top: 10px; /* Отступ сверху */
    color: #fff; /* Цвет текста для названия */
    font-size: 14px; /* Размер шрифта */
    font-weight: bold; /* Жирное начертание для названия */
}

.news-item .source_name {
    color: #ff4081; /* Цвет текста для Source Name */
}

.news-item .rel_symbols {
    color: #fff; /* Цвет текста для Related Symbols */
    background-color: #333; /* Фоновый цвет */
    padding: 5px; /* Внутренний отступ */
    border-radius: 5px; /* Скругление углов */
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media screen and (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}
.fixed-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.fixed-footer a {
    color: white;
    margin: 0 10px;
}

.fixed-footer img {
    height: 40px;
    margin: 0 10px;
}

.app-store-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
}
.back-button {
    position: absolute;
    left: 20px;
    Bottom: 20px;
    color: #fff;
    background: #ff4081;
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(255, 64, 129, 0.5);
}

.back-button:hover {
    background: #f50057;
}

.back-button i {
    margin-right: 5px;
}
.share {
    margin-top: 20px;
}

.share h3 {
    color: #fff;
}

.share a {
    color: #fff;
    margin-right: 10px;
}
.share i {
    font-size: 2em;
    margin-right: 10px; /* регулируйте значение по своему усмотрению */
}




.crypto-ticker {
    display: inline-flex;
    align-items: center;
    background: #eee;
    color: #333;
    padding: 2px 4px; /* Уменьшение внутренних отступов */
    border-radius: 5px;
    margin: 0 5px;
    font-weight: bold;
    font-size: 0.8em; /* Уменьшение размера шрифта */
}

.crypto-ticker img {
    margin-right: 5px;
    height: 10px; /* Уменьшение высоты изображения */
}


.crypto-info-block {
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 10px;
    margin: 20px 0;
    border-radius: 5px;
    display: flex;
    align-items: start; /* Выравнивание элементов по верхнему краю */
}

.crypto-info-block img {
    height: 50px;
    width: 50px;
    margin-right: 15px;
}


.crypto-info-detail {
    flex-basis: 45%; /* Занимает около половины ширины блока */
    margin: 10px;
}

.crypto-info-detail h4, .crypto-description h4 {
    margin-top: 0;
    color: #ff4081;
}

.crypto-info-link {
    color: #ff4081;
    text-decoration: none;
    margin-right: 10px;
}

.crypto-info-link:hover {
    color: #f50057;
}

.crypto-info-detail {
    flex-basis: 45%; /* Занимает около половины ширины блока */
    margin: 10px;
}

.crypto-info-link {
    display: inline-block; /* Делаем ссылки блочно-строчными */
    margin-right: 10px;
}


.crypto-description {
    flex-basis: 100%; /* На всех устройствах занимает всю ширину */
    margin: 10px;
    color: #fff; /* Цвет текста */
    /* Добавьте другие стили, которые необходимы для соответствия внешнему виду */
}

.crypto-description h4 {
    color: #ff4081; /* Цвет заголовков, как в .crypto-info-detail */
}

.crypto-description p {
    /* Стили для текста описания, если необходимо */
}







.trending-news-container {
    background-color: #222; /* Темный фон */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.trending-title {
    color: #ff4081; /* Акцентный цвет для заголовков */
    text-align: center;
    margin-bottom: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Используем auto-fit вместо auto-fill */
    justify-content: start; /* Выравнивание элементов с начала */
    gap: 20px; /* Пространство между элементами */
}



.news-card {
    background-color: #333; /* Чуть светлее, чем контейнер */
    border: 1px solid #444;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Учитывает padding и border в ширине */
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-title {
    color: #fff;
    margin-bottom: 10px;
}

.news-link {
    color: #ff4081; /* Цвет ссылки */
    text-decoration: none;
}

.news-link:hover {
    color: #f50057; /* Цвет при наведении */
}

.news-site, .news-date {
    color: #aaa; /* Светло-серый для метаданных */
    font-size: 0.9em;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr; /* Одноколоночный макет на мобильных устройствах */
    }
}




/* Медиазапрос для мобильных устройств */
@media (max-width: 768px) {
    .crypto-info-block {
        display: flex;
        flex-direction: column; /* Стек элементов вертикально */
        align-items: center; /* Центрирование элементов вдоль главной оси */
        text-align: center; /* Выравнивание текста по центру */
    }

    .crypto-info-block img {
        margin-bottom: 10px; /* Отступ снизу для логотипа */
    }

    .crypto-info-detail, .crypto-description {
        flex-basis: 100%; /* Элементы занимают всю ширину */
        text-align: left; /* Выравнивание текста влево для детальной информации и описания */
    }
}



.feedback-button {
    display: inline-block;
    font-weight: bold;
    color: #ffffff; /* Button text color */
    background-color: #ff4081; /* Button background color */
    text-decoration: none; /* Remove underline */
    padding: 10px 20px; /* Button size */
    border-radius: 50px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Transition effect for hover */
}

.feedback-button:hover {
    background-color: #f50057; /* Button background color when hovered */
}


