/* Body Styles */
@font-face {
  font-family: 'Oxanium';
  src: url('assets/Oxanium-VariableFont_wght.ttf');
}

body {
  font-family: Oxanium,monospace,sans-serif; 
  background-color: #000;
  color:#d9fbfd;
}

h3 {
  font-weight:normal;
}

@media screen and (min-width: 1201px) {
.footer {
    position: fixed; 
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    opacity: 0.4;
    font-size: 0.8em;
}
}
@media screen and (max-width: 1200px) {
.footer {
    position: relative; 
    padding-top:40px;
    opacity: 0.4;
    font-size: 0.8em;
}
}

#navback {
    opacity: 0.4;
    font-size: 0.8em;
}

#navback a {
    color:inherit;
}

/* This element contains both the ticker content and the globe animation */
.page-container{
  position:relative;
}

/********************/
/** TICKER CONTENT **/

/* Wraps the tickers and their titles */
.content-wrapper{
  position:relative;
}

/* Wraps the ticker itself */
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #1e303c;
  color: #d9fbfd;
  position: relative;
  height: 50px;
  line-height: 50px;
  top:0;
  opacity:0.7;
}

/* This is the actual ticker text that gets animated */
.ticker {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  animation: ticker 50s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(100vw); } /* Start completely off the screen on the right */
  100% { transform: translateX(-100%); } /* Continue at a normal speed until fully off the screen on the left */
}

/* Individual items of news. These are separated on the line. */
.news-item {
  padding-right: 20px; /* Adds space between news items */
  opacity: 1 !important;
}

/***********/
/** GLOBE **/

/* This is the background wrapping the globe */
.page-background{ 
  z-index: -100;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 81vmin;
  margin: 0;
  background-color: #000;
  position:fixed;
  top:10%;
  -webkit-transform: translateY(-10%);
  transform: translateY(-10%);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

/* This is the corona of the globe */
.globe-container {
  width: 80vmin;
  height: 80vmin;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255,255,255,0.6);
}

/* This is the globe itself that gets animated */
.globe {
  width: 240vw; /* Ensure there's enough image content to scroll seamlessly */
  height: 80vh;
  background: url('world-scroll.jpg') repeat-x;
  background-size: cover;
  animation: scroll 100s linear infinite;
}
@keyframes scroll {
  0% { transform: translateX(-40.7%); } /* Start moving from left to right */
  100% { transform: translateX(-2.3%); } /* End at the initial position */
}

