body {
  background-color: #fff;
  font-family: "EB Garamond", "palatino linotype", "book antiqua", Palatino,
    serif !important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 768px) {
  body {
    font-size: 21px !important;
  }
  .btn-primary {
    font-size: 16px !important;
  }

  .max-w-180px {
    max-width: 100px !important;
  }
}

.josefin-sans {
  font-family: "SublimaBold", "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 1px;
}

.fonseca-regular {
  font-family: "FonsecaRegular", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.eb-garamond {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1.tracking-wide {
  letter-spacing: 4px;
}

/* .bg-snowman::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: top center;
  background-image: url("../images/bg-3.jpeg");
  background-size: 230px;
  background-repeat: repeat;
  opacity: 0.5;
  z-index: -1;
} */

.cursor-glove {
  cursor: url("../images/glove.png") 36 0, pointer;
}

.bg-off-black {
  background-color: #111827;
}

.bg-beige {
  background-color: #ffe8d4;
}

.bg-beige-greyed-out {
  background-color: #ececec;
}

.bg-blue {
  background-color: #eaf4fd;
}

.bg-blue-greyed-out {
  background-color: #f2f2f2;
}

.bg-blue-600 {
  background-color: #3d5771;
}

.bg-blue-700 {
  background-color: #2c4055;
  border-color: #2c4055;
}

.bg-pink {
  background-color: #eaf4fd;
}

.bg-pink-600 {
  background-color: #2c4055;
  border-color: #2c4055;
}

.bg-yellow {
  background-color: #fce3f4;
}

.bg-green {
  background-color: #ecfdea;
}

.bg-green-greyed-out {
  background-color: #f8f8f8;
}

.bg-orange {
  background-color: #fcd1bf;
}

.border {
  border-width: 2px;
}

.border-brown {
  border-color: #5a3c26;
}

.border-blue-600 {
  border-color: #3d5771;
}

.border-off-black {
  border-color: #111827;
}

.border-orange {
  border-color: #ff7b42;
}

.border-pink {
  border-color: #c46da6;
}

.pb-3 {
  padding-bottom: 0.65rem !important;
}

input:focus-visible {
  outline: none;
}

.max-w-full {
  max-width: 100%;
}

.max-w-180px {
  max-width: 180px;
}

p,
blockquote {
  margin-bottom: 20px;
  line-height: 1.5;
}

a:not(.btn-primary) {
  text-decoration: underline;
}

/* -------------------------------------------------------------- */
/*  Table of contents UI
/* -------------------------------------------------------------- */

.owl-nav {
  width: 132%;
  margin-left: -16%;
  position: absolute;
  top: 50%;
}

@media (max-width: 768px) {
  .owl-nav {
    display: none;
  }
}

@media (max-width: 880px) {
  .owl-nav {
    width: 125%;
    margin-left: -12.5%;
  }
}

.owl-nav button {
  border-radius: 100% !important;
  border: 2px solid #c46da6 !important;
  background-color: white !important;
  color: #c46da6 !important;
  padding: 15px !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 30px !important;
  font-weight: bold !important;
}

.owl-nav button:hover {
  background-color: #c46da6 !important;
  color: white !important;
}

.owl-nav .owl-prev {
  position: absolute;
  left: 0;
}

.owl-nav .owl-prev span {
  padding-right: 2px;
  position: relative;
  top: -3px;
}

.owl-nav .owl-next {
  position: absolute;
  right: 0;
}

.owl-nav .owl-next span {
  padding-left: 2px;
  position: relative;
  top: -3px;
}

.owl-dot.active span {
  background-color: #c46da6 !important;
}

.owl-dot span {
  background-color: #faccea !important;
}

/* -------------------------------------------------------------- */
/*  3D Book cover
/* -------------------------------------------------------------- */

.book-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 9px;
}

.book {
  width: 240px;
  height: 360px;
  position: relative;
}

/* -------------------------------------------------------------- */
/*  Book Badges
/* -------------------------------------------------------------- */

.awards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 20px;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .awards-container {
    grid-template-columns: 1fr;
  }
}

.award-wrapper {
  display: flex;
  gap: 10px;
}

  .award-badge {
    width: 100px;
    flex: 0 0 100px;
  }

    .award-badge img {
      display: block;
      width: 100%;
      height: auto;
      margin: 4px auto 0 auto;
    }

      .award-badge .adjusted {
        width: 87%;
      }

