/* Ensure the background covers full height without setting html/body height */
#chordscontent {
    min-height: 100vh; /* Full viewport height */
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    display: flex; /* Flexbox for proper content alignment */
    flex-direction: column; /* Allow vertical stacking */
    padding-bottom: 20px; /* To add space at the bottom if needed */
}

/* Main container layout */
#chordscontent .container {
    display: flex;
    justify-content: center; /* Center content horizontally */
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 1200px;
    gap: 20px;
}

/* Main Content Styling */
#chordscontent .main-content {
    flex: 1;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    min-width: 300px; /* Ensure it doesn't get too small */
    overflow-x: auto;
}

#chordscontent h1 {
    color: #f1c40f; /* Use a yellow color */
}

#chordscontent .main-content h2, .main-content h3 {
    color: #f1c40f; /* Use a yellow color */
}

/* Styling for the preformatted text (chords) */
#chordscontent .main-content pre {
    background-color: #292929;
    padding: 15px;
    border-radius: 8px;
    white-space: pre;
    color: #e0e0e0;
    font-size: 16px; /* Default font size */
    position: relative; /* Position for absolute button placement */
    margin-bottom: 30px; /* Add spacing between <pre> elements and text below */
}

/* Zoom buttons styling */
#chordscontent .zoom-buttons {
    position: absolute; /* Absolute positioning within <pre> */
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    display: flex; /* Flexbox for horizontal alignment */
    flex-direction: row; /* Align buttons horizontally */
}

#chordscontent .zoom-buttons button {
    background-color: #f1c40f; /* Yellow background for buttons */
    color: #1e1e1e; /* Dark text color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    padding: 3px 6px; /* Smaller padding for smaller buttons */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth background transition */
    margin-left: 5px; /* Space between buttons */
    font-size: 12px; /* Smaller font size */
}

#chordscontent .zoom-buttons button.reset {
    background-color: #e67e22; /* Orange color for reset button */
}

#chordscontent .zoom-buttons button:hover {
    background-color: #e0e0e0; /* Change color on hover */
    color: #121212; /* Dark text color on hover */
}

/* Sidebar Styling */
#chordscontent .sidebar {
    flex: 0 0 300px; /* Fix the width to 300px */
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 10px;
}

#chordscontent .sidebar h3 {
    color: #f1c40f;
}

#chordscontent .sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

#chordscontent .sidebar ul li {
    margin: 15px 0; /* Increased margin between songs */
}

#chordscontent .sidebar ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#chordscontent .sidebar ul li a:hover {
    color: #f1c40f; /* On hover, change the color to yellow */
}

/* Responsive Design */
@media (max-width: 768px) {
    #chordscontent .container {
        flex-direction: column;
        align-items: center; /* Center content vertically on small screens */
    }

    #chordscontent .sidebar {
        width: 100%;
    }

    #chordscontent .main-content {
        max-width: 100%;
    }
}
