/* Designed By :
    Anidia ==>  https://anidia.org/
    Kivanc Aksoylu ==>http://kivancaksoylu.online/index.html
    Vardana
*/


/* Inline SVG icons (sprite at the top of <body>) sized like the old icon font */
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

:root {
  --bloodRed: #660000;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

p {
  font-size: 1.090em;
  line-height: 1.556em;
  letter-spacing: 0;
  font-weight: 100;
  font-style: normal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

body {
  background-color: black;
  color: black;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  box-sizing: border-box;
  font-family: 'Sen', sans-serif;
}

#wrapper {
  margin: 0;
  padding: 0;
  right: 0;
  position: relative;
  z-index: 2;
  transition: right 0.4s ease;
}

a {
  text-decoration: none;
  color: whitesmoke;
}

/* fonts */

@font-face {
  font-family: "Bloody";
  src: url("./assets/fonts/BLOODY.TTF");
}

@font-face {
  font-family: "October Crow";
  src: url("./assets/fonts/October\ Crow.ttf");
}



/*Buy modal, same on every screen size*/
#buyModal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

#buyModal.open {
  visibility: visible;
  opacity: 1;
  /*show instantly so the close button can take focus; the fade-out still applies on close*/
  transition: opacity 0.3s;
}

.buyModalBox {
  position: relative;
  box-sizing: border-box;
  width: 90%;
  max-width: 460px;
  max-height: 85vh;
  overflow-y: auto;
  background-color: #fff;
  color: black;
  border-radius: 5px;
  padding: 10px 20px 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.buyModalBox h1 {
  font-size: 1.1em;
  text-align: center;
}

.buyModalBox p {
  font-size: 0.9em;
}

.buyLink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.closeBuyModal {
  position: absolute;
  right: 5px;
  top: 5px;
  background: none;
  border: none;
  font-size: xx-large;
  cursor: pointer;
}

/*Region toggles, set from app.js after the country lookup*/
body[data-region="za"] .intlOnly {
  display: none !important;
}

/*Buy modal ends here*/

#buyButton {
  display: none;
}

/* --------------------mobile 360px  starts here-----------------------*/


/*mobile menu*/
#mobileMenu {
  display: none;
  position: absolute;
  background-color: black;
  z-index: 0;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80vw;
}

/*mobile menu ends here*/


/*header*/
/*navigation starts here*/
nav {
  display: flex;
  padding: 10px 0px;
  color: blanchedalmond;
  justify-content: space-around;
  align-items: center;
  box-sizing: border-box;
  font-family: Bloody;
  font-size: 1.3em;
}

.logo {
  font-size: 1.5em;
}

.logo a:hover {
  color: var(--bloodRed);
  transition: color .5s ease-out;
}

.nav-links {
  display: none;
}

.burger {
  font-size: 1.2em;
}

.nav-burger-links {
  padding: 0;
  margin: 70px 0 0 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  list-style-type: none;
}

.nav-burger-links li {
  font-size: 1.5em;
  padding: 20px;
  font-family: Bloody;
}

/*nav ends here*/
/*header*/

section {
  padding: 0 10px;
  margin: 0;
}

/*home section*/
#front {
  position: relative;
  min-height: 100vh;
  padding-bottom: 20px;
  box-sizing: border-box;
  background: url("./assets/homeSectionbg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
}

#showbook {
  margin-top: 35px;
}

#info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 20px auto;
  padding: 0;
  /*centred under the cover on phones/tablets; desktop puts it beside the cover, left-aligned*/
  text-align: center;
}

.bookCover {
  height: 40vh;
  width: 49vw;
  margin: auto;
  object-fit: contain;
}

#title {
  font-family: October Crow;
  font-size: 3.2em;
  font-weight: 900;
  margin-top: 5px;
  color: #a51010;
  text-shadow: 2px 4px 2px rgba(245, 185, 185, 0.05);
  padding: 0;
}

#series {
  font-size: 1.6em;
  font-family: October Crow;
  color: white;
}

#launchNote {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
  color: white;
  font-size: 1em;
  font-weight: bold;
  margin: 14px 0 6px;
}

