*{
  box-sizing: border-box;
}

/* BASICS */
html, body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh; /* full screen height */
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  overflow: auto;
  font-family: "Roboto", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
}

section {
  overflow: auto;
}

/* GRID */
.parent, .parentbooks, .parentshrines, .parentblog {
  flex: 1; /* fills all available space */
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  padding-top: 0;
}

.parent {
  grid-template-columns: 1fr 3fr 1fr; /* left - main - right */
  background-image: url("Images/Home.jpg");
  background-size: cover;
  color: #efeded;
}

.parentbooks {
  grid-template-columns: 1fr 3fr 1fr; /* left - main - right */
  background: #fff2cc;
  color: #5f7b7d;
}

.parentshrines {
  grid-template-columns: 1fr 2fr; /* left - main - right */
}

.parentblog {
  grid-template-columns: 1fr 3fr 1fr; /* left - main - right */
  background: #f3e6db;
  color: #5f7b7d;
}

/* HEADER */
.div1, .div1books, .div1blog {
  grid-column: 1 / 4;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #4f2a26;
  color: darkgrey;
  position: static;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 0;
}

.div1 {
  background-color: #ff52b2;
  color: darkgrey;
  border-bottom: 1px solid pink;
}

.div1books {
  background-color: #ffe599;
  color: #ffd966;
  border-bottom: 2px solid #bf9000;
}

.div1blog {
  background-color: #cdd5c3;
  color: #227a78;
  border-bottom: 1px solid #227a78;
}

.div1, .div1books, .div1blog {
  border-top: 0;
}

/* HEADER LINKS */
.div1 a,.div1books a,.div1blog a {
  text-align: center;
  padding: 10px 35px;
  font-size: 17px;
}

.div1 a {
  color: #efeded;
}

.div1books a {
  color: #594300;
}

.div1blog a {
  color: #227a78;
}

/* HEADER LINKS HOVER */
.div1 a:hover {
  background-color: white;
  color: #ff008e;
}

.div1books a:hover {
  background-color: #594300;
  color: #ffe599;
}

.div1blog a:hover {
  background-color: #227a78;
  color: #cdd5c3;
}

/* HEADER LINKS HOVER */
.div1 a.active {
  background-color: #ff008e;
  color: white;
}

.div1books a.active {
  background-color: #594300;
  color: #ffe599;
}

.div1blog a.active {
  background-color: #227a78;
  color: #cdd5c3;
}

/* PADDING BOTTOM */
.div2, .div2books, .div2blog, .div3, .div3books, .div3blog, .div4, .div4books, .div4blog {
  padding-bottom: 25px;
}

/* LEFT COLUMN */
.IntroLeft {
    text-align: justify;
    line-height: 1.3;
}

.div2 {
  padding-left: 50px;
  padding-right: 0;
  padding-top: 25px;
  text-align: center;
}

.div2books {
  padding-left: 50px;
  padding-right: 17px;
  padding-top: 25px;
  background-color: #fff2cc;
  text-align: center;
}

.div2blog {
  padding-left: 50px;
  padding-right: 0;
  padding-top: 25px;
  background-color: #f3e6db;
  text-align: center;
}

.titleblinkie {
  width: 100%;
}

