/* [SLIDER] */
#slider,  #slider .slide{
  width: 100%;
  height: 40px;
}
#slider {
  overflow: hidden;
  margin: 0 auto;
  color: #000000;
  background: #dcf834;
}
#slider .container {
  position: relative;
  bottom: 0;
  right: 0;
  animation: slide-animation 40s infinite;
}
#slider .slide {
  position: relative;
  box-sizing: border-box;
  padding: 10px 20px;
  
}


/* [ANIMATION] */
@keyframes slide-animation {
  0% { 
    opacity: 0;
    bottom: 0;
  }
  11% {
    opacity: 1;
    bottom: 0; 
  }
  22% { bottom: 100%; }
  33% { bottom: 100%; }
  44% { bottom: 200%; }
  55% { bottom: 200%; }
  66% { bottom: 300%; }
  77% { bottom: 300%; }
  88% {
    opacity: 1;
    bottom: 400%; 
  }
  100% {
    opacity: 0;
    bottom: 400%;
  }
}

/* [DOES NOT MATTER] */
html, body {
  font-family: arial;
  background: #ffffff;
}
h1 {
  text-align: center;
}

/* If the screen size is 601px wide or more, set the font-size of <div> to 80px */
@media screen and (min-width: 801px) {
  div.slide {
    font-size: 20px;
	font-weight: 600;
  }
}

/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 800px) {
  div.slide {
    font-size: 12px;
	font-weight: 600;
  }
}