.launchSoon {
  flex-basis: 100%;
  color: #bbb;
  font-size: 0.9em;
  font-weight: normal;
}

.desktopButtons {
  display: none;
}

.notifyLink {
  align-self: center;
  margin-left: 10px;
  color: var(--bloodRed);
  font-weight: bold;
  text-decoration: underline;
}

#sinisterSpells {
  border-top: 1px solid #ddd;
}

/*mobile homepage buttons*/
.homebuttons {
  display: flex;
  justify-content: space-evenly;
  margin: 15px 0;
  padding: 0;
}

.readMore {
  padding: 10px 25px;
  background: transparent;
  outline: none;
  border: 1px solid white;
  text-transform: uppercase;
  color: white;
  border-radius: 20px;
}

.buyNow {
  padding: 10px 35px;
  background: transparent;
  outline: none;
  border-radius: 20px;
  background-color: var(--bloodRed);
  text-transform: uppercase;
  font-weight: 1200;
  color: white;
}

.buyNow {
  transition: transform 0.15s ease;
}

.buyNow:active {
  transform: scale(1.1);
}

/* mobile home page buttons ends here*/

.icon-scroll {
  display: none;
}


/* Books Section*/
.bookSection {
  background: white;
  box-sizing: border-box;
  height: unset;
  margin: 0;
  padding: 0;
}

/*Book cover: a blurred, zoomed copy of the cover fills the panel, the sharp flat cover sits on top*/
.coverShowcase {
  grid-column: 1/9;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.coverBlur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.7);
  transform: scale(1.2);
  z-index: -1;
}

.coverFront {
  display: block;
  width: 60vw;
  max-width: 320px;
  height: auto;
}

.aboutBook {
  box-sizing: border-box;
  padding: 0 30px 0 30px;
  margin: 0 0 20px 0;
}

.aboutBookHeight {
  max-height: unset;
  overflow-y: unset;
}

.readMoreBook {
  display: none;
}

/*Read More controls are <button>s, drop the browser's button look*/
.readMoreBook,
#readMoreAuthor {
  border: none;
  font-family: inherit;
}


.available {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  margin-top: 20px;
}

.available img {
  width: 100px;
  height: 30px;
}

.available span {
  padding: 10px 10px;
  filter: grayscale(100%);
}

.available span:hover,
span:active,
span:focus {
  filter: grayscale(0%);
}




/*About Author */
#author {
  background: url("./assets/aboutauthorbg.webp");
  /* Image By PixBay :- https://www.pexels.com/photo/backlit-dark-dawn-environment-289367/ */
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  height: unset;
  color: white;
  padding: 30px;
  overflow-x: hidden;
}

#author h1 {
  text-align: center;
  margin: 0;
  padding: 0;
  align-self: self-start;
  font-size: 2.3em;
  margin-bottom: 20px;
  font-family: Bloody;
}

#imageAndSocial {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#aboutAuthorImg {
  width: 100%;
  height: auto;
  align-items: center;
  border-radius: 4px;
  margin: 0 auto;
}

.social {
  display: flex;
  margin-top: 20px;
  font-size: 3em;
  flex-direction: row;
  color: #a51010;
  justify-content: space-evenly;
}

.social .icon {
  color: #a51010;
  margin: 0 20px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social .icon:hover {
  filter: brightness(180%);
  transform: translateY(3px);
}

.social .icon:active {
  transform: scale(1.3);
}

.aboutAuthor {
  box-sizing: border-box;
}

.authorName {
  text-align: center;
  margin: 0 0 20px 0;
  padding: 10px 0;
  font-size: 2.5em;
  font-family: Bloody;
}

.aboutAuthorHeight {
  max-height: unset;
  overflow-y: hidden;
}

#readMoreAuthor {
  display: none;
}

/*FAQ Section */
#faq {
  height: unset;
  padding: 0 0 30px 0;
  background-color: white;
  box-sizing: border-box;
}

#faq h1 {
  font-size: 2.5em;
  font-family: Bloody;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 20px;
}

#faqHeading {
  display: none;
}

