@font-face {
    font-family: 'Panic';
    src: url('/styles/Panic.ttf') format('truetype');
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #BFC8AD;
}

header {
    background-color: #4E6E58;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

main {
    padding: 2rem;
}

#music {
    padding: 1rem;
    border-radius: 8px;
    width: 70%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0 auto; /* Center the element horizontally */
}

/* Responsive design */
@media (max-width: 768px) {
    #music {
        grid-template-columns: 1fr;
    }
}

.track {
    background-color: #4E6E58;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#name {
    font-family: 'Panic', sans-serif;
    font-size: 70px;
    font-weight: lighter;
    display: flex;
    justify-content: center;
    text-align: center;
    color: #232020;
    text-shadow: 0 10px 10px rgba(0, 0, 0, 0.5); /* Adjusted shadow */
}

.soundcloud-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.soundcloud-icon {
    width: 32px;
    height: 32px;
}

.soundcloud-text {
    margin-top: 0.5rem;
    font-size: 14px;
}

/* Footer styling */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #4E6E58;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ddd;
    gap: 20px; /* Space between volume and controls */
}

/* Volume control styling */
.volume-control {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #fff;
}

.volume-control label {
    margin-right: 10px;
    font-size: 16px;
}

/* Volume slider styling */
.volume-control input[type="range"] {
    -webkit-appearance: none;
    width: 100px;
    height: 6px;
    background: #fff;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #4E6E58;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.volume-control input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4E6E58;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.volume-control input[type="range"]:hover {
    opacity: 1;
}

.volume-control input[type="range"]::-webkit-slider-thumb:hover {
    background: #3d5c4d;
}

.volume-control input[type="range"]::-moz-range-thumb:hover {
    background: #3d5c4d;
}

/* Custom controls styling */
.custom-controls {
    display: flex;
    align-items: center;
}

.custom-controls button {
    background-color: #fff;
    color: #4E6E58;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin: 0 10px; /* Space between buttons */
}

.custom-controls button:hover {
    background-color: #4E6E58;
    color: #fff;
}
