:root {
  --jet-black: #343434;
  --charcoal: #36454F;
  --spanish-grey: #989898;
  --light-grey: #EEECEE;
  --renault-neutral: #F5F7FA;
  --white-smoke: #F5F5F5;
  --ghost-white: #F8F8FF;
  --alice-blue: #F0F8FF;
  --teal-green: #2E8B57;
  --mint: #3EB489;
  --burgundy: #800020;
  --crimson: #DC143C;
  --oxford-blue: #002147;
  --yale-blue: #00356B;
  --cobalt-blue: #1C48B0;
  --byzantine-blue: #2054CD;
  --celtic-blue: #246BCE;
  --blue-de-france: #318CE7;
  --princeton-orange: #FF961F;
  --orange-peel: #FFA33C;
  --resolution: #322C8C;
  --egyptian-blue: #3C34A4;
  --ksu-purple: #512888;
  --coral: #FF7043;
}

body.frontend.personal {
  font-family: 'EB Garamond', serif;
  color: var(--jet-black);
  background-color: var(--alice-blue);
  font-size: 20px;
  text-align: justify;
  line-height: 1.5;
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 20px;
}

body.frontend.personal a {
  color: var(--egyptian-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.frontend.personal a:hover {
  text-decoration: none;
}

body.frontend.personal .btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none !important;
  border: 1px solid var(--jet-black);
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

body.frontend.personal .btn:hover {
  opacity: 0.8;
}

body.frontend.personal .btn-primary {
  background-color: var(--jet-black);
  color: var(--ghost-white) !important;
}

body.frontend.personal .btn-secondary {
  background-color: transparent;
  color: var(--jet-black) !important;
}

body.frontend.pages.index #about,
body.frontend.pages.index #experience,
body.frontend.pages.index #projects,
body.frontend.pages.index #books,
body.frontend.pages.index #podcasts,
body.frontend.pages.index .experience-item {
  padding-bottom: 30px;
}

body.frontend.pages.index .experience-item:last-child {
  padding-bottom: 0;
}

body.frontend.pages.index .profile-image {
  float: right;
  margin: 0 0 20px 20px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

body.frontend.books .book-poster-rect {
  width: auto;
  height: 300px;
  border-radius: 4px;
  display: block;
}

body.frontend.books .book-fine-print {
  font-size: 14px;
  font-style: italic;
  padding-top: 10px;
  padding-bottom: 0;
}

body.frontend.books.show #book-header {
  padding-bottom: 20px;
}

body.frontend.books.show #book-header h1 {
  font-weight: 600;
}

body.frontend.books.show #book-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
}

body.frontend.books.show .book-description {
  flex: 1;
  text-align: justify;
}

body.frontend.books.show .book-price {
  font-weight: bold;
  font-size: 24px;
  padding-top: 10px;
  margin-bottom: 0;
}

body.frontend.books.show .book-actions {
  padding: 20px 0;
  display: block;
}

body.frontend.books.show .book-info {
  padding: 20px;
  background-color: var(--renault-neutral);
  border-radius: 4px;
  border-left: 3px solid var(--spanish-grey);
}

body.frontend.books.show .book-info p {
  font-size: 18px;
}

body.frontend.books.show .book-actions .row > .col,
body.frontend.books.show .book-actions .row > [class^='col-'],
body.frontend.books.show .book-actions .row > [class*=' col-'] {
  display: grid;
}

body.frontend.books.show .book-actions .row .btn {
  width: 100%;
  height: 100%;
}

body.frontend .email-address {
  color: var(--egyptian-blue);
  font-weight: 500;
}

@media (max-width: 767.98px) {
  body.frontend.books.show #book-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  body.frontend.books.show .book-description {
    width: 100%;
  }
}
