body {
    margin: 0;
    padding: 0.5em;
    background: #000000;
    color: #ffffff;
    font-family: "VT323", monospace;
    font-style: normal;
    font-size: 1.5em;
}

.floating-logo {
    position: fixed;
    top: 2.5em;
    left: 1em;
    z-index: 9999;
    height: 70%;
}

.floating-logo-mobile {
    display: none;
}

.floating-logo img {
    width: auto;
    height: 100%;
}

.ticker,
.links {
    height: 2em;
    width: 100%;
    display: flex;
}

.ticker {
    align-items: center;
}

.links {
    justify-content: flex-end; /* Align content to the right */
    align-items: center; /* Vertically center content */
    text-transform: uppercase;
}

.links-mobile {
    display: none;
}

.content {
    height: calc(100% - 4em); /* Total height minus height of ticker and links */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-text {
    position: absolute;
    bottom: 5em;
    right: 1em;
    max-width: calc(25% - 0em);
}

.news-image {
  height: 100%;
  width: auto;
}

.news-text {
    grid-column: 1 / span 1;
    white-space: nowrap;
    overflow: hidden;
}

a:link, a:visited {
    color: #ffffff;
    text-decoration: underline;
}

a:hover, a:active {
    color: #ffffff;
    text-decoration: none;
}

.container {
    height: calc(100vh - 1em);
    
}

.hidden {
    display: none;
}

/* Media query for smaller screens */
@media only screen and (min-width: 1000px) and (max-width: 1500px) {
    .content-text {
        max-width: 20%;
    }
}

/* Media query for screens narrower than 600px (phones) */
@media only screen and (max-width: 600px) {
    .floating-logo {
        display: none;
    }
    
    .floating-logo-mobile {
        display: contents;
        width: 100%;
        height: auto;
    }
    
  .floating-logo-mobile img {
        max-width: 100%;
        height: auto;
    }
    
    .news-image {
      height: auto;
      width: 100%;
    }
    
    .content {
        margin-top: -4em;
    }
    
    .content-text {
        position: relative;
        max-width: 100%;
        padding: 1em;
        margin-left: 1.5em;
    }
    
    .links {
        display: none;
    }
    
    .links-mobile {
        display: block;
        margin-top: -5em;
        text-align: center;
        text-transform: uppercase;
        padding-bottom: 1em;
    }
}