.collapseWrapper {
  width: 90%;
  margin: 0 auto;
  border-radius: .625em .625em 0 0;
  overflow: hidden;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
}

.collapsible {
  background-color: white;
  color: #202124;
  cursor: pointer;
  padding: 18px;
  font-weight: 500;
  width: 100%;
  margin: 0 auto;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.063em;
  border-bottom: 1px solid #e5e5e5;
}

.collapsible {
  transition: background-color 0.2s ease;
}

.collapsible:hover {
  background-color: #f3f3f3;
}

.collapsible.active {
  background-color: #fafafa;
  box-shadow: inset 3px 0 0 #a51010;
}

.collapsible:after {
  content: '\002B';
  color: var(--bloodRed);
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.collapsible.active:after {
  content: "\2212";
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  line-height: 1.7em;
  transition: max-height 0.2s ease-out;
  background-color: #fafafa;
  box-shadow: inset 3px 0 0 #a51010;
}

/*padding only while open, so a closed answer is truly 0px tall*/
.collapsible.active + .content {
  padding: 4px 18px 18px;
}

/*Future Project Section*/
#futureprojects {
  height: unset;
  background: url("./assets/futureprojbg.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  color: white;
  padding: 30px;
}

#futureprojects h1 {
  text-align: center;
  font-size: 2.5em;
  font-family: Bloody;
  margin: 0 0 20px 0;
}

.futureImage {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  margin: 0 auto;
}

.futureContent {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 8px 24px;
  border-radius: 6px;
  margin-top: 20px;
}

/*Contact Us Section*/
#contactus {
  min-height: 100vh;
  background: url("./assets/contactUsbg.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  color: white;
  padding-top: 50px;
  /*space under the card lives inside the section, so no gap opens above the footer*/
  padding-bottom: 40px;
  box-sizing: border-box;
}

#contactus h1 {
  text-align: center;
  font-size: 2.5em;
  font-family: Bloody;
  margin-bottom: 50px;
}

.formInputs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 560px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 8px;
  background-color: rgba(250, 250, 250, 0.92);
  color: #202124;
}

.contactEmail {
  text-align: center;
  margin: 12px 0 0;
  font-size: 0.95em;
}

.contactEmail a {
  color: #a51010;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.socialContact {
  display: flex;
  margin-top: 20px;
  font-size: 2.3em;
  align-content: center;
  color: var(--bloodRed);
  justify-content: center;

}

.socialContact .icon {
  color: #a51010;
  margin: 0 20px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.socialContact .icon:hover {
  filter: brightness(180%);
  transform: translateY(2px);
}

.socialContact .icon:active {
  transform: scale(1.3);
}

/*Footer*/
#footer {
  text-align: center;
  background-color: #131313;
  padding: 20px;
  font-size: 0.8em;
  color: white;
}

#footer span {
  padding: 5px 0;
}

#toTopBtn {
  display: none;
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  font-size: 1em;
  line-height: 1;
  border: none;
  background-color: #a51010;
  color: white;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 50%;
  opacity: 0.85;
}

#toTopBtn:hover,
#toTopBtn:focus-visible {
  opacity: 1;
}

