@import url('https://fonts.googleapis.com/css2?family=Anton&family=Noto+Naskh+Arabic:wght@400;700&family=PT+Sans:wght@400;700&family=Roboto+Mono:wght@400;700&&family=Prata&family=Lalezar&display=swap');

html {
  background-color: #fef7f7;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  hyphens: auto;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
  font-family: 'PT Sans', 'Noto Naskh Arabic', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

h1.title {
  font-family: 'Anton', 'Lalezar', sans-serif;
  font-weight: bold;
  font-size: 2.6rem;
  color: #d65a5a;
}
.ipa {
  font-family: sans-serif;
}

h1 {
  font-family: 'Anton', 'Lalezar', sans-serif;
  font-weight: bold;
  font-size: 2.2rem;
  color: #d65a5a;
}
h2 {
  font-family: 'Prata', 'Noto Naskh Arabic', sans-serif;
  font-weight: bold;
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #d65a5a;
}
h3 {
  font-family: 'PT Sans', 'Noto Naskh Arabic', sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #333;;
}
a.anchor {
  visibility: hidden;
  text-decoration: none;
  font-size: 1.5rem;
  color: inherit;
}
.ltr a.anchor {
  margin-left: -1.5rem;
}
.rtl a.anchor {
  margin-right: -1.5rem;
}
a.anchor:hover {
  text-decoration: none;
  color: inherit;
}
h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor {
  visibility: visible;
}

p {
  margin: 1rem 0;
}

ul {
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2.5rem .5rem 1.5rem .5rem;
}

a {
  color: #d65a5a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #b94848;
  text-decoration: underline;
}
a:visited {
  color: #a15a5a;
}

code {
  font-family: 'Roboto Mono', monospace;
  background: #f9f2f2;
  color: #b94848;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

img {
  border-radius: 8px;
  max-width: 100%;
}
img.headshot {
  float: right;
  margin-left: 1rem;
  max-width: 30%;
  height: auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
img.headshot:hover {
  transform: scale(1.5);
}

.social-icons {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.social-icons a {
  margin-right: 0.75rem;
  vertical-align: middle;
  text-decoration: none;
}
.social-icons img,
.social-icons svg {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.1s;
  fill: #333;
  display: inline-block;
}
.social-icons img:hover,
.social-icons svg:hover {
  transform: scale(1.1);
  fill: #d65a5a;
}

.highlights {
  float: left;
  width: 60%;
  border: 2px dashed #d65a5a;
  border-radius: 8px;
  background: #fff4f4;
  padding: .5rem 1rem;
  margin: .75rem 0;
}
.highlights h2 {
  font-family: 'PT Sans', 'Noto Naskh Arabic', sans-serif;
  font-size: 1.4rem;
  margin-top: .5rem;
  margin-bottom: 0rem;
  padding: 0;
}
.highlights p {
  margin: 0;
  padding: 0;
}

.after-art-box {
  clear: left;
}

.ipa a {
  color: #d65a5a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border: 1px solid #d65a5a;
  border-radius: 4px;
  padding: 0rem 0.3rem .15rem .3rem;
  vertical-align: middle;
}

@media print {
  html {
    background: #fff;
  }
  body {
    box-shadow: none;
    background: #fff;
    color: #000;
    margin: 0;
    padding: 0;
    border-radius: 0;
    max-width: 100%;
  }
  .social-icons {
    display: none;
  }
  .ipa a {
    display: none;
  }
}
@media (max-width: 768px) {
  img.headshot {
    max-width: 15%;
  }
  .highlights {
    max-width: 75%;
  }
}

.rtl {
  direction: rtl;
}
.ltr {
  direction: ltr;
}

.center {
  text-align: center;
}
.justify {
  text-align: justify;
}

.subtitle, .caption {
  color: #666;
}
.subtitle {
  font-size: 70%;
  display: block;
  margin-top: 0.5rem;
}
.subtitle.right {
  font-size: 1.3rem;
  display: inline-block;
  margin: 0 0.5rem;
  font-weight: normal;
}
.subtitle.below {
  font-size: 1.5rem;
  margin-top: -.5rem;
  font-family: 'PT Sans', sans-serif;
  font-weight: normal;
}
.address {
  display: block;
  font-size: 120%;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .address {
    text-align: right;
    margin-top: -7rem;
  }
}
.caption {
  font-size: smaller;
  display: block;
  line-height: 1.2;
}
.signature {
  margin: .5rem 2rem 1.5rem 2rem;
  display: block;
}
.smaller {
  font-size: smaller;
}

.superscript {
  vertical-align: super;
  font-size: 80%;
}

@media (min-width: 1700px) {
	div.toc, div.doc-toc {
	  position: fixed;
	  top: 1rem;
	  left: 1rem;
	  z-index: 1000;
	  width: 30%;
	  max-width: 300px;
	  background: #f9f2f2;
	  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
	  border-radius: 8px;
	}
	div.doc-toc {
	  max-height: 100%;
	  top: 0;
	  left: 0;
	  overflow: scroll;
	}
}
div.toc, div.doc-toc {
	  padding: 1rem;
	  margin: 0;
	  font-size: 1.1rem;
}
div.toc ul, div.doc-toc ul {
  list-style: none;
  margin-top: .5rem;
  margin-bottom: 0;
}
@media print {
div.toc, div.doc-toc {
	display: none;
}

