body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000; /* Dark theme */
    color: #E0E0E0;

}

header {
    position: relative; /* Allows absolute positioning of the Spotify text */
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 1px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border-bottom: 3px solid #000000; /* Changed from #007bff to #000000 */
}

h1 {
    position: absolute; /* Position the Spotify text on top of the canvas */
    top: 0; /* Align it at the top of the visualizer */
    width: 100%; /* Ensure it's centered */
    color: white;
    font-size: 4rem;
    margin: 0;
    padding-top: 30px; /* Adjust spacing from the top */
}

/* Sliding animation */
@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.slide-out {
    animation: slideOut 1s forwards; /* 1-second slide-out animation */
}

.color-picker-container {
    position: absolute; /* Enables exact positioning */
    top: 139px; /* 139px from the top */
    right: 53px; /* 80px from the right */
}

/* Circle style for the color picker */
#color-picker {
    width: 40px; /* Width of the color picker */
    height: 40px; /* Height of the color picker */
    border-radius: 50%; /* Makes it circular */
    cursor: pointer; /* Pointer cursor on hover */
    border: 2px solid #ccc; /* Optional: border for better visibility */
    padding: 0; /* Remove any padding */
    appearance: none; /* Remove default styles for color input */
    outline: none; /* Remove outline */
}

/* Optional: Customize the background of the color picker when clicked */
#color-picker::-webkit-color-swatch {
    border-radius: 50%; /* Circular background */
}
canvas {
     width: 105%;
     height: 200px;
     background: linear-gradient(to bottom, black 50%, black 50%); /* Top half #1f1f1f, bottom half black */
     display: block;
     margin: 0 auto; /* Center the canvas horizontally */
 }
.floating-btn {
    position: fixed; /* Keeps the button fixed on the page */
    bottom: 20px;    /* Position from bottom */
    right: 20px;     /* Position from right */
    background-color: black;  /* Black background */
    color: white;    /* White icon or text */
    width: 60px;     /* Width of the button */
    height: 60px;    /* Height of the button */
    border-radius: 50%;  /* Makes it circular */
    text-align: center;  /* Centers text/icon inside */
    line-height: 60px;   /* Vertically centers the icon */
    font-size: 24px;     /* Size of the icon/text */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); /* Adds a shadow for effect */
    cursor: pointer;  /* Changes the cursor to a pointer */
    z-index: 1000;    /* Ensures the button is above other content */
    text-decoration: none; /* Removes underline from links */
    transition: background-color 0.3s, transform 0.3s; /* Adds smooth hover effect */
}

/* Hover effect */
.floating-btn:hover {
    background-color: #333;  /* Slightly lighter black */
    transform: scale(1.1);   /* Slight enlargement on hover */
}

/* Icon styles */
.fab-icon {
    font-size: 26px;  /* Icon size */
    font-weight: bold;  /* Makes the text/icon bold */
}

/* styles.css */

/* Container to hold the profile picture */
.profile-container {
    position: absolute; /* Enables exact positioning */
    top: 139px;       /* Distance from the top */
    right: 100px;     /* Distance from the right */
}

/* Style for the profile picture */
.profile-pic {
    width: 40px;     /* Adjust size to your preference */
    height: px;
    border-radius: 50%;  /* Makes the picture circular */
    border: 2px solid #fff;  /* Optional white border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);  /* Adds a shadow */
    cursor: pointer;  /* Pointer cursor to show it's interactive */
    transition: transform 0.3s;  /* Smooth hover effect */
}

/* Hover effect for the profile picture */
.profile-pic:hover {
    transform: scale(1.1);

     /* Slightly enlarges on hover */
}.profilee-container {
    position: absolute; /* Enables exact positioning */
    top: 139px;       /* Distance from the top */
    right: 150px;     /* Distance from the right */
}

/* Style for the profile picture */
.profilee-pic {
    width: 40px;     /* Adjust size to your preference */
    height: 40px;
    border-radius: 50%;  /* Makes the picture circular */
    border: 2px solid #fff;  /* Optional white border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);  /* Adds a shadow */
    cursor: pointer;  /* Pointer cursor to show it's interactive */
    transition: transform 0.3s;  /* Smooth hover effect */
}

/* Hover effect for the profile picture */
.profilee-pic:hover {
    transform: scale(1.1);  /* Slightly enlarges on hover */
}.profileee-container {
    position: absolute; /* Enables exact positioning */
    top: 139px;       /* Distance from the top */
    right: 200px;     /* Distance from the right */
}

/* Style for the profile picture */
.profileee-pic {
    width: 40px;     /* Adjust size to your preference */
    height: 40px;
    border-radius: 50%;  /* Makes the picture circular */
    border: 2px solid #fff;  /* Optional white border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);  /* Adds a shadow */
    cursor: pointer;  /* Pointer cursor to show it's interactive */
    transition: transform 0.3s;  /* Smooth hover effect */
}

