/* reset browser styles */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2;
}
/* end reset browser styles */

body {
	margin: 0;
	background-color: #E3E4DB;
	font-family: "Open Sans", sans-serif;
}

/* Header */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 40px;
	background-color: #E3E4DB;
	border-bottom: 1px solid #424C55;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo img {
	width: 45px;
	height: auto;
}

.logo span {
	font-size: 18px;
	font-family: "Ubuntu", sans-serif;
  	font-weight: 700;
  	font-style: normal;
}

.logo a {
	text-decoration: none;
	color: #424C55;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 20px;
}

.nav-links li a {
	font-family: "Ubuntu", sans-serif;
    font-weight: 600;
    font-style: normal;
    transition: color 0.3s ease;
    color: #424C55;
    text-decoration: none;
}

.nav-links ul {
	list-style: none;
}

.nav-links li a:hover {
	text-decoration: underline;
}

.account {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	border: 1px solid #424C55;
	border-radius: 20px;
	text-decoration: none;
	font-size: 16px;
	font-family: "Ubuntu", sans-serif;
    font-weight: 600;
    color: #424C55;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.account:hover {
	background-color: #424C55;
	color: #E3E4DB;
}
/* End Header */

/* Genres */
h1 {
	font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 2.2em;
    text-align: center;
    color: #424C55;
    margin-top: 25px;
    margin-bottom: 25px;
}

.search-genres {
	margin-left: 100px;
	margin-bottom: 70px;
}

.search-genres label {
    display: block;
    margin-bottom: 8px;
    font-family: "Ubuntu", sans-serif;
	font-weight: 600;
	color: #424C55;
}

.search-genres input {
    padding: 5px;
    width: 200px;
    margin-right: 10px;
    border: none;
    border-radius: 3px;
    font-family: "Ubuntu", sans-serif;
	font-weight: 600;
}

.search-genres button {
    padding: 6px 10px;
    font-family: "Ubuntu", sans-serif;
	font-weight: 600;
    background-color: #424C55;
    color: #E3E4DB;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.search-genres button:hover {
    transform: scale(1.05);
}

.content {
	display: flex;
}

.ex-books {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 40px 400px 25px 100px;
	gap: 20px;
}

.ex-books img {
	width: 130px;
	height: auto;
}

.genre-ex h2 {
	font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 1.4em;
    color: #424C55;
    border-bottom: 1px solid lightgrey;
    margin: 40px 400px 25px 100px;
}

.genre-ex a {
	text-decoration: none;
	font-size: 1em;
	color: #424C55;
}

.genre-ex p {
	text-align: right;
	margin-right: 400px;
	margin-bottom: 50px;
}

.sidebar {
    flex: 1;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li a {
    text-decoration: none;
    color: #424C55;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
	background-color: #2B4C3A;
	color: #E3E4DB;
	padding: 20px 0;
	font-size: 14px;
	border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-logo-section {
	text-align: center;
}

.footer-logo img {
	width: 45px;
	height: auto;
}

.footer-logo {
	align-items: center;
	display: flex;
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 2px;
	margin-top: 20px;
	margin-bottom: 10px;
	margin-left: 5px;
}

.footer-socials {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-left: 25px;
}

.footer-links {
	flex: 1;
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-left: 110px;
}

.footer-links a {
	color: #E3E4DB;
	text-decoration: none;
	font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-subscribe {
    text-align: center;
}

.footer-subscribe label {
    display: block;
    margin-bottom: 8px;
    font-family: "Ubuntu", sans-serif;
	font-weight: 600;
}

.footer-subscribe input {
    padding: 5px;
    width: 200px;
    margin-right: 10px;
    border: none;
    border-radius: 3px;
    font-family: "Ubuntu", sans-serif;
	font-weight: 600;
}

.footer-subscribe button {
    padding: 6px 10px;
    font-family: "Ubuntu", sans-serif;
	font-weight: 600;
    background-color: #E3E4DB;
    color: #424C55;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.footer-subscribe button:hover {
    transform: scale(1.05);
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #E3E4DB;
}
/* END FOOTER */

