:root {
  --primary-color: #429B1B;
  --secondary-color: #356B1D;
  --blue-color: #2E4FB8;
  --dark-blue-color: #2D3E75;
  --red: #D02626;
  --gray: #B9B4B4;
  --light-green: #A8D694;
}

* {
    overflow: hidden;
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

html, body {
    margin: 0;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  text-align: center;
  font-family: Arial, sans-serif;
}

#logo {
  position: fixed;
  top: 0;
  left: 50%;
  width: 10em;
  height: 10em;
  transform: translateX(-50%);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#logo-image {
    width: 100%;
    height: 100%;
}

#project-name {
    position: fixed;
    top: 1em;
    right: 2em;
    color: white;
    background-color: var(--primary-color);
    border-radius: 6px;
    padding: 0.5em;
}

#slideshow {
  height: 100%;
  width: 100%;
}

#slideshow img {
  display: none;
  width: 100%;
  height: 100%;
}

/* News */
.time-news-box
{
    background: var(--light-green);
    border-radius: 4px;
}

#news-container {
  position: fixed;
  bottom: 0;
  left: 0;
  margin-top: 0;
  width: 100%;
  padding: 10px;
  overflow: hidden;
}

#time {
  background: var(--primary-color);
  color: white;
  float: right;
  font-weight: bold;
  margin: 0;
  right: 0;
  padding: 1em;
  border-radius: 4px;
}

#news-ticker {
  background: white;
  color: black;
  list-style: none;
  margin: 0;
  padding: 0.5em;
  bottom:0;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  width: max-content;
  width: -moz-max-content;
  animation: marquee var(--marquee-duration) linear infinite;
  animation-play-state: running;
}

#news-line {
    width: 100%;
    height: 40px;
    position: relative;
    overflow: hidden;
}
#news-line > #news-title {
    width: fit-content;
    float: right;
    height: 40px;
    display: inline-block;
    background: var(--light-green);
    position: relative;
}
#news-line > #news-title > h2 {
    display: inline-block;
    margin: 0;
    padding: 0 20px;
    line-height: 40px;
    font-size: 20px;
    color: #FFF;
    height: 40px;
    box-sizing: border-box;
}

#news-line > #news-title > span {
    width: 0;
    position: absolute;
    right: -10px;
    top: 10px;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #2096cd;
}
#news-line > ul {
    position: absolute;
    right: 210px;
    top: 0;
    left: 40px;
}


@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

#news-ticker li {
  display: inline-block;
  margin-right: 20px;
  font-weight: bold;
  white-space: nowrap;
}







