/* Reset and base styles */
.im-fell-english-sc-regular {
  font-family: "IM Fell English SC", serif;
  font-weight: 400;
  font-style: normal;
}

nav, a, p, button, h2{
  font-family: "IM Fell English SC", serif;
  font-weight: 600;
  font-style: normal;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  padding-top: 25px;
  height: 0;
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "IM Fell English SC", serif;
}

body.dark-bg {
  background-color: #111;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  font-size: 1rem;
  background-color: #111;
  flex-wrap: wrap;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 5px 10px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.2s ease;
}

nav a:hover {
  color: #00ff84;
}

nav li.active a {
  color: #00ff84;
  font-weight: bold;
}

main {
  padding: 1.5rem;
  text-align: center;
}

.logo1 {
  max-width: 90%;
  margin: 1rem auto;
}

.logo {
  max-width: 60%;
  margin: 1rem auto;
}

.spotify-label {
  color: #00ff84;
  font-weight: bold;
  margin: 1rem 0;
}

.spotify-embed {
  width: 90%;
  max-width: 400px;
  margin: 1rem auto;
}

.image-box {
  padding: 2rem;
  margin: 1rem auto;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  font-weight: bold;
}

.video-box {
  background-color: #ccc;
  color: #555;
  padding: 2rem;
  margin: 1rem auto;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  font-weight: bold;
}

button {
  background-color: white;
  color: black;
  font-weight: bold;
  border: none;
  padding: 0.75rem 2rem;
  margin-top: 2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.music-links {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 1rem auto;
  font-weight: bold;
}

.music-links li {
  margin: 0.5rem 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 2rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  color: black;
}

form input {
  padding: 0.6rem;
  border: 1px solid #999;
  border-radius: 4px;
}

form button {
  background-color: black;
  color: white;
}

.profile-info {
  margin: 2rem 0;
}

.profile-picture {
  background-color: #aaa;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.achievements {
  text-align: center;
}

.achievements ul {
  list-style: none;
  margin-top: 1rem;
  font-weight: bold;
}

footer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  border-top: 1px solid #333;
  background-color: #111;
}

footer img {
  width: 24px;
  height: 24px;
}

a {
  color: white;
  text-decoration: none;
}

.music-links a {
  color: white;
  text-decoration: none;
}

.music-links a:hover {
  color: #00ff84;
}

footer a {
  color: #00ff84;
}

footer a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* ===== Mobile optimization ===== */
@media (max-width: 600px) {
  nav {
    flex-wrap: wrap;
    padding: 0.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 4px 6px;
  }

  nav a {
    font-size: 0.8rem; /* smaller to fit mobile */
    padding: 6px 8px;
  }

  .logo {
    max-width: 80%;
  }

  main {
    padding: 1rem;
  }
}

/* ===== Tablet & up ===== */
@media (min-width: 768px) {
  nav a {
    font-size: 1rem;
  }

  .logo {
    max-width: 60%;
  }
}

