/* Global Styles */
body {
  background-color: #f7eedd59;
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
}

/* Vintage Background Pattern */
body::after {
  content: "";
  background-image: url("/images/Music\ Background\ stock\ image_\ Image\ of\ ragged\,\ page\,\ piano\ -\ 19309863.jpg");
  opacity: 0.2; /* Reduced opacity for a subtle background */
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index: -1;
  pointer-events: none; /* Prevent interaction with the pseudo-element */
}

h1 {
  color: #9d756d;
  text-align: center;
  font-size: 60px;
  margin: 20px 0;
  /* Aesthetic Text Style */
  font-family: 'Shadows Into Light', cursive;                                          
  text-shadow: 2px 2px 2px #ccc;
}

h2 {
  text-align: center;
  font-family: "Pacifico", cursive;
}

p {
  color: #7f7f7f;
  margin-top: 0;
  font-size: 24px;
  line-height: 1.6;
  text-align: center;
  /* Aesthetic Text Style */
  font-family: "Handlee", cursive;
}

/* Navigation */
nav {
  background-color: rgba(157, 117, 109, 0.779);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

nav:hover {
  background-color: rgba(157, 117, 109, 1);
  box-shadow: 0 0 10px rgba(157, 117, 109, 0.5);
}

.artists {
  color: lavenderblush;
  font-size: 18px;
  padding: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 30px;
  /* Aesthetic Text Style */
  font-family: "Dancing Script", cursive;
}

.artists:hover {
  color: #9d756d;
  background-color: #f7eedd;
}

/* Artist Info */
.display-artist {
  color: rgb(157, 117, 109);
  font-size: 40px;
  text-align: center;
  margin: 0px;
  /* Aesthetic Text Style */
  font-family: 'Shadows Into Light', cursive;

}

.links {
  color: #7f7f7f;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: "Handlee", cursive;
  text-shadow: 1px 1px 1px #ccc;
}

.links:hover {
  color: #9d756d;
  text-decoration: underline;
}

/* Song Cards */
#card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 20px;
  margin: 20px;
  padding: 20px;
  justify-items: center;
  text-align: center;
}
#hidden {
  width: 25%; /* Adjust the width as needed */
  margin: auto;
  padding: 15px;
  border-radius: 8px;
  display: none;
  color: #5c4033; /* Vintage brown color */
  background-color: #f2e5d3; /* Creamy background */
  border: 2px solid #d4bca6; /* Light brown border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background-color: rgba(252, 235, 207, 0.9); /* Lightened background with transparency */
  backdrop-filter: blur(10px); /* Background blur for a vintage touch */

}

#hidden.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#hidden h2 {
  font-size: 18px;
  margin-bottom: 10px;
  font-family: 'Courier New', monospace; /* Vintage typewriter font */
  color: #5c4033;
  font-size: 20px; /* Slightly larger font size */
  color: #5c4033;
  text-shadow: 1px 1px 1px #eee; /* Subtle text shadow */

}

#hidden label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-family: 'Courier New', monospace;
  color: #5c4033;
}

#hidden input[type="text"] {
  width: 100%;
  padding: 6px;
  margin-bottom: 8px;
  border: 1px solid #5c4033;
  border-radius: 5px;
  font-size: 12px;
  transition: border-color 0.3s ease;
  font-size: 14px; /* Larger font size for better readability */
  background-color: #f7f1e5; /* Off-white background */
}

#hidden input[type="text"]:focus {
  border-color: #8f6351; /* Darker brown on focus */
}

#submit-button {
  display: block;
  margin: 0 auto;
  padding: 6px 12px;
  background-color: #5c4033;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle box shadow */
}

#submit-button:hover {
  background-color: #4a2e24; /* Slightly darker brown on hover */
}


.form{
  width: 500px;
}

#songID{
  display: none;
}
#artistID{
  display: none;
}



.card {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally */
  justify-content: space-between;
  border: 1px solid #9d756d;
  border-radius: 20px;
  padding: 20px;
  background-color: rgba(157, 117, 109, 0.412);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  margin: 10px;
 /* Lightened background with transparency */
  backdrop-filter: blur(5px); /* Background blur for a vintage touch */
}

.card img {
  object-fit: cover;
  width: 100%;
  height: 150px;
  border-radius: 20px 20px 0 0;
  transition: transform 0.3s ease;
  margin: 0; /* Remove margin to center the image properly */
}

.card p {
  color: #321f1f;
  font-size: 20px;
  margin: 0;
  padding: 8px 0; /* Add vertical padding between song details */
}


.card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px) scale(1.02); /* Slight hover effect */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Slightly elevated shadow */ /* Add scale animation on hover */
}

.card:hover img {
  transform: scale(1.1);
}

