/* Set a background image for the body with no repeat and cover the entire area */
body {
    background-image: url("../images/purplebg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

/* Header section with flexbox for layout and background color */
#header {
    display: flex;
    justify-content: space-between;
    height: 70px;
    background-color: #c3b1e1; /* Light purple background */
}

/* Logo styling with uppercase bold white text */
#logo {
    color: #ffffff;
    font-size: 37px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 14px;
    margin-left: 20px;
}

/* Navigation menu styling */
#main-nav ul {
    display: flex; /* Horizontal layout for navigation items */
    padding: 0;
    margin: 0;
    list-style: none; /* Remove default bullet points */
}

#main-nav li a {
    background-color: #9f3fbf; /* Purple background */
    color: #ffffff; /* White text */
    padding: 26px;
    display: inline-block;
    transition: 200ms; /* Smooth hover effect */
}

/* Universal anchor link styles */
a {
    color: #ffffff;
    text-decoration: none; /* Remove underline */
    transition: 300ms; /* Smooth hover effect for color change */
}

#main-nav li a:hover {
    background-color: #738678; /* Change background on hover */
}

a:hover {
    color: #4af6f6; /* Change text color on hover */
}

/* Image styling with hover zoom effect */
img {
    height: 200px;
    width: 200px;
}

img:hover {
    transition: 300ms;
    cursor: pointer;
    transform: scale(1.1); /* Slight zoom effect */
}

/* Music section text color */
#music {
    color: #ffffff;
}

/* Container for general content with semi-transparent background */
.container {
    background-color: rgba(240, 240, 240, 0.3); /* Light semi-transparent background */
    width: 350px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 200px;
    color: #ffffff; /* White text */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Subtle shadow effect */
}

/* General heading styles */
h1 {
    color: #ffffff;
    font-size: 37px;
}

h2 {
    color: #ffffff;
    font-size: 24px;
}

/* Paragraph styling */
p {
    color: #ffffff;
}

/* About section with a distinct purple background and box styling */
.about {
    background-color: #a66fb5; /* Medium purple */
    color: #ffffff;
    width: 500px;
    margin: auto;
    margin-top: 50px;
    padding: 5px;
    border-color: #a66fb5 solid;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Footer text color */
footer {
    color: #ffffff;
}

/* Video styling with rounded corners */
video {
    width: 550px;
    height: auto;
    margin: 20px;
    border-radius: 5px;
}

/* Radio container layout with scrolling support */
#radio-container {
    display: flex;
    justify-content: center;
    align-items: top;
    background-color: rgba(240, 240, 240, 0.3);
    margin: auto;
    margin-top: 25px;
    width: 800px;
    height: 500px;
    border-radius: 10px;
    overflow: scroll;
    overflow-x: hidden;
}

/* Overflow scroll for tracks section */
#tracks {
    overflow: scroll;
}

/* Inline layout for albums */
#albums {
    display: inline-block;
}

/* Main section styling with scrolling support */
main {
    display: flex;
    justify-content: start;
    background-color: rgba(240, 240, 240, 0.4); /* Semi-transparent background */
    margin: auto;
    margin-top: 25px;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 500px;
    padding: 10px;
    border-radius: 10px;
}

/* Styling for artist images */
.artistimages {
    margin-top: 25px;
}

/* Details section with margins */
.details {
    margin-bottom: 75px;
    margin-left: 10px;
    margin-right: 10px;
}

/* Album details section with flex layout */
#album-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    margin-top: 20px;
    width: 500px;
    background-color: rgba(240, 240, 240, 0.3);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* General list item styling */
li {
    color: #ffffff;
}

/* Popular section with scroll support */
#popular {
    margin: auto;
    margin-top: 20px;
    width: auto;
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: rgba(240, 240, 240, 0.3);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Table styling with alternating row colors and hover effects */
table {
    width: 100%;
    border-collapse: collapse;
    margin: auto;
    margin-top: 20px;
    background-color: rgba(240, 240, 240, 0.3);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

table th,
table td {
    padding: 15px;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
}

table thead tr {
    background-color: #9f3fbf; /* Darker purple for the header */
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
}

table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1); /* Alternating row color */
}

table tbody tr:hover {
    background-color: rgba(115, 134, 120, 0.8); /* Highlight row on hover */
    color: #ffffff;
    transition: 300ms;
}

/* Headings with a light background */
.headings {
    background-color: rgba(240, 240, 240, 0.4);
    color: #000000;
    margin: auto;
    width: fit-content;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Form styling with a semi-transparent background and shadow */
form {
    background-color: rgba(240, 240, 240, 0.3);
    width: 350px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    margin-top: 150px;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Contact section styling */
.contact {
    background-color: rgba(240, 240, 240, 0.4);
    color: #000000;
    margin: auto;
    width: fit-content;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Link styling with underline */
#link {
    color: blue;
    text-decoration: underline;
}

#link:hover {
    color: purple; /* Change color on hover */
}

/* Messages styling */
.messages {
    background-color: rgba(240, 240, 240, 0.4);
    color: #ffffff;
    margin: auto;
    width: fit-content;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
}

.message {
    background-color: rgba(240, 240, 240, 0.4);
    width: fit-content;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
}