@media only screen and (min-width: 960px) {

  p {
    font-size: 1.2em;
  }

  /*header*/
  .logo {
    font-size: 1.8em;
  }

  /*navigation*/
  .nav-links {
    position: unset;
    display: flex;
    justify-content: space-around;
    width: 60%;
  }

  .nav-links li:hover {
    transform: translateY(2px);
  }

  .nav-links li {
    transition: transform 0.2s ease;
    list-style: none;
  }

  .burger {
    display: none;
  }

  /*nav ends here*/

  .grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: unset;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }

  /*home section*/
  .bookCover {
    grid-column: 5/9;
    grid-row: 1;
    height: 70vh;
    width: 20vw;
  }

  #info {
    grid-column: 1/5;
    grid-row: 1;
    padding-left: 4vw;
    text-align: left;
  }

  #launchNote {
    justify-content: flex-start;
  }

  .desktopButtons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
  }

  .storyButton {
    display: flex;
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 1.4em;
    font-weight: bold;
    white-space: nowrap;
  }

  .storyButton {
    transition: background-color 0.3s ease;
  }

  .storyButton:hover {
    background-color: rgba(255, 255, 255, 0.12);
  }

  #title {
    font-size: 5.6em;
    padding: 0;
  }

  .homebuttons {
    display: none;
  }

  #buyButton {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
    padding: 10px 20px;
    color: var(--bloodRed);
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
    border-radius: 4px;
    font-size: 1.4em;

    font-weight: bold;
  }

  .icon-scroll {
    display: block;
    position: absolute;
    font-size: 1.2em;
    z-index: 4;
    color: white;
    top: 88%;
    left: 47%;
    margin-top: 2%;
    animation: attract 2s ease-in-out infinite;
  }

  /*down icon animation*/
  @keyframes attract {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(8px);
    }
  }

  .icon-scroll:hover .icon {
    display: none;
  }

  .icon-scroll:hover:before {
    content: "Read More";
    margin-left: -40px;
    font-style: "Verdana";
  }

  /*Book Section*/
  .bookSection {
    height: 100vh;
  }

  .coverShowcase {
    grid-column: 1/4;
    align-self: center;
    justify-self: start;
    margin-left: 4vw;
    /*1.5x vertical padding keeps the card at the book's own 2:3 shape*/
    padding: 45px 30px;
    border-radius: 6px;
  }

  .coverFront {
    width: auto;
    max-width: 100%;
    max-height: 60vh;
  }

  #buyButton {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
  }

  #buyButton:hover {
    background-color: #b41616;
    color: #fff;
  }

  #buyButton:active {
    transform: scale(1.1);
  }

  .aboutBook {
    grid-column: 4/8;
    grid-row: 1;
    margin: 12% 0;
    padding: 0;
    align-self: self-start;
  }

  .aboutBookHeight {
    max-height: 42vh;
    overflow-y: hidden;
  }

  .readMoreBook {
    display: inline-block;
    padding: 8px 20px;
    margin-top: 2px;
    background-color: var(--bloodRed);
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
  }

  .aboutBookHeight::-webkit-scrollbar {
    width: 1px;
  }

  .available {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: start;
    margin-top: 20px;
  }

  .available img {
    width: 80px;
    height: 30px;
  }

  /*Book section ends here*/


  /*About Author Section*/
  #author {
    height: 100vh;
    padding: 20px 20px;
  }

  #author h1 {
    grid-column: 1/9;
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-family: Bloody;
  }

  #imageAndSocial {
    grid-column: 6/8;
    grid-row: 2;
    align-self: self-start;
    margin-top: 20px;
  }

  #aboutAuthorImg {
    width: 300px;
    height: auto;
    max-height: 63vh;
    object-fit: cover;
    margin: auto auto;
  }

  .aboutAuthor {
    grid-column: 2/6;
    grid-row: 2;
    align-self: self-start;

  }

  .aboutAuthorHeight {
    max-height: 42vh;
    overflow-y: hidden;
  }

  .aboutAuthorHeight::-webkit-scrollbar {
    width: 1px;
  }

  #readMoreAuthor {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--bloodRed);
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
  }

  #futureprojects {
    height: 100vh;
    padding: 20px 20px;
  }

  #futureprojects h1 {
    grid-column: 1/9;
    text-align: center;
    margin: 0;
    padding: 0;
    align-self: self-start;
  }

  .futureImage {
    grid-column: 2/4;
    grid-row: 2;
    width: 340px;
    height: auto;
    align-self: self-start;
  }

  .futureContent {
    grid-column: 4/8;
    grid-row: 2;
    align-self: self-start;
    margin-left: 50px;
  }

  /*FAQ*/
  #faqHeading {
    display: block;
  }

  .collapseWrapper {
    width: 65%;
    margin: 35px auto;
  }

  #mobileFaqHeading {
    display: none;
  }

  /*contact section*/
  .formInputs {
    padding: 40px;
  }

  /*footer*/
  #footer span {
    font-size: 1.2em;
  }

  #footer .copy {
    grid-column: 1/3;
  }

  #footer .footerSocial {
    grid-column: 7/9;
  }
}


