/* headshot */
#home-headshot-wrapper {
  text-align: center;
  vertical-align: top;
}

#home-headshot {
  width: 100%; 
  height: auto; 
  max-width: 200px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}


/* book shelf styling */

.book-card {
  position: relative;
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
}

.book-card img {
  border-radius: 4px;
  width: 100%;
  height: auto;
  transition: transform 0.1s ease-out;
}

.book-card .overlay, .book-card .overlay-text {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 4px;
}

.book-card .overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.book-card .overlay-text {
  color: white;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 8px;
}

.book-card .overlay-text-p {
  font-size: 0.84rem;
}

.book-card:hover .overlay, .book-card:hover .overlay-text {
  opacity: 1;
}

.book-card:hover {
  animation: zoomIn 0.1s ease-out forwards;
}

.tag-book {
    border-radius: 24px;
    text-transform: uppercase;
    padding: 4px 12px 4px 12px;
    font-size: 0.7rem;
    display: block;
    color: white;
}

.tag-data  {
    background-color: #79B4C9;
}

.tag-misc  {
    background-color: #C97979;
}

.tag-nonfiction  {
    background-color: #88c979;
}

.tag-memoir  {
    background-color: #b39649;
}

/* page animations */
#home-about-section {
  opacity: 0;
  animation: floatIn 0.3s ease-out forwards;
}

#home-industryexp-section {
  opacity: 0;
  animation: floatIn 0.3s ease-out 0.1s forwards;
}

#home-miscexp-section {
  opacity: 0;
  animation: floatIn 0.3s ease-out 0.2s forwards;
}

#home-awards-section {
  opacity: 0;
  animation: floatIn 0.3s ease-out 0.3s forwards;
}

#home-techskills-section {
  opacity: 0;
  animation: floatIn 0.3s ease-out 0.4s forwards;
}

#home-shelf-section {
  opacity: 0;
  animation: floatIn 0.3s ease-out 0.5s forwards;
}

#home-interests-section {
  opacity: 0;
  animation: floatIn 0.3s ease-out 0.6s forwards;
}

@media (max-width: 680px) {
  #home-about-section,
  #home-industryexp-section,
  #home-miscexp-section,
  #home-awards-section,
  #home-techskills-section,
  #home-shelf-section,
  #home-interests-section {
    opacity: 1;
  }

  .div-20 {
    width: 22% !important;
  }
}
