* {
  box-sizing: border-box;
  transition: all 0.2s ease;
  /* ease is between ease-out and ease-in-out */
}

html {
  /* font-family: 'Source Code Pro', monospace; */
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: "Open Sans", sans-serif;
  font-family: 'Yrsa', serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  /* default browser line-height je oko 1.4 */
  /* color: #282828; */
  /* rgba(40,40,40,1); */
}

body {
  margin: 0;
  padding: 0;
  text-align: left;
  background-color: white;
  /* color: #282c34; */
  background-color: rgb(239, 239, 239);
  /* background-image: url("../img/bg2.jpg"); */
  background-size: cover;
  color: black;
  color: rgb(48, 48, 48);
}

.clear {
  clear: both;
}

a,
a:link,
a:visited {
  text-decoration: underline;
  font-weight: 500;
  color: rgba(72, 78, 72, 1);
}

a:hover {
  text-decoration: underline;
  color: rgba(112, 112, 112, 1);
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

p.subtitle {
  font-weight: 500;
  margin-top: 0.5em;
  margin-bottom: 1.5rem;
}

h1 {
  font-family: 'Yrsa', serif;
  font-size: 2rem;
  font-weight: 500;
  font-weight: 400;
  margin: 0;
  margin-top: 1em;
  margin-bottom: 0.75em;
  margin-bottom: 0.5em;
}

h2 {
  font-family: 'Yrsa', serif;
  font-size: 2rem;
  font-weight: 500;
  font-weight: 400;
  margin: 0;
  margin-bottom: 1em;
  margin-bottom: 0.75em;
  margin-bottom: 0.4em;
}

h3 {
  font-family: 'Yrsa', serif;
  font-size: 1.5rem;
  font-weight: 500;
  font-weight: 400;
  margin: 0;
  margin-top: 0.75em;
  margin-bottom: 1em;
  margin-bottom: 0.4em;
}

/* LAYOUT */

.wrapper {
  /* width: 900px; */
  max-width: 900px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  /*
  box-shadow: 0 14px 28px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%) !important;
  */

  /*
  box-shadow: 0 8px 17px 2px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 20%);
  */

  box-shadow: 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%), 0 2px 4px -1px rgb(0 0 0 / 30%);

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
}

.inner {
  padding: 0 2rem;
}

header {
  /* background-color: greenyellow; */
  background-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(197, 226, 196, 1);
  background-color: purple;
  background-color: rgba(226, 200, 226, 1);
  color: black;
  color: rgb(48, 48, 48);
  height: 3rem;
}

header nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;

  height: 3rem;
  text-transform: uppercase;
}

header nav.drawer-menu {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 2rem;
}

header nav>*,
header nav a,
header nav a:link,
header nav a:visited {
  text-decoration: none;
  color: rgb(48, 48, 48);

  margin-left: 1rem;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;

  font-size: 1rem;
  font-weight: 600;

  font-family: "Open Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
}

header nav.drawer-menu>*,
header nav.drawer-menu a,
header nav.drawer-menu a:link,
header nav.drawer-menu a:visited {
  padding: 0.5rem 0;
  font-size: 1.2rem;
  color: white;
  /* outline: 1px dashed orange; */
}

header nav a:hover {
  text-decoration: none;
  color: rgb(48, 48, 48);
  border-bottom: 2px solid rgb(48, 48, 48);
}

header nav>.logo {
  margin-left: 0;
  margin-right: auto;
}


.main {
  flex: 1;
  background-color: white;
  padding-bottom: 3rem;
}

footer {
  background-color: #404040;
  background-color: rgba(0, 0, 0, 0.85);
  background-color: rgba(0, 0, 0, 0.67);
  background-color: rgba(197, 226, 196, 1);
  background-color: rgba(226, 200, 226, 1);
  /* color: white; */
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

footer p.copyright {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-size: 1rem;
  font-weight: 400;
}

/* DRAWER */

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -20px;
  width: 0%;
  max-width: 0%;
  padding: 0;
  margin: 0;
  border: unset;
  overflow: auto;

  color: #000;
  /* background-color: rgba(255, 255, 255, 0.5); */
  background-color: rgba(0, 0, 0, 0.67);

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
}

.drawer-opened .drawer {
  /* opened second screen drawer */
  z-index: 99;
  right: 0;
  width: 70%;
  /* max-width: unset; */
  max-width: 70%;
  overflow: auto;
  box-shadow: 0 14px 28px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%) !important;
}


/* DETAILS */

