#scrolling-message-overlay {
  position: fixed;
  bottom: 0px;
	height: 12vh;
  min-height: 75px;
  width: 100%;
  background-color:  transparent;
	box-sizing: content-box;
  overflow: hidden;
  white-space: nowrap;
  display: none;
  }


#scrolling-message-background {
    position: absolute;
    bottom: 0;
    height: 80%; /* Enables close button to appear on top */
    width: 100%;
    background-color: #F2E6E9; /* Burgundy 10% */
    color: #800020;
    border-top: 1px solid #800020;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #scrolling-message-background:hover{
	background-color: #800020;
    border-top: 1px #F2E6E9;
    color: #F2E6E9;
  }

  #scrolling-message {
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
    font-size: 1.5em;
    font-weight: 600;
  }

  
  #scrolling-message-button {
    position: relative;
    padding: 10px 10px;
    width: 100%;
    height: 100%;
  }
  

#scrolling-message-close-button {
  position: absolute;
  top: 0%;
  left: 5%;
  padding: 0;
  
  width: 40px;
  height: 40px;
  border-radius: 50%;

  border: none;
  background-color: #2E294E;
  color: white;
  box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.5);
  font-size: 1.0em;
  font-weight: 600;

  z-index: 999;

}

#scrolling-message-close-button:hover {
	box-shadow: -10px 5px 5px rgba(0, 0, 0, 0.5);
    left: calc(5% + 3px);
}


@media only screen and (max-width: 600px) {
  
  #scrolling-message {
    font-size: 1.2em;
    transform: translateY(-35%);
  }

  #scrolling-message-background:hover{
    background-color: #F2E6E9;;
    border-top: 1px solid #800020;
    color: #800020;
  }

}


@media (min-width: 1100px) {
    #scrolling-message-close-button {
      left: calc(50% - 550px); /* Constrain to 625px from the center */
    }

    #scrolling-message-close-button:hover {
      left: calc(50% - 550px);
    }

}