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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'istifa', sans-serif;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    padding: 20px;
}

.title {
    color: white;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 300px));
    gap: 20px;
    justify-content: center;
}
.fanzine-card {
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fanzine-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    text-align: center;
    margin-top: 8px;
}

.card-title {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.card-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.title-image {
    width: 15em;
}

.fanzine-card > a {
    text-decoration: none;
}

footer {
    background-color: #000;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer .social-links a {
    color: #fff;
    margin: 0 15px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .social-links a:hover {
    color: #666; /* hover color */
    transform: scale(1.1); /* small zoom on hover */
}