/* Global Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 2.6rem;
}
li,
button,
label,
input,
p {
  font-size: 2rem;
}
h2 {
  font-size: 4.8rem;
}
h3 {
  font-size: 3rem;
  font-weight: normal;
}
h4,
h5 {
  font-size: 1.8rem;
  font-weight: normal;
}
a {
  color: white;
  text-decoration: none;
}
button {
  padding: 2rem 6rem;
  background: #012e7a;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.5s ease-in-out;
}
button:hover {
  background: #5078ba;
}

/* Nav Section With HERO */

#light-svg {
  filter: invert(10%);
}

.main-head {
  background: #4d6f87;
  color: rgb(0, 0, 0);
  position: sticky;
  top: 0px;
  z-index: 3;
}

.main-head h1 a {
  color: rgb(40, 40, 40);
}

.main-head li a {
  color: rgb(40, 40, 40);
  font-size: 2.2rem;
}

nav {
  display: flex;
  width: 90%;
  margin: auto;
  padding: 2rem;
  min-height: 3vh;
  align-items: center;
  flex-wrap: wrap;
}

nav ul {
  display: flex;
  flex: 1 1 40rem;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}
#logo {
  flex: 2 1 40rem;
  font-family: "Noto Serif", sans-serif;
  font-weight: 400;
  font-size: 3.8rem;
}

.hero {
  min-height: 95vh;
  background-image: linear-gradient(rgba(255, 255, 255, 0), transparent),
    url("/images/condenser-mic-1-1920x2880.jpg");
  background-blend-mode: luminosity;
  background-color: white;
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: left;
  color: rgb(40, 40, 40);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h3 {
  padding: 5rem;
  margin-left: 50%;
}

.hero h2 {
  margin-left: 50%;
}
.hero p {
  margin-left: 55%;
  margin-right: 5%;
  margin-bottom: 2%;
}

.hero button {
  margin-left: 50%;
}

/*  Navbar section - for dropdown elements - from W3 schools example: https://www.w3schools.com/css/css_dropdowns.asp  */


/*    commenting out the W3 navbar styles, using main nav styles instead
.navbar {
  overflow: hidden;
  background-color: none;
  font-family: "Poppins", sans-serif;
}

.navbar a {
  float: right;
  font-size: 16px;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
*/
.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 2.2rem; 
  border: none;
  outline: none;
  color: rgb(40, 40, 40); 
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
  background-color: rgb(129, 126, 126);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color:  rgb(40, 40, 40);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}


/* Audio Player section */

body {
  background-color: lightgray;

  /* Smoothly transition the background color */
  transition: background-color .5s;
}

.player {
  margin-top: 5%;
  /*height: 50vh; */
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.details {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 15px;
  background-color: lightslategray;
}

.track-art {
  margin: 25px;
  height: 330px;
  width: 650px;
  /*background-image: url("https://images.pexels.com/photos/262034/pexels-photo-262034.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260"); */
  background-size:cover;
  background-color: lightgrey;
  border-radius: 1%;
}

.now-playing {
  font-size: 1rem;
}

.track-name {
  font-size: 3rem;
}

.track-artist {
  font-size: 1.5rem;
}

.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.playpause-track, .prev-track, .next-track {
  padding: 25px;
  opacity: 0.8;

  /* Smoothly transition the opacity */
  transition: opacity .2s;
}

.playpause-track:hover, .prev-track:hover, .next-track:hover {
  opacity: 1.0;
}

.slider_container {
  width: 75%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modify the appearance of the slider */
.seek_slider, .volume_slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  background: black;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

/* Modify the appearance of the slider thumb */
.seek_slider::-webkit-slider-thumb, .volume_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
}

.seek_slider:hover, .volume_slider:hover {
  opacity: 1.0;
}

.seek_slider {
  width: 60%;
}

.volume_slider {
  width: 30%;
}

.current-time, .total-duration {
  padding: 10px;
}

i.fa-volume-down, i.fa-volume-up {
  padding: 10px;
}

i.fa-play-circle, i.fa-pause-circle, i.fa-step-forward, i.fa-step-backward {
  cursor: pointer;
}