/* GENERAL */
body {
    margin:0;
    background:#111;
    color:#eee;
    font-family:Arial, sans-serif;
    line-height:1.5;
}

/* HERO HEADER */
.hero {
    position:relative;
    text-align:center;
    margin-top:80px;
}

.hero img {
    width:100%;
    height:auto;
    object-fit:cover;
    opacity:0.85;
}

.hero-text {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    color:white;
    text-shadow:0 2px 6px rgba(0,0,0,0.6);
}

.hero-text h1 {
    font-size:3rem;
    margin:0;
}

.hero-text p {
    font-size:1.2rem;
    margin-top:10px;
}

/* FEATURED TITLE */
.featured {
    max-width:1100px;
    margin:0 auto 20px auto;
    display:grid;
    grid-template-columns: 300px 1fr;
    gap:40px;
    padding-top:100px;
}

.featured-cover img {
    width:100%;
    border:3px solid white;
}

.featured-info h2 {
    font-size:1.5rem;
    margin:0 0 10px 0;
}

.featured-info h3 {
    font-size:1.2rem;
    margin:10px 0;
}

.cta {
    display:inline-block;
    margin-top:20px;
    padding:10px 20px;
    background:#fff;
    color:#111;
    font-weight:bold;
    text-decoration:none;
}

/* GENRE ROW */
.genres {
    max-width:1100px;
    margin:0 auto 20px auto;
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    gap:20px;
    text-align:center;
}

.genre-card {
    background:#222;
    padding:20px;
    border:1px solid #444;
}

.genre-card h4 {
    margin:0;
    font-size:1.2rem;
}

.genre-accent {
    height:4px;
    width:40px;
    margin:10px auto;
}

/* GENRE COLOURS */
.fiction .genre-accent { background:magenta; }
.ya .genre-accent { background:red; }
.children .genre-accent { background:green; }
.memoir .genre-accent { background:yellow; }
.poetry .genre-accent { background:blue; }

/* ABOUT */
.about {
    max-width:900px;
    margin:0 auto 10px auto;
    text-align:center;
    padding:20px;
}

.about h2 {
    font-size:1.6rem;
}

a {
    color:orange;
    text-decoration:none;
    font-weight:600;
}

a:hover {
    color:#045a50;
    text-decoration:underline;
}

.hr_line {
    width: 40%;
    color: rgb(45, 45, 85)
}

.picsize {
    width: 250px;
    height: auto;
    border: 1px solid #444;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    margin: 20px 0;
}