html, body {
  margin: 0;

  background: #1c1c1c;
}

body {
  overflow: hidden;

  margin-top: 38px;

  font-family: Helvetica, sans-serif;
  color: #fff;
}

.hidden {
  visibility: hidden;
}

/* Animations */

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Loading Overlay */

#loading-overlay {
  position: fixed;
  z-index: 100000;
  top: 0;

  width: 100vw;
  height: 100vh;

  background: #1c1c1c;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  border-width: 3px;
  border-style: solid;
  border-color: #1c1c1c #fff #fff;
  border-radius: 50%;
}

#loading-spinner-1 {
  animation: spin 2s linear infinite;

  margin-top: -25px;
  margin-left: -25px;
  width: 50px;
  height: 50px;
}

#loading-spinner-2 {
  animation: spin 3s linear infinite;

  margin-top: -20px;
  margin-left: -20px;
  width: 40px;
  height: 40px;
}

/* Modal */

#modal-overlay {
  position: fixed;
  z-index: 5000;
  top: 0;

  display: none;
  opacity: .7;

  width: 100vw;
  height: 100vh;

  background-color: #000;
}

.modal {
  position: fixed;
  z-index: 10000;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  border-radius: 16px;
  padding: 15px;

  background-color: #111;

  font-size: .9em;
}

.modal-close-button {
  position: absolute;
  top: 10px;
  right: 15px;

  border: none;

  background: none;

  font-size: 1.5em;
  font-weight: 900;
  color: #fff;
}

.modal-close-button:hover {
  cursor: pointer;

  opacity: .8;
}

.modal-field-container {
  margin: 16px 0;
}

.modal-field-label {
  float: left;

  width: 125px;

  font-size: 1.2em;
  text-align: right;
}

.modal-field {
  font-size: .9em;

  margin-left: 8px;
  border: 1px solid #3b3b3b;
  width: 250px;
  height: 20px;

  font-size: 1.2em;
  color: #fff;

  background-color: #888;
}

.modal-field:focus {
  outline: none;
}

.modal-textarea {
  height: 225px;

  font-family: Helvetica, sans-serif;;

  resize: none;
}

.modal-submit-button {
  position: absolute;
  right: 20px;
  bottom: 20px;

  margin-left: 10px;
  border: none;
  border-radius: 10px;
  width: 80px;
  height: 40px;

  font-size: 1.1em;
  font-weight: 300;
  color: #fff;

  background-color: #888;
}

.modal-submit-button:hover {
  background-color: #fff;
  cursor: pointer;

  color: #000;
}

/* Navigation Bar */

#navbar {
  position: fixed;
  z-index: 1000;
  top: 0;

  box-sizing: border-box;
  width: 100%;
  padding: 10px;

  background-color: rgba(28, 28, 28, .9);

  font-weight: 500;
  text-align: center;
}

#navbar a {
  display: inline-block;

  width: 110px;
  padding: 0 5px;

  text-align: center;
  text-decoration: none;
  color: #fff;
}

#navbar a:hover {
  cursor: pointer;

  opacity: .8;
}

/* Banner */

#banner {
  position: relative;

  width: 100%;
}

#banner-arrows {
  position: absolute;
  z-index: 100;
  top: 62%;
  left: 50%;

  transform: translate(-50%, -62%);
  animation: blink 4s infinite;

  width: 5%;
}

.banner-layer {
  width: 100%;
}

.banner-layer img {
  width: 100%;
}

.parallax-layer {
  position: fixed;
  z-index: 1;
}

/* Main */

.main {
  position: relative;
  z-index: 100;

  margin-top: -5px;
  width: 100%;
}

.parallax-background {
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
}

.cover-image-container {
  position: relative;

  opacity: .9;

  overflow: hidden;

  width: 100%;
}

.cover-image {
  max-width: 100%;
}

/* Listen */

#listen-container {
  padding-bottom: 3%;

  background-image: url('/images/backgrounds/parallax-background-1.jpg');
}

#listen {
  padding: 1px 0;
}

#soundcloud-player {
  display: block;

  margin: 10% auto;
  width: 80%;
  max-width: 800px;
}

@keyframes surface {
  from {
    opacity: .0;
  }

  to {
    opacity: .9;
  }
}

/* Download */

#downloads {
  padding-top: 8%;

  background-image: url('/images/backgrounds/parallax-background-2.jpg');
}

.album-row {
  justify-content: center;

  display: flex;
  flex-wrap: wrap;
}

.album {
  position: relative;

  display: inline-block;
  flex: none;

  margin: 3% 4%;
  width: 60%;
  max-width: 350px;
}

.album:hover {
  opacity: .85;
}

.album:hover .album-title {
  display: block;
}

.album-cover {
  display: inline-block;

  border: 1px solid #555;
  max-width: 100%;
}

.album-title {
  position: absolute;
  left: 10px;
  bottom: 10px;

  display: none;

  margin: 0;
  padding: 2px;

  background: rgba(0, 0, 0, .6);

  font-size: .8em;
  font-weight: 600;

  pointer-events: none;
}

/* Footer */

#footer {
  position: fixed;
  z-index: 1000;
  bottom: 0;
  justify-content: center;

  display: flex;

  width: 100%;
  padding: 10px 0;

  background-color: #1c1c1c;
}

.social-media-icon {
  width: 55px;
  padding: 0 12px;

  font-size: 2em !important;
  text-align: center;
  text-decoration: none;
  color: #f1f1f1;
}

.social-media-icon:hover {
  cursor: pointer;
}

.fa-facebook:hover {
  color: #4267B2;
}

.fa-soundcloud:hover {
  color: #ff8800;
}

.fa-spotify:hover {
  color: #1db954;
}

.fa-apple:hover {
  color: #bbb;
}

/* Email */

#email-modal {
  display: none;

  padding-top: 30px;
  width: 410px;
  height: 410px;
}

#email-confirmation-modal {
  display: none;

  width: 250px;
  height: 150px;
}

#email-confirmation-message {
  position: absolute;
  top: 30%;
  left: 50%;

  transform: translate(-50%, -30%);

  width: 150px;

  font-size: 1.3em;
  text-align: center;
}

/* Media Queries */

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
  #soundcloud-player {
    width: 92%;
    height: 370px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
  .parallax-background {
    background-attachment: fixed;
  }

  #soundcloud-player {
    height: 380px;
  }

  .album {
    width: 40%;
  }

  .album-title {
    bottom: 15px;

    padding: 3px;

    font-size: .9em;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  body {
    margin-top: 51px;
  }

  #navbar {
    padding: 15px;

    text-align: right;
  }

  #navbar a {
    font-size: 1.1em;
  }

  #soundcloud-player {
    height: 420px;
  }

  .album-title {
    bottom: 15px;

    padding: 3px;

    font-size: 1.1em;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  #soundcloud-player {
    height: 450px;
  }
}

/* Extra Large Devices */
@media only screen and (min-width : 1600px) {
  .cover-image {
    width: 100%;
  }

  #soundcloud-player {
    margin: 5% auto;
  }

  #downloads {
    padding-top: 5%;
  }
}