.award-wrapper-adjusted {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .award-wrapper-adjusted {
    margin-top: 0;
  }
}

/* -------------------------------------------------------------- */
/*  Snowflakes
/* -------------------------------------------------------------- */

#snowflakes {
  display: none;
}

@media (max-width: 768px) {
  #snowflakes {
    display: none !important;
  }
}

.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px #91d3f5;
}

.snowflake,
.snowflake .inner {
  animation-iteration-count: infinite;
  animation-play-state: running;
}
@keyframes snowflakes-fall {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(110vh);
  }
}
@keyframes snowflakes-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(80px);
  }
}

@keyframes snowflakes-shake-2 {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(60px);
  }
}

.container {
  z-index: 10;
  position: relative;
}

.snowflake {
  opacity: 0.9;
  position: fixed;
  top: -10%;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
  animation-name: snowflakes-shake;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
}

.snowflake:nth-of-type(even) {
  animation-name: snowflakes-shake-2;
}

.snowflake .inner {
  animation-duration: 10s;
  animation-name: snowflakes-fall;
  animation-timing-function: linear;
}

.snowflake .inner img {
  width: 24px;
}

.snowflake:nth-of-type(0) {
  left: 1%;
  animation-delay: 1.2s;
}

.snowflake:first-of-type {
  left: 5%;
  animation-delay: 0.5s;
}

.snowflake:nth-of-type(2) {
  left: 20%;
  animation-delay: 1.8s;
}

.snowflake:nth-of-type(3) {
  left: 30%;
  animation-delay: 0.9s;
}

.snowflake:nth-of-type(4) {
  left: 40%;
  animation-delay: 1.1s;
}

.snowflake:nth-of-type(5) {
  left: 83%;
  animation-delay: 0.3s;
}

.snowflake:nth-of-type(6) {
  left: 4%;
  animation-delay: 0.2s;
}

.snowflake:nth-of-type(7) {
  left: 70%;
  animation-delay: 0.7s;
}

.snowflake:nth-of-type(8) {
  left: 80%;
  animation-delay: 1.4s;
}

.snowflake:nth-of-type(9) {
  left: 90%;
  animation-delay: 0.2s;
}

.snowflake:nth-of-type(10) {
  left: 25%;
  animation-delay: 1.9s;
}

.snowflake:nth-of-type(11) {
  left: 65%;
  animation-delay: 0.6s;
}

.snowflake:nth-of-type(12) {
  left: 3%;
  animation-delay: 1.3s;
}

.snowflake:nth-of-type(13) {
  left: 11%;
  animation-delay: 0.8s;
}

.snowflake:nth-of-type(14) {
  left: 82%;
  animation-delay: 1.7s;
}

.snowflake:nth-of-type(15) {
  left: 89%;
  animation-delay: 0.8s;
}

.snowflake:nth-of-type(16) {
  left: 14%;
  animation-delay: 1.1s;
}

.snowflake:nth-of-type(0) .inner {
  animation-delay: 3.2s;
}
.snowflake:first-of-type .inner {
  animation-delay: 5.9s;
}
.snowflake:nth-of-type(8) .inner {
  animation-delay: 1.7s;
}
.snowflake:nth-of-type(2) .inner {
  animation-delay: 6.4s;
}
.snowflake:nth-of-type(6) .inner {
  animation-delay: 3.1s;
}
.snowflake:nth-of-type(11) .inner {
  animation-delay: 4.6s;
}
.snowflake:nth-of-type(3) .inner {
  animation-delay: 1.3s;
}
.snowflake:nth-of-type(10) .inner {
  animation-delay: 5.5s;
}
.snowflake:nth-of-type(4) .inner {
  animation-delay: 3.8s;
}
.snowflake:nth-of-type(5) .inner {
  animation-delay: 6.1s;
}
.snowflake:nth-of-type(7) .inner {
  animation-delay: 2.9s;
}
.snowflake:nth-of-type(9) .inner {
  animation-delay: 4.2s;
}
.snowflake:nth-of-type(12) .inner {
  animation-delay: 1.4s;
}
.snowflake:nth-of-type(13) .inner {
  animation-delay: 5.1s;
}
.snowflake:nth-of-type(14) .inner {
  animation-delay: 3.5s;
}
.snowflake:nth-of-type(15) .inner {
  animation-delay: 6.8s;
}
.snowflake:nth-of-type(16) .inner {
  animation-delay: 2.4s;
}