section {
  padding-top: 2rem;
  font-size: 1.2rem;

  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
}

.btn-social {
  width: 1.75rem;
  height: 1.75rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.125rem;
  font-size: 1.4rem;
  border-radius: 900px;
  background-color: silver;
  background-color: white;
  color: black;
  color: rgb(48, 48, 48);
  text-align: center;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.btn-social.clickable:hover,
.social-btn-bar>a:hover {
  transform: scale(1.1);
}

.social-btn-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.social-btn-bar .btn-social {
  margin-right: 1rem;
}

.social-btn-bar .btn-social:last-child {
  margin-right: 0;
}

.social-btn-bar>a,
.social-btn-bar>a:link,
.social-btn-bar>a:visited {
  margin-right: 1rem;
  text-decoration: unset;
  font-weight: unset;
  cursor: pointer;
}

.social-btn-bar>a:last-child {
  margin-right: 0;
}




.intro-social {
  padding: 0;
  padding-top: 1.5rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.intro-social .btn-social {
  background-color: rgba(197, 226, 196, 1);
  background-color: rgba(226, 200, 226, 1);
  color: black;
  color: rgb(48, 48, 48);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.75rem;
}



.pair-vector {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.pair-vector>div {
  flex: 1;
  min-width: 240px;
  margin: 0;
}

.pair-vector>div.gap-space {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
}

.pair-vector>div>img {
  width: 100%;
  height: auto;
}

img.book-cover {
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
}

img.author-img {
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
  margin-bottom: 0.125rem;
  width: 4rem;
  max-width: 4rem;
  height: auto;
  border-radius: 900px;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
}

img.img-full {
  float: none;
  display: block;
  margin-right: 1rem;
  margin-bottom: 1rem;
  width: 100%;
  height: auto;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
}

.knjiga-cele-korice {
  position: relative;
}

.knjiga-cele-korice .knjiga-cele-korice__row {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
}

.knjiga-cele-korice .knjiga-cele-korice__row .knjiga-zadnje-korice__col {
  width: 50%;
  padding: 10px;
  padding-top: 20px;
}

.knjiga-cele-korice .knjiga-cele-korice__row .knjiga-zadnje-korice__col .tekst-zadnje-korice {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 3px 15px;
  color: black;
  font-weight: 500;
  font-size: 1rem;
}



.quote-list {}

.quote-item {
  text-align: center;
  text-align: left;
  padding-bottom: 1rem;
  padding-left: 1rem;
}

.quote-item p {
  margin: 0;
}

.quote-item p.quote {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
}

.quote-item p.quote-author {
  padding-top: 0.2rem;
  padding-left: 2rem;
  font-size: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
}

.quote-item p.quote-author b {
  font-weight: 500;
}


/*
nav a {
  color: black;
  margin-right: 15px;
  padding: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.slika-float {
  float: right;
  width: 200px;
  height: auto;
  margin-left: 15px;
}

.galerija img {
  max-width: 360px;
  margin: 15px;
  height: auto;
}

input,
textarea {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 5px;
}
*/

/* RESPONSIVE */

.responsive-mobile-only {
  display: none;
}

.responsive-big-only {
  display: block;
}

@media screen and (max-width: 768px) {
  .inner {
    padding: 0 1.5rem;
    /* 10px */
  }

  .knjiga-cele-korice .knjiga-cele-korice__row .knjiga-zadnje-korice__col {
    overflow: auto;
  }
}

@media screen and (max-width: 576px) {
  .responsive-mobile-only {
    display: block;
  }

  .responsive-big-only {
    display: none;
  }

  .inner {
    padding: 0 1rem;
  }

  .pair-vector {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .pair-vector>div {
    flex: 1;
    min-width: unset;
    margin: 0;
  }

  .pair-vector>div.gap-space {
    width: 0;
    height: 0;
    min-width: 0;
    min-height: 0;
    max-width: 0;
    max-height: 0;
  }

  .knjiga-cele-korice .knjiga-cele-korice__row .knjiga-zadnje-korice__col {
    overflow: auto;
  }

  .knjiga-cele-korice .knjiga-cele-korice__row .knjiga-zadnje-korice__col .tekst-zadnje-korice {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 440px) {
  .inner {
    padding: 0 0.625rem;
    padding: 0 0.75rem;
    /* 10px */
  }

  .knjiga-cele-korice .knjiga-cele-korice__row .knjiga-zadnje-korice__col .tekst-zadnje-korice {
    font-size: 0.625rem;
  }
}