/*  GOOGLE FONT LINK  */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Oleo+Script:wght@400;700&family=Roboto:wght@100;300;400;500;700;900&display=swap');

/*-----------------------------------*\
  # THEME COLORS #
\*-----------------------------------*/

/* LIGHT TMEME */
body.light-theme {
  --main-color: hsl(24, 74%, 58%);

  --bg-primary: hsl(0, 0%, 90%);
  --bg-secondary: hsl(0, 0%, 100%);

  --color-primary: hsl(0, 0%, 12%);
  --color-secondary: hsl(0, 0%, 37%);

  --card-shadow: hsla(0, 0%, 0%, 0.1);
}

/* DARK THEME */
body.dark-theme {
  --main-color: hsl(24, 74%, 58%);

  --bg-primary: hsl(0, 0%, 12%);
  --bg-secondary: hsl(0, 0%, 19%);

  --color-primary: hsl(0, 0%, 100%);
  --color-secondary: hsl(0, 0%, 62%);

  --card-shadow: hsla(0, 0%, 0%, 0.4);
}

/*-----------------------------------*\
  # RESET #
\*-----------------------------------*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  background: var(--bg-primary);
  /* transition: 0.25s ease-in-out; */
}

a,
img,
span,
input,
button,
textarea {
  display: block;
}

a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

input,
button,
textarea {
  resize: none;
  border: none;
  font: inherit;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  transition: 0.25s ease-in-out;
}

/*-----------------------------------*\
  # REUSABLE CSS CLASSES #
\*-----------------------------------*/
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1440px;
  padding-inline: 15px;
}

p {
  font-size: 0.9rem;
  line-height: 1.6em;
  color: var(--color-secondary);
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.active {
  overflow: hidden;
}

.section {
  padding-block: 60px;
}

.section-title,
.music-title,
.store-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-primary);
  font-family: 'Nunito', sans-serif;
}

.section-description {
  max-width: 550px;
  text-align: center;
  margin: 12px auto 50px;
}

.btn {
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  max-width: max-content;
  transition: 0.25s ease-in-out;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn:hover,
.btn.touch {
  color: var(--bg-primary);
  background: var(--color-primary);
}

/*-----------------------------------*\
  # WEBSITE HEADER #
\*-----------------------------------*/
.header {
  width: 100%;
  padding-block: 15px;
  transition: 0.25s ease-in-out;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
}

.header.active {
  padding-block: 10px;
  background: var(--bg-secondary);
  box-shadow: 10px 10px 40px var(--card-shadow);
}

.header .container {
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2.2rem;
  position: relative;
  color: var(--color-primary);
  font-family: 'Oleo Script', system-ui;
  z-index: 2;
}

.logo span {
  display: inline-block;
  color: var(--main-color);
  margin-left: 2px;
}

.theme-btn {
  width: 48px;
  padding: 4px;
  border-radius: 100px;
  margin-inline: auto 5px;
  background: var(--bg-secondary);
  transition: 0.25s ease-in-out;
}

.header.active .theme-btn {
  background: var(--bg-primary);
}

.theme-btn .icon {
  position: relative;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50px;
  box-shadow: inset 9px -6px var(--color-primary);
  transition: 0.25s ease-in-out;
}

.theme-btn.active .icon {
  left: 20px;
  box-shadow: inset 20px -20px #f9d81a;
}

.nav-toggle-btn {
  position: relative;
  transform: rotate(-55deg);
  transition: 0.25s ease-in-out;
  z-index: 2;
}

.nav-toggle-btn.active {
  transform: rotate(-45deg);
}

.nav-toggle-btn span {
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px;
  transition: 0.25s ease-in-out;
}

.nav-toggle-btn :is(.one, .three) {
  width: 10px;
}

.nav-toggle-btn .one {
  margin-left: auto;
  transform-origin: left;
}

.nav-toggle-btn .three {
  transform-origin: right;
}

.nav-toggle-btn.active .one {
  transform: rotate(90deg) translateX(-3px);
}

.nav-toggle-btn.active .three {
  transform: rotate(90deg) translateX(3px);
}

.navbar {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 100%;
  left: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  background: var(--bg-secondary);
  transition: 0.75s cubic-bezier(0.71, 0.01, 0.24, 0.99);
  transition-delay: 0.5s;
  z-index: 1;
}

.navbar.active {
  top: 0;
  visibility: visible;
  transition-delay: 0s;
}

.navbar-list > li {
  margin-block: 20px;
  padding-inline: 50px;
  overflow: hidden;
}

.navbar-link {
  padding: 10px;
  font-size: 2.2rem;
  margin-inline: auto;
  width: max-content;
  position: relative;
  color: var(--color-primary);
  transform: translateY(50px);
  font-family: 'Nunito', sans-serif;
  transition: 0.75s cubic-bezier(0.68, -0.55, 0.27, 2);
}

.navbar.active .navbar-link {
  transform: translateY(0);
  transition-delay: 0.5s;
}

.navbar-link::before {
  content: '';
  width: 0;
  height: 3px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--main-color);
  transition: 0.25s ease-in-out;
}

