/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Header Styles */
header {
    padding: 20px;
    text-align: center;
    background-color: #333;
    color: #fff;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

header p {
    font-size: 1em;
    color: #ddd;
}

button:hover {
    background-color: #e65c00; /* Darker orange on hover */
}

/* Home Link Styles */
.home-link {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: color 0.3s, background-color 0.3s;
    padding: 8px 12px;
    margin-top: 5px;
    border-radius: 4px;
}

.home-link:hover {
    color: blue;
    background-color: #f8d7da; /* Soft red background on hover */
}

/* Main Content Styles */
.magazine-shelf {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
    justify-content: center;
    background-color: #000;
}

/* Magazine Item Styles */
.magazine {
    width: 150px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.magazine img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.magazine:hover img {
    transform: scale(1.1);
}

.magazine .title {
    margin-top: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* Footer Styles */
footer {
    padding: 15px;
    text-align: center;
    background-color: #333;
    color: #fff;
    font-size: 0.9em;
}