.avatar {
  mask:
   radial-gradient(at 70% 31%,#000 29%,#0000 30%),
   radial-gradient(at 30% 31%,#000 29%,#0000 30%),
   linear-gradient(#000 0 0) bottom/100% 50% no-repeat;
  clip-path: polygon(-41% 0,50% 91%, 141% 0);
  width: 150px;
  height: 150px;
  display:block;
  margin-left:auto;
  margin-right:auto;
}

/* RIGHT COLUMN */
.IntroRight {
    text-align: left;
    line-height: 1.3;
}

.div4 {
  padding: 40px;
  padding-top: 25px;
}

.div4books {
  padding-left: 17px;
  padding-right: 50px;
  padding-top: 25px;
  color: #227a78;
  background-color: #fff2cc;
}

.div4blog {
  padding-left: 0;
  padding-right: 50px;
  padding-top: 25px;
  color: #227a78;
  background-color: #f3e6db;
}

/* RIGHT COLUMN LINKS */
.div4books a {
  color: #594300;
}

.div4blog a {
  color: #227a78;
}

.div4blog a:hover {
  color: pink;
}

/* FOOTER */
.div5, .div5books, .div5blog {
  grid-column: 1 / 4;
  padding-bottom: 10px;
  text-align: center;
}

.div5 {
  background-color: #ff52b2;
  color: white;
  border-top: 1px solid pink;
}

.div5books {
  background-color: #ffe599;
  color: #bf9000;
  border: 1px solid #ffd966;
}

.div5blog {
  background-color: #cdd5c3;
  color: #227a78;
  border: 1px solid #227a78;
}

.blinkies { /* the whole row of blinkies */
  text-align: center; 
  padding-top: 10px;
}

.blinkie { /* one singular blinkie */
  width: 150px;
  height: auto;
  display: inline-block;
}

/* MAIN */
.title {
  text-align:center;
}

.subtitle {
    color:darkgrey;
    font-size: 11px;
}

.div3 {
  padding: 80px;
  padding-top: 40px;
  overflow-y: auto; /* enables possibility of scrollbar */
}

.div3books {
  padding-top: 25px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 25px;
  background: #fff2cc;
}

.div3blog {
  padding-top: 60px;
  padding-left: 100px;
  padding-right: 100px;
  padding-bottom: 25px;
  background: #f3e6db;
}

/* HOME PAGE */
.currently {
  border: double;
  border-color: pink;
  padding: 15px;
}

.h-divider { /* DIVIDER */
  clear: both;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 10px;
  width: 100%;
  position: relative;
}

.h-divider .shadow {
  overflow: hidden;
  height: 20px;
}

.h-divider .shadow:after {
  content: '';
  display: block;
  margin: -25px auto 0;
  width: 100%;
  height: 25px;
  border-radius: 125px/12px;
  box-shadow: 0 0 8px #DBC6C1;
}

/* POST LAYOUTS */
.blogpost-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.blogpostintrobooks, .blogpostintro { /* whole intro post */
  width: 100%;
  margin: 80px auto;
  margin-top: 0;
  margin-bottom: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
  box-shadow: 8px 8px 0 #ece7b8;
}

.blogpostintrobooks {
  box-shadow: 8px 8px 0 #ece7b8;
}

.blogpostintro {
  box-shadow: 8px 8px 0 #efd6cc;
}

.blogpostbooks, .blogpost, .blogpostbookslong { /* whole post */
  margin: 35px auto 15px auto;
  position: relative;
}

.blogpostbooks {
  width: 360px;
  box-shadow: 8px 8px 0 #ece7b8;
}

.blogpost {
  width: 100%;
  min-width: 250px;
  box-shadow: 8px 8px 0 #efd6cc;
}

.blogpostbookslong {
  width: 100%;
  min-width: 250px;
  box-shadow: 8px 8px 0 #ece7b8;
}

.blogpost-innerbooks, .blogpost-inner, .blogpost-innertw, .blogpost-innerbooksarchive, .blogpost-innerbookslong { /* section around the written post */
  padding: 14px;
  border-radius: 25px 0 5px 5px; /* topleft topright bottomleft bottomright */
}

.blogpost-innerbooks {
  background: #FFE699;
  border: 2px solid #bf9000;
  box-shadow: 8px 8px 0 #efdfad;
  max-height: 300px;
  overflow-y: scroll;
}

.blogpost-inner {
  background: #cdd5c3;
  border: 2px solid #7f9ea0;
  box-shadow: 8px 8px 0 #efd6cc;
}

.blogpost-innertw {
  background: #ffc699;
  border: 2px solid #bf4d00;
  box-shadow: 8px 8px 0 #efdfad;
  max-height: 225px;
  overflow-y: scroll;
}

.blogpost-innerbooksarchive { 
  background: #cdd5c3;
  border: 2px solid #7f9ea0;
  box-shadow: 8px 8px 0 #efdfad;
  max-height: 300px;
  overflow-y: scroll;
}

.blogpost-innerbookslong {
  background: #FFE699;
  border: 2px solid #bf9000;
  box-shadow: 8px 8px 0 #efdfad;
}

.blogpost-contentbooks, .blogpost-contentbooksarchive, .blogpost-contentbooksarchivedivider, .blogpost-content, .blogpost-contentdivider { /* content section */
  background: white;
  text-align-last: start;
  border-radius: 5px 5px 5px 5px; /* topleft topright bottomleft bottomright */
  padding: 16px;
}

.blogpost-contentbooks {
  color: #594300;
  border: 2px solid #bf9000;
}

.blogpost-contentbooksarchive {
  color: #227a78;
  border: 2px solid #227a78;
}

.blogpost-contentbooksarchivedivider { /* content section */
  color: #594300;
  border: 2px solid #bf9000;
}

.blogpost-content, .blogpost-contentdivider {
  color: #227a78;
  border: 2px solid #7f9ea0;
}

.blogpost-contentbooks img, .blogpost-contentbooksarchive img, .blogpost-contentbooksarchivedivider img { /* content image */
  float: left;
  overflow: hidden;
  margin: 0 10px 2px 0; /* top right bottom left */
}

.blogpost-contentbooks img {
  float: left;
  overflow: hidden;
  width: 100px;
  height: 150px;
  border: 2px solid black;
  resize: both;
  border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3ClinearGradient id='g' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23cffffe' /%3E%3Cstop offset='25%25' stop-color='%23f9f7d9' /%3E%3Cstop offset='50%25' stop-color='%23fce2ce' /%3E%3Cstop offset='100%25' stop-color='%23ffc1f3' /%3E%3C/linearGradient%3E %3Cpath d='M1.5 1.5 l97 0l0 97l-97 0 l0 -97' stroke-linecap='square' stroke='url(%23g)' stroke-width='3'/%3E %3C/svg%3E") 1;
}

.blogpost-contentbooksarchive img {
  width: 100%;
  border: 1px solid #227a78;
}

.blogpost-contentbooksarchivedivider img { /* content section */
  border: none;
  width: 100%;
}

.blogpost-content img, .blogpost-contentdivider img {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  display: block;
}

.blogpost-content img {
  border: 1px solid #227a78;  
}

.blogpost-contentdivider img {
  border: none;
}

.blogpost-content a, .blogpost-contentbooksarchive a { /* content links */
  background: white;
  color: #227a78;
}

.blogpostbooks-date, .blogpost-date, .blogposttw-date { /* date */
  position: absolute;
  top: -29px;
  right: 0;
  padding: 10px 16px;
  border-radius: 15px 5px 0 0; /* topleft topright bottomleft bottomright */
  border-bottom: none;
  font-size: 12px;
}

.blogpostbooks-date {
  background: #FFE699;
  color: #594300;
  border: 2px solid #bf9000;
}

.blogpost-date {
  background: #cdd5c3;
  color: #227a78;
  border: 2px solid #7f9ea0;
}

.blogposttw-date {
  background: #ffc699;
  color: #227a78;
  border: 2px solid #bf4d00;
}

.blogpostbooks-date, .blogpost-date, .blogposttw-date { /* date */
  border-bottom: none;
}

.blogpostbooks-title, .blogpost-title { /* title */
  flex: 1;
  background: #efe3b9;
  color: #594300;
  border-radius: 20px;
  padding: 10px 16px;
  margin-bottom: 15px;
  margin-right: 10px;  
  font-size: 14px;
}

.blogpostbooks-title {
  color: #594300;
  border: 2px solid #bf9000;
  height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.blogpost-title {
  border: 2px solid #7f9ea0;
  color: #5f7b7d;
}

.blogpost-footer { /* footer section */
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.like-button { /* heart like-button */
  background: #9cb5b7;
  border: 2px solid #7f9ea0;
  border-radius: 999px;
  padding: 8px 16px;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.like-button:hover { /* hover effect */
  transform: translateY(-3px);
  background: pink;
  color: hotpink;
  font-weight: bold;
  border: 2px solid hotpink;
}

/* BOOKS PAGE */
.booksbanner {
    width: 100%;
    height: 2.5in;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #bf9000;
}

.book-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-author {
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 360px);
  gap: 17px;
  justify-content: center;
}

.bookcover {
  float:left;
  overflow: hidden;
  width: 100px;
  height: 150px;
  border: 2px solid black;
  margin: 0 10px 2px 0; /* top right bottom left */
  resize: both;
  border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3ClinearGradient id='g' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23cffffe' /%3E%3Cstop offset='25%25' stop-color='%23f9f7d9' /%3E%3Cstop offset='50%25' stop-color='%23fce2ce' /%3E%3Cstop offset='100%25' stop-color='%23ffc1f3' /%3E%3C/linearGradient%3E %3Cpath d='M1.5 1.5 l97 0l0 97l-97 0 l0 -97' stroke-linecap='square' stroke='url(%23g)' stroke-width='3'/%3E %3C/svg%3E") 1;
}

.LastMonthReads {
  float:left;
  clear: both;
  overflow: auto;
  position:static;
  width: 100%;
  height: auto;
  justify-content: left;
  align-items: center;
  border: 3px outset black;
  margin: 0 35px 2px 0; /* top right bottom left */
  resize: both;
  border-color:#1d1716;
}

.YearlyStats {
    width: 100%;
}

/* SHRINES PAGE */
.dancingbanana {
  display:block;
  margin-left:auto;
  margin-right:auto;
}

/* BLOG PAGE */
.header {
    grid-column: 1 / 4;
    width: 100%;
}

.belfast {
    width: 100%;
    height: 2.5in;
    object-fit: cover;
    display: block;
    border: 1px solid #227a78;
}

.heartliner {
  width: 100%;
  border: none;
}

.girl {
  width: 150px;
  display:block;
  margin-left:auto;
  margin-right:auto;
}

.AboutGlitter {
  width: 25%;
  padding: 5px;
  display: inline-block;
}

.AlignGlitter {
  text-align:center; 
}

.divider {
  width: 75%;
  display: inline-block;
}

.aligndivider {
  text-align:center; 
}

.SnapeCape {
  width: 75%;
}

.DiamondArt {
  width: 25%;
}

/* YOUTUBE */
.auto-resizable-iframe {
  max-width: 420px;
  margin: 0 auto;
}

.auto-resizable-iframe > div {
  position: relative;
  padding-bottom: 75%;
  height: 0;
}

.auto-resizable-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #227a78;
}

/* LINKS */
a {
  text-decoration: none;
}

a:hover {
  font-weight: bold;
  color:hotpink;
}

/* LIST STYLING */
ul {
  padding-left: 20px;
}

/* SCROLLBAR width */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

/* SCROLLBAR Button */
::-webkit-scrollbar-button {
  height: 10px;
  width: 10px;
  background:  #227a78;
}

/* SCROLLBAR Track */
::-webkit-scrollbar-track {
  background: #efe3b9;
}

/* SCROLLBAR Handle */
::-webkit-scrollbar-thumb {
  background: #cdd5c3;
}