/* Font Declaration */
@font-face {
    font-family: 'Vitamin42';
    src: url('../fonts/Vitamin42.woff2') format('woff2'),
         url('../fonts/Vitamin42.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px
}

.menu-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    background-image: url('../images/headphones.jpeg');
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    height:370px;
    font-family: 'Vitamin42', 'Arial', sans-serif;
}

header h1 {
    margin-bottom: 10px;
    font-weight: bolder;
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

header .container p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Navigation Styles */
nav {
    top: 30px;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    padding: 10px 0;
    position: relative;
    font-family: 'Vitamin42', 'Arial', sans-serif;
}

.subtitle {
    font-size: 24px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ddd;
}

/* Main Content Styles */
main {
    padding: 30px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* Social Media Links */
.social-links {
    margin: 20px 0;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: #333;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #555;
}

/* Alert Page Styles */
.alert-box {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #555;
}

/* Music Page Styles */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.album {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.album-cover {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Creates a square aspect ratio */
    background-color: #ddd;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.album-info {
    padding: 15px;
}

.album-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.track-list {
    list-style: none;
}

.track {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.track:last-child {
    border-bottom: none;
}

.track-title {
    font-weight: bold;
    margin-bottom: 5px;
}

audio {
    width: 100%;
    margin-top: 5px;
}

/* Featured Content Styles */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.featured-item {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.featured-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #555;
}

/* Alert Date Styles */
.alert-date {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        display: none;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .album-grid {
        grid-template-columns: 1fr;
    }
}