/* Hover effect for the profile picture */
.profileee-pic:hover {
    transform: scale(1.1);  /* Slightly enlarges on hover */
}
.profileeee-container {
    position: absolute; /* Enables exact positioning */
    top: 139px;       /* Distance from the top */
    right: 300px;     /* Distance from the right */
}

/* Style for the profile picture */
.profileeee-pic {
    width: 40px;     /* Adjust size to your preference */
    height: 40px;
    border-radius: 50%;  /* Makes the picture circular */
    border: 2px solid #fff;  /* Optional white border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);  /* Adds a shadow */
    cursor: pointer;  /* Pointer cursor to show it's interactive */
    transition: transform 0.3s;  /* Smooth hover effect */
}

/* Hover effect for the profile picture */
.profileeee-pic:hover {
    transform: scale(1.1);  /* Slightly enlarges on hover */
}
.profile1-container {
    position: absolute; /* Enables exact positioning */
    top: 139px;       /* Distance from the top */
    right: 250px;     /* Distance from the right */
}

/* Style for the profile picture */
.profile1-pic {
    width: 40px;     /* Adjust size to your preference */
    height: 40px;
    border-radius: 50%;  /* Makes the picture circular */
    border: 2px solid #fff;  /* Optional white border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);  /* Adds a shadow */
    cursor: pointer;  /* Pointer cursor to show it's interactive */
    transition: transform 0.3s;  /* Smooth hover effect */
}

/* Hover effect for the profile picture */
.profile1-pic:hover {
    transform: scale(1.1);  /* Slightly enlarges on hover */
}.profile2-container {
    position: absolute; /* Enables exact positioning */
    top: 139px;       /* Distance from the top */
    right: 350px;     /* Distance from the right */
}

/* Style for the profile picture */
.profile2-pic {
    width: 40px;     /* Adjust size to your preference */
    height: 40px;
    border-radius: 50%;  /* Makes the picture circular */
    border: 2px solid #fff;  /* Optional white border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);  /* Adds a shadow */
    cursor: pointer;  /* Pointer cursor to show it's interactive */
    transition: transform 0.3s;  /* Smooth hover effect */
}

/* Hover effect for the profile picture */
.profile2-pic:hover {
    transform: scale(1.1);  /* Slightly enlarges on hover */
}
.form-container {
    display: flex;
    justify-content: center;
    margin: -70px 0 0 0; /* Pull the form container upwards */
}

/* Input Field */
input[type="text"] {
    padding: 9px;
    font-size: 1.0em;
    border: 1px solid #555;
    border-radius: 20px;
    width: 400px;
    background-color: #1f1f1f;
    color: #e0e0e0;
    transition: border-color 0.3s;
}


input[type="text"]:focus {
    outline: none;
    border-color: #ffffff; /* Changed from #007bff to #000000 */
}

button {
    padding: 12px 18px;
    font-size: 1.1em;
    color: #fff;
    background-color: #000000; /* Changed from #007bff to #000000 */
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: background-color 0.4s, transform 0.3s;
}

button:hover {
    background-color: #333333; /* Darker shade for hover */
    transform: translateY(-3px); /* Adds a slight lift */
}

/* Image Container */
#image-container {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px;
    gap: 1px;
    overflow: hidden;
    transition: transform 0.5s ease; /* Add transition for sliding effect */
/* Hides any overflow for smooth transitions */ /* Add gap between cards */
}

/* Image Card Styles */
.image-card {
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    width: calc(20% - 40px); /* Adjust card width to fit 5 per row, with margin */
    margin: 10px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-card:hover {
    transform: translateY(-10px) rotate(2deg); /* Adds a rare, striking effect */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.8);
}

.image-card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #000000;
}

/* Card Title Styles */
.image-card h2 {
    margin: 0;
    padding: 10px;
    text-align: center;
    font-size: 1.4em;
    color: #ffffff;
    background-color: #000000; /* Changed from #007bff to #000000 */
}
.image-card h3 {
    margin: 0;
    padding: 10px;
    text-align: center;
    font-size: 1.4em;
    color: #ffffff;
    background-color: #000000; /* Changed from #007bff to #000000 */
}

/* Additional Information Styles */
.image-card p {
    margin: 0;
    padding: 5px 10px;
    text-align: center;
    color: #e0e0e0; /* Set text color for popularity and artist name */
}

/* Loader */
.loader {
    display: none;
    margin: 50px auto;
    font-size: 1.5em;
    text-align: center;
    color: #ffffff;
}
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#output {
    margin-top: 20px;
    padding: 10px;
    background-color: #1e1e1e; /* Darker background for output */
    border-radius: 8px; /* More rounded corners */
    font-size: 20px;
    min-height: 50px;
    border: 1px solid #333; /* Darker border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

button:disabled {
    background-color: #444; /* Dark grey for disabled button */
    cursor: not-allowed; /* Change cursor for disabled state */
}

