@import url("https://fonts.googleapis.com/css?family=Chivo:300|Fira+Code:400,700&display=swap");
@import url("audio-player.css");

body {
  background-color: #272727;
  color: #bababa;
  font-family: "Fira Code", monospace;
  background-image: url(../images/bg/bg-1.png);
  background-repeat: repeat;
  margin: 0;
}

@keyframes animatedBackground {
  from {
    background-position: 0 center;
  }

  to {
    background-position: 500% center;
  }
}

@keyframes color_change {
  0% {
    background-color: #163368;
  }

  25% {
    background-color: #57137e;
  }

  50% {
    background-color: #ad2e8d;
  }

  75% {
    background-color: #084629;
  }

  100% {
    background-color: #163368;
  }
}

h1,
h2,
h3,
p {
  margin-bottom: 2rem;
}

nav {
  width: 100%;
}

nav a.mixer-dude {
  font-family: "Chivo", sans-serif;
  float: left;
  margin-left: 2.5%;
  font-size: 22px;
  font-weight: 200;
  position: absolute;
  line-height: normal;
}

nav ul {
  list-style-type: none;
  padding: 0 2.5%;
  /*background-color: black;*/
  margin-bottom: 0;
}

nav a {
  text-decoration: none;
  text-align: center;
  color: #c9c9c9;
  display: block;
  padding: 10px;
  border-bottom: 4px solid transparent;
}

nav a.menu-mixes {
  border-bottom-color: #ff9800;
}

nav a.menu-faq {
  border-bottom-color: #2196f3;
}

nav a.menu-rates {
  border-bottom-color: #8bc34a;
}

nav a.menu-album {
  border-bottom-color: #009688;
}

nav a.menu-mastering {
  border-bottom-color: #9c27b0;
}

nav a.menu-gear {
  border-bottom-color: #e91e63;
}

nav a.menu-about {
  border-bottom-color: #3f51b5;
}

nav a.menu-services {
  border-bottom-color: #5871ff;
}

nav a.menu-contact {
  border-bottom-color: #b71c1c;
}

nav a.selected {
  color: white;
}

nav a:hover {
  color: white;
  text-decoration: none;
}

nav a.mixer-dude:hover {
  color: white;
  text-decoration: none;
  animation: color_change 1s infinite linear;
}

nav a.selected {
  background-color: red;
  color: white;
}

nav a.menu-mixes.selected,
nav a.menu-mixes:hover {
  background-color: #ff9800;
}

nav a.menu-faq.selected,
nav a.menu-faq:hover {
  background-color: #2196f3;
}

nav a.menu-rates.selected,
nav a.menu-rates:hover {
  background-color: #8bc34a;
}

nav a.menu-album.selected,
nav a.menu-album:hover {
  background-color: #009688;
}

nav a.menu-mastering.selected,
nav a.menu-mastering:hover {
  background-color: #9c27b0;
}

nav a.menu-gear.selected,
nav a.menu-gear:hover {
  background-color: #e91e63;
}

nav a.menu-about.selected,
nav a.menu-about:hover {
  background-color: #3f51b5;
}

nav a.menu-services.selected,
nav a.menu-services:hover {
  background-color: #5871ff;
}

nav a.menu-contact.selected,
nav a.menu-contact:hover {
  background-color: #b71c1c;
}

header {
  background-color: black;
}

.hero {
  display: flex;
  width: 100%;
  background-color: #262f91;
  background-image: url(../images/vectors/waveform_05.svg);
  background-blend-mode: overlay;
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: 125%;
  animation: animatedBackground 85s linear infinite,
    color_change 10s infinite linear;
  height: 246px;
  margin-top: 0;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-bottom: 8px solid black;
}

.hero .opacity {
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
}

.hero h1 {
  font-family: "Chivo", sans-serif;
  font-size: 90px;
  font-weight: 300;
  color: #e8e8e8;
  /*text-shadow: 6px 6px 6px black;*/
}

.hero h2 {
  font-size: 20px;
  font-weight: 400;
  /*text-shadow: 3px 3px 3px black;*/
}

.content {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 1.3em;
}

.home-text {
  background-color: rgba(0, 0, 0, 0.5);
  width: 85%;
  /*display: flex;
	flex-direction: column;*/
  margin-top: 2.5%;
  padding: 2.5%;
  /*column-count: 2;
	column-gap: normal;*/
}

/* SECTIONS */

.home-text h1 {
  font-family: "Chivo", sans-serif;
  font-size: 70px;
  font-weight: 300;
}

/* MIXES */
nav.waves {
  background-color: black;
}

/* FAQ */
.home-text.faq p,
.home-text.faq ul li {
  color: white;
}

.home-text.faq h1 {
  color: #2196f3;
}

.home-text.faq p.question {
  margin-top: 24px;
  font-size: larger;
  color: #4ddb39;
  font-size: 22px;
}

/* RATES */
.rates_box {
  display: flex;
  width: 65%;
  justify-content: space-between;
  font-size-adjust: 0.65;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  background-color: #101022;
  border: 1px solid #1c1c2f;
  padding: 1.5% 1.5% 0.5% 1.5%;
  margin-bottom: 1.5%;
}

.rate_line {
  width: 100%;
}

.rate_line.ghost {
  opacity: 0.5;
}

p.remaining {
  color: #548662;
}

p.remaining span {
  color: #8bc34a;
}

/* flex */

@media screen and (min-width: 768px) {
  nav ul {
    display: flex;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 767px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
  }

  nav a.mixer-dude {
    position: static;
    float: none;
    margin: 0;
    padding: 15px 0;
    display: block;
    text-align: center;
    width: 100%;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    align-items: center;
  }
  
  nav ul li {
    width: 100%;
  }

  nav a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Hero adjustments */
  .hero {
    height: auto;
    min-height: 200px;
    background-color: #262f91; /* Fallback */
  }
  
  .hero .opacity {
    padding: 40px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero h1 {
    font-size: 42px; /* much smaller than 90px */
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .hero h2 {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Content adjustments */
  .home-text {
    width: 95%;
    margin-top: 15px;
    padding: 15px;
  }
  
  .home-text h1 {
    font-size: 32px;
  }
  
  /* Rates specific */
  .rates_box {
    width: 100%;
  }
}
