@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Naskh+Arabic:wght@400..700&display=swap');

html {
  line-height: 1.15;
}

html:lang(ku) {
  font-family: "Lato", serif;
  font-weight: 400;
}

html:lang(ar) {
  font-family: "Noto Naskh Arabic", serif;
  font-weight: 400;
}


body.rtl {
  margin: 0;
  font-family: "Noto Naskh Arabic", "Lato", serif;
  font-weight: 400;
  font-style: normal;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Add more styles here */

/* Reset default styles for common elements */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
}

progress {
  vertical-align: baseline;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline-width: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Add more reset styles here */

/* Add your custom styles below */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

ul.language-selector {
  list-style: none;
  display: inline-flex;
  padding: 0;
  margin: 0;
  align-self: baseline;

}

ul.language-selector li {
  padding: 6px 12px;
}

.main-nav {
  padding: 12px;
}

.main-nav a{
  padding: 12px;
}

.writer-image {
  width: 300px;
  border-radius: 50%;
  overflow: hidden;
  height: 300px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border: 1px solid #EEEEEE;
}

.writer-image img {
  width: 300px;
  height: auto;
}

footer {
  text-align: center;
  height: auto;
}

.book-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px;
  margin: 12px;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.book-card img {
  width: 150px;
  height: auto;
}

.footer-content {
  margin-top: 150px;
}