@font-face {
  font-family: 'Comfortaa';
  src: url('fonts/Comfortaa-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Comfortaa';
  src: url('fonts/Comfortaa-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Comfortaa';
  src: url('fonts/Comfortaa-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.icon {
  width: 30px;
  height: auto;
  margin: 0 8px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  padding: 5px; /* adds space around the icon so the background is visible */
}

.icon:hover {
  background-color: #00cb96; /* bright blue */
}

a {
  text-decoration: none;
  color: var(--accent); /* dark gray */
}

a:visited {
  color: var(--accent); /* override purple */
}

a:hover {
  color: #00cb96; /* bright blue-green */
  transition: color 0.3s ease;
}


.stream-icon {
  width: 60px;
  height: auto;
  margin: 0 8px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  padding: 5px; /* adds space around the icon so the background is visible */
}

.stream-icon:hover {
  background-color: #00cb96; /* bright blue */
}

.spotify-widget {
  text-align: center;
  padding: 4rem 0;
}

.spotify-widget iframe {
  width: 40vw;        /* 2/5 of the viewport width */
  max-width: 500px;   /* prevent it from getting too wide */
  border-radius: 12px;
}

.spotify-widget h4 {
  padding: 0 0 0.5rem
}

@media (max-width: 768px) {
  .spotify-widget iframe {
    width: 90vw;
    max-width: none;
  }
}



.banner {
  width: 100vw; /* full screen width */
  height: auto;
  display: block;
}

/* código original de chatgpt*/

:root {
  --bg: #f9f9f9;
  --text: #1c1c1c;
  --accent: #111;
  --muted: #6c6c6c;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0; /* margen superior 0, añadido al codigo original de ChatGPT */
  font-family: 'Comfortaa', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container.narrow {
  max-width: 700px;
}

header {
  background: var(--bg);
  padding: 0;
  border-bottom: none;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--muted);
}

.hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.hero h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: 0.5rem auto 2rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.btn:hover {
  background: #333;
}

.music-platforms {
  padding: 2rem 0;
  /* background: #fff; */
}

.music-platforms h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.playlists {
  padding: 6rem 0;
}

.playlists h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.thumb {
  width: 100%;
  padding-top: 60%;
  background-size: cover;
  background-position: center;
}

.text {
  padding: 1.25rem;
}

.text h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.text p {
  font-size: 0.9rem;
  color: var(--muted);
}

footer {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

footer a {
  color: #fff;
  margin: 0 0.75rem;
  text-decoration: none;
  font-weight: 400;
}

footer a:hover {
  text-decoration: underline;
}

footer .small {
  color: #aaa;
  font-size: 0.65rem;
  margin-top: 0.75rem;
}
