html{
  margin: 0px;
}

body {
  margin: 0px;
  background-color: black;
  color: white;
  font-size: 1.2em;
  background-position: center;
  font-family: "Helvetica", "Arial";
}

p{
  margin: 1px;
}

/* gif row related */
#insert_songs{
  background-image: url("../media/insert_coin_final.gif");
  overflow: scroll;
}

img{
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  height: auto;
}

.gif_row{
  margin-top: 30px;
  width: 100%;
  height: 250px;
  background-position: center;
}

#box_wrapper{
  max-width: 700px;
  display: flex; /* flexible layout for columns OR rows */
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
}

/* newsticker related */
#newsticker_box{
  background-color: white;
  width: 100%;
  height: 1.2em;
  max-width: 700px;
  margin-top: 5px;
  margin-bottom: 10px;
  display: flex;
  flex-flow: row nowrap;
  margin-left: auto;
  margin-right: auto;
}

.newsticker_container{
  overflow: hidden;
}

.newsticker{
  white-space: nowrap;
  background-color: white;
  box-sizing: content-box;
}

.newsticker_inner{
  animation: scrollLeft 25s linear infinite;
  display: inline-block;
}

.ticker_item{
  color: black;
  background-color: white;
}

#newsticker_box span{
  color: black;
}


@keyframes scrollLeft{
  0%{
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
  100%{
    transform: translate3d(-100%, 0, 0);
  }
}

/* search box related */
#search_menu{
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
}
#suggestions_box{
  margin-left: auto;
  margin-right: auto;
  width: 350px;
}

#suggest_header{
  text-align: center;
  margin-bottom: 5px;
}

#search_box{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  width: 100%;
}

#search_input{
  display: flex;
  order: 1;
  flex-grow: 2;
  background : transparent;
  color: white;
  font-size: 0.95em;
  padding: 4px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 15px;
  border: 2px solid white;
}

#send_button{
  background-color: black;
  color: white;
  order: 2;
  font-size: 0.8em;
  border: 2px solid white;
  padding: 4px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 20px;
  float: right;
}

.search_result{
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

.search_result:hover{
  color: black;
  background-color: white;
}

.search_result_cover{
  margin: 5px;
  max-width: 60px;
}
/* box that contains personal suggestion*/
#my_recs_header{
  margin-left: auto;
  margin-right: auto;
  font-family: "Arial";
  font-weight: bold;
}

#my_recs {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

/* album of personal_rec */
.album_box {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 5px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.song_cover{
  margin-top: 0px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
  max-width: 120px;
  max-height: 120px;
}

@media screen and (max-width: 600px){
  #box_wrapper{
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    }
  div.album_box{
    width: auto;
  }
}
