:root[data-theme="light"] {
  --text: #333;
  --background: #fdfdfd;
  --primary: #2ecc71;
  --secondary: #e9e9e9;
  --accent: #9b59b6;
}
:root[data-theme="dark"] {
  --text: #dfddc1;
  --background: #233736;
  --primary: #226f54;
  --secondary: #87c38f;
  --accent: #da2c38;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  width: initial;
  min-height: initial;
}
body {
  /* padding: 1rem ; */
  background-color: var(--background);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

a {
  color: var(--background);
}
nav {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  z-index: 1;
  border-radius: 1rem;
}
button {
  background-color: var(--accent);
  color: var(--text);
  border: none;
  padding: 0.5rem 1rem;
}

input {
  background-color: var(--background);
  color: var(--text);
  border: none;
  padding: 0.5rem 1rem;
}
img {
  max-width: 100%;
  height: auto;
}

.image-container img:first-child {
  /*Make book image same width and height*/
  float: left;
  width: 100%;
  height: 10rem;
  background-size: cover;
}

