/* Reset and Global Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark light;
}


    :root {
      --soft-peach: #FFBE98;
      --warm-taupe: #F0A599;
      --deep-forest-green: #2f2f2f;
      --milk: #F3F2F3ff;
      --red-straw: #CE5A43;
    }

::selection {
  background-color: var(--deep-forest-green);
  color: var(--milk);
}

/* Body & Typography */
body {
  font-family: 'Droid Serif', serif;
  background-color: var(--milk);
  color: var(--deep-forest-green);
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Landing Section */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  color: var(--milk);
  text-align: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.landing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('milk.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.landing h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--milk);
  margin: 0;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

/* Header */
header {
  text-align: center;
  padding: 2rem 1rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

header h1 {
  font-size: 2.5rem;
  color: var(--deep-forest-green);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* MP3 Player Styles */
.mp3-player-container {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.mp3-player {
  width: 300px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.1);
  margin-right: 1rem;
}

.song-title {
  font-family: 'Droid Serif', serif;
  font-size: 0.9rem;
  color: var(--milk);
  white-space: nowrap;
}

/* Profile Picture */
.profile-pic {
  float: left;
  margin: 0 15px 15px 0;
  width: 100px;
  height: auto;
 }

/* Main Section */
.main-section {
  background-color: var(--milk);
  padding: 2rem 1rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}


.content {
  max-width: 800px;
  margin: 0 auto;
}

.content h2 {
  font-size: 1.8rem;
  color: var(--deep-forest-green);
  margin-bottom: 1rem;
}

.content h3 {
  font-size: 1.4rem;
  color: var(--deep-forest-green);
  margin-bottom: 1rem;
}

.content p {
  margin-bottom: 1.5rem;
}

/* Creed Specific Styling */
.content.creed p {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #2f2f2f;
}

.content.creed p::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #51676C;
  font-weight: bold;
}

.content.creed p i {
  color: #51676C;
  font-style: italic;
}

/* Quotes (Quotes Page) */
.content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 2rem;
  border-left: 4px solid #51676C;
  font-style: italic;
}

.content blockquote p {
  margin-bottom: 1rem;
}

.content blockquote cite {
  display: block;
  text-align: right;
  color: #51676C;
  font-style: normal;
}

/* Lists */
ul {
  list-style: none;
  padding-left: 0;
}

/* Interests (About Page) */
.interests {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Gallery (Gallery Page) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery li {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #51676C;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* Links (Links Page) */
.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links li {
  position: relative;
  padding-left: 1.5rem;
}

.links li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--deep-forest-green);
  font-weight: bold;
}

/* Links (General) */
a {
  color: var(--deep-forest-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--red-straw);
  text-decoration: underline 2px dashed;
}

/* Footer */
footer {
  padding: 2rem 1rem;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 0;
  text-align: center;
}

footer blockquote {
  margin: 0 auto 1.5rem;
  padding: 1rem 2rem;
  border-left: 4px solid #51676C;
  font-style: italic;
  max-width: 600px;
}

footer blockquote p {
  margin-bottom: 0.5rem;
}

footer blockquote cite {
  display: block;
  text-align: right;
  color: #51676C;
  font-style: normal;
}

footer p {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 800px) {
  .landing h1,
  header h1 {
    font-size: 2rem;
  }
  .main-section {
    padding: 1.5rem 1rem;
  }
  footer {
    padding: 1.5rem 1rem;
  }
  .mp3-player-container {
    margin: 1.5rem auto;
  }
}

@media (max-width: 500px) {
  .landing h1,
  header h1 {
    font-size: 1.5rem;
  }
  .content {
    width: 90%;
  }
  .content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  .content p {
    margin-bottom: 1rem;
  }
  .interests {
    gap: 0.8rem;
  }
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .links {
    gap: 0.8rem;
  }
  .mp3-player-container {
    position: static;
    transform: none;
    flex-direction: column;
    padding: 1rem;
    margin: 1rem auto;
  }
  .mp3-player {
    width: 90%;
    max-width: 300px;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
  .song-title {
    white-space: normal;
    font-size: 0.8rem;
    text-align: center;
    color: #2f2f2f;
  }
}
