
#footer {
    position: fixed;
    padding: 5px;
    bottom: 0;
    width: 100%;
    height: 35px;
    background: #00000066;
    color: white;
    font-size: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.social-container {
    position: fixed;
    left: 1rem;
    bottom: 5px;
}

.social-container i {
    font-size: calc(14px + 0.5vw);
    margin: 0 1px;
}

.news-section {
    width: 45%;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    background-color: transparent;
    color: white;
    font-size: calc(9px + 0.6vw);
    cursor: pointer;
    margin: auto;
}

.news-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 35s linear infinite;
}

.news-content span {
    display: inline-block;
    padding-right: 50px;
}

@keyframes scrollText {
    from {
        transform: translateX(30%);
    }
    to {
        transform: translateX(-100%);
    }
}

.expanded-news {
    display: none;
    background-color: #222;
    color: white;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: large;
    width: 80%;
    padding: 10px;
    border-radius: 15px;
}

.expanded-news ul {
    list-style-type: none;
    padding-left: 0;
}

.expanded-news li {
    font-size: calc(12px + 0.5vw);
    line-height: 1.4; 
    margin-bottom: 10px;
}

.expanded-news li a {
    font-size: calc(10px + 0.5vw);
    color: white;     
    text-decoration: none;
    font-weight: 500;
}

.expanded-news li a:hover {
    text-shadow: 2px 2px 0 #0011ff;
}

.expanded {
    display: block;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.copyright {
    font-size: calc(3px + 0.5vw);
    color: #ccc;
    position: absolute;
    right: 10px;
    bottom: 5px;
}


@media screen and (max-width: 768px) {
    .news-section {
        width: 60%;
        position: fixed;
        bottom: 20px;
        right: -15px;
    }

    .social-container i {
        font-size: calc(20px);
    }
}