.navbar-link:hover::before,
.navbar-link.touch::before {
  width: 100%;
}

/*-----------------------------------*\
  # HOME SECTION #
\*-----------------------------------*/
.home .container {
  padding-top: 60px;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

.home-banner {
  width: 100%;
  max-width: 500px;
}

.home-title {
  font-size: 2.2rem;
  margin-block: 40px 30px;
}

.home-btn {
  margin-inline: auto;
}

/*-----------------------------------*\
  # SOCIAL SECTION #
\*-----------------------------------*/
.social {
  background: var(--bg-secondary);
}

.social-list {
  gap: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.social-link {
  padding: 5px;
  border-radius: 8px;
  background: var(--bg-primary);
}

.social-link img {
  width: 50px;
  height: 50px;
  transition: 0.25s ease-in-out;
}

.social-link img:hover,
.social-link img.touch {
  transform: scale(1.1);
}

.spotify iframe {
  width: 100%;
  height: 360px;
  display: block;
  max-width: 960px;
  margin: 80px auto 0;
}

/*-----------------------------------*\
  # VIDEOS SECTION #
\*-----------------------------------*/
.video-list {
  gap: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.video-list iframe {
  width: 100%;
  max-width: 440px;
  min-height: 200px;
  border-radius: 8px;
}

/*-----------------------------------*\
  # MUSIC SECTION #
\*-----------------------------------*/
.music {
  background: var(--bg-secondary);
}

.music-list {
  gap: 50px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.music-card {
  width: 100%;
  margin: 0 auto;
  max-width: 380px;
}

.music-title {
  font-size: 1.5rem;
  padding: 0 3px;
  margin: 0 auto 20px;
  max-width: max-content;
  border-bottom: 2px solid var(--main-color);
}

.music-content {
  width: 100%;
  min-height: 330px;
  padding: 15px;
  border-radius: 8px;
  background-size: cover;
  transition: 0.25s ease-in-out;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 8px var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.music-content:hover,
.music-content.touch {
  box-shadow: 0 0 8px var(--main-color);
}

.music-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}

.music-content:hover .music-overlay,
.music-content.touch .music-overlay {
  opacity: 1;
}

.music-action {
  position: relative;
  z-index: 2;
  text-align: center;
  visibility: hidden;
  transform: translateY(500px);
  transition: 0.55s cubic-bezier(0.71, 0.01, 0.24, 0.99);
}

.music-content:hover .music-action,
.music-content.touch .music-action {
  visibility: visible;
  transform: translateY(0);
}

.music-link {
  padding: 6px 16px;
  margin: 10px auto;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

/*-----------------------------------*\
  # STORE SECTION #
\*-----------------------------------*/
.store-list {
  gap: 50px;
  display: flex;
  flex-wrap: wrap;
}

.store-item {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid var(--main-color);
}

.store-content {
  gap: 15px;
  display: flex;
  margin-bottom: 20px;
}

.store-img {
  width: 45%;
  max-width: 225px;
  border-radius: 6px;
}

.store-title {
  text-align: left;
  font-size: 1.25rem;
}

.store-text {
  font-weight: 600;
  margin-block: 4px 10px;
}

.music-price {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--main-color);
}

.store .buy-btn {
  margin-top: 15px;
  padding: 5px 10px;
}

.audio-player {
  width: 100%;
  border-radius: 8px;
}

/*-----------------------------------*\
  # CONTACT SECTION #
\*-----------------------------------*/
.contact {
  background: var(--bg-secondary);
}

.contact-form .input-field {
  width: 100%;
  padding: 13px;
  margin-bottom: 25px;
  border-radius: 6px;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}

.contact-form .input-field:focus {
  border-color: var(--main-color);
}

.contact-form textarea {
  width: 100%;
  height: 150px;
}

.contact .map {
  display: none;
}
/*-----------------------------------*\
  # FOOTER #
\*-----------------------------------*/
.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  row-gap: 15px;
  column-gap: 60px;
  padding-block: 25px;
}

.copyright {
  display: flex;
  gap: 3px;
}

/*-----------------------------------*\
  ...     MEDIA QUERIES     ... 

  # responsive for 575px screen #
\*-----------------------------------*/
@media (min-width: 575px) {
  /* = Store = */
  .store-item {
    padding: 20px;
  }

  .store-content {
    gap: 35px;
    align-items: center;
    margin-bottom: 30px;
  }

  .store-title {
    font-size: 1.75rem;
  }

  .store-text {
    font-size: 1.1rem;
  }

  .music-price {
    font-size: 1.2rem;
  }

  .store .buy-btn {
    margin-top: 25px;
    padding: 8px 18px;
  }
}

/*-----------------------------------*\
  # responsive for 768px screen #
\*-----------------------------------*/

@media (min-width: 768px) {
  /** --- REUSABLE CSS CLASSES --- **/
  .container {
    padding-inline: 25px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  p {
    font-size: 0.95rem;
  }

  /* = Home = */
  .home-title {
    font-size: 2.8rem;
  }

  /* = Videos = */
  .video-list iframe {
    width: 48%;
  }

  /* = Music = */
  .music-card {
    width: 47%;
    max-width: 380px;
  }

  /* = footer = */
  .footer .container {
    justify-content: space-between;
  }
}

/*-----------------------------------*\
  # responsive for 960px screen #
\*-----------------------------------*/

@media (min-width: 960px) {
  /** --- REUSABLE CSS CLASSES --- **/
  .container {
    padding-inline: 35px;
  }

  .section {
    padding-block: 80px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-description {
    margin: 12px auto 70px;
  }

  p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1.1rem;
    padding: 13px 30px;
  }

  /* = Header = */
  .header {
    padding-block: 20px;
  }

  .theme-btn {
    order: 1;
    margin-inline: 0;
  }

  .nav-toggle-btn {
    display: none;
  }

  .navbar {
    all: unset;
  }

  .navbar-link {
    font-size: 1.08rem;
    padding-inline: 5px;
    transform: translateY(0);
  }

  .navbar-list > li {
    margin: 0;
    padding: 0;
    overflow: visible;
    font-weight: 700;
  }

  .navbar-list {
    gap: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-link::before {
    height: 3px;
  }

  /* = Home = */
  .home {
    padding-block: 100px 80px;
  }

  .home-title {
    font-size: 3.3rem;
  }

  .home-banner {
    max-width: 600px;
  }

  /* = Social = */
  .social-list {
    gap: 35px;
  }

  .social-link {
    padding: 7px;
  }

  .social-link img {
    width: 60px;
    height: 60px;
  }

  /* = Videos = */
  .video-list iframe {
    width: 48%;
    min-height: 250px;
  }

  /* = Music = */
  .music-card {
    width: 50%;
    max-width: 415px;
  }

  .music-link {
    font-size: 1rem;
    padding: 8px 25px;
    margin: 20px auto;
  }

  /* = Store = */
  .store-list {
    flex-wrap: nowrap;
  }

  /* = Contact = */
  .contact-flex {
    gap: 50px;
    display: flex;
    justify-content: space-evenly;
  }

  contact-form {
    width: 50%;
  }

  .contact-form .grid-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .contact .map {
    width: 45%;
    height: 300px;
    display: block;
    border-radius: 8px;
  }
}

/*-----------------------------------*\
  # responsive for 1280px screen #
\*-----------------------------------*/
@media (min-width: 1280px) {
  /* = Videos = */
  .video-list {
    gap: 30px;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  .video-list iframe {
    width: 25%;
    min-height: 180px;
  }

  /* = Music = */
  .music-list {
    justify-content: space-around;
  }

  .music-card {
    width: 31%;
    max-width: 400px;
  }
}
