body {
  background-image: url('the_blue_lagoon.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-family: 'Nunito Sans', sans-serif;
  position: relative;
  min-height: 100%;
  padding-bottom: 80px;
}

button:hover {
  cursor: pointer;
}

button:focus {
  outline: none;
}

button:active {
  outline: none;
  border: solid 3px white;
}

/* General Styling */

a {
  text-decoration: none;
  color: rgba(255, 255, 255, .8);
}

a:hover {
  color: white;
}


h1 {
font-weight: normal;
font-size: 40px;
text-align: center;
padding-top: 100px;
font-family: 'Raleway', sans-serif;
}

h3 {
  margin: 0;
  font-weight: normal;
}

p {
  margin: 0;
  font-weight: lighter;
}

i {
  padding-right: 5px;
  font-size: 18px;
}

.fa-soundcloud {
  font-size: 16px;
}

audio {
  display: none;
}


/* Header "What Would You Like to Listen to?" */

header {
  overflow: hidden;
  height: 300px;
  transition: height 1s, opacity .01s;
  opacity: 1;
}

header.h1 {
  transition-delay: .5s;
}

header.h1.collapsed {
  font-size: 0px;
}

header.collapsed {
  height: 0px;
  opacity: 0;
}

/* Search Area */


form {
  text-align: center;
  height: 50px;
  width: 40%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 60px;
  display: flex;
}

.search_form input {
  background-color: transparent;
  color: white;
  width: 95%;
  text-align: left;
  border: 0;
  font-size: 18px;
}

input::placeholder {
  color: white;
}

input:focus {
  outline: none;
}

input:focus::placeholder {
  color: rgba(255, 255, 255, .8);
}


.search_form {
  border-bottom: 1px solid white;
}
.search {
  transition: all 0.5s linear;
}

#search_query {
  font-weight: lighter;
}

#submit {
  background: none;
  color: white;
  border: none;
  font-size: 20px;
}

#submit:before {
  content: "";
  display: block;
  height: 10px;
  width: 10px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  transform: rotate(-45deg);
}

/* Returned Items */

.results {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  margin-left:auto;
  margin-right:auto;
  width: 60%;
}

.track {
  text-align: left;
  display: flex;
  padding-left: 30px;
  border-bottom: solid 1px white;
  padding-top: 30px;
  padding-bottom: 30px;
  align-items: center;
}

.song_info {
  width: 80%;
  margin-left: 5%;
  font-size: 16px;
}


.likes {
  font-size: 14px;
  float: right;
}

.user {
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  padding-bottom: 5px;
}

.second_row {
  display: flex;
}

/* Play Button */

.play_button {
  font-size: 2em;
  border: none;
  color: white;
  border-radius: 50%;
  height: 140px;
  width: 140px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: black;
  font-family: Avenir;
  opacity: .8;
}

.play_button:hover {
  opacity: 1;
  font-size: 2.4em;
}


/* Footer */

#footer_wrapper {
  width: 100%;
  position: fixed;
  bottom: 80px;
}

footer {
  text-align: center;
  transition: height 1s, opacity .2s;
  font-size: 14px;
  opacity: 1;
}

footer.collapsed {
  height: 0px;
  opacity: 0;
}

.play {
  border-width: 20px 0px 20px 40px;
  border-color: transparent transparent transparent white;
  border-style: solid;
  height: 0;
  width: 0;
  display: inline-block;
  vertical-align: middle;
}

.pause {
  border-width: 0px 20px 0px 20px;
  border-color: white;
  height: 40px;
  width: 10px;
  border-style: solid;
  display: inline-block;
  vertical-align: middle;
}

@media only screen and (max-width: 1024px)  {
  .search_form {
    width: 80%;
  }
  .track {
    width: 80%;
  }
}

@media only screen and (max-width: 500px) {
  form {
    width: 80%;
  }

  input {
    border-radius: 0%;
    font-size: 16px;
  }

  form {
    padding-top: 0px;
  }

  header {
    height: 200px;
  }

  h1 {
    font-size: 28px;
    padding-top: 60px;
  }

  #footer_wrapper {
    bottom: 30px;
  }

  .play_button {
    width: 80px;
    height: 80px;
  }
  .results {
    width: 90%;
  }

  .track {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .song_info {
    width: 80%;
    margin-left: 5%;
    font-size: 12px;
  }

  .play {
    border-width: 10px 0px 10px 20px;
    border-color: transparent transparent transparent white;
    border-style: solid;
    height: 0;
    width: 0;
    display: inline-block;
    vertical-align: middle;
  }

  .pause {
    border-width: 0px 10px 0px 10px;
    border-color: white;
    height: 20px;
    width: 5px;
    border-style: solid;
    display: inline-block;
    vertical-align: middle;
  }
}
