/* Reset CSS */
html, body, div, span, applet, 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%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* My edits */
.lang { display: none; }
.lang.active { display: block; }
.call-to-action.lang { display: none; }
.call-to-action.lang.active { display: flex; }

html {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fffaf2;
}

header {
  display: flex;
  justify-content: space-around;
	background-color: #ddbaaec2;
	border-bottom: 0.17em dashed #efd7cf;
  width: 100%; /* Otherwise it will shrink-to-content */ 
}

.header-container {
	display: flex;
	justify-content: space-between;
  align-items: center;
	height: 4em;
  width: 100%; /* Otherwise it will shrink-to-content */ 
}

.logo {
	padding: .5em;
	font-family: "Georgia", serif;
	font-size: 2em;
	color: #44453c;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.lang-switch {
  font-size: 1.3em;
  margin-right: 1.1em;
}

.lang-switch a {
  cursor: pointer;
  color: #44453c;
  text-decoration: underline;
}

.lang-switch a.active {
  text-decoration: none;
}

.container {
  width: 92%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav {
	font-family: "Georgia", serif;
  font-size: 1.4em;
  width: 90%;
}

nav ul {
  display: flex;
  justify-content: space-around;
  margin-top: 1em;
}

nav ul li img {
	padding-right: 0.2em;
}

.intro {
  margin-top: 2em;
	display: flex;
	justify-content: space-around; 
  width: 90%;
}

.intro img {
	width: 7em;
	height: auto;
}

.separator {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2em;
}

.separator img {
  width: 100%;
  display: block;
}


.articles {
  background-color: #dcd4c161;
  border-radius: 0.2em;
  margin-top: 0.7em;
  padding: 0.5em;
  border: 1px solid;
  border-color: #ddbaaec2;
}

article {
  display: block;
}

h1 {
	font-family: Georgia, serif;
  font-size: 1.8em;
  margin-top: 0.5em;
  /* text-decoration: underline;
  text-decoration-style: wavy; 
  text-underline-position: below;
  text-underline-offset: 0.3em; */
  color: #44453c;
}

p {
	font-family: Georgia, serif;
	font-size: 1.1em;
	letter-spacing: 0.02em;
	line-height: 1.5; /* 1.5 times the font size */
	text-align: justify;
	margin-top: 1.2em;
  color: #44453c;
}

p b {
  font-weight: bold;
}

.book-cover {
  float: left;
  width: 35%;
  margin: 2em 1em 0 0;
}

.book-cover img {
  border-radius: 1em;
  width: 100%;
  height: auto;
}

.cover {
  width: 50%;
  border-radius: 1em;
}

footer {
	margin-top: 2em;
	margin-bottom: 2em;
	display: flex;
	justify-content: center;
	gap: 3em;
}

footer img {
	height: 1.8em;
}

.btncontainer {
	display: flex;
	justify-content: center;
  margin-bottom: 2em;
}

.call-to-action {
  margin-top: 1em;
  align-items: center;
  background-color:  #efd7cf;
  border: 0.17em solid #44453c;
  border-radius: 0.5em;
  box-sizing: border-box;
  color: #44453c;
  cursor: pointer;
  display: flex;
  font-family: Inter,sans-serif;
  font-size: 16px;
  height: 3em;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.call-to-action:after {
  background-color: #44453c;
  border-radius: 0.5em;
  content: "";
  display: block;
  height: 3em;
  left: 0;
  width: 100%;
  position: absolute;
  top: -1px;
  transform: translate(0.5em, 0.3em);
  transition: transform .2s ease-out;
  z-index: -1;
}



/* .call-to-action {
  margin-top: 1em;
  align-items: center;
  background-color: #fee6e3;
  border: 0.17em solid #111;
  font-family: sans-serif;
  font-weight: 600;
  border-radius: 0.8em;
  color: #111;
  font-size: 1em;
  height: 3em;
  line-height: 24px;
  max-width: 100%;
  padding: 0.7em 1.5em;
  text-align: center;
  cursor: pointer;
} */


@media (min-width: 1200px) {
  
  header {
    width: 100%;
    border-bottom: 0.10em dashed #000000;
  }

  .header-container {
    width: 70%;
  }

  .intro {
    width: 40%;
  }

  .container {
    width: 70%;
  }

  .book-cover {
    width: 25%;
  }

  .separator img {
    width: 30%;
}
}