@media only screen and (min-width:1920px) {

  nav {
    font-size: 1.7em;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .logo {
    font-size: 1.7em;
  }

  #series {
    font-size: 2.6em;
  }

  #title {
    font-size: 8em;
  }

  p {
    font-size: 1.4em;
  }

  #buyButton {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: center;
    padding: 15px 30px;
    font-size: 1.4em;

  }

  .storyButton {
    padding: 15px 30px;
  }

  #buyButton:hover {
    background-color: #b41616;
  }

  #buyButton:active {
    transform: scale(1.1);
  }

  .aboutBook {
    overflow-y: unset;
    margin: 8% 0;
  }

  .aboutBookHeight {
    max-height: unset;
    overflow-y: unset;
  }

  .readMoreBook {
    display: none;
  }

  .available {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: start;
    margin-top: 20px;
  }

  .available img {
    width: 100px;
    height: 30px;
  }


  .aboutAuthor {
    padding-right: 50px;
  }

  .aboutAuthorHeight {
    max-height: unset;
    overflow-y: hidden;
  }

  #readMoreAuthor {
    display: none;
  }

  #aboutAuthorImg {
    width: 100%;
    height: auto;
  }


  .collapseWrapper {
    width: 50%;
    margin: 35px auto;
  }

  .futureImage {
    width: 100%;
    height: auto;
  }
}


/*This media query is for Galaxy Fold*/
@media only screen and (max-width:280px) {
  .logo {
    font-size: 1.2em;
  }

  #title {
    font-size: 2.7em;
  }

  #series {
    font-size: 1.5em;
  }

  .bookCover {
    height: auto;
    width: 70vw;
    margin: auto;
  }

  .readMore {
    padding: 10px 10px;
    background: transparent;
    outline: none;
    font-size: .8em;
    border: 1px solid white;
    text-transform: uppercase;
    color: white;
    border-radius: 20px;
  }

  .readMore:hover {
    color: #000;
    background-color: #fff;
  }

  .buyNow {
    padding: 10px 20px;
    background: transparent;
    outline: none;
    font-size: .8em;
    border-radius: 20px;
    background-color: var(--bloodRed);
    text-transform: uppercase;
    font-weight: 1200;
    color: white;
  }
}

/*For ipad pro Potrait*/
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {

  .bookCover {
    width: 39vw;
    height: auto;
  }

  #buyButton {
    max-width: 30vw;
    padding: 10px 50px;
  }

  .aboutBook {
    align-self: center;
  }

  .aboutBookHeight {
    max-height: unset;
    overflow-y: unset;
  }

  .readMoreBook {
    display: none;
  }

  .aboutAuthorHeight {
    max-height: unset;
    overflow-y: unset;
  }

  #readMoreAuthor {
    display: none;
  }

  #aboutAuthorImg {
    width: 100%;
    height: auto;
  }
}


/*For ipad pro Landscape*/
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
  .bookCover {
    width: 50%;
    height: auto;
  }

  .aboutBookHeight {
    max-height: unset;
    overflow-y: unset;
  }

  .readMoreBook {
    display: none;
  }

  .aboutBookHeight {
    max-height: unset;
    overflow-y: unset;
  }

  .readMoreBook {
    display: none;
  }

  .aboutAuthorHeight {
    max-height: unset;
    overflow-y: unset;
  }

  #readMoreAuthor {
    display: none;
  }

  #aboutAuthorImg {
    width: 100%;
    height: auto;
  }


}



/*Animations here*/
/*About Author Section: app.js adds html.js, then .inView as each .anim scrolls into view*/
.js .anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js .anim.inView {
  opacity: 1;
  transform: none;
}

/*Collapsed Read More boxes: fade the last lines so the cut-off reads as intentional (app.js sets .clipped)*/
.clipped {
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, #000 75%, transparent);
}

/*iOS Safari doesn't support fixed backgrounds (shows them zoomed/blurry), so scroll them on touch devices*/
@media (hover: none) {
  #front,
  #author,
  #futureprojects,
  #contactus {
    background-attachment: scroll;
  }
}

/*Respect the visitor's reduced-motion setting everywhere*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}