@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukta&family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

/* css reset */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
  text-decoration: none;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
  display: none;
}

/* css reset ends */

/* css variables */



:root {
    --primary-color: black;
    --secondary-color: white;
    --reggae-color-1: rgba(0, 255, 47, 0.364);
    --rap-color-1: grey;
    --rap-color-2: brown;
    --rap-color-3: lightgreen;
    --pop-color-1: rgba(220, 70, 175, 0.723);
    --rockmetal-color-1: #4f3e10;
    --rockmetal-color-2: red;
    --rockmetal-color-3: #747b84;
}

/* css variables end, navbar starts */


.genreButton:hover,
.genreButton:focus {
  box-shadow: 0px 5px 15px -5px var(--rockmetal-color-1); 
  transform: translateY(-2px);
}

img {
  max-width: 100%;
}

h1 {
  font-family: 'Inter';
  font-weight: 200;
}

h2 {
  font-family: 'Inter';
  font-weight: 200;
}

p {
  font-family: 'Rek Mukta';
}

.navbarContainer {
  
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1;
}

.navbar {
  display: flex;
  background-color: var(--primary-color);
  align-items: center;
  justify-content: space-around;
  padding: 4px;
  font-family: 'Raleway';
}

.navbarDropdownBtn {
  color: var(--secondary-color);
  background-color: var(--primary-color);
  border: none;
  outline: 1px solid white;
  outline-offset: 1px;
  border-radius: 4px;
  font-size: 12px;
  top: 45px;
  background-image: linear-gradient(to right top, #dd34ff, #ff12a0, #9859fd, #b581ff, #ebe4e7);
  background-size: 50% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientAnim 7.5s ease alternate infinite;
}
.navbarHidden {
  display: none;
}

.navbarDropdown {
  position: relative;
}

.dropdownItem {
  padding: 7px;
  display: block;
  text-align: center;
  box-shadow: 1px 1px 20px purple;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.dropdownItem:hover {
  color: purple;
  background-color: rgba(128, 128, 128, 0.061);
  cursor: pointer;
}

.navbarDropdownContent {
  flex-direction: column;
  display: none;
  background-color: var(--secondary-color);
  min-width: 115px;
  z-index: 1;
  top: 45px;
  right: 0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.155);
}

.navbarDropdown:focus-within .navbarDropdownContent {
  display: block;
  position: absolute;
}



.navbarBtn {
  color: var(--secondary-color);
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  width: 115px;
  height: 29px;
  font-size: 14px;
  background-image: linear-gradient(to right top, #dd34ff, #ff12a0, #9859fd, #b581ff, #ebe4e7);
  background-size: 50% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientAnim 7.5s ease alternate infinite;
}



.navbarBtn:hover {
  border-color: #7f2fff;
  border-width: 2px;
}

@keyframes gradientAnim {
  to {
    background-position: 100% top;
  }
}



@media only screen and (max-width: 600px) {
  .nameLanding {
    font-size: 50px !important;
  }
  h1 {
    font-size: 1.5em;
    margin: 0.67em 0;
  }
}


.nameLanding {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-size: 96px;
  align-items: center;
  color: var(--primary-color);
}

.description {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  text-align: center;
  padding: 50px;

}



.imagenPeople {
  margin-top: 50px;
  object-fit: cover;
  width: 100%;
  height: 73px;
}

/* here ends navbar */

.genreContainer {
  margin-top: 10em;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.genreTitle {
  background-color: var(--primary-color);
  width: 100%;
  color: var(--secondary-color);
  text-align: center;
  font-size: 1em;
  height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.genreButton {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
}


.genreBtnImg {
  border-radius: 25px;
  height: 100px;
  width: 70%;
  object-fit: cover;
}

.genreBtnTitle {
  position: absolute;
  color: var(--secondary-color);
}

.genre {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;

}


.sectionImg {
  object-fit: cover;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
}

.textImg {
  position: absolute;
  font-size: 50px;
  color: var(--secondary-color);
  font-weight: bold;
}

.curatorName {
  background-color: var(--primary-color);
  padding: 5px 10px 5px 6px;
  color: var(--secondary-color);
  display: inline-block;
  font-size: 1em;
  width: 100%;
}

.genrePar {
  border: 1px solid black;
  padding: 5px 10px 5px 6px;
  color: var(--primary-color);
  display: inline-block;
  max-width: 100%;
}

.songName {
  background-color: var(--primary-color);
  padding: 5px 10px 5px 6px;
  color: var(--secondary-color);
  display: inline-block;
  font-size: 20px;
  width: 100%;

}

.songContainer {
  width: 100%;
}

.genreSection {
  padding: 1em;;
}

.songContainer {
  width: 100%;
  
}
.genreCardContainer {
  width: 100%;
  display: flex;
  gap: 1em;
  flex-direction: column;
  align-items: center;
}

*{
  margin:0;
  color: grey;
}

.footerContainer{
  background-color: rgba(128, 128, 128, 0.228);
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.box{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 30px;
}

.sobreNosotrosContainer{
  list-style: none;
  line-height: 30px;
  width: 50%;
}


i{
  padding-right: 10px;
}

.social{
  display: flex;
  justify-content: center;
  width: 50%;
  text-align: center;
  font-size: 30px;
  
}

.copyright{
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 30px;
  box-shadow: 1px 2px 5px var(--rockmetal-color-1) ; 
  
}

.songContainer {
  width: 100%;
}

.moreBtn {
  text-decoration: none;
   font-family:'Inter';
}

.moreBtn:hover {
  color:#7f2fff;
}


/* animation */

.music {
  height: 24px;
  width: 24px;
  display:flex;
  justify-content: center;
  align-items: center;
  gap: 1px;
}

.music span {
  height: 20px;
  width: 2px;
  background-color: black;
  transform-origin: center;
}

.music span:nth-child(1) {
  animation: music 400ms infinite alternate;
}

.music span:nth-child(2) {
  animation: music 450ms infinite alternate-reverse;
}

.music span:nth-child(3) {
  animation: music 380ms infinite alternate;
}

.music span:nth-child(4) {
  animation: music 410ms infinite alternate;
}

.music span:nth-child(5) {
  animation: music 405ms infinite alternate-reverse;
}

.music span:nth-child(6) {
  animation: music 430ms infinite alternate;
}

@keyframes music {
  from {
    opacity: 0.4;
    transform: scaleY(0.2);
  }
  to {
    opacity: 0.8;
    transform: scaleY(0.8);
  }
}


/* media queries */

@media only screen and (min-width: 1024px) {
  .navbarHidden {
    display: block;
  }
  .navbarHome {
    display: none;
  }
  .imagenPeople {
    height: 208px;
  }
  .genreCardContainer {
    width: 100%;
    gap: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
  }
  .genreBtnImg {
    height: 200px;
    width: 100%;
  }

  .genreButton {
    display: flex;
    width: 40%;
    border-radius: 25px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  .songWrapper {
    display: flex;
    width: 100%;
    gap: 4em;
    justify-content: space-around;
  }
  .songName {
    padding: 7px 0px 7px 0px;
    text-align: center;
  }
  .genreSection {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .curatorName {
    width: 20%;
    text-align: center;
  }
  .sobreNosotrosContainer {
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}