@font-face {
  font-family: 'Level';
  src: url('../fonts/Level-Regular.TTF') format('truetype');
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  padding: 10px 30px 20px 30px;
  font-family: sans-serif;
}

/* Global Text Styling */
p {
  font-size: 1.05em;
  line-height: 1.75;
  margin-bottom: 1.2em;
  max-width: 900px;
}

a {
  color: black;
  text-decoration: underline;
}

a:hover {
  opacity: 0.7;
}

/* Header */
h1 {
  background: linear-gradient(to right, darkblue, lightblue);
  -webkit-background-clip: text;
  background-clip: text; /* Added standard property */
  -webkit-text-fill-color: transparent;
  font-family: 'Level', sans-serif;
  font-weight: 300;
  /* FIX: Use clamp() for better responsiveness, avoiding fixed 100vw issues */
  font-size: clamp(2rem, 6.5vw, 5rem);
  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* Ensures text stays centered if it wraps */
  
  /* FIX: Changed 100vw to 100% to respect body padding */
  width: 100%;
  
  /* FIX: Add padding to prevent letter clipping */
  padding: 0 0.1em; 
  margin-bottom: 25px;
  white-space: normal;
}

h2 {
  font-family: "Permanent Marker", sans-serif;
}

.artist-statement-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.artist-statement-container p {
  max-width: 1000px;
}

.artist-statement {
  font-family: 'Permanent Marker', cursive;
  font-weight: bold;
  font-size: 2em;
  margin-top: 25px;
  margin-bottom: 20px;
  background: linear-gradient(to right, black, darkgrey);

  /* 2. Clip the background to the text */
  -webkit-background-clip: text;
  background-clip: text;

  /* 3. Make the text transparent so the background is visible */
  color: transparent;
  padding-right: 0.4rem;
}

/* To-Do List */
.todo-section {
  color: black;
  font-family: 'Permanent Marker', cursive;
  font-size: 1.2em;
  line-height: 1.6;
}

.todo-section p {
  margin-top: 1.2em;
}

ul {
  margin-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

li {
  margin-bottom: 0.4em;
}

/* Footer */
footer {
  text-align: left;
  font-size: 1.5em;
  padding: 10px;
  position: relative;
  margin-top: 40px;
}

.footer-banner {
  width: 100%;
  /* FIX: Adjusted height for mobile and added background color */
  height: 150px; 
  overflow: hidden;
  position: relative;
  text-align: center;
  background-color: black;
}

.footer-banner-bg {
  width: 100%;
  height: 100%; /* FIX: Changed to 100% to fill container */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8; /* FIX: Dim the image slightly for contrast */
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Permanent Marker', cursive;
  font-size: 1.4em;
  width: 90%; /* Prevents text from hitting the edge */
  z-index: 10; /* FIX: Ensures text is always on top */
}

.text-overlay-link {
  text-decoration: none;
  background: linear-gradient(to right, white, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  padding-right: 0.5rem;
  /* FIX: Drop shadow makes white text readable on busy background */
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.8));
}

/* Responsive Styling */
@media (max-width: 768px) {
  body {
    /* FIX: Recover screen space on tablets */
    padding: 10px 20px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.2; /* Ensures sufficient space for the large font */
  }

  .artist-statement {
    font-size: 1.2em;
  }

  footer {
    font-size: 1.2em;
    text-align: center;
  }
  h2{
   font-size: 30px; 
  }
  
  
}

@media (max-width: 480px) {
  body {
    /* FIX: Recover screen space on phones */
    padding: 10px 15px;
  }

  h1 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
   h2{
   font-size: 15px; 
  }
  li{
   font-size: 15px; 
  }

  .artist-statement {
    font-size: 1.1em;
    line-height: 1.4;
  }

  .footer-banner {
    height: 120px; /* Smaller banner on mobile */
  }

  footer .text-overlay {
    font-size: 1.2rem; /* Using fixed units for predictable small-screen text */
  }